Files
BarotraumaModServer/LocalMods/Visual Variety Pack Modified/Items/Weapons/weaponsystems_bckp.xml
T
2026-06-09 00:42:10 +03:00

36 lines
3.1 KiBLFS
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item name="Coilgun turret mount" description="" identifier="coilgun turret a" Tags="turret" category="Machine" interactthroughwalls="true" Scale="0.5" interactdistance="10" spritecolor="1.0,1.0,1.0,1.0" focusonselected="true" offsetonselected="750" linkable="true" allowedlinks="coilgunequipment">
<Sprite texture="%ModDir%/Items/Weapons/turrets_a.png" depth="0.011" sourcerect="0,102,468,343" canflipy="false" />
<StaticBody width="300" radius="" />
<Turret canbeselected="false" characterusable="false" linkable="true" barrelpos="248,42" rotationlimits="180,360" powerconsumption="1000.0" showchargeindicator="true" showprojectileindicator="true" recoildistance="50" reload="0.25" springstiffnesslowskill="2" springstiffnesshighskill="50" springdampinglowskill="0.5" springdampinghighskill="10" rotationspeedlowskill="1" rotationspeedhighskill="8">
<sound file="Content/Items/Weapons/Coilgun1.ogg" range="10000" type="OnUse" />
<sound file="Content/Items/Weapons/Coilgun2.ogg" range="10000" type="OnUse" />
<sound file="Content/Items/Weapons/Coilgun3.ogg" range="10000" type="OnUse" />
<RailSprite texture="%ModDir%/Items/Weapons/turrets_a.png" depth="0.013" sourcerect="923,0,102,577" origin="0.64, 0.962" />
<BarrelSprite texture="%ModDir%/Items/Weapons/turrets_a.png" depth="0.012" sourcerect="923,0,102,577" origin="0.64, 0.962" />
<Crosshair texture="Content/Items/Weapons/Crosshairs.png" sourcerect="256,0,256,256" />
<CrosshairPointer texture="Content/Items/Weapons/Crosshairs.png" sourcerect="0,0,256,256" />
<MoveSound file="Content/Items/Weapons/RailgunLoop.ogg" />
<StartMoveSound file="Content/Items/Weapons/RailgunStart.ogg" />
<EndMoveSound file="Content/Items/Weapons/RailgunStop.ogg" />
<RequiredSkill identifier="weapons" level="50" />
<LightComponent LightColor="1.0,0.8,0.8,1.0" Flicker="0.0" range="2500" IsOn="true" drawbehindsubs="true" ignorecontinuoustoggle="true">
<LightTexture texture="Content/Lights/lightcone.png" origin="-0.03, 0.503" size="1.0,1.0" />
</LightComponent>
<ParticleEmitter particle="muzzleflashcoilgun" particleamount="1" velocitymin="50" velocitymax="100" />
<StatusEffect type="OnUse" target="This">
<Explosion range="1000.0" structuredamage="0" force="0.01" camerashake="5.0" flames="false" smoke="false" sparks="false" underwaterbubble="false" />
</StatusEffect>
</Turret>
<aitarget maxsightrange="3000" maxsoundrange="8000" fadeouttime="5" />
<ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver" hudpriority="10">
<GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center" style="ConnectionPanel" />
<RequiredItem items="screwdriver" type="Equipped" />
<input name="power_in" displayname="connection.powerin" />
<input name="position_in" displayname="connection.turretaimingin" />
<input name="trigger_in" displayname="connection.turrettriggerin" />
<input name="toggle_light" displayname="connection.togglelight" />
</ConnectionPanel>
</Item>
</Items>