Template:Hl1 kv breakable

From Valve Developer Community
Revision as of 12:54, 30 July 2017 by Dr. Orange (talk | contribs) (Added template)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Target on break <target_destination>
The targetname of entity to be targeted when this entity breaks.
Strength <integer>
Amount of damage to take before breaking.
Material Type <choices>
Material to use for sounds and gibs.
  • 0: "Glass"
  • 1: "Wood"
  • 2: "Metal"
  • 3: "Flesh"
  • 4: "Cinder Block"
  • 5: "Ceiling Tile"
  • 6: "Computer"
  • 7: "Unbreakable Glass"
  • 8: "Rocks"
Gibs Direction <choices>
Wether gibs should fly in a random direction or relative to the attack that broke this entity.
  • 0: "Random"
  • 1: "Relative to Attack"
Delay before fire <integer>
Time in seconds after breaking before targeting the "Target on break" entity.
Gib model <studio>
Model to use for gibs spawned when broken instead of default, material dependent gibs. Relative to mod folder.
Spawn on break <choices>
Item to spawn when broken.
Explode Magnitude (0=none) <integer>
Magnitude of explosion when broken. Will not explode if 0.