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

Members Online

»
0 Active | 7 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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 2
Category: CoD2 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: [Tutorial] Single Player Basic Breakable Wood
mrvip
General Member
Since: Jan 21, 2005
Posts: 65
Last: May 20, 2006
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Saturday, May. 20, 2006 06:00 am
BASIC BREAKABLE WOOD:
1) Create a brush with the trigger texture with a targetname of wood_splinter.
Make it a trigger_damage.
Edit the necessary parameters to your liking. Ex) How much damage till it breaks,etc.

2) Make your wood the way it looks BEFORE its broken. (solid). Select your wood and right click> script> brushmodel

3) Connect the trigger_damage to the script_brushmodel. Place off to the side.

4) Create wood the way it would look broken. Select your wood and right click> script> brushmodel

5) Select your whole Before Wood Brushmodel and connect it to Your Broken Wood Brushmodel

6) Place the trigger and brushmodels on top of each other.

7) Exec this script at the start of your level - "maps\_wood::main();" in your gsc.

Optional:

Give the trigger_damage a 'script_noteworthy' to wait for a notify to be given before the wood can break
example: 'script_noteworthy' of 'wood_time' will wait for 'level notify ("wood_time");' before pieces are breakable

So you can wait until a specific spot in your script before the wood is able to be broken.

Any questions or errors please tell me! Thanks.
mrVIP aka VIP
[thumbs_up]


edited on May. 20, 2006 02:01 am by mrvip
Share |
peri
General Member
Since: Jan 23, 2005
Posts: 456
Last: Sep 5, 2008
[view latest posts]
Level 5
Category: CoD2 MP Mapping
Posted: Saturday, May. 20, 2006 08:40 am
Great ! ...... its these simple steps that really help us people that are clueless about scripting.

cheers m8
Share |
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Saturday, May. 20, 2006 09:48 am
You might want to mention it is for single player otherwise your bound to confuse people.
Share |
peri
General Member
Since: Jan 23, 2005
Posts: 456
Last: Sep 5, 2008
[view latest posts]
Level 5
Category: CoD2 MP Mapping
Posted: Saturday, May. 20, 2006 12:53 pm
hahahaha.....i was about to be confused before i even started :)
Share |
mrvip
General Member
Since: Jan 21, 2005
Posts: 65
Last: May 20, 2006
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Saturday, May. 20, 2006 07:23 pm
Well I cant edit the post.

THIS IS FOR SINGLEPLAYER!
Share |
ThE_TeMpLaR
General Member
Since: May 5, 2006
Posts: 202
Last: Mar 16, 2007
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Sunday, May. 21, 2006 08:00 pm
DARN!!! ...and i was hoping to put some "tricks" like this in my MP map.....[cry]
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 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

»