Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Defs/Ammo/AmmoCategoryDefs/AmmoCategories_Missiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,12 @@
<labelShort>Tomahawk Missile</labelShort>
<description>Long-range, all-weather, jet-powered, surface-launched subsonic cruise missile designed to attack land targets.</description>
</CombatExtended.AmmoCategoryDef>

<CombatExtended.AmmoCategoryDef>
<defName>TOW2A</defName>
<label>152mm anti-tank guided missile</label>
<labelShort>152mm ATGM</labelShort>
<description>A wire-guided anti-tank missile launched from a stationary platform, capable of accurately striking ground targets at long range.</description>
</CombatExtended.AmmoCategoryDef>

</Defs>
171 changes: 171 additions & 0 deletions Defs/Ammo/Rocket/TOW2A.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>

<ThingCategoryDef>
<defName>AmmoTOW2A</defName>
<label>152mm anti-tank guided missile</label>
<parent>AmmoRockets</parent>
</ThingCategoryDef>

<!-- ==================== AmmoSet ========================== -->

<CombatExtended.AmmoSetDef>
<defName>AmmoSet_TOW2A</defName>
<label>152mm anti-tank guided missile</label>
<ammoTypes>
<Ammo_TOW2A_HEAT>Bullet_TOW2A</Ammo_TOW2A_HEAT>
</ammoTypes>
</CombatExtended.AmmoSetDef>

<!-- ==================== Ammo ========================== -->

<ThingDef Class="CombatExtended.AmmoDef" Name="TOW2ABase" ParentName="HeavyAmmoBase" Abstract="True">
<description>A wire-guided anti-tank missile launched from a stationary platform, capable of accurately striking ground targets at long range.</description>
<statBases>
<MaxHitPoints>200</MaxHitPoints>
</statBases>
<tradeTags>
<li>CE_AutoEnableTrade</li>
<li>CE_AutoEnableCrafting_TableMachining</li>
</tradeTags>
<thingCategories>
<li>AmmoTOW2A</li>
</thingCategories>
<stackLimit>10</stackLimit>
<cookOffFlashScale>28</cookOffFlashScale>
<cookOffSound>MortarBomb_Explode</cookOffSound>
</ThingDef>

<ThingDef Class="CombatExtended.AmmoDef" ParentName="TOW2ABase">
<defName>Ammo_TOW2A_HEAT</defName>
<label>152mm anti-tank guided missile (HEAT)</label>
<graphicData>
<texPath>Things/Ammo/Missile/TOW2A</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
<drawSize>1</drawSize>
</graphicData>
<statBases>
<Mass>22</Mass>
<Bulk>14</Bulk>
</statBases>
<ammoClass>TOW2A</ammoClass>
<detonateProjectile>Bullet_TOW2A</detonateProjectile>
</ThingDef>

<!-- ================== Projectiles ================== -->

<ThingDef Name="BaseTOW" ParentName="BaseExplosiveBullet" Abstract="true">
<graphicData>
<shaderType>TransparentPostLight</shaderType>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<speed>65</speed>
<soundAmbient>RocketPropelledLoop_Big</soundAmbient>
</projectile>
<comps>
<li Class="CombatExtended.CompProperties_ProjectileFleck">
<FleckDatas>
<li>
<fleck>Fleck_CERocketFlame</fleck>
<emissionsPerTick>7</emissionsPerTick>
<flecksPerEmission>3</flecksPerEmission>
<scale>1.5</scale>
<cutoffTickRange>25~60</cutoffTickRange>
<originOffset>0.4</originOffset>
</li>
<li>
<fleck>Fleck_CERocketSmokeTrail</fleck>
<emissionsPerTick>1</emissionsPerTick>
<rotation>0~360</rotation>
<scale>1.5</scale>
<flecksPerEmission>1</flecksPerEmission>
</li>
<li>
<fleck>Fleck_CERocketSmoke</fleck>
<emissionsPerTick>2</emissionsPerTick>
<rotation>0~360</rotation>
<scale>1</scale>
<flecksPerEmission>1</flecksPerEmission>
<cutoffTickRange>25~60</cutoffTickRange>
</li>
</FleckDatas>
</li>
</comps>
</ThingDef>

<ThingDef ParentName="BaseTOW">
<defName>Bullet_TOW2A</defName>
<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
<label>152mm AT guided missile (HEAT)</label>
<graphicData>
<texPath>Things/Projectile/Missile/TOW2A</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>Bullet</damageDef>
<damageAmountBase>525</damageAmountBase>
<armorPenetrationSharp>430</armorPenetrationSharp>
<armorPenetrationBlunt>375</armorPenetrationBlunt>
</projectile>
<comps>
<li Class="CombatExtended.CompProperties_ExplosiveCE">
<damageAmountBase>315</damageAmountBase>
<explosiveDamageType>Bomb</explosiveDamageType>
<explosiveRadius>3.1</explosiveRadius>
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
<explosionSound>MortarBomb_Explode</explosionSound>
</li>
<li Class="CombatExtended.CompProperties_Fragments">
<fragments>
<Fragment_Large>8</Fragment_Large>
<Fragment_Small>28</Fragment_Small>
</fragments>
</li>
</comps>
</ThingDef>

<RecipeDef ParentName="AmmoRecipeBase">
<defName>MakeAmmo_TOW2A_HEAT</defName>
<label>make 152mm anti-tank guided missile</label>
<description>Craft 1 152mm anti-tank guided missile.</description>
<jobString>Making 152mm anti-tank guided missile.</jobString>
<workAmount>9900</workAmount>
<ingredients>
<li>
<filter>
<thingDefs>
<li>Steel</li>
</thingDefs>
</filter>
<count>72</count>
</li>
<li>
<filter>
<thingDefs>
<li>ComponentIndustrial</li>
</thingDefs>
</filter>
<count>4</count>
</li>
<li>
<filter>
<thingDefs>
<li>FSX</li>
</thingDefs>
</filter>
<count>6</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>Steel</li>
<li>ComponentIndustrial</li>
<li>FSX</li>
</thingDefs>
</fixedIngredientFilter>
<products>
<Ammo_TOW2A_HEAT>1</Ammo_TOW2A_HEAT>
</products>
</RecipeDef>

</Defs>
1 change: 1 addition & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
<li IfModActive="veltaris.mechqueen">ModPatches/AV Work Queen</li>
<li IfModActive="automatic.autocleaner">ModPatches/Autocleaner</li>
<li IfModActive="Heymyteamrules.BeastManTribes">ModPatches/Beast Man Tribes</li>
<li IfModActive="Bean.TurretPack">ModPatches/Bean's Turret Pack</li>
<li IfModActive="Mlem.beeralope">ModPatches/Beeralope Squad</li>
<li IfModActive="ElSov.Beliar">ModPatches/Beliar Xenotype</li>
<li IfModActive="divineDerivative.AutoWool">ModPatches/Better Wool Production</li>
Expand Down
46 changes: 46 additions & 0 deletions ModPatches/Bean's Turret Pack/Defs/BTP_132mmM13.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>


<!-- ==================== AmmoSet ========================== -->

<CombatExtended.AmmoSetDef>
<defName>AmmoSet_BTP_132mmM13</defName>
<label>132mm M13 Rockets</label>
<ammoTypes>
<Ammo_132mmM13_HE>Bullet_BTP_132mmM13_HE</Ammo_132mmM13_HE>
</ammoTypes>
</CombatExtended.AmmoSetDef>

<!-- ================== Projectiles ================== -->

<!-- direct fire-->

<ThingDef Name="BaseBTP132mmM13_HE" Class="CombatExtended.AmmoDef" ParentName="Base130mmType63">
<defName>Bullet_BTP_132mmM13_HE</defName>
<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
<label>132mm M13 rocket (HE)</label>
<graphicData>
<texPath>Things/Projectile/Rocket/132mmM13</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<speed>65</speed>
<damageDef>Bomb</damageDef>
<damageAmountBase>164</damageAmountBase>
<explosionRadius>3</explosionRadius>
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
<flyOverhead>false</flyOverhead>
<gravityFactor>10</gravityFactor>
</projectile>
<comps>
<li Class="CombatExtended.CompProperties_Fragments">
<fragments>
<Fragment_Large>7</Fragment_Large>
<Fragment_Small>11</Fragment_Small>
</fragments>
</li>
</comps>
</ThingDef>

</Defs>
Loading