func_breakable (Half-Life) Last edited 6 years ago2018-09-05 04:04:04 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

Flags

3 Comments

Commented 5 months ago2024-07-08 09:41:40 UTC Comment #106237
cs 1.6:
-func_breakable with any material can be broken by grenade touch
-this works with or without targetname of it
-rendermode has to be something other than "normal" rendermode for this to work, if you wanted "normal", you can just use "solid" instead
this means that env_render can toggle its feature to be broken or not (tested)
Commented 4 months ago2024-08-15 10:30:54 UTC Comment #106298
^ based on my env_render testing render modes other than normal and solid creates glass bullet decals when shot, so in that sense the engine assumes a brush entity in those modes as being made of glass. the grenade code must be using the same logic as well, so that checks out.
Commented 3 weeks ago2024-11-28 17:51:00 UTC Comment #106534
delay before fire also seems to effect how long it takes to break of pressure, here it is set to 2 and it takes two seconds for it to break. it also should play a damage sound when you first step on it but half life is dumb, i'll fix that later
Demonstration

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