View Single Post
Re: Suicidal tendencies of the Botmanīs BOT#1o
Old
  (#7)
MIFUNE
Member
 
Status: Offline
Posts: 13
Join Date: Mar 2014
Thumbs up Re: Suicidal tendencies of the Botmanīs BOT#1o - 03-04-2014

Ok!, I have tested and tested yesterday and I finished thinking that I was an absolute moron for not making it work...

The actions that the Bot will do after this function is called are:

1st. Turn (randomly) 45-60 degrees (randomly) to its right or left side
2nd. Pause 1 second
3rd. Start walking again.

If it is engaged in combat it wonīt walk, unless its armor or health (engine) is low, so it will search for a func_reloader (wall mounted health charger. In my mod Iīve gave it a model and some other capabilities). You can see it under the central tower (so I want the bots wonīt fall to the void when they start walking towards the reloaders from the external circle of the dock).



Actually Iīm starting from scratch using the old source (bot.cpp and bot_combat.cpp ) all (c) Botman, modified to fit ZWC, because for one reason I cannot understand, the bots make the game crash again (I have probably touched something relative to one pointer or similar )

Also Iīm curious on how to make the Bot search team mates and make groups of three, but this is, by now, something impossible to me , Iīm now studying HPBpt source and also PODBot source to see how I should do it.

Thanks again, Iīll post the testing results as soon as I re-compile the zwc source
  
Reply With Quote