Page 1 of 1

Using the russian_bots ???

Posted: Mon May 10, 2004 5:11 am
by mcunha98
Hello People,

I get the files to run a map with russian bots (russian_bots.pk3 and jv_bot01.pk3), put this files in mohaa\main and create a little map to test.

I put the spawn points to axis, allieds and deathmatch.

But when i start server to play, only me is playing.
My script is this...

Code: Select all

main: 

setcvar "g_obj_alliedtext1" "Bots Confront" 
setcvar "g_obj_alliedtext2" "Test" 
setcvar "g_obj_alliedtext3" "" 
setcvar "g_obj_axistext1" "Bots Confront" 
setcvar "g_obj_axistext2" "Test" 
setcvar "g_obj_axistext3" "" 
setcvar "g_scoreboardpic" "none" 

exec global/DMprecache.scr 
level.script = maps/dm/user_98botsrapid.scr 

level waittill spawn 
 exec global/russian_bots.scr
end 
Some idea ? :?:

Posted: Mon May 10, 2004 5:42 am
by Krane
Below the exec global/russian_bots.scr, put this line:

waitthread global/jv_bots/jv_mp_ai.scr::enable 0 0 0 0

This is the line that "actives" all jvbots scripts 8-) !

E valeu por usar meus russos... :D !

Posted: Mon May 10, 2004 2:34 pm
by mcunha98
Voc? ? Brasileiro ????

Well Krane, thanks for your response i try this command and reply with the result soon... :P

Posted: Mon May 10, 2004 2:49 pm
by Krane
mcunha98 wrote: Voc? ? Brasileiro ????

Well Krane, thanks for your response i try this command and reply with the result soon... :P
Sim!!!

Remember that every bots map should have this line, otherwise the bots will start shooting at everybody, even the spectator... :lol:

Posted: Tue May 11, 2004 3:06 am
by mcunha98
Krane,

The bot dont work !?!
Well, only to confirm

1) I update my MOHAA to 1.11 (sorry)
2) I put spawn points to team and deathmatch
3) Start a server with TDM or FFA
4) My Script:

Code: Select all

main: 

setcvar "g_obj_alliedtext1" "Bots Confront" 
setcvar "g_obj_alliedtext2" "Test" 
setcvar "g_obj_alliedtext3" "" 
setcvar "g_obj_axistext1" "Bots Confront" 
setcvar "g_obj_axistext2" "Test" 
setcvar "g_obj_axistext3" "" 
setcvar "g_scoreboardpic" "none" 

exec global/DMprecache.scr 
level.script = maps/dm/user_98botsrapid.scr 

level waittill spawn 
 exec global/russian_bots.scr
 waitthread global/jv_bots/jv_mp_ai.scr::enable 0 0 0 0 
end 
When i start map only me play, anothers boots dont spawn !

Posted: Tue May 11, 2004 6:16 am
by Krane
Did you put script_origins w/ the targetname "alliesspawn" and "axisspawn"?

This is where the bots will spawn :wink: !

And to make them move, you have to fill your map w/ info_pathnodes...

Oh, and one more thing: bots were design primarily for OBJ games...If you want to paly w/ bots in a TDM game, you'll need to put some info_pathnodes w/ the targetname "camper" and "sniper"