- 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:
@@ -81,7 +81,8 @@
|
||||
<Holdable slots="RightHand+LeftHand" holdpos="0,-50" handle1="-10,20" handle2="10,20" aimable="false"/>
|
||||
|
||||
<Projectile launchimpulse="5.0">
|
||||
<StatusEffect type="OnImpact" Condition="-100.0" stun="10.0" disabledeltatime="true" sound="Content/Items/Weapons/bigexplosion.ogg">
|
||||
<StatusEffect type="OnImpact" Condition="-100.0" stun="10.0" disabledeltatime="true">
|
||||
<sound file="Content/Items/Weapons/bigexplosion.ogg" range="10000"/>
|
||||
<Explosion range="1000.0" structuredamage="1000" damage="1000" stun="10" force="50.0"/>
|
||||
</StatusEffect>
|
||||
<StatusEffect type="OnImpact" target="Contained" Condition="-100.0"/>
|
||||
|
||||
Reference in New Issue
Block a user