Raised This Month: $12 Target: $400
 3% 

[REQ] In Versus Mode / Make bots run slightly faster than normal when tank is alive


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 04-25-2021 , 04:05   [REQ] In Versus Mode / Make bots run slightly faster than normal when tank is alive
Reply With Quote #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?
__________________

Last edited by finishlast; 04-25-2021 at 04:08.
finishlast is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 04-25-2021 , 09:31   Re: [REQ] In Versus Mode / Make bots run slightly faster than normal when tank is ali
Reply With Quote #2

Looks like a random solution and won't "fix" your problem (AI behaviour)
If you have bots on your team, you should stay away from the Tank
__________________
Marttt is offline
GoGetSomeSleep
Senior Member
Join Date: Dec 2018
Location: Miami/Florida
Old 04-30-2021 , 03:41   Re: [REQ] In Versus Mode / Make bots run slightly faster than normal when tank is ali
Reply With Quote #3

maybe you can try this
https://forums.alliedmods.net/showthread.php?p=2585694
GoGetSomeSleep is offline
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 05-05-2021 , 12:45   Re: [REQ] In Versus Mode / Make bots run slightly faster than normal when tank is ali
Reply With Quote #4

I put 200IQBots_FlyYouFools on the server, lets see how it works out, thx.
__________________
finishlast is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode