breakable grate

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
7th Es Cyborg
First Lieutenant
Posts: 189
Joined: Fri Dec 13, 2002 5:00 pm
Location: PA
Contact:

breakable grate

Post by 7th Es Cyborg »

Ok, I've got a crawl through duct that I need breakable grates at the end of the tunnel, I know I can use the func crate and make it breakable that way but for metal it's not too realistic, how can I do this?
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Make your gate to be broken. Make it a script object. Give is keys of "#set", and "targetname". Values of "1" and "exploder" respectively. Duplicate it and "destroy" your gate. It must be a script object. Give it stuff of
#set: 1
targetname: explodersmashed
Then add an explosion fx. Give it a targetname of "exploderfire" and "#set" "1".
Make a trigger multiple around the gate and give it:
#set:1
targetname:explodertrigger
In your script add:
exec global/exploder.scr
Live to map, not map to live.
-mohaa_rox, .map
moderator
7th Es Cyborg
First Lieutenant
Posts: 189
Joined: Fri Dec 13, 2002 5:00 pm
Location: PA
Contact:

Post by 7th Es Cyborg »

I don't want it to explode, just break apart like the func_crates do, but have a metal look to it rather than a wood look

and preferably avoiding scripting.....
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Sorry, I think that's the only way. The scripting is easy, just add exec global/exploder.scr to your script after level waittill prespawn.
Live to map, not map to live.
-mohaa_rox, .map
moderator
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Just find a nice explosion fx :?

Check fx -> debris folder.
Image
Post Reply