.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
Coding my first bot. how?
Old
  (#1)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Coding my first bot. how? - 22-02-2004

Hello everybody here at Bots-United. Firstly I would like to say how much I enjoy your work. Thank you very much for making me have fun with my computer .

Well I have always admired bots. I love to see them develop from first beta and becoming better and better. So I have always wanted to be able to code my own bot. So my question is to you people. How do you do it?. I know Basic C++ and have alot of experience with computers. I am not sure how to define how much I know about C++. I know object oriented C++(not everything about it im sure) but still. I just want to ask how I would make a bot spawn nothing more for now. I have looked a little at the SDK and eventhough I know some C++, this just seems very complicated. I mean how do you know what to change and add in the code to make a bot do something you yourself make?. I know I may sound newbie, but If anyone could help me I would be very happy or just give me alot of links to anything related to bot coding and learning the SDK really well I would be very thankful.

Cheers everyone

MusicMan

Last edited by MusicMan; 22-02-2004 at 20:26..
  
Reply With Quote
Re: Coding my first bot. how?
Old
  (#2)
Rick
Council Member
 
Rick's Avatar
 
Status: Offline
Posts: 690
Join Date: Dec 2003
Location: Holland
Default Re: Coding my first bot. how? - 22-02-2004

Just download both botmans template(hpb_bot) and Pierre's template(RACC bot). Read the readme that comes with botmans template and you can find out most of the basic stuff to make a bot work for another mod. You can use the RACC bot to find out how the hl engine stuff works sinds its very good commented.
  
Reply With Quote
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 20:40..
  
Reply With Quote
Re: Coding my first bot. how?
Old
  (#4)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Coding my first bot. how? - 22-02-2004

Thank you very much. I will get busy right away
  
Reply With Quote
Re: Coding my first bot. how?
Old
  (#5)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Coding my first bot. how? - 23-02-2004

Thank you everybody. This is helping me very much. I am reading botman's HPB bot template readme and I already feel enlightened .

Thanks again everyone, well I gotta go read some more readme , then after botmans readme I will read Pierre Marie's RACC Template Readme

Thanks
  
Reply With Quote
Re: Coding my first bot. how?
Old
  (#6)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Coding my first bot. how? - 23-02-2004

Ok i have now read the entire HPB bot template readme and I feel that I am ready to create a bot myself, but could still need some more info so i went to Pierre Marie's website and found two templates should I get them both and look through them or what?

Thanks in advance

MusicMan
  
Reply With Quote
Re: Coding my first bot. how?
Old
  (#7)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: Coding my first bot. how? - 23-02-2004

If you read PMB'S comments about the templates you should know it by yourself
  
Reply With Quote
Re: Coding my first bot. how?
Old
  (#8)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Coding my first bot. how? - 23-02-2004

whoops I am lazy didnt quite read it, but thanks man now I know
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com