Left 4 Dead 2

Left 4 Dead 2

65 个评价
Anti Troll Medkits
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts
Game Modes: Co-op
Items: Medkit
文件大小
发表于
11.272 KB
2 月 18 日 下午 11:28
1 项改动说明 ( 查看 )

订阅以下载
Anti Troll Medkits

描述
Do you hate when a troll joins your lobby and wastes all the medkits to ruin the game for you? Or how about when your teammate rushes to the saferoom and uses all the medkits for themself even though you need to heal more than they do?

Anti Troll Medkits stops medkits from being wasted. When a player attempts to heal, the script will calculate how urgently every survivor needs to be healed. If the player being healed is determined to not be in urgent need of healing, then the medkit will fail, the healer will be staggered, and they will receive a notification in chat telling them to heal their injured teammate instead.

How does the script calculate this? That's up to you! It can be customised by editing "ems\anti_troll_medkit\priority_settings.txt". You can change a variety of factors that are considered when working out who needs to be healed, including how much health the player has, whether they have any healing items in their inventory, or if they are black and white. You can also adjust how strict or lenient the script is by changing how injured a survivor must be compared to the most injured player in order to be healed.
49 条留言
kouga 11 月 6 日 下午 8:48 
@Saeru, look for Bot Healing Prevention System by kurochama
Saeru 11 月 6 日 下午 8:36 
I need something like this but for bots when trying to heal you, just without the stagger part, really cool addon
kouga 10 月 31 日 上午 1:45 
@kurochama, could m_afButtonDisabled be used for other things? like what if i want to disable the grenades from firing from a single click? or better yet replace the fire action with something like "grenade shove" mod
kurochama 10 月 31 日 上午 1:40 
There's an alternative way to prevent healing, via "m_afButtonDisabled" button combined with "heal_begin" & "heal_interrupted". For example:
1. "heal_begin" > disable fire button via "m_afButtonDisabled". This will automatically lead to "heal_interrupted"
2. "heal_interrupted" > enable fire button again.

With the steps above, if someone greedy wants to heal for himself, he'll keep cancelling the healing process :steamhappy:
Geebanger0  [作者] 10 月 31 日 上午 1:23 
it breaks ♥♥♥♥ sometimes. like you can get locked in place permanently.
@ your service 10 月 30 日 下午 11:36 
Can't you just use the same logic as it uses currently? But instead maybe trigger weapon switch if health differences are too high?

Its good to cancel trolling but stumbling risk players getting stuck in spitter goo or walking off a edge which could lead to a team wipe. Especially if they aren't aware of the mod (using a collection & joining a local host).
Geebanger0  [作者] 10 月 30 日 下午 9:44 
and how should it do that
@ your service 10 月 30 日 下午 2:10 
Feel like it shoud just block the user from consuming the health kit on themselves rather than stumbling them.
kouga 9 月 30 日 下午 4:13 
hostile internet theory
Mapleleaf11 9 月 30 日 下午 4:12 
aw man! :steamsad: