Files
barotrauma_ek/Items/Weapons/ekgunnery_uniqueturrets.xml
2026-06-02 02:35:00 +03:00

106 lines
4.8 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<Items>
<!-- Circumference Turret -->
<!-- Small=384 , Medium=576 , Large=??? -->
<!--
<Item name="Small Sphere Hardpoint" identifier="ekgunnery_newsmall360hardpoint" Tags="ekgunnery_360smallturret,turret" category="Machine"
description="Coilgun turret on a small sphere-gimbal mount. A baffling weapon mount design which utilizes a set of multi-axis gimbals to allow the gun to traverse in a 360-degree sphere around the hull."
linkable="true" allowedlinks="ekgunnery_surpluscoilgunequipment" interactthroughwalls="true" Scale="0.5" interactdistance="10" spritecolor="1.0,1.0,1.0,1.0" focusonselected="true" offsetonselected="750">
<Sprite texture="Mods/EK Gunnery/Items/Weapons/ekgunnery_new_heavyrailgun.png" depth="0.01" sourcerect="0,0,384,384" canflipy="false" />
<DecorativeSprite name="Small Sphere Hardpoint" texture="Mods/EK Gunnery/Items/Weapons/ekgunnery_new_loaders.png" depth="0.8" sourcerect="480,768,160,360" origin="0.5,0.5" offset="0,0" />
<MinimapIcon name="Command_Weapons_Coilgun" texture="Content/UI/CommandUIAtlas.png" sourcerect="768,0,128,128" />
<SwappableItem price="3000" origin="128,215" swapidentifier="basicturret">
<SchematicSprite texture="Mods/EK Gunnery/UI/ekgunnery_turretschematics1.png" sourcerect="256,896,256,384" />
<SwapConnectedItem tag="periscope" swapto="periscope" />
<SwapConnectedItem tag="turretammosource" swapto="ekgunnery_newsurpluscoilgunloader" />
</SwappableItem>
<UpgradePreviewSprite scale="3.0" texture="Content/UI/WeaponUI.png" sourcerect="7,810,109,65" origin="0.5,0.5" />
<Turret canbeselected="false" characterusable="false" linkable="true" barrelpos="128,88" rotationlimits="180,360" powerconsumption="2000.0" showchargeindicator="true" showprojectileindicator="true"
recoildistance="50" reload="0.5" springstiffnesslowskill="2" springstiffnesshighskill="30" springdampinglowskill="5" springdampinghighskill="10" rotationspeedlowskill="1" rotationspeedhighskill="4"
firingoffset="0,-192" usefiringoffsetformuzzleflash="false" >
<WeaponIndicator texture="Mods/EK Gunnery/UI/ekgunnery_statusicons_turrets.png" sourcerect="0,0,72,44" origin="0.275, 0.48" />
<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" />
<sound file="Content/Items/Weapons/Coilgun4.ogg" range="10000" type="OnUse" />
<sound file="Content/Items/Weapons/Coilgun5.ogg" range="10000" type="OnUse" />
<sound file="Content/Items/Weapons/Coilgun6.ogg" range="10000" type="OnUse" />
<RailSprite texture="Mods/EK Gunnery/Items/Weapons/ekgunnery_newsurpluscoilgun.png" depth="0.011" sourcerect="144,256,128,256" origin="0.5, 0.67" />
<BarrelSprite texture="Mods/EK Gunnery/Items/Weapons/ekgunnery_newsurpluscoilgun.png" depth="0.012" sourcerect="0,256,128,320" origin="0.5, 0.8" />
<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="false" ignorecontinuoustoggle="true">
<LightTexture texture="Content/Lights/lightcone.png" origin="0.0, 0.5" 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"/>
<input name="set_light" displayname="connection.setlight" />
</ConnectionPanel>
</Item>
-->
</Items>