How to make something 'breakable'

1) Create a brush with the trigger texture with a targetname of woodsplinter. Make it a triggerdamage. 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 triggerdamage to the scriptbrushmodel. 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 Solid Wood Brushmodel and connect it to Your Broken Wood Brushmodel

6) Place the trigger and brushmodels on top of each other. SINGLE PLAYER MAP ONLY: 7) Exec this script at the start of your level - "maps_wood::main();" in your gsc.

Optional:

Give the triggerdamage a 'scriptnoteworthy' to wait for a notify to be given before the wood can break example: 'scriptnoteworthy' of 'woodtime' 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, send me a PM.

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • Anonymous
    Posted 3 years ago

    I am cool

Credits

Submitter
-Anubis-'s Levels
  • P2: Drudge
    Points: 7,089
  • C1: Member
  • A6: Elder
    Account Age: 7 years
-Anubis- (Creator/Co-creator)
Key Authors
sir_kurt
Unknown

Rating

?/10
Not yet rated.

Additional Info

Genre
Other/Misc
Difficulty Level
Beginner

Stats

Post Count
1
ViewCount
1,863
Date Added
6 years ago
Date Modified
4 years ago

Share

Embed Code
Code to use:

More embeddable images

Bookmark and Share