Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 62 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: Tutorial: Breakable brushes
Marshall2006
General Member
Since: May 1, 2006
Posts: 180
Last: Oct 24, 2010
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Monday, Jan. 21, 2008 03:57 pm
So, here's how to create breakable brushes

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



edited on Jan. 21, 2008 11:03 am by Marshall2006
Share |
Marshall2006
General Member
Since: May 1, 2006
Posts: 180
Last: Oct 24, 2010
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Monday, Jan. 21, 2008 05:36 pm
Bump ~ for admin
Share |
foyleman
Preferred PLUS Member
Since: Nov 7, 2001
Posts: 95762
Last: Apr 13, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a fan of MODSonair
Im a HOST of MODSonair
Category: CoD4 MP Mapping
Posted: Monday, Jan. 21, 2008 05:52 pm
Thanks. Yup.. sometimes we don't see the tutorials get posted and a bump is necessary.
Go ahead... You Play I Mod : Support Modsonline by becoming a PREFERRED MEMBER today!
Have you heard the MODSonair Podcast?:
MODSonair is a weekly podcast bringing you the news from a modders perspective.
Tune in every Sunday at 12pm EST to listen LIVE.
Quake 4 Mods for Dummies - Half-Life 2 Mods for Dummies
Share |
Mamma
General Member
Since: Jun 16, 2004
Posts: 115
Last: Mar 23, 2008
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 23, 2008 11:48 pm
Doesn't seem to work for me. Tried it with a window but nothing happens:/ Any suggestions? Do i need to script something somewhere else?
Share |
Marshall2006
General Member
Since: May 1, 2006
Posts: 180
Last: Oct 24, 2010
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Thursday, Jan. 24, 2008 12:43 am
Make sure you add the line below, to your .GSC file:

Code:
	maps\mp\_load::main();
Share |
jackc1990
General Member
Since: Aug 29, 2005
Posts: 233
Last: Nov 20, 2008
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Thursday, Jan. 24, 2008 12:47 am
I use this on my map and yes I can destroy the object, but is there any way to stop it from just popping. My map has a window with wooden planks across, when I shoot the planks they literally just vanish. Is there any way to have it so it at least breaks off and then fades or is that not possible?

Great tutorial but it would be nice to elimate the popping animation.

edited on Jan. 23, 2008 07:48 pm by jackc1990
Share |
Marshall2006
General Member
Since: May 1, 2006
Posts: 180
Last: Oct 24, 2010
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Thursday, Jan. 24, 2008 01:00 am
Yep, I will make an edit to the tutorial
Share |
|DA|DarkDilbert
General Member
Since: Jun 5, 2006
Posts: 675
Last: Apr 29, 2008
[view latest posts]
Level 6
Category: CoD4 MP Mapping
Posted: Thursday, Jan. 24, 2008 01:10 am
Just want to tell people that most of the tutorials from CoD, CoD:UO and CoD2 will work for CoD4 and generally without any modification
Share |
FlesyM
General Member
Since: Jul 24, 2005
Posts: 399
Last: Jan 24, 2008
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Thursday, Jan. 24, 2008 02:19 am
take a look at prefabs/mp_destructibles/destructible_plank02.map

that is made out of dyn_brushmodel, as opposed to the pre-cod4 exploder method (which I assume also work in cod4...)

dyn_brushmodel makes sense if you ask me, as it uses the new cod4 physics to really "destroy" brush pieces. the exploder method basically plays an fx to hide the fact that it replaces an intact brush by a broken brush.

[2guns]

edited on Jan. 23, 2008 09:20 pm by FlesyM
Share |
Mamma
General Member
Since: Jun 16, 2004
Posts: 115
Last: Mar 23, 2008
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Friday, Jan. 25, 2008 01:36 am
got it working but...

The old way of getting fx to make "glasscrash-effect" does not seem to work.

I managed to make a window swap to a crashed window but that just look ugly:)

Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»