Raised This Month: $ Target: $400
 0% 

Full control over bots


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 05-03-2013 , 13:28   Full control over bots
Reply With Quote #1

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.
Backstabnoob is offline
 


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 10:52.


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