.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Half-Life 2 SDK (http://forums.bots-united.com/forumdisplay.php?f=62)
-   -   rcbot 2 source base (http://forums.bots-united.com/showthread.php?t=3407)

Cheeseh 14-01-2005 01:25

rcbot 2 source base
 
I have uploaded the source I've been working on so far for my HL2 bot.

http://filebase.bots-united.com/inde...on=file&id=259

unfortunately I think I've stuck it in the wrong category, I meant to put it in "Rcbot" but I can't delete or move it, I'm sure you can sort that out :)?

here is the readme
Quote:

RCBot 2 source (v 0.01) (rcbot ver 2.01)

By Cheeseh

--------------

released under GPL license, see licenseGPL.txt

The source so far is very basic in terms of AI, and is currently a bit buggy.
Enemy bots sometimes won't see each other for some reason, still to figure that out.

Anyway, source has:

- OO'd structure
- waypoints & pathwaypoints
- 3d waypoint hash table
- bitwise waypoint visibility table
- allowed clients file (clients to give bot command access to) "config/accessclients.ini"
- tasks & schedules
- bots join random teams in CSS.
- creates folders automatically for waypoints/config files etc in steamapps/email/rcbot2
- concurrent-ish & fast-ish A* waypoint path finding
- concurrent-ish & fast-ish bot visibles
- bot commands
- bot buttons allowing; start press time, end hold time, let go time
- probably more stuff

(waypoint commands are the same as rcbot for hl 1)

Pierre-Marie Baty 14-01-2005 02:36

Re: rcbot 2 source base
 
Sorted...

You can edit your own files, as a member by going back to the screen where you have the 3 options "add file" "delete file" and "edit file", and as an admin by having the side bar on the left, browsing to the file and clicking edit on the side bar.

wow anyway! do your bots select weapons correctly ? we're having trouble doing that...

WildPods 14-01-2005 10:54

Re: rcbot 2 source base
 
Compile it please!

Cheeseh 14-01-2005 12:06

Re: rcbot 2 source base
 
They don't have weapon code yet :P That will be the next stuff to work on I think :)

You know when I compile in Release mode I get all the compile erros I got when adding CBaseentity.h and sutff, obviously a _DEBUG flag was somewhere in those h files messing everything up.. I can post a debug dll somewhere but i'm not sure if it would work if you're not debugging.. steam usaully complains.

@$3.1415rin 14-01-2005 14:40

Re: rcbot 2 source base
 
nice !

( but next time, please remove the ncb file before, or 56k ppl like pmb will kill you ;) )

Whistler 14-01-2005 14:50

Re: rcbot 2 source base
 
for MSVC6 the .dsw, .opt, .ncb, .plg are all removable
and for VS.net you can also remove the .suo and .sln files :)

@$3.1415rin 14-01-2005 14:57

Re: rcbot 2 source base
 
if you only have a single project in one workspace you are right about the .dsw or .sln files, otherwise that won't be too much fun recreating them manually :)

@cheesy: at some classes I asked myself "why dont he use virtual destructors ?" when using polymorphism this might be handy.
another point : why no STL, but own implementations of stack, queue etc. ?

Cheeseh 14-01-2005 15:21

Re: rcbot 2 source base
 
1 Attachment(s)
I've had bad experiences with destructuors, sometimes MSVC destructed lots of stuff implicitly which I didn't like, because it messed up my data structures, I just stuck to making my own explicit delete/destroy functions.

I have some STL, but I changed most of the structures to my own because I didn't like the lack of methods (e.g. remove & member functions, adding to begining and end of queues, etc..)

and okay I removed the ncb file, I forgot which ones were unnecessary, the whole zip is now only 94 kb lol :)

oh, heres a simple de_cbble waypoint file (in the appropriate folders) if you manage to compile it.

stefanhendriks 14-01-2005 15:40

Re: rcbot 2 source base
 
cool Cheeseh ;) i just hope we get weapon support soon, then we'll be having some cool stuff going on.

Iced_Eagle 14-01-2005 23:39

Re: rcbot 2 source base
 
Steam does complain when you use debug, but if you add -allowdebug onto the command line for Half-Life 2 (go into play games, right click on HL2, properites, launch options and add the flag -allowdebug)

Is that what you were talking about?

Thx Cheeseh :)

*edit* I got MSVC++ .NET from my programming brother (got it at circuit city or something lol) anyways no clue what to do on how to compile, can anyone provide some sort of FAQ or documentation on how to compile custom stuff?

Or rather could someone upload just a compiled copy if they are still in the christmas spirit rofl......o_O


All times are GMT +2. The time now is 16:36.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.