-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Draco
Sent: Mon 10 October 2005 01:03
To: hlcoders@list.valvesoftware.com
Subject: Re: [hlcoders] SDK With bots question
--
[ Picked text/plain from multipart/alternative ]
BG2 has the bots working, would you like me to send
--
[ Picked text/plain from multipart/alternative ]
void Bot_HandleRespawn( CSDKBot *pBot, CUserCmd cmd )
{
// Wait for Reinforcement wave
if ( !pBot-IsAlive() )
{
// Try hitting my buttons occasionally
if ( random-RandomInt( 0, 100 ) 80 )
{
// Respawn the bot
if ( random-RandomInt( 0, 1 ) == 0 )
Thanks
I will try this tomorrow after work.
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Draco
Sent: Mon 10 October 2005 22:57
To: hlcoders@list.valvesoftware.com
Subject: Re: [hlcoders] SDK With bots question
--
[ Picked text/plain from
Hello All
I have just noticed that if you create a Mod (Modify Half-Life 2
Multiplayer) there don't seem to be a bot_add command.
Though you do seem to have the following line:
ConCommand cc_Bot( bot, Bot_f, Add a bot., FCVAR_CHEAT );
But when you use bot within the game, you are then told
Remove all the #ifdef DEBUG and #endif pairs.
By default the bots included with the sdk only function in debug builds.
-Original Message-
From: Paul Kirby [mailto:[EMAIL PROTECTED]
Sent: October 9, 2005 12:18 PM
To: hlcoders@list.valvesoftware.com
Subject: [hlcoders] SDK With bots
: [hlcoders] SDK With bots question
Remove all the #ifdef DEBUG and #endif pairs.
By default the bots included with the sdk only function in
debug builds.
-Original Message-
From: Paul Kirby [mailto:[EMAIL PROTECTED]
Sent: October 9, 2005 12:18 PM
To: hlcoders@list.valvesoftware.com
Did you edit the bot files themselves too?
-Original Message-
From: Paul Kirby [mailto:[EMAIL PROTECTED]
Sent: October 9, 2005 1:47 PM
To: hlcoders@list.valvesoftware.com
Subject: RE: [hlcoders] SDK With bots question
You can remove all pairs due to it fails to compile and link.
Like
question
Did you edit the bot files themselves too?
-Original Message-
From: Paul Kirby [mailto:[EMAIL PROTECTED]
Sent: October 9, 2005 1:47 PM
To: hlcoders@list.valvesoftware.com
Subject: RE: [hlcoders] SDK With bots question
You can remove all pairs due to it fails to compile and link
@list.valvesoftware.com
Subject: RE: [hlcoders] SDK With bots question
I did a search for the #ifdef anf commented out the #ifdef and #endif
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Tony omega Sergi
Sent: Sun 09 October 2005 19:08
Subject: RE: [hlcoders] SDK With bots question
Did you edit the bot files themselves too?
-Original Message-
From: Paul Kirby [mailto:[EMAIL PROTECTED]
Sent: October 9, 2005 1:47 PM
To: hlcoders@list.valvesoftware.com
Subject: RE: [hlcoders] SDK With bots question
You can remove
Welp, does it work now?
-Original Message-
From: Paul Kirby [mailto:[EMAIL PROTECTED]
Sent: October 9, 2005 4:11 PM
To: hlcoders@list.valvesoftware.com
Subject: RE: [hlcoders] SDK With bots question
LOL
/me slaps self silly.
Just realised on what you meant :P
It was the only file I
--
[ Picked text/plain from multipart/alternative ]
You need to add the bot_rullall() or whatever the global function is, from
the SDK to the HL2MP. There may also be another few functions, but for the
most part taking the SDK control functions and moving them into either your
own file or a
--
[ Picked text/plain from multipart/alternative ]
BG2 has the bots working, would you like me to send you our bot files? maybe
you can get something working out of it.
--
Draco
--
___
To unsubscribe, edit your list preferences, or view the list
13 matches
Mail list logo