Shootable Doors, that you can make weapon specific. (Meaning you have to shoot it with a certain weapon) You can also modify the script to do other things. See other.
I have included three prefabs for examples.
The following script should be placed at the bottom of your nazi_zombie_mapname.gsc: (Be sure to thread the ShootTrigger() up in the init function. See here if you need help where to thread the function.)
In radiant, if you make your own doors/prefabs, you will need: Trigger_damage with kvps: - targetname>shoot_door - target>auto138 (this number just makes it so you can put as many in as you want without the same kvp name) Script_brushmodel with kvps: - targetname>auto138 (make sure this matches your trigger_damages target) - script_vector>x y z (script vector is optional. replace x y z with the amount of units you want to move in that direction
Last Edit: December 11, 2014, 08:58:54 pm by MakeCents