::TUT:: Breakable Brushes

Have questions about CoD2 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Marshall
CJ Spammer!
CJ Spammer!
Posts: 820
Joined: December 10th, 2005, 11:28 am
Location: UK

::TUT:: Breakable Brushes

Post by Marshall » May 30th, 2006, 9:28 am

Hey,

i found a neat way of doing this, ill put it into my own words:roll: :roll: :roll:
an easy way to make a wall, window or a series of brushes to break whilst triggered will be shown below:-


1) Create the wall (before its been destroyed)...

2) Select the brushes used for the wall...

3) Right click on the brushes (whilst selected) and convert them to a scriptBrushModel (Script>Brushmodel)...



Next whilst having the brushmodel selected, Press n to bring down the console, then type in the following entities (Keys & Values)...


Key: script_exploder
Value: 30
(The value can be any number, just make when you do this to the next part of the tutorial, they are the same number, this is so they are connected in some way)...

Next you need to create the broken peices of the wall, so best way to do this is using the clipping tool...

Once you have made the broken part of the wall, select all the brushes and Convert it to a scriptBrushModel (Script>Brushmodel)...

Then type in the entities below (Keys & Values)...

Key: targetname

Value: exploder

-----------------------------------------------------------------------------

Key: script_exploder

Value: 30


Then slide youre new brushmodel over the old wall...


----------------

Once you have done all of that, you need to create a trigger...

For this i will use a damage trigger...

So create a brush covering the wall about 8 units over by every axis..

Next textue youre trigger with a texture in ---> usage>tools>trigger

After you have done that rightclick the trigger and convert it to trigger-damage (Trigger>Damage)..

Then type in the entities below:-

Key: script_exploder

Value: 30



That should do the trick :D

If you have any troubles then add me on xfire: idiothell3


--------------------------------------------

Thanks for reading this


Marshall

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests