Plz help me again with my map
Posted: Sat May 17, 2003 8:03 pm
hi im planning to make a big map where you follow guys and a medic around the map shooting people and hiding behind walls and etc...
i made a small test map first but it doenst work right...
okay the map is a simple L shaped outdoor area. you spawn with 4 guys and a medic on top of the L. they are supposed to run down the L and turn the corner and encounter some nazis. The problem is, they dont move anywhere ON THEIR OWN. i can push them to the nazis but then it gets even more weird. the medic doesnt do anything, and everyone dies in 2-3 shots. all the americans have 100 hp, and all the nazis have 300 hp, yet i can kill them in a few pistol whips to the leg. heres my scripts below...
plz help me any help would be appreciated. if it involves changing the script plzz comment EVERYTHIGN since im sort of new to this.
PS- oh yeah i also have something else to say. i was reading the global friendly script, and i set the medic to medic behavior (hes #fnum5) and the rest to that offset behavior 0. the nodes i want them to run to start with the first one having #set 10 and the next #set 20 and the next #set 30 and the last #set40. all of them are named "friendlynode" and i also have fighting nodes around the map for example a corner left at the L junction. those have no name.
i made a small test map first but it doenst work right...
okay the map is a simple L shaped outdoor area. you spawn with 4 guys and a medic on top of the L. they are supposed to run down the L and turn the corner and encounter some nazis. The problem is, they dont move anywhere ON THEIR OWN. i can push them to the nazis but then it gets even more weird. the medic doesnt do anything, and everyone dies in 2-3 shots. all the americans have 100 hp, and all the nazis have 300 hp, yet i can kill them in a few pistol whips to the leg. heres my scripts below...
Code: Select all
//test_alliedraid
exec global/ai.scr
exec global/loadout.scr maps/test_x.scr
main:
level waittill prespawn
exec global/ambient.scr test_x
level waittill spawn
$player item weapons/colt45.tik
$player item weapons/thompsonsmg.tik
fadein 2 0 0 0 1
wait 2
level.script = "maps/test_x.scr"
Code: Select all
//test_alliedraid_precache
cache items/colt45.tik
cache items/thompsonsmg.tik
PS- oh yeah i also have something else to say. i was reading the global friendly script, and i set the medic to medic behavior (hes #fnum5) and the rest to that offset behavior 0. the nodes i want them to run to start with the first one having #set 10 and the next #set 20 and the next #set 30 and the last #set40. all of them are named "friendlynode" and i also have fighting nodes around the map for example a corner left at the L junction. those have no name.