[L4D2] How to make bots attack each other
I've recently watched this video and i wondered how they made bots attack each other? I tried to use CommandABot to attack a survivor but no results. My thought is that he coded survivor bots to aim and shoot random survivors until death. For me, i would like this plugin for my Survivor VS Survivor game.
|
Re: [L4D2] How to make bots attack each other
He could be using GetClientEyePosition to force the bots to aim at each other's heads. You could check out Franc1sco's Aimbot plugin to see how he can make players aim at other players. The way it looks in the video, there may also be a delay considering the bots don't keep their aim on each other so their movement and aim look more natural.
|
Re: [L4D2] How to make bots attack each other
Im actually curious as to what u tried with commandabot. Im working on an ai plugin that will give players much better control over the bots. Crashers method will work. However commmandabot targeting should work regardless of the team there on. I will test this myself soon. But as crasher said u can force them to aim at the other bots and force them to use in_attack from onplayerruncmd hook.
|
Re: [L4D2] How to make bots attack each other
Well i actually do know how to make client or bots to aim at the target's body or head. Commandabot is useful for me to configure bots behavior a bit, since that i only know how to use this commandabot for resetting their behavior and move to the location. While moving bots to the location, the bots may not be able attack the infected.
So i just try to code bots to attack a client, i'll post up a thread when i'm done. |
Re: [L4D2] How to make bots attack each other
Quote:
|
Re: [L4D2] How to make bots attack each other
Quote:
|
All times are GMT -4. The time now is 14:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.