- The range and volume of sounds emitted by StatusEffects can be changed and they can be set to loop.
- StatusEffect sounds are configured as child elements of the StatusEffect (instead of attributes). - Background sprites can emit sounds.
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
<Body width="16" height="7"/>
|
||||
|
||||
<Pickable slots="Any">
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0" sound="Content/Items/Reactor/explosion.ogg">
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0">
|
||||
<sound file="Content/Items/Reactor/explosion.ogg" range="3000"/>
|
||||
<Explosion range="500.0" structuredamage="250" damage="200" stun="5" force="20.0" severlimbsprobability="0.5" decal="explosion" decalsize="0.5"/>
|
||||
</StatusEffect>
|
||||
</Pickable>
|
||||
@@ -30,7 +31,8 @@
|
||||
|
||||
<Pickable slots="Any">
|
||||
<StatusEffect type="OnFire" target="This" Condition="-50.0"/>
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0" sound="Content/Items/Reactor/explosion.ogg">
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0">
|
||||
<sound file="Content/Items/Reactor/explosion.ogg" range="3000"/>
|
||||
<Explosion range="600.0" structuredamage="150" damage="300" stun="5" force="20.0" severlimbsprobability="0.6" decal="explosion" decalsize="0.5"/>
|
||||
</StatusEffect>
|
||||
</Pickable>
|
||||
@@ -49,7 +51,8 @@
|
||||
<Pickable slots="Any">
|
||||
<StatusEffect type="Always" target="This" Condition="-0.35"/>
|
||||
<StatusEffect type="OnFire" target="This" Condition="-50.0"/>
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0" sound="Content/Items/Reactor/explosion.ogg">
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0">
|
||||
<sound file="Content/Items/Reactor/explosion.ogg" range="3000"/>
|
||||
<Explosion range="600.0" structuredamage="150" damage="300" stun="5" force="20.0" severlimbsprobability="0.6" decal="explosion" decalsize="0.5"/>
|
||||
</StatusEffect>
|
||||
</Pickable>
|
||||
@@ -68,7 +71,8 @@
|
||||
|
||||
<Pickable slots="Any">
|
||||
<StatusEffect type="OnFire" target="This" Condition="-50.0"/>
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0" sound="Content/Items/Reactor/explosion.ogg">
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0">
|
||||
<sound file="Content/Items/Reactor/explosion.ogg" range="2000"/>
|
||||
<Explosion range="500.0" structuredamage="50" damage="300" stun="5" force="20.0" severlimbsprobability="0.6"/>
|
||||
<Fire size="500"/>
|
||||
</StatusEffect>
|
||||
@@ -120,7 +124,8 @@
|
||||
<StatusEffect type="OnImpact" target="This" Condition="0.0" setvalue="true"/>
|
||||
<StatusEffect type="OnFire" target="This" Condition="-50.0"/>
|
||||
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0" sound="Content/Items/Reactor/explosion.ogg">
|
||||
<StatusEffect type="OnBroken" target="This" Condition="-100.0">
|
||||
<sound file="Content/Items/Reactor/explosion.ogg" range="3000"/>
|
||||
<Explosion range="600.0" structuredamage="400" damage="300" stun="5" force="20.0" severlimbsprobability="0.4" decal="explosion" decalsize="0.5"/>
|
||||
</StatusEffect>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user