Skip to content

Commit

Permalink
Tweak thermo rifle
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Nov 11, 2024
1 parent 1f7c0b1 commit e294bfc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 100 deletions.
96 changes: 3 additions & 93 deletions ModPatches/Vanilla Arsenal/Defs/Vanilla Arsenal/Ammo.xml
Original file line number Diff line number Diff line change
@@ -1,104 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>

<ThingCategoryDef>
<defName>Ammo145x114mm_Demo</defName>
<label>14.5x114mm demolition</label>
<parent>AmmoHighCaliber</parent>
<iconPath>UI/Icons/ThingCategories/CaliberHighCaliber</iconPath>
</ThingCategoryDef>

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

<CombatExtended.AmmoSetDef>
<defName>AmmoSet_145x114mm_Demo</defName>
<label>14.5x114mm demolition</label>
<defName>AmmoSet_30x64mmFuel_Thermobaric</defName>
<label>30x64mm Fuel Cell</label>
<ammoTypes>
<Ammo_145x114mm_Demo>Bullet_145x114mm_Demo</Ammo_145x114mm_Demo>
<Ammo_30x64mmFuel_Thermobaric>Bullet_30x64mmFuel_Thermobaric</Ammo_30x64mmFuel_Thermobaric>
</ammoTypes>
</CombatExtended.AmmoSetDef>

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

<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo145x114mmBase">
<defName>Ammo_145x114mm_Demo</defName>
<label>14.5x114mm bullet (Demo)</label>
<graphicData>
<texPath>Things/Ammo/HighCaliber/HE</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<statBases>
<MarketValue>1.27</MarketValue>
</statBases>
<ammoClass>Demolition</ammoClass>
<cookOffProjectile>Bullet_145x114mm_Demo</cookOffProjectile>
</ThingDef>

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

<ThingDef ParentName="Base145x114mmBullet">
<defName>Bullet_145x114mm_Demo</defName>
<label>14.5x114mm bullet (Demo)</label>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageAmountBase>27</damageAmountBase>
<armorPenetrationSharp>18</armorPenetrationSharp>
<armorPenetrationBlunt>634</armorPenetrationBlunt>
<secondaryDamage>
<li>
<def>Thermobaric</def>
<amount>10</amount>
</li>
</secondaryDamage>
</projectile>
</ThingDef>

<!-- ==================== Recipes ========================== -->

<RecipeDef ParentName="ChargeAmmoRecipeBase" MayRequire="Ludeon.RimWorld.Biotech">
<defName>MakeAmmo_145x114mm_Demo</defName>
<label>make 14.5x114mm (Demo) cartridge x200</label>
<description>Craft 200 14.5mm demolition rounds.</description>
<jobString>Making 14.5mm demolition rounds.</jobString>
<ingredients>
<li>
<filter>
<thingDefs>
<li>Prometheum</li>
</thingDefs>
</filter>
<count>6</count>
</li>
<li>
<filter>
<thingDefs>
<li>Steel</li>
</thingDefs>
</filter>
<count>76</count>
</li>
<li>
<filter>
<thingDefs>
<li>FSX</li>
</thingDefs>
</filter>
<count>13</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>Prometheum</li>
<li>Steel</li>
<li>ComponentIndustrial</li>
</thingDefs>
</fixedIngredientFilter>
<products>
<Ammo_145x114mm_Demo>200</Ammo_145x114mm_Demo>
</products>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<workAmount>12800</workAmount>
</RecipeDef>

</Defs>
17 changes: 10 additions & 7 deletions ModPatches/Vanilla Arsenal/Patches/RangedIndustrial.xml
Original file line number Diff line number Diff line change
Expand Up @@ -314,26 +314,28 @@
<RangedWeapon_Cooldown>1.60</RangedWeapon_Cooldown>
<ShotSpread>0.15</ShotSpread>
<SwayFactor>1.8</SwayFactor>
<Bulk>15</Bulk>
<Bulk>13</Bulk>
<Mass>10</Mass>
<SightsEfficiency>1.50</SightsEfficiency>
</statBases>
<Properties>
<recoilAmount>2</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_145x114mm_Demo</defaultProjectile>
<defaultProjectile>Bullet_30x64mmFuel_Thermobaric</defaultProjectile>
<warmupTime>2</warmupTime>
<range>60</range>
<ticksBetweenBurstShots>8</ticksBetweenBurstShots>
<range>48</range>
<soundCast>Shot_Autocannon</soundCast>
<muzzleFlashScale>9</muzzleFlashScale>
<soundCastTail>GunTail_Heavy</soundCastTail>
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</Properties>
<AmmoUser>
<magazineSize>8</magazineSize>
<reloadTime>6</reloadTime>
<ammoSet>AmmoSet_145x114mm_Demo</ammoSet>
<magazineSize>4</magazineSize>
<reloadTime>4</reloadTime>
<ammoSet>AmmoSet_30x64mmFuel_Thermobaric</ammoSet>
</AmmoUser>
<FireModes>
<aiAimMode>AimedShot</aiAimMode>
Expand All @@ -346,6 +348,7 @@
<weaponTags>
<li>GunHeavy</li>
<li>SpacerGun</li>
<li>Bipod_AMR</li>
</weaponTags>
</value>
</Operation>
Expand Down

0 comments on commit e294bfc

Please sign in to comment.