Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
Gun Damage Multiplier
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
33.212 KB
18 Oct, 2024 @ 2:45am
2 Apr @ 10:50am
14 Change Notes ( view )

Subscribe to download
Gun Damage Multiplier

In 2 collections by skysky199
Script List
115 items
Script List <Modification>
15 items
Description
--僅於區域/專用伺服器生效--
--Works on local/dedicated servers only.--

※需要 開啟Scripted Mode
※Requires enable Scripted Mode.

變更槍分別對於特感/Tank/Witch/普感/倖存者的傷害
※不是武器腳本

Change gun damage done to SI/Tank/Witch/CI/Survivors, respectively.
※Not a weapon script.

Setting file path:
\ems\gundamagemultiplier\multiplier.tbl
\ems\gundamagemultiplier\grenadelauncher.tbl

對於榴彈發射器 使用以下ConVar:
For the grenade launcher, use the following ConVar:
grenadelauncher_damage = 400
grenadelauncher_ff_scale_self = 0.12
grenadelauncher_ff_scale = 0.12

(If you still want to use the ConVars, use ConVar Modifier. See the ConVars provided by @something something house below.)

Part of default setting:
weapon_smg = 1.0
weapon_smg_silenced = 1.0
weapon_smg_mp5 = 1.0
weapon_shotgun_chrome = 1.0
weapon_pumpshotgun = 1.0
weapon_shotgun_spas = 1.0
weapon_autoshotgun = 1.0
weapon_rifle = 1.0
weapon_rifle_ak47 = 1.0
weapon_rifle_desert = 1.0
weapon_rifle_sg552 = 1.0
weapon_hunting_rifle = 1.0
weapon_sniper_military = 1.0
weapon_sniper_scout = 1.0
weapon_sniper_awp = 1.0
weapon_rifle_m60 = 1.0
weapon_pistol = 1.0
weapon_pistol_magnum = 1.0
weapon_grenade_launcher = 1.0

Reference:
1. l4d2_gun_damage_modify[github.com]
38 Comments
skysky199  [author] 3 Apr @ 10:36pm 
不然你試著把ems拉出來 讓腳本重跑一次看看
时空之轨迹 19 Mar @ 10:33pm 
好的,謝謝作者大大,我會自己找辦法解決的
skysky199  [author] 19 Mar @ 10:24pm 
@时空之轨迹

不可同時存在2同名的weapon scripts
若你想同時使用 需手動合併
时空之轨迹 19 Mar @ 4:41pm 
確實和你説的一樣,KtScript Base Lib是無辜的,我又發現是
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2997687853
導致的
skysky199  [author] 19 Mar @ 6:32am 
@时空之轨迹

我裝了你說的 包含那個作者的全部腳本 還是正常的
时空之轨迹 18 Mar @ 9:56pm 
作者大大,好像發現了原因,可能是Mod
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2894738540
導致的,我加了該Mod後,霰彈槍(修改為1傷害,用Gun Damage Multiplier提高到我設置的傷害)能一槍打死1000血的Witch,而兩槍打死Tank應該也是其他用了該Mod當前置的Mod導致的
看來我不能把Gun Damage Multiplier當作霰彈槍的傷害編輯器了
时空之轨迹 18 Mar @ 3:52pm 
好吧,謝謝作者大大了,我會去排查我用的腳本mod的
skysky199  [author] 18 Mar @ 10:04am 
@时空之轨迹

我試著將傷害改成1 然後設定為32 並沒有發生你說的情況
我猜你其他的腳本也有weapon script
假設是預設 則為 25*32*10 = 8000 剛好是你說的2發就會死
时空之轨迹 17 Mar @ 1:25pm 
哦哦哦,對不起對不起,我把1發全中的傷害寫成了8發全中的傷害了,但這樣就更奇怪了,也就是説10000血的tank被泵動式霰彈槍打出640的傷害就死了
skysky199  [author] 17 Mar @ 11:15am 
@时空之轨迹

就 1 * 32 * 發數
weapon script只改傷害的話是320 (無衰減的話)
2560意思是你的一槍是80顆子彈?