- 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:
@@ -27,7 +27,8 @@
|
||||
<StatusEffect type="OnActive" target="Contained" targetnames="Fuel Rod, Heat Absorber, Temperature Control Circuit" Condition="-0.1" />
|
||||
<sound file="reactor.ogg" type="OnActive" range="2000.0" volume="FissionRate" volumemultiplier="0.02" loop="true"/>
|
||||
|
||||
<StatusEffect type="OnBroken" target="This" FissionRate="0.0" disabledeltatime="true" sound="Content/Items/Reactor/explosion.ogg">
|
||||
<StatusEffect type="OnBroken" target="This" FissionRate="0.0" disabledeltatime="true">
|
||||
<Sound file="Content/Items/Reactor/explosion.ogg" range="5000"/>
|
||||
<Explosion range ="800" damage="500" structuredamage="400" stun="5.0" force="5.0"/>
|
||||
</StatusEffect>
|
||||
</Reactor>
|
||||
|
||||
Reference in New Issue
Block a user