View Single Post
Re: A Couple Questions???
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: A Couple Questions??? - 10-01-2004

Well for a start, I suggest you make your bot a metamod plugin. This way, you won't need to worry about the game entities and you'll let Will Day alone deal with the madness of the Steam compatibility.

In my opinion, it is definitely be possible to port botman's code to OOP, although it's a perilous exercice. I would rather suggest you start writing your own bot, using botman's code to pick ideas from, with a class hierarchy similar to this :

Player (top level)

Bot (as Player::Bot, subclass of Player)

subclasses of Bot (like Bot::BotBrain, for example)

And additional side classes like "Server", "Round", "Mission", etc.

Good luck !



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote