Respawn breakable glass

A Forum Thread for Counter-Strike: Source

Need some help on how to do this.

I'm making a map which is a Perfect Dark remake. In the original level the glass shatters after a few shots, and then respawns about 20 seconds or so later. I want the glass in my source remake to do the same, so how would I do this? The glass is in 9 individual blocks, I want each piece to break separately and therefore respawn separately (in the same round of course). Also, I don't want the glass to shatter like the office glass, I need it to break completely after it's taken about 40 damage. Here's a screen to show you how I have the 9 blocks of glass in the map: Image Hosted by ImageShack.us I searched the tutorials and google for a solution and couldn't find anything, and I'm useless at entity work so can someone help me out please :)
Sign up to access this!

Replies

  • Crazypip666 avatar
    Crazypip666 username pic Joined 12y ago
    Offline
    36,268 points Ranked 112th
    15 medals 1 rare
    • 6 years a member Medal icon
    • Became a Club Leader Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • Reached 7,500 Points Medal icon
    • Reached 25,000 Points Medal icon
    10y
    Hopefully this will help you.
    BAD WOLF avatar
    Mantra
    BAD WOLF
    URL to post:
  • nosoul avatar
    nosoul username pic Joined 12y ago
    Offline
    17,048 points Ranked 263rd
    17 medals 1 legendary 4 rare
    • 10 years a member Medal icon
    • 25 posts awarded Exemplary Feedback Medal icon
    • 50 posts awarded Exemplary Feedback Medal icon
    • 100 posts awarded Exemplary Feedback Medal icon
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    10y
    Well, You would make the section of glass that you would want to respawn, and you would want to give it a name like glass1 or something. Then make a point_template open up the properties and name it glass_temp, then under Temp 1, put glass1. Then make a env_entity_maker and put it in the center of where you want the glass to spawn from. Open up properties and give it a name like glass_spawn and for the template put glass_temp. Then make a logic_time somewhere (near the glass is fine) and open up the properties. for refire interval put 20, the click on the outputs tab. click add and then put OnTimer > glass_temp > forcespawn. I think thats it. Beaten by crazypip again! arg!
    Why I laggin? avatar
    Mantra
    Why I laggin?
    URL to post:
  • scout1011 avatar
    scout1011 Joined 12y ago
    Offline
    809 points Ranked 6462nd
    10 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Became a Club Leader Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 5 posts awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    10y
    Ahhh thanks to both of you, thumbs :)
    The lands are bleak and long avatar
    Mantra
    The lands are bleak and long
    URL to post:

Embed

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

Author

scout1011 avatar
scout1011 Joined 12y ago
Offline
809 points Ranked 6462nd
10 medals 1 legendary 1 rare
  • 10 years a member Medal icon
  • 6 years a member Medal icon
  • Became a Club Leader Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
  • 5 posts awarded Exemplary Feedback Medal icon
  • One month a member Medal icon

scout1011
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 1.9k Views
  • 3 Posts
  • 10ySubmitted
  • 10yModified

More from Submitter

WiPs by Submitter

More Customization Threads

bcp.crwdcntrl.net tracking pixel