View Single Post
Re: Resurrected bots
Old
  (#4)
ukfreethinker
Member
 
Status: Offline
Posts: 6
Join Date: May 2004
Default Re: Resurrected bots - 12-05-2004

Seems like BotSpawnInit is only called once when a bot is first added. The health is reset by CBasePlayer::Spawn in the game DLL when a dead bot comes back to life. For what I am doing I don't mind changing the game DLL as well but it would be neater to do it in the Bot DLL. Is there anything which is called after CBasePlayer::Spawn in the Bot DLL where I can do it?

I want the bots to start with a health of 50 and then be more motivated to increase their health as well as suffer damage during fighting.

Paul

PS. Respect to botman for reverse engineering all this stuff! Must have been a big effort.
  
Reply With Quote