dyno scripting


(sfx lawz) #1

hi, ive only been mapping for 4 days, but am really interested in it, only prob is, I DONT KNOW HOW TO SCRIPT! :banghead:

atm, my script it like this :
game_manager
{
spawn
{

wm_axis_respawntime 15
wm_allied_respawntime 15

wm_set_round_timelimit 15

wm_number_of_objectives 1

wm_set_defending_team 1

wm_setwinner 1
}
}

test_explo
{
spawn
{
wait 200

constructible_class 3
}

the stupid have axis have blown the wall into little bits!
{

wm_announce “the stupid axis have blown the wall into little bits!”

}
}

my script_multiplayer has this info in it:

scriptname game_manager

classname script_multiplayer

origin 120 8 72

my wall has this info:

classname func_explosive

noise brick

mass 200

scriptname test_explo

spawnflags 8

targetname t1

target t2

my trigger around my wall has this info:

classname trigger_objective_info

spawnflags 2

track the old, low, smelly wall

objflags 4

target t1

targetname t2

the wall can only be destryoed by bullets and knifes cause it has that stupid blue bar, and i dont know how to get it dynamitable!

i got this script by copying out other ppls, and changing the bits i needed for my map (i think) unfortuantlly the round timer isnt working either, and when the wall is destroye,d none wins or loses!

can any1 help me? id be really gratefull!