Please use this forum to ask all your MoHAA Bots questions / discussions
Moderator: Moderators
mcunha98
Lieutenant Colonel
Posts: 384 Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:
Post
by mcunha98 » Mon May 10, 2004 5:11 am
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 » Mon May 10, 2004 5:42 am
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
!
E valeu por usar meus russos...
!
mcunha98
Lieutenant Colonel
Posts: 384 Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:
Post
by mcunha98 » Mon May 10, 2004 2:34 pm
Voc? ? Brasileiro ????
Well Krane, thanks for your response i try this command and reply with the result soon...
Krane
Lieutenant General
Posts: 782 Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:
Post
by Krane » Mon May 10, 2004 2:49 pm
mcunha98 wrote: Voc? ? Brasileiro ????
Well Krane, thanks for your response i try this command and reply with the result soon...
Sim!!!
Remember that every bots map should have this line, otherwise the bots will start shooting at everybody, even the spectator...
mcunha98
Lieutenant Colonel
Posts: 384 Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:
Post
by mcunha98 » Tue May 11, 2004 3:06 am
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 » Tue May 11, 2004 6:16 am
Did you put script_origins w/ the targetname "alliesspawn" and "axisspawn"?
This is where the bots will spawn
!
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"