Page 1 of 1
Bots dont work?
Posted: Thu Dec 04, 2003 8:30 pm
by pshyco
Ive made my map and added path nodes and scipt_orgins with the target names but when it spawns the bots stand still they will shoot the other team but they dont move expect when you throw a grenade at them or walk into the them, maybe i have to do something with my path nodes? or script?
Posted: Fri Dec 05, 2003 6:55 am
by jv_map
Could you show us relevant parts of your script?
Posted: Fri Dec 05, 2003 4:58 pm
by pshyco
This is my Scr file:
maybe i shouldnt add animated fog to it?
Code: Select all
// mp_ai_winter_assult
//[69th]PsHyCo
level.script = "maps/mp_ai_winter_assult.scr"
level.music = "t2l1"
main:
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"
setcvar "jvbot_showavatar" "1"
//to turn off bots make this (setcvar "jvbot_allowed" "0")
setcvar "jvbot_allowed" "1"
level waittill prespawn
// Precache Dm Stuff
exec global/DMprecache.scr
level.music = "t2l1"
level waittill spawn
// max bots 8 per team-more than 8 is untested
level.alliesbots = 3
level.axisbots = 3
waitthread global/jv_bots/jv_mp_ai.scr::enable
// Animated fog setup
$world animated_farplane 3500 5000 1650 1888
$world animated_farplane_color (0.6 0.6 0.64) (0.5 0.5 0.54) 1200 1888 // 2nd RGB triple used to be (0.5 0.5 0.5)
$world animated_farplane_bias -1500 0 1650 1888
// Set up Music
$player stufftext "tmstart sound/music/mus_SniperTown_01g.mp3"
// Initialize Snow Parameters
level.rain_speed = "40"
level.rain_speed_vary = "4"
level.rain_length = "2"
level.rain_width = "1"
level.rain_density = ".4"
level.rain_slant = "1"
level.rain_min_dist = "512"
level.rain_numshaders = 12
level.rain_shader = "textures/snow"
end
Posted: Sat Dec 06, 2003 8:06 am
by jv_map
Is it just me or are you trying to put bots in a breakthrough map?
Bots are only tested for plain mohaa....
Posted: Sat Dec 06, 2003 3:45 pm
by pshyco
its for a spearhead map and do all the path nodes have to link like have targets?
Posted: Sat Dec 06, 2003 3:50 pm
by jv_map
No, I think the problem is that the bots don't have any objectives like bombs, machineguns, sniper or camp nodes to run to, so they just stay at their spawn position.
Posted: Sat Dec 06, 2003 8:21 pm
by pshyco
i do have some documents to steal so i have to add machine gun points and change the documents to a bomb yer?
Posted: Sun Dec 07, 2003 6:55 am
by jv_map
Well you could also use a trigger objective but it isn't 'official' yet

. See Bjarne's Vemork Factory bot map for an example

.
Posted: Sun Dec 07, 2003 11:25 am
by pshyco
ah ok thanks jv.

Posted: Sun Dec 07, 2003 1:17 pm
by Bjarne BZR
That map could be hard to find, but here it is:
http://www.planetmedalofhonor.com/rjuka ... t_map.html
When is the 'official' release by the way?
Posted: Mon Dec 08, 2003 5:22 pm
by jv_map
Bjarne BZR wrote:When is the 'official' release by the way?
Oh uhm

it's delayed

basically due to lack of motivation but primarily a lack of time

Posted: Mon Dec 08, 2003 7:09 pm
by Bjarne BZR
jv_map wrote:Oh uhm

it's delayed

basically due to lack of motivation but primarily a lack of time

I know the problem man, found a map yesterday that I just lost interest in and forgot to release. Despite the fact that it was complete

.
Maby I'll post it in a day or 2... if I can work up the energy...
