- 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:
@@ -16,7 +16,8 @@
|
||||
<Body width="12" height="33" density="5"/>
|
||||
|
||||
<Pickable holdpos="30,-15" handle1="0,1" slots="RightHand,LeftHand,Any">
|
||||
<StatusEffect type="OnFire" target="This" Condition="-100.0" sound="Content/Items/Reactor/explosion.ogg" disabledeltatime="true">
|
||||
<StatusEffect type="OnFire" target="This" Condition="-100.0" disabledeltatime="true">
|
||||
<sound file="Content/Items/Reactor/explosion.ogg"/>
|
||||
<Explosion range="250.0" structuredamage="10" damage="20" stun="5" force="3.0"/>
|
||||
</StatusEffect>
|
||||
</Pickable>
|
||||
@@ -133,7 +134,6 @@
|
||||
<RequiredItems name="Battery Cell,Fulgurium Battery Cell" type="Contained" msg="Battery Cell required"/>
|
||||
<StatusEffect type="OnUse" target="Contained" Condition="-1.0"/>
|
||||
<sound file="scooter.ogg" type="OnUse" range="500.0" loop="true"/>
|
||||
|
||||
<LightComponent LightColor="1.0,1.0,1.0,1.0" Flicker="0.2" range="800">
|
||||
<LightTexture texture="Content/Lights/lightcone.png" origin="0.05, 0.5" size="2.0,1.0"/>
|
||||
</LightComponent>
|
||||
|
||||
Reference in New Issue
Block a user