Left 4 Dead 2

Left 4 Dead 2

评价数不足
Kill Infected after Survivor Gets Hurt
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts
文件大小
发表于
更新日期
51.460 KB
1 月 8 日 上午 10:58
9 月 19 日 上午 8:49
5 项改动说明 ( 查看 )

订阅以下载
Kill Infected after Survivor Gets Hurt

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

※需要 開啟Scripted Mode (如果你要無傷功能)
enable Scripted Mode. (If you want no damage function)

倖存者受傷/倒地/死亡時 殺死攻擊的感染者

Kill the infected attackers when survivors are hurt/incapped/dead.

Setting file path:
\ems\killinfectedafterhurt\settings.tbl

設定說明:
Description of settings:
設定名
Setting's name
說明
Description
"infected type"
(Default: 1 for specials, 0 for tanks/witches/commons)
Kill the infected attacker when:
1 = incap
2 = death
4 = hurt
8 = hurt but no damage
add numbers together.
當...時 殺死攻擊者:
1 = 倒地
2 = 死亡
4 = 受傷
8 = 受傷並且設定傷害為0
將數字相加
6 条留言
Jakiy 10 月 28 日 上午 11:02 
How to apply this only for bots?
Absolute Sucker 5 月 24 日 上午 3:33 
@skysky199

Ty
skysky199  [作者] 5 月 24 日 上午 3:24 
@Absolute Sucker

For player class (special infecteds)
Player.Stagger(Vector)

For infected and witch class (common infecteds)
Entity.TakeDamage(0.0, 33554432, null)
(DMG_STUMBLE)
Absolute Sucker 5 月 24 日 上午 1:41 
@skysky199

Is there a way for it to shove/stumble infected instead of killing them?
skysky199  [作者] 1 月 19 日 上午 9:45 
@Yek

I don't think there is a way (including using Sourcemod) to force a rescue vehicle to leave.
I know there is a script that makes Jimmy steal the car at Dead Center, but that's a special method, and it is too complicated and hard to apply to other maps.
I think simply killing the survivors outside the rescue vehicle is more practical.
Jugs 1 月 16 日 下午 8:37 
I have an idea, and if you make a mod, which makes it that in the final chapters where the survivors have to escape in a helicopter or boat, that helicopter or boat, it will just wait a while or a little bit of time for the survivors, when that time passes, the helicopter or the ship leaves, and if no survivors arrived, Lose.
But it's your decision if you want to do it or not, if you can or not, maybe it's a bit complicated the mod, I don't know if it would be difficult for you.
If you don't, no problem.