Glass that starts out broken

A Tutorial for Source Engine

Members see zero ads. Signup for free
Glass that starts out broken.
  • Open one of your maps or make a new one.
  • Make a func_breakable_surf with a frame around it (as if you are making a normal breakable window).
  • Set up an env_explosion in the middle of the window, then change the options as follows:
    • Name: (whatever name you want to give it)
    • Magnitude: 1
  • Then in the flags tab, change the flags as follows:
    • No fireball
    • No smoke
    • No decal
    • No sparks
    • No sound
    • No fireball smoke
    • No particles
    • No Dlights
  • Set up a logic_auto near the env_explosion (it doesn't matter where you put it, but I recommend that you put it in a convenient place)
  • Change the entity outputs for the logic_auto as follows:
    • My output: OnMapSpawn
    • Target Entity: name you gave the entity of env_explosion
    • Target input: Explode
    • Only once: Yes
  • Then in the flags tab, change the flags as follows:
    • Remove on fire
  • Test your map! When it loads the env_explosion will break the glass leaving the jagged glass edges on the side of the frame.
Alternative method
  • Name the func_breakable_surf you created in step 2 above.
  • Don't create the env_explosion entity in step 3 above.
  • Do create the logic_auto entity in step 5 above.
  • Change the entity outputs for the logic_auto as follows:
    • My output: OnMapSpawn
    • Target Entity: name you gave the func_breakable_surf entity
    • Target input: Shatter
    • Parameter: 0.5 0.5 128
    • Only once: Yes
  • Adjust the parameter above as desired. Changing the size of the third number (128) will change how much of the window is broken.

Take note: I DID NOT make this tutorial. You can find the original tutorial here. Thus, I take no credit for making this. I just edited a bit to fit into FPSB.
  • The Fool avatar
    The Fool Joined 11y ago
    Offline
    510 points Ranked 44815th
    11 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 5 posts awarded Exemplary Feedback Medal icon
    • 10 posts awarded Exemplary Feedback Medal icon
    10y
    Pros: Good tutorial, easy to read, but not perfect. Cons: It's not your tutorial. Secondly, it's not very useful at all. Improvements: None. It's over. Notes: Good job formatting? I find it stupid that things like this keep coming into the top rated section >:(.
    Mapper, Graphic Artist avatar
    Mantra
    Mapper, Graphic Artist
    URL to post:
  • THEnub avatar
    THEnub Joined 11y ago
    Offline
    Iris Studios Flag Affiliation: Iris Studios
    42,724 points Ranked 97th
    THEnub Iris Studios Flag
    Affiliation
    Iris Studios
    10y
    Posted by ICECOLD_3000
    Posted by Tha_assasin I cant seem to get that func_breakble_surf to work.. It says in the console if i was making a normal breakble window, that it is rejecting func_breakble_surf cos it has multiple faces that aren't nodraw. I tried to make the faces that face against the wall nodraw, but still nothing.. Help? EDIT: No, no it's working..
    You need to have one face of the brush a glass texture while all other faces of the brush the "nodraw" texture to work properly.
    Nodraw/nodraw, not the nodraw_window or watever.
    When a man fears nothing. avatar
    Mantra
    When a man fears nothing.
    URL to post:
  • Pizzano avatar
    Pizzano Joined 13y ago
    Offline
    11y
    So how do we first create the breakable window?
    Rate my maps!  Please! avatar
    Mantra
    Rate my maps! Please!
    URL to post:
  • rickstar121 avatar
    rickstar121 Joined 12y ago
    Offline
    120 points Ranked 63153rd
    11y
    Well mate good job on sharing very happy with it!
    Bananite Fun Sun Protection avatar
    Mantra
    Bananite Fun Sun Protection
    URL to post:
  • ClanFever avatar
    ClanFever Joined 12y ago
    Offline
    445 points Ranked 45980th
    7 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    11y
    Though it's a very nice written tutorial, personally I would not want glass to start broken.
    I Glocked Your Ass Into Last W avatar
    Mantra
    I Glocked Your Ass Into Last W
    URL to post:
  • Bojero avatar
    Bojero Joined 12y ago
    Offline
    3,715 points Ranked 2054th
    11y
    Neat layout, and very detailed. Useful effect for maps, and pretty cool too.
     avatar
    URL to post:
  • ICECOLD_3000 avatar
    ICECOLD_3000 Joined 13y ago
    Offline
    26,525 points Ranked 182nd
    12y
    Posted by Tha_assasin I cant seem to get that func_breakble_surf to work.. It says in the console if i was making a normal breakble window, that it is rejecting func_breakble_surf cos it has multiple faces that aren't nodraw. I tried to make the faces that face against the wall nodraw, but still nothing.. Help? EDIT: No, no it's working..
    You need to have one face of the brush a glass texture while all other faces of the brush the "nodraw" texture to work properly.
    SRT-4 RuLeZ avatar
    Mantra
    SRT-4 RuLeZ
    URL to post:
  • Fedda avatar
    Fedda Joined 12y ago
    Offline
    2,533 points Ranked 20015th
    12y
    I cant seem to get that func_breakble_surf to work.. It says in the console if i was making a normal breakble window, that it is rejecting func_breakble_surf cos it has multiple faces that aren't nodraw. I tried to make the faces that face against the wall nodraw, but still nothing.. Help? EDIT: No, no it's working..
    ETC not ECT
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
Valve Developers Community
Unknown

Submitter

ICECOLD_3000 avatar
ICECOLD_3000 Joined 13y ago
Offline
26,525 points Ranked 182nd
ICECOLD_3000
Redistributor
Are you the owner? Request Ownership
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Beginner

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 2
  • 4.3k
  • 8
  • 12y
  • 5y

More from Submitter

WiPs by Submitter

More Mapping Tutorials