Mapping/Entities/func breakable

From UFO:AI
< Mapping‎ | Entities
Revision as of 16:16, 11 June 2010 by H-hour (talk | contribs) (→‎Keys)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Entities settings.jpg

General

A func_breakable will mark a brush as being destroyable. To turn a brush into a func_breakable, select it and right click RMB Template-RMB.png on the brush. Select Create entity and choose func_breakable from the list.

Now you can go to the Entity side panel (shown right) to modify the entity.

Don't forget to set the levelflags as needed.

Keys

  • health : define the needed damage to destroy this brush.
  • particle: particle id
  • material: material id (glass = 0 (default), metal = 1, electrical = 2, wood = 3)

Warning

Always use only one brush when converting to func_breakable. Otherwise the bounding box might screw up the pathfinding. See the screenshot for more information. Also don't copy func_breakables - might lead to one entity with more than one brush. Also don't copy func_breakable objects. This will also be in the same object. Thus the bounding box will increase with every copy to move in the world. The same counts for the func_door entity.

Func breakable 1.png


Links