Page 1 of 1
I want my bots to respawn, how?
Posted: Fri Nov 21, 2003 10:33 am
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.
Posted: Fri Nov 21, 2003 10:45 am
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
Posted: Fri Nov 21, 2003 1:14 pm
by smartaiguy
lets see you need to add this to the sricpt
level.respawn = 1
I think thats it
Posted: Fri Nov 21, 2003 2:45 pm
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
Posted: Fri Nov 21, 2003 6:00 pm
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)

Posted: Fri Nov 21, 2003 8:30 pm
by divaid
thanks man will you take a look at my new thread too ?:D
Posted: Mon Nov 24, 2003 4:00 pm
by mohaa_rox
btw3, any work of ur modelling?