- 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"/>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -66,7 +66,8 @@
|
||||
<Body width="11" height="24" density="30"/>
|
||||
|
||||
<Throwable slots="Any,RightHand,LeftHand" holdpos="0,0" handle1="0,0" throwforce="4.0" aimpos="35,-10">
|
||||
<StatusEffect type="OnUse" target="This" Condition="-100.0" delay="3.0" sound="Content/Items/Weapons/stungrenade.ogg">
|
||||
<StatusEffect type="OnUse" target="This" Condition="-100.0" delay="3.0">
|
||||
<sound file="Content/Items/Weapons/stungrenade.ogg"/>
|
||||
<Explosion range="500" damage="5" stun="25" force="0.1"/>
|
||||
</StatusEffect>
|
||||
</Throwable>
|
||||
@@ -83,7 +84,8 @@
|
||||
<Body width="11" height="24" density="30"/>
|
||||
|
||||
<Throwable slots="Any,RightHand,LeftHand" holdpos="0,0" handle1="0,0" throwforce="4.0" aimpos="35,-10">
|
||||
<StatusEffect type="OnUse" target="This" Condition="-100.0" delay="3.0" sound="Content/Items/Weapons/stungrenade.ogg">
|
||||
<StatusEffect type="OnUse" target="This" Condition="-100.0" delay="3.0">
|
||||
<sound file="Content/Items/Weapons/stungrenade.ogg"/>
|
||||
<Explosion range="500" damage="5" stun="1" force="0.1"/>
|
||||
<Fire size="300.0"/>
|
||||
</StatusEffect>
|
||||
@@ -110,11 +112,13 @@
|
||||
<MeleeWeapon slots="Any,RightHand,LeftHand"
|
||||
aimpos="50,0" handle1="-5,0" holdangle="10" reload="1.0">
|
||||
<Attack damage="2" stun="0.2" damagetype="Blunt" sound="Content/Items/Weapons/smack.ogg"/>
|
||||
<StatusEffect type="OnUse" target="Contained,Character" Condition="-25.0" stun="15.0" disabledeltatime="true" sound="Content/Items/Weapons/stunbaton.ogg">
|
||||
<StatusEffect type="OnUse" target="Contained,Character" Condition="-25.0" stun="15.0" disabledeltatime="true">
|
||||
<sound file="Content/Items/Weapons/stunbaton.ogg"/>
|
||||
<RequiredItem name="Battery Cell" type="Contained" msg="Loaded Battery Cell required"/>
|
||||
<Explosion range="100.0" force="0.1" shockwave="false" flames="false" camerashake="5.0"/>
|
||||
</StatusEffect>
|
||||
<StatusEffect type="OnUse" target="Contained,Character" Condition="-15.0" stun="30.0" disabledeltatime="true" sound="Content/Items/Weapons/stunbaton.ogg">
|
||||
<StatusEffect type="OnUse" target="Contained,Character" Condition="-15.0" stun="30.0" disabledeltatime="true">
|
||||
<sound file="Content/Items/Weapons/stunbaton.ogg"/>
|
||||
<RequiredItem name="Fulgurium Battery Cell" type="Contained" msg="Loaded Battery Cell required"/>
|
||||
<Explosion range="100.0" force="0.5" shockwave="false" flames="false" camerashake="5.0"/>
|
||||
</StatusEffect>
|
||||
|
||||
Reference in New Issue
Block a user