Left 4 Dead 2

Left 4 Dead 2

评价数不足
Friendly Fire Damage Multiplier
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts
文件大小
发表于
更新日期
36.127 KB
2024 年 11 月 5 日 上午 8:44
11 月 25 日 上午 7:13
17 项改动说明 ( 查看 )

订阅以下载
Friendly Fire Damage Multiplier

在 skysky199 的 2 个合集中
Script List
148 件物品
Script List <Modification>
20 件物品
描述
--僅於區域/專用伺服器生效--
--Works on local/dedicated servers only.--

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

變更對自己與倖存者隊友的友好傷害(可反射)
傷害為原本傷害*設定值
(原本傷害為武器傷害*ConVar)

Multiplier for friendly fire damages. (Can be reflected.)
Damage will be original attacking damage * setting value.
(original damage = weapon damage * ConVar)

Setting file path:
\ems\ffdamagemultiplier\multiplier.tbl
\ems\ffdamagemultiplier\settings.tbl
\ems\ffdamagemultiplier\reflect.tbl

設定說明:
Description of settings:
設定名
Setting's name
說明
Description
IncapNoReflect
(Default: false)
If true, damage will not be returned if the victim is currently incapacitated.
如果 true, 當被攻擊者為倒地狀態時將不會返還傷害
BotNoReflect
(Default: true)
If true, damage will not be returned if the victim is a bot.
如果 true, 當被攻擊者為BOT時將不會返還傷害
ReflectMode
(Default: 0)
When the reflect requirement is met:
0 = set the victim's damage to 0.
1 = set the victim's damage to original damage * setting value in reflect.tbl.
當符合反射條件時:
0 = 將被攻擊者的傷害設為 0
1 = 將被擊者的傷害設定為原始傷害 * reflect.tbl的設定值

※有效值為任意小數
※multiplier.tbl中 設定為負數會將傷害返還給攻擊者 反射傷害同刻不累計
※所有Bullet類型不互相加成/影響
※Melee不包含Chainsaw
※最終傷害為無條件捨去

※Effective value is any decimals.
※In multiplier.tbl, setting a negative value will cause the damage be returned to the attacker. Reflected damage at the same tick does not stack.
※All Bullet types do not multiply with/affect each other.
※Chainsaw is excluded from Melee.
※The final damage is rounded down.

Examples when ReflectMode = 1:
(1)
multiplier.tbl = -0.5
reflect.tbl = 1.0
Result:
victim = 100%
attacker = 50%
(2)
multiplier.tbl = -1.5
reflect.tbl = 0.1
Result:
victim = 10%
attacker = 150%
3 条留言
Holy Panda 2024 年 11 月 6 日 下午 11:55 
Sweet, thank you!
skysky199  [作者] 2024 年 11 月 6 日 上午 1:02 
@Holy Panda

No. It will be original ff damage*1.0, which is 10% for default Normal difficulty.
Holy Panda 2024 年 11 月 5 日 下午 2:11 
Does this override the original friendly fire settings for each difficulty? For example, Normal mode is 10% of bullet damage so would the setting at 1.0 still be 10% or full 100% damage?