func_breakable (Half-Life) Last edited 13 years ago2010-08-30 13:58:35 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.

This article was converted from a previous version of TWHL and may need to be reviewed

  1. The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
  2. Some information may be out of date
  3. After the article is re-formatted and updated, remove this notice and the Review Required category.
  4. Some older articles are no longer useful, or they duplicate information from other pages. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
Brush Entity

The func_breakable entity allows you to create a breakable brush.

Attributes

[list]
[li]0 = Glass [li]Spawn on Break (spawnobject) - Used by func_breakable and func_pushable. Determines what item is spawned when the entity is broken. Options are: [li]Render FX (renderfx) - Gives objects special render effects. Think of it as modifying whatever the Render Mode puts out. The options are as follows: [li]Render Mode (rendermode) - Controls the type of rendering that is used for an object. Options are: [li]Global Entity Name (globalname)[/li]
[li]Target on Break (target) - When the func_breakable is activated (i.e. broken), it will activate this entity.[/li]
[li]Strength (health) - The amount of damage the entity will take before breaking.[/li]
[li]Gibs Direction (explosion) - Direction the gibs will go on break (0 = Random, 1 = Relative to Attack)[/li]
[li]Delay before fire (delay)[/li]
[li]Gib Model (gibmodel) - Model to use for gibs (overrides default specified by Material Type).[/li]
[li]Expolde Magnitude (explodemagnitude) - This will determine the size of the explosion that occurs when the brush breaks. 0 = None.[/li]
[li]FX Amount (renderamt)[/li]
[li]FX Color (rendercolor)[/li]
[li]ZHLT Lightflags (zhlt_lightflags)[/li]
[li]Light Origin Target (light_origin)[/li]
[li]Minimum light level (_minlight)[/li]
[/list]

Flags

Comments

You must log in to post a comment. You can login or register a new account.