User login

Navigation

Poll

I downloaded the ETQW demo and....
...I'm too busy playing for polls.
13%
...it's awesome.
50%
...it's okay, I expected better.
13%
...I'm lost in the valley, anyone have a map?
0%
...my machine won't run it. :-(
25%
Total votes: 8

Who's online

There are currently 0 users and 18 guests online.

Welcome to RUST | Gamedesign.net

How to make respawnable glass

Submitted by Gard on Mon, 2004-03-08 02:34.

Half-Life

How to make respawnable glass - by Koga73

Have you ever wondered how to make respawnable glass in half-life or tfc?
I have. I needed it for a map when I began mapping about 4 years ago... Now that I'm an advanced mapper I finally figured it out! (I'm not saying I was trying for 4 years to make respawnable glass or anything ... I have a real life!).


Respawnable Glass

To make respawnable glass, do the following:

  1. First make a polygon with a glass brush,
  2. Tie the polygon to an entity - func_wall_toggle,
  3. Set the properties for the func_wall_toggle too;
name: glass render mode: texture fx_amount: 90
  1. Create a brush of a crack and put it over the glass so when it is shot, it breakes.
  2. Tie the crack to and entity - func_wall_toggle;
name: glass render mode: solid fx_amount: 255
  1. Create a brush of the AAA trigger texture and put it over the crack,
  2. Tie it to an entity of button_target and set it's properties too;
target: multiglass render mode: solid (this will make it invisible)
  1. Create the AAA brush over your button_target,
  2. Tie it to an entity - func_wall_toggle and set too;
name: glass render mode: solid under flags, check: starts invisable.
  1. Create an entity: ambient_generic and set to;
name: glasswave wav name: glassbreak3 (or other sounds) volume: 10 start volume: 10 under flags check:start silent, not looped, with small radius
  1. Create a multi_manager and set too;
properties: click - smart edit add the folowing with values of zero: glass: 0 glasswave: 0 add the folowing with values of 5 (or how long you want until the glass restores) glass: 60

That should do it. Follow these instructions and your glass will constantly respawn when broken ... without having to call the repair_entity (that's a joke!)

RUST | Gamedesign.net is your source for all the latest game-editing news and tutorials. If you are seeing this message, this means that you are using a browser that does not support CSS. Please upgrade your browser and enjoy your stay at RUST and if you have any questions, comments, or suggestions, please contact a site administrator.