Skip to content

Commit

Permalink
KPV now able to target skyfallers
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxDorob committed Nov 30, 2024
1 parent 1ddbee5 commit fd9c036
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions Defs/ThingDefs_Buildings/Buildings_Turrets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@
<ThingDef ParentName="TurretMannedBuildableBase">
<defName>Turret_KPV</defName>
<label>KPV machine gun</label>
<thingClass>CombatExtended.Building_CIWS_CE</thingClass>
<constructionSkillPrerequisite>7</constructionSkillPrerequisite>
<graphicData>
<texPath>Things/Building/Turrets/KPV_base</texPath>
Expand Down
17 changes: 17 additions & 0 deletions Defs/ThingDefs_Misc/Weapons_Turrets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,20 @@
<muzzleFlashScale>16</muzzleFlashScale>
<recoilPattern>Mounted</recoilPattern>
</li>
<li Class="CombatExtended.VerbProperties_CIWSSkyfaller">
<verbClass>CombatExtended.VerbCIWSSkyfaller</verbClass>
<recoilAmount>1.43</recoilAmount>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_145x114mm_FMJ</defaultProjectile>
<warmupTime>0.8</warmupTime>
<range>125</range>
<ticksBetweenBurstShots>6</ticksBetweenBurstShots>
<burstShotCount>15</burstShotCount>
<soundCast>HeavyMG</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<muzzleFlashScale>16</muzzleFlashScale>
<recoilPattern>Mounted</recoilPattern>
</li>
</verbs>
<comps>
<li Class="CombatExtended.CompProperties_AmmoUser">
Expand All @@ -297,6 +311,9 @@
<aimedBurstShotCount>5</aimedBurstShotCount>
<aiAimMode>SuppressFire</aiAimMode>
</li>
<li>
<compClass>CombatExtended.CompVerbDisabler</compClass>
</li>
</comps>
<modExtensions>
<li Class="CombatExtended.GunDrawExtension">
Expand Down

0 comments on commit fd9c036

Please sign in to comment.