Template:KV BreakableBrush: Difference between revisions
Jump to navigation
Jump to search
m (Format choices for "material" as a proper column, Fix internal names) |
(expand) |
||
Line 1: | Line 1: | ||
{{minititle|Breakable (brush)}} | {{minititle|Breakable (brush)}} | ||
{{KV|Prop Data|intn=propdata|choices|Set to the best approximation of the size and material of this entity's brushes. If set, this will override '''Strength''' and '''Material Type'''. If set, it will override this entity's health and damage taken from various weapons. See [[prop_data base types]] for what each entry specifies. | {{KV|Prop Data|intn=propdata|choices|Set to the best approximation of the size and material of this entity's brushes. If set, this will override '''Strength''' and '''Material Type'''. If set, it will override this entity's health and damage taken from various weapons. See [[prop_data base types]] for what each entry specifies. | ||
{{Expand|title=Choices|margin_left=2em| | |||
:{{note|Some settings can make the brush unbreakable. | :{{note|Some settings can make the brush unbreakable.}} | ||
{{ColumnBox|count= | {{ColumnBox|count=3|margin=2em| | ||
*0: None | *0: None | ||
*1: Wooden.Tiny | *1: Wooden.Tiny | ||
Line 29: | Line 29: | ||
*23: Pottery.Huge | *23: Pottery.Huge | ||
*24: Glass.Window | *24: Glass.Window | ||
}} | }}}}}} | ||
{{KV|Strength/Health|intn=health|integer|The damage to take before breaking. The brush will not break from damage if this is 0.}} | {{KV|Strength/Health|intn=health|integer|The damage to take before breaking. The brush will not break from damage if this is 0.}} | ||
{{KV|Material Type|intn=material|choices|Set to the material type of the brush. Decides what sounds to make when damaged, and what gibs to produce when broken.}} | {{KV|Material Type|intn=material|choices|Set to the material type of the brush. Decides what sounds to make when damaged, and what gibs to produce when broken.}} | ||
{{Expand|title=Choices|margin_left=2em| | |||
{{ColumnBox|count=1|margin=2em| | {{ColumnBox|count=1|margin=2em| | ||
*0: Glass - As stated, uses glass gibs and sounds. Gibs may not match with material used. | *0: Glass - As stated, uses glass gibs and sounds. Gibs may not match with material used. | ||
Line 44: | Line 45: | ||
*9: Web {{not in FGD}} - Only functional in Half Life Source. | *9: Web {{not in FGD}} - Only functional in Half Life Source. | ||
*10: None | *10: None | ||
}} | }}}} | ||
{{KV|Gibs Direction|intn=explosion|choices|Used to decide which direction to throw gibs when broken. | {{KV|Gibs Direction|intn=explosion|choices|Used to decide which direction to throw gibs when broken. | ||
:*0: Random | :*0: Random | ||
Line 52: | Line 53: | ||
{{KV|Damaging it Doesn't Push It|intn=nodamageforces|boolean|When enabled the brush will move in response to damage. }} | {{KV|Damaging it Doesn't Push It|intn=nodamageforces|boolean|When enabled the brush will move in response to damage. }} | ||
{{KV|Gib Model|intn=gibmodel|string|Used by HL1Port to specify a custom gib model to break into, overriding the '''Material Type'''.}} | {{KV|Gib Model|intn=gibmodel|string|Used by HL1Port to specify a custom gib model to break into, overriding the '''Material Type'''.}} | ||
{{KV|Spawn On Break|intn=spawnobject|choices|When broken, an entity of the selected type will be created. {{note|Only these entities may be spawned. This can be fixed by modifying func_break.cpp. | {{KV|Spawn On Break|intn=spawnobject|choices|When broken, an entity of the selected type will be created. }} | ||
{{Expand|title=Choices|margin_left=2em| | |||
{{note|Only these entities may be spawned. This can be fixed by modifying func_break.cpp.}} | |||
{{ColumnBox|count=3|margin=2em| | {{ColumnBox|count=3|margin=2em| | ||
#{{ent|item_battery}} | #{{ent|item_battery}} | ||
Line 80: | Line 83: | ||
#{{ent|weapon_molotov}} (unusable!) | #{{ent|weapon_molotov}} (unusable!) | ||
#{{ent|item_dynamic_resupply}} | #{{ent|item_dynamic_resupply}} | ||
}} | }}}} | ||
{{KV|Explode Magnitude|intn=explodemagnitude|integer|If non-zero, when this entity breaks it will create an explosion that causes the specified amount of damage. {{confirm|Damage radius is proportional to magnitude.}}}} | {{KV|Explode Magnitude|intn=explodemagnitude|integer|If non-zero, when this entity breaks it will create an explosion that causes the specified amount of damage. {{confirm|Damage radius is proportional to magnitude.}}}} | ||
{{KV|Dead model|intn=deadmodel|model|deprecated=1|nofgd=1|Purpose unknown. Does absolutely nothing inside code.}} | {{KV|Dead model|intn=deadmodel|model|deprecated=1|nofgd=1|Purpose unknown. Does absolutely nothing inside code.}} | ||
{{KV|Shards|intn=shards||deprecated=1|nofgd=1|Purpose unknown. Does absolutely nothing inside code.}} | {{KV|Shards|intn=shards||deprecated=1|nofgd=1|Purpose unknown. Does absolutely nothing inside code.}} | ||
{{KV|Lip|intn=lip||deprecated=1|nofgd=1|Purpose unknown. Does absolutely nothing inside code.}} | {{KV|Lip|intn=lip||deprecated=1|nofgd=1|Purpose unknown. Does absolutely nothing inside code.}} | ||
{{KV Breakable}}<noinclude>[[Category:Keyvalue Templates|BreakableBrush]]</noinclude> | {{KV Breakable}}<noinclude> | ||
[[Category:Keyvalue Templates|BreakableBrush]] | |||
</noinclude> |
Revision as of 05:38, 23 August 2024
Breakable (brush):
- Prop Data (propdata) <choices>
- Set to the best approximation of the size and material of this entity's brushes. If set, this will override Strength and Material Type. If set, it will override this entity's health and damage taken from various weapons. See prop_data base types for what each entry specifies.
|
- Strength/Health (health) <integer>
- The damage to take before breaking. The brush will not break from damage if this is 0.
- Material Type (material) <choices>
- Set to the material type of the brush. Decides what sounds to make when damaged, and what gibs to produce when broken.
|
- Gibs Direction (explosion) <choices>
- Used to decide which direction to throw gibs when broken.
- 0: Random
- 1: Relative to Attack
- 2: Use Precise Gib Dir (see below)
- Precise Gib Direction (gibdir) <angle>
- An exact direction in which to throw gibs when breaking. Be sure to select "Use Precise Gib Dir" in Gibs Direction!
- Damaging it Doesn't Push It (nodamageforces) <boolean>
- When enabled the brush will move in response to damage.
- Gib Model (gibmodel) <string>
- Used by HL1Port to specify a custom gib model to break into, overriding the Material Type.
- Spawn On Break (spawnobject) <choices>
- When broken, an entity of the selected type will be created.
![]()
|
- Explode Magnitude (explodemagnitude) <integer>
- If non-zero, when this entity breaks it will create an explosion that causes the specified amount of damage.
Confirm:Damage radius is proportional to magnitude.
Dead model (deadmodel) <model path>!FGD- Deprecated.
Purpose unknown. Does absolutely nothing inside code.
Shards (shards)!FGD- Deprecated.
Purpose unknown. Does absolutely nothing inside code.
Lip (lip)!FGD- Deprecated.
Purpose unknown. Does absolutely nothing inside code.
Breakable (common):
- Performance Mode (PerformanceMode) <choices>
- Used to limit the amount of gibs produced when this entity breaks, for performance reasons.
Choices - 0: Normal
- 1: No Gibs
- 2: Full Gibs on All Platforms (Xbox 360, PS3, etc)
- 3: Reduced gibs
- Min Damage to Hurt (minhealthdmg) <integer>
- If a single hit to the object doesn't do at least this much damage, the prop won't take any of the damage it attempted to give.
- Pressure Delay (PressureDelay) <float>
- Seconds to delay breaking from pressure. Allows creaking/groaning sounds to play.
- Health (health) <integer>
- How close to breaking the object is.
- Maximum Health (max_health) <integer>
- Health cannot exceed this amount.
- Physics Impact Damage Scale (physdamagescale) <float>
- Multiplier for damage amount when this entity is hit by a physics object. With a value of 0 the entity will take no damage from physics.
Who can break this? - 0: Everyone
- 1: All Infected
- 2: Only Tanks
![]()
![]() |