I want my bots to respawn, how?

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

Moderator: Moderators

Post Reply
divaid
Corporal
Posts: 46
Joined: Fri Nov 21, 2003 10:27 am
Location: pesse (NL)
Contact:

I want my bots to respawn, how?

Post by divaid »

hey,

I'm new at this forum, but I am modeling for almost 2 years now. I really like the new bot function, and have already several bots in my map. It's an objective type map (offcourse:D) It all works fine, but my bots won't respawn. I really want this, so that I can play on and on till the time reaches it's limit. how can I respawn my bots? If I play my map now, the bots will kill each other and I kill them and that's it. What I want is that when I kill al the bots, it isn't over but the bots keep 'respawning'. plz it's very important to me. thank you (btw I have made a really great 'beachtype' map, so I will upload it when it all works fine.
van Wassem entertainment© - entertainment on a degreement never imagined
divaid
Corporal
Posts: 46
Joined: Fri Nov 21, 2003 10:27 am
Location: pesse (NL)
Contact:

Post by divaid »

also, every time I die the game asks If I want to start a 'terminate' round, (while I want to finish the game I originally began) and I must agree to this? btw I read the whole bots manual:D but I still need answers to my questions
van Wassem entertainment© - entertainment on a degreement never imagined
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

lets see you need to add this to the sricpt

level.respawn = 1

I think thats it
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
divaid
Corporal
Posts: 46
Joined: Fri Nov 21, 2003 10:27 am
Location: pesse (NL)
Contact:

Post by divaid »

mm still no respawning bots, will you take a look at my script???

// Batterie du Longue
// ARCHITECTURE: Divaid
// SCRIPTING: Divaid
main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" ""
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "none"

level waitTill prespawn

//*** Precache Dm Stuff
exec global/DMprecache.scr

level.script = maps/dm/test_bots.scr
exec global/ambient.scr test_bots

level waittill spawn
$bombflak thread global/jv_obj_dm.scr::bomb_thinker
level.alliesbots = 30
level.axisbots = 15
level.respawn = 1
waitthread global/jv_bots/jv_mp_ai.scr::enable

level.jvbot_weapon_priority["m1 garand"] = 40
level.jvbot_weapon_priority["springfield '03 sniper"] = 10
level.jvbot_weapon_priority["thompson"] = 40
level.jvbot_weapon_priority["bar"] = 10
level.jvbot_weapon_priority["shotgun"] = 0
level.jvbot_weapon_priority["high standard"] = 0
level.jvbot_weapon_priority["colt 45"] = 0
level.jvbot_weapon_priority["bazooka"] = 0
level.jvbot_weapon_priority["mauser kar 98k"] = 40
level.jvbot_weapon_priority["mauser kar 98d sniper"] = 10
level.jvbot_weapon_priority["mp40"] = 40
level.jvbot_weapon_priority["stg44"] = 10
level.jvbot_weapon_priority["walter p38"] = 0
level.jvbot_weapon_priority["panzerschrek"] = 0

end
van Wassem entertainment© - entertainment on a degreement never imagined
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

level.respawn = 1

should be

level.dmrespawning = 1

This will also stop the 'terminate round' question.

(btw1.. you don't have to agree, just don't press use ;))

(btw2... welcome to .map)

:)
Image
divaid
Corporal
Posts: 46
Joined: Fri Nov 21, 2003 10:27 am
Location: pesse (NL)
Contact:

Post by divaid »

thanks man will you take a look at my new thread too ?:D
van Wassem entertainment© - entertainment on a degreement never imagined
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

btw3, any work of ur modelling?
Live to map, not map to live.
-mohaa_rox, .map
moderator
Post Reply