Page 1 of 1

Is it possible to break stuff???

Posted: Wed Feb 26, 2003 1:12 pm
by Shifty
On one of the early SP maps after youve rescued the British Guy and are diving around with him (with you operating the gun) you come to a place thats fenced/boarded up and you have to shoot them to get through - Can some1 tell me how to do this?


Cheers

Posted: Wed Feb 26, 2003 1:16 pm
by Angex
Its just the same as making a breakable window. Except you might not want to show any debris left, afterwards, depends on the situation. You might have some debris but need to make it non-solid in order to be passable.

Posted: Wed Feb 26, 2003 1:59 pm
by Slyk
What you really need to know is that the brushes used to create the 'barricade' need to be given a 'function_crate' tag. That makes them a crate and then you can assign whatever 'health' value you want in the entity window. They can spawn debris, if you want, or not but that is another level of scripting/entity values.

Posted: Wed Feb 26, 2003 3:02 pm
by Gen Cobra
On the money Slyk. :wink: