.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   bot programming (http://forums.bots-united.com/showthread.php?t=5673)

KnownEnemy 02-09-2006 02:56

bot programming
 
are bots programmed in C or C++? Or both? i wnt to know so i can gie bot programming a try.

Whistler 02-09-2006 03:38

Re: bot programming
 
HL bots are usually written in C++, however many are actually C-style C++ (i.e., use no classes) :)
bots for some other games (like Quake 2 or the official bot in Quake 3) are usually written in C.

If you want to do a HL bot, you can download the HPB bot source code at http://planethalflife.com/botman and take a look at it.

KnownEnemy 02-09-2006 03:51

Re: bot programming
 
so that means I can do it in C? cause i dont know C++.

Whistler 02-09-2006 06:32

Re: bot programming
 
you probably can't do HL bots in pure C, but not knowing C++ is okay for doing HL bots.

(I've moved this to the "Bot Coding" area.)


All times are GMT +2. The time now is 06:32.

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