Art of War Central
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
The next MODSonair show will air LIVE on:
03/21/2010 12:03 EDT

Time remaining:
We Dontated to PixelEquity
"Modding refers to the act of modifying a piece of hardware or software or anything else for that matter, to perform a function not originally conceived or intended by the designer." 4
 
Site News   |   Aggregated News   |   Forums   |   Tutorials   |   Downloads   |   Projects   |   Weblinks
Latest Forum Threads 
CoD4 Scripting.. Posts: (3) Views: (14) by Samuel033
General.. Posts: (1) Views: (12) by Morphisnb
CoD4 SP Mapping.. Posts: (8) Views: (104) by voidsource
CoD4 Map + Mod R.. Posts: (29) Views: (205) by sam_fisher3000
CoD4 MP Mapping.. Posts: (22) Views: (468) by DeekCiti
CoD2 MP Mapping.. Posts: (8) Views: (52) by Infern4ll
CoDUO Mapping.. Posts: (3) Views: (33) by Fawlty
CoDUO Mapping.. Posts: (4) Views: (27) by morgawr
CoD4 Map + Mod R.. Posts: (2) Views: (45) by Hajas
CoD4 Map + Mod R.. Posts: (6) Views: (495) by tomv8
Back to Home Page
MODSCON 2010 L4D2 Contest
Register/Login to Add a Tutorial
Tutorials
CoD4 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Breakable brushes
Versions: You must be logged in to view history.
So, here's how to create breakable brushes. Thanks Marshall2006.
These can be things such as windows, wooden planks and roofing.

Here's 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)...


Quote:

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)...

Quote:

Key: targetname

Value: exploder


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

Quote:

Key: script_exploder

Value: 30




Then slide your 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 texture your trigger with a texture in ---> usage>tools>trigger

After you have done that right click the trigger and convert it to triggerdamage (Trigger>Damage)..

Then type in the entities below:-

Quote:

Key: script_exploder

Value: 30





That should do the trick