Barotrauma

Barotrauma

Folksspulegewehr (handheld coilgun)
Falkner 19 Oct, 2022 @ 7:24pm
Tested fix.
<?xml version="1.0" encoding="utf-8"?>
<override>
<Items>
<Item name="" identifier="coilgunbolt" category="Weapon" scale="0.5" sonarsize="2" hideinmenus="true">
<Sprite texture="weapons_new.png" sourcerect="143,414,113,9" depth="0.55" />
<Body width="170" height="10" density="20" />
<Holdable slots="RightHand+LeftHand" holdpos="0,-50" handle1="-10,0" handle2="10,0" aimable="false" />
<Projectile characterusable="false" launchimpulse="80" damagedoors="true">
<Attack structuredamage="20" itemdamage="10" severlimbsprobability="0.25" penetration="0.1">
<Affliction identifier="lacerations" strength="15" />
<Affliction identifier="bleeding" strength="1.0" />
<Affliction identifier="stun" strength="0.025" />
</Attack>
<StatusEffect type="OnActive" target="This" lifetime="2">
<ParticleEmitter particle="ammotrailwater" copyentityangle="true" anglemin="-5" anglemax="5" particleamount="5" velocitymin="-10" velocitymax="-100" scalemin="0.5" scalemax="1" />
</StatusEffect>
<!-- a 3 second lifetime after being fired -->
<StatusEffect type="OnNotContained" target="This" stackable="false" delay="3">
<Remove />
</StatusEffect>
<StatusEffect type="OnImpact" target="This">
<ParticleEmitter particle="shrapnel" copyentityangle="true" anglemin="0" anglemax="360" particleamount="10" velocitymin="100" velocitymax="2000" scalemin="0.25" scalemax="0.5" />
<Remove />
</StatusEffect>
<StatusEffect type="OnBroken" target="This">
<Remove />
</StatusEffect>
</Projectile>
<Upgrade gameversion="0.10.0.0" scale="*0.5" />
</Item>
</Items>
</override>
< >
Showing 1-1 of 1 comments
Falkner 19 Oct, 2022 @ 10:39pm 
Changed the launch impulse from 0 to 80 on the coilgun ammo (ammo, not turret). tested and working . You also need to either include the weapons_new.png image, or point this to the correct folder.
Last edited by Falkner; 19 Oct, 2022 @ 10:41pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50