Using the russian_bots ???

Please use this forum to ask all your MoHAA Bots questions / discussions

Moderator: Moderators

Post Reply
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Using the russian_bots ???

Post 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 ? :?:
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post 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 !
Image
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Post by mcunha98 »

Voc? ? Brasileiro ????

Well Krane, thanks for your response i try this command and reply with the result soon... :P
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post 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:
Image
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Post 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 !
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post 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"
Image
Post Reply