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
wood planks that u shoot off
Moderator: Moderators
func_crate
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.
-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
- Contact:
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
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
hope this helps, prob not cos it's all foreign 2 me :-/
-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
- Contact:
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
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
hope this helps, prob not cos it's all foreign 2 me :-/
