Template:KV BreakableProp:zh-cn

From Valve Developer Community
Jump to: navigation, search
English (en)中文 (zh)
... Icon-Important.png

添加nohl2以用于隐藏HL2的特定键值.BreakableProp:

爆炸伤害(ExplodeDamage) <float> | 浮点型
如不为0,当实体被破坏时将会产生特定伤害的爆炸.详见爆炸范围.
爆炸范围 (ExplodeRadius) <float> | 浮点型
如不为0,当实体被破坏时将会对指定范围内造成爆炸伤害.详见爆炸伤害.
被击打的声音(puntsound) <sound> (存在于自 Half-Life 2: Episode One 以来)
当被重力枪击打时发出的音效.
模型破坏行为信息(BreakModelMessage) <string简体中文> | 字符串
"如果指定,会将指定的模型破坏行为信息代替正常的破坏行为."
证实:是否是Source SDK 2013的新功能...? 此功能不存在于Alien SwarmSource 2007的代码里,但在Source 2013里出现了.是L4D的新功能?

Breakable (common):

Performance Mode (PerformanceMode) <choices>
出于性能原因,用于限制此实体中断时产生的 Gib (碎片) (实体残骸的高级行为) 数量。
  • 0: Normal | 普通
  • 1: No Gibs | 无碎片
  • 2: Full Gibs on All Platforms (Xbox 360, PS3, etc) | 在所有平台上使用完整的碎片 (Xbox 360, PS3 等)
  • 3: Reduced gibs | 减少碎片
Min Damage to Hurt (minhealthdmg) <integer> | 整数
如果对物体的单次打击至少没有造成这里指定的伤害,那么道具将不会承受它试图给予的任何伤害。
Pressure Delay (pressuredelay) <float> | 浮点型
延迟从压力中被破坏掉的秒数。允许播放吱吱声/呻吟声。
Health (health) <integer> | 整数
物件的血量。
Maximum Health (max_health) <integer> | 整数
Heath 不能超过这个数量。
Physics Impact Damage Scale (physdamagescale) <float> | 浮点型
此实体被物理对象击中时的伤害量乘数。值为 0 时,实体不会受到物理伤害。
Breakable By (BreakableType) <choices> (in all games since Left 4 Dead)
Left 4 Dead series。谁能打破这个?
  • 0: Everyone | 所有人
  • 1: All Infected | 仅感染者
  • 2: Only Tanks | 仅 Tank