.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Half-Life 2, Source and Source Games (http://forums.bots-united.com/forumdisplay.php?f=58)
-   -   Another step forward? (http://forums.bots-united.com/showthread.php?t=3366)

MarD 09-01-2005 20:02

Re: Another step forward?
 
Heyyo,

Heh, sweet. Gj Steve, it's nice. I'm sure this's just a couple more steps off from a playable bot. ;)

I did have 1 prob with it, 1 bot wouldn't like, move n' stuff, he'd spawn, but not do anything and float in the air.. anyone else got this prob? I was on de_dust if it helps any...

Gun-Nut 09-01-2005 20:11

Re: Another step forward?
 
can't wait till they work well its fun having something else to aim at :D they are good targets.

dead bwoy 09-01-2005 20:38

Re: Another step forward?
 
Good targets indeed!
Looking foreward to future updates!

stefanhendriks 09-01-2005 22:06

Re: Another step forward?
 
got it working for my bots as well now. Thx for stevec for his code snippets.

http://johannes.lampel.net/pics/shit/de_cbble0005.jpg

stefanhendriks 09-01-2005 23:30

Re: Another step forward?
 
http://forums.bots-united.com/showth...2006#post32006

do you want more? :P

dub 10-01-2005 20:27

Re: Another step forward?
 
bug fix for get team, add this code to the end of ubbot_util.cpp
Code:

int UTIL_GetTeam (edict_t *pEdict)
 {
        IPlayerInfo *pi = NULL;
 
        if ((pi = playerinfomanager->GetPlayerInfo (pEdict)) != NULL)
                return (pi->GetTeamIndex ());
        else
                return -1;
 }

& max clients is sent on server activate.
code hasn`t been tested but should hopefully work enjoy;)

[edit]
much cleaner code.
[/edit]

stefanhendriks 10-01-2005 21:12

Re: Another step forward?
 
already got a neater version , working... :P


All times are GMT +2. The time now is 13:12.

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