Respawn breakable glass

Need some help on how to do this.

By scout1011 5 years ago

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 :)

3 posts 643 views
  • You must be a member

Replies

  • Crazypip666's Levels
    • P4: Worker
      Points: 35,876
    • E1: Helper
      EF: 11
    • C2: Treehouse Member
    • A6: Elder
      Account Age: 7 years
    Posted 5 years ago

    Hopefully this will help you.

    User Title
    BAD WOLF
  • nosoul's Levels
    • P3: Peasant
      Points: 16,861
    • E4: Teacher
      EF: 115
    • C2: Treehouse Member
    • A6: Elder
      Account Age: 6 years
    Username
    nosoul
    Posted 5 years ago

    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 pointtemplate open up the properties and name it glasstemp, then under Temp 1, put glass1.

    Then make a enventitymaker and put it in the center of where you want the glass to spawn from. Open up properties and give it a name like glassspawn and for the template put glasstemp.

    Then make a logictime 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 > glasstemp > forcespawn. I think thats it.

    Beaten by crazypip again! arg!

    User Title
    Why I laggin?
  • scout1011's Levels
    • P1: Beggar
      Points: 572
    • E1: Helper
      EF: 7
    • C1: Member
    • A6: Elder
      Account Age: 7 years
    Posted 5 years ago

    Ahhh thanks to both of you, thumbs :)

    User Title
    The lands are bleak and long
  • You must be a member