voided / sourcemod-botcontroller

SourceMod extension for bot controller.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CreateBot problem

PlayBoy31 opened this issue · comments

Hello,

i use your code to create bot on my games but when i use the native BotController_CreateBot("BOT"); it create a bot but the bot die first (with ERRORNAME) and then it spawn.

have you an idea on how fix it?

The behavior of botcontroller depends entirely on how the game implemented the interfaces. It's only been tested to work properly for TF2.

ok. i try it on dods and hl2mp. you have not an idea to fix it ?

Fixing it is outside the scope of this extension, it completely relies on how the game code itself adds the bots.

If it's not working the way you want, some alternatives would be to manually use the bot concommand or a bot_controller entity if your game has one.

the fact it that i dont want to use bot command for generic purpose. i know its possible because rcbot use IBotController and i tested them it work but its a valve plugin and i want an sm extension

can you help me to point what i need to implement if i send you source code of rcbot?

or maybe you know how convert this valve plugin to a sm extension ? (if you can help me to do this it will be very cool cause code of rcbot is excellent ...)