Thread
:
[REQ] In Versus Mode / Make bots run slightly faster than normal when tank is alive
View Single Post
Author
Message
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin D.
04-25-2021 , 04:05 [REQ] In Versus Mode / Make bots run slightly faster than normal when tank is alive
#
1
One thing that is pretty annoying in l4d versus is focusing on bots as tank because they are just too easy to get.
I thought there would be a simple fix to it.
It would follow this rule:
1. Tank spawns
2. check if HUMAN tank exist and is alive -> set player speed for living bots a bit higher than normal
3. if a joining player takes one on those bots, set player speed back to normal (if the join doesn't automatically does that
4. if a player leaves check for alive human tanks then set this new survivor bot again to run faster (but only when not dead ofc)
5. if all tanks are dead or living tanks are bots, then set speed for living survivor bots back to normal
I think changing speed can be done like in the custom commands plugin:
speed = GetEntDataFloat(target, g_flLagMovement) * 0.5;
ChangeSpeed(target, param1, speed);
What do you think?
__________________
L4D NoSmoking / Prevent smoker from smoking last survivor.
L4D Tank announce and lock door / locks safehouse on tankspawn, unlocks on tank death
L4D Boatstyle cars
L4D Death Toll Train Bridge Event
L4D Death Toll tunnel block crescendo
Other L4D plugins
Last edited by finishlast; 04-25-2021 at
04:08
.
finishlast
View Public Profile
Send a private message to finishlast
Find More Posts by finishlast