Full control over bots
Never worked with bots before, therefore I'm making a thread with a few questions.
I'm sorry if any of the points were already discussed anywhere, however I've tried searching for this for the past few days on google and here on AM, but found nothing useful. Because a amxx plugin AI is inefficient and hard to make, I decided to let a third party bot library handle the AI for me. I'm going to make a mod where everyone plays on the side of the counter-terrorists, while AI enemies spawn all over the map with knives and similar weapons, trying to kill the CTs. Basically a survival mod based on waves. The first question I have is: How do I easily create a bot. Should I add them to the game as fake clients? That's stupid, because I'd have to hook the scoreboard message (if there's any) and hide the bots from it. If there's no other way than this, can I at least hide the bots from scoreboard as I said? Next question; Does the way of creating a bot affect how they act? For example, if I create an entity and make it a bot, is there any difference? That's the two questions I have now. I'll ask some more when I'm mid developing the plugin. Thanks for answers. |
Re: Full control over bots
https://forums.alliedmods.net/showthread.php?t=95705
Quote:
I think you have to do npc PS Sorry if I did not understand. My English is poor |
Re: Full control over bots
That's quite not what I need. I'm not looking for a fake bot, I need the bots to play the game.
|
Re: Full control over bots
Hmm for some of the stuff you wanted, you would need to make it as entity (NPC). And for some other features you want, there was a BOT API, but the link is down.
http://forums.alliedmods.net/showthread.php?p=924972 |
Re: Full control over bots
That library looks like it could be useful, anyone has it?
|
Re: Full control over bots
bump
|
| All times are GMT -4. The time now is 10:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.