Left 4 Dead 2

Left 4 Dead 2

评价数不足
Friendly Fire 50-50 Reflector
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts
文件大小
发表于
31.642 KB
2023 年 10 月 3 日 上午 4:42
1 项改动说明 ( 查看 )

订阅以下载
Friendly Fire 50-50 Reflector

在 DoubleOSpanky 的 1 个合集中
Zombie Madness V2 Collection Pair
36 件物品
描述
"Hey y'all! We a team!"
This is a derivative of MANACAT's [Anti-Troll] Friendly Fire Reflector
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2280444652

Instead of reflecting a reduced amount of damage entirely, it will instead deal said reduced value an even split between the attacker and the attackee. (Example, you accidentally hit a teammate for 10 damage. You take 5 and he takes 5.) Ideal for those who jump in your line of fire instead of just shooting you in the back.

Using the "!ff" or "!FF" command in chat will toggle your character to take the full amount of damage when shot, and you will no longer reflect damage dealt to you. Any player can toggle this command for themselves on/off.

Same as MANACAT's, fire/explosion damage is not reflected and this will only work on your own local server. The damage values have been corrected/adjusted from MANACAT's due to a numerical issue I noticed. It will likely not be noticeable outside of meticulous testing.

Note that if you are using modifications to change the damage values of weapons, this script will still likely set friendly fire (and only the friendly fire) to values based on vanilla weapon damage in the script. Otherwise your weapon mod will work as normal. Meaning if you use the "!ff" command, you'll likely be taking the modded value damage in full then.

If there is an issue let me know. I don't exactly have a great environment to test the changes I made with a variety of players in different circumstances.
5 条留言
steeg 2024 年 5 月 30 日 上午 8:35 
Like the other person suggest, this would be better if we can adjust the ratio in a config file, like 100-100, 25-25, 75-25, etc, disable/enable for bots, although default value is already good nonetheless
Rogueraccoon 2024 年 1 月 7 日 上午 4:44 
shouldnt there be one where if the shot is accidental then they dont take damage like give them 3 strikes. but if they keep shooting you after 2 seconds then all the damage gets reflected back towards them fully and to any teammates they try to shoot
DoubleOSpanky  [作者] 2023 年 10 月 28 日 上午 10:02 
Any ratio is possible, but it can become mostly irrelevant when you're trying to divide such small numbers to begin with. MANACAT has a full friendly fire reflector. What ratio were you looking for?
Please don’t shoot!!!!!!! 2023 年 10 月 28 日 上午 6:35 
Is it possible to set a ratio to do more damage to trolls?
Sasha Pines (no brain) 2023 年 10 月 5 日 下午 10:28 
hey that pretty good