Page 1 of 1
wood planks that u shoot off
Posted: Thu May 08, 2003 4:03 pm
by vinyl
ok this part is gos over my head lol .
i have some wood sewer covers & i want ppl to shoot them off so thay can get down in to the sewer i have had a look at some of the tuts & its all aboult bobing tanks & wall is it all just the same
Posted: Thu May 08, 2003 4:08 pm
by Angex
If you want them to just break, no scripting is needed. Look up func_window.
func_crate
Posted: Thu May 08, 2003 4:15 pm
by tltrude
It would be better to make them func_crate. Just make a board and hit key N. Then find func_crate on the list and double click on it. You should also set health lower and debristype to 0.
Posted: Thu May 08, 2003 4:23 pm
by nuggets
make the manhole a script object
key: targetname
value: manhole1
create a trigger->multiple over the manhole
key: targetname
value: manhole1_trigger
key: setthread
value: manhole1_thread
check the !damage box
add add fx->debrisobject->woodbeams just as an example
key: targetname
value: manhole1_debris
then add to the script
manhole1_thread:
manhole1 remove
manhole1_debris anim start
wait 1
manhole1_debris remove
end
Posted: Thu May 08, 2003 4:32 pm
by vinyl
thanks guys going to try tham out now
Posted: Thu May 08, 2003 4:43 pm
by nuggets
func_crate will be the easiest, i just like having pointless script in my .scr

Posted: Thu May 08, 2003 11:38 pm
by vinyl
yup func_crate was the easiest all that scripting blows me away i did try it i did some think rong some were it was not ther wen i played the testmap
i will get it right soon just have to do more scripitng
thanks all
Posted: Sat May 10, 2003 12:20 pm
by nuggets
when writing scripts always have...
main:
//something in here
end
next_thread:
//whatever this does, or the one i created
end
when the .scr is loaded it will read the whole script until it reaches either an
end command or a
break command. i should of explained this before
so when the script was being run it was removing the manhole straight away