Left 4 Dead 2

Left 4 Dead 2

评价数不足
Play Soccer with Incapped Survivor (Vscript)
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts
Game Modes: Single Player, Co-op
文件大小
发表于
26.210 KB
9 月 14 日 上午 7:37
1 项改动说明 ( 查看 )

订阅以下载
Play Soccer with Incapped Survivor (Vscript)

在 kurochama 的 1 个合集中
Useful "Side-Dish" Mods (Especially for Bots)
64 件物品
描述
Recently on the discussion forum, someone requested about carrying an incapped survivor. I replied like it's possible to make such thing. However, not long afterwards, my crazy idea whispered something crazy inside my head like:
"Too common... How about playing soccer with the incapped survivor instead, just like what you did 'Disastrous Cola Soccer'...?" :D


& well yeah, that crazy idea won again... So here it is, a mod for fun that allows you to shove an incapped survivor to throw him away, like playing soccer :D . It's best used with xdr animation mods that change player's shoving animation to kicking animation instead.


"Your teammate gets incapped far enough yet it's too risky to revive him? Then kick him like a soccer ball..." :D
"You hate someone & finally he's incapped? kick him like a soccer ball for fun..." :D


List of features available on "soccer with incapped survivor.txt" cfg file:
  1. soccer_ball_power: How strong the kick is (how far the "ball" will be thrown away :D ).

  2. soccer_ball_damage: The damage when the "ball" hits zombies :D . The damage is applied only once.

  3. allow_zombie_to_play_soccer: When enabled, zombies can also play soccer with incapped survivor as the ball :D .


Mechanisms of "Play Soccer with Incapped Survivor":
  • A timer will be active when a survivor is incapped.

  • Incapped survivor can be shoved by shoving either the incapped survivor or the ground.

  • How far Incapped survivor will be thrown away is controlled by "soccer_ball_power". Value above 300 can be dangerous, so it's recommended to set value below 300 if you simply just want to play soccer with the incapped survivor safely.

  • When Incapped survivor is thrown away, he's marked as the "ball" :D . Any zombies hit by the "ball" will take damage, & it's a close area damage (around 1.5x melee range). The damage is controlled by "soccer_ball_damage".

  • The "ball" only hits once (to prevent it from being too OP), & then it's reset.

  • When hit, there's a shockwave as the hit impact effect.

  • When the damage is non-lethal, zombies will stumble when hit by the "ball". Even special, tank & witch will stumble.

  • When "allow_zombie_to_play_soccer" is enabled, any attacks from zombies except acid can throw the incapped survivor away. So, if you're incapped during horde/ panic event, get ready for zombie's soccer league :D


So, let the zombie apocalypse soccer league...begin...!! :D
3 条留言
kurochama  [作者] 11 月 5 日 下午 3:57 
@Under_Score , so you wanted to send an incapped survivor flying with golfclub instead of normal shoving? That will need slightly different methods, like using "weapon_fire" & "Traceline". On "weapon_fire", golfclub item model need to be checked to make it only work on golfclub instead of all melee. "Traceline" is used to detect where the golfclub hits. As for sending the incapped flying farther, just increase the velocity.
Under_Score 11 月 5 日 下午 1:51 
I'm making a golf map based of this mod, but players keep hitting the incapped with the golf club. I have no experience with vscript (or any programming language), is there a way to make the golf hit also send them flying? (preferably at a higher rate for better golfing)
Enlisted 9 月 15 日 下午 4:36 
i think this might be the best addon of all time, its so fun to kick other players around while theyre helpless and cant exact revenge ;)