View Single Post
Re: Coding my first bot. how?
Old
  (#3)
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: Coding my first bot. how? - 22-02-2004

I believe the solution is trial and error and then hard work...

Look at various bots' source codes. I advise you to pay more attention to the most simple ones, such as the HPB_bot template. Then you'll learn how to differenciate what are the HL engine function calls and what are the functions that the bot maker wrote himself ; also what data structures are provided with the HL SDK, and what are the data structures that the programmer made up himself.

To spawn one bot in the game, the key function in most bots source code is called "BotCreate()".

Good luck !



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

Last edited by Pierre-Marie Baty; 22-02-2004 at 19:40..
  
Reply With Quote