- 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 @@
|
||||
<Turret barrelsprite="railgunbarrel.png" canbeselected = "true" linkable="true" origin="0.5, 0.85" barrelpos="128, 128"
|
||||
rotationlimits="180,360"
|
||||
powerconsumption="20000.0">
|
||||
<StatusEffect type="OnUse" target="This" sound="Content/Items/Weapons/railgun.ogg">
|
||||
<StatusEffect type="OnUse" target="This">
|
||||
<sound file="Content/Items/Weapons/railgun.ogg" range="5000"/>
|
||||
<Explosion range="1000.0" structuredamage="0" force="0.01" camerashake="10.0"/>
|
||||
</StatusEffect>
|
||||
</Turret>
|
||||
@@ -117,7 +118,8 @@
|
||||
<Projectile launchimpulse="80.0">
|
||||
<Attack damage="1000" bleedingdamage="10" structuredamage="200" damagetype="Blunt" severlimbsprobability="1.0"/>
|
||||
|
||||
<StatusEffect type="OnUse" Condition="-100.0" stun="10.0" disabledeltatime="true" sound="Content/Items/Weapons/bigexplosion.ogg">
|
||||
<StatusEffect type="OnUse" Condition="-100.0" stun="10.0" disabledeltatime="true">
|
||||
<sound file="Content/Items/Weapons/bigexplosion.ogg"/>
|
||||
<Explosion range="1000.0" structuredamage="1000" damage="1000" stun="10" force="50.0" severlimbsprobability="0.8" decal="explosion" decalsize="1.0"/>
|
||||
</StatusEffect>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user