Explosions now use Character.Controlled.WorldPosition to determine camera shake
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
<Sound file="Content/Items/Weapons/harpoon1.ogg" type="OnUse"/>
|
||||
<Sound file="Content/Items/Weapons/harpoon2.ogg" type="OnUse"/>
|
||||
<StatusEffect type="OnUse">
|
||||
<Explosion range="150.0" force="5" shockwave="false" smoke="false" flames="false" flash="false" sparks="false" camerashake="5.0"/>
|
||||
<Explosion range="150.0" force="5" shockwave="false" smoke="false" flames="false" flash="false" sparks="false" camerashake="6.0"/>
|
||||
</StatusEffect>
|
||||
<RequiredItems name="Spear" type="Contained" msg="Spear required to shoot"/>
|
||||
<RequiredSkill name="Weapons" level="30"/>
|
||||
@@ -130,7 +130,7 @@
|
||||
<RangedWeapon barrelpos="14,6" spread="0" unskilledspread="2">
|
||||
<Sound file="Content/Items/Weapons/revolver.ogg" type="OnUse" range="3000"/>
|
||||
<StatusEffect type="OnUse">
|
||||
<Explosion range="150.0" force="5" shockwave="false" smoke="false" flames="false" sparks="false" camerashake="5.0"/>
|
||||
<Explosion range="150.0" force="5" shockwave="false" smoke="false" flames="false" sparks="false" camerashake="6.0"/>
|
||||
</StatusEffect>
|
||||
<RequiredItems name="Revolver Round" type="Contained" msg="Out of ammo"/>
|
||||
<RequiredSkill name="Weapons" level="40"/>
|
||||
@@ -230,12 +230,12 @@
|
||||
<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" smoke="false" camerashake="5.0"/>
|
||||
<Explosion range="100.0" force="0.1" shockwave="false" flames="false" smoke="false" camerashake="6.0"/>
|
||||
</StatusEffect>
|
||||
<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"/>
|
||||
<Explosion range="100.0" force="0.5" shockwave="false" flames="false" camerashake="6.0"/>
|
||||
</StatusEffect>
|
||||
</MeleeWeapon>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user