Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8" ?>
- <!--
- This XML patch file is generated by an advanced AI, designed by Tynan Sylvester himself,
- to meticulously balance the weapon statistics within RimWorld.
- Each modification is carefully calculated and iterated upon based on extensive simulation data,
- aiming to refine combat dynamics, ensure weapon roles are distinct and effective,
- and continuously enhance the overall player experience by creating a perfectly calibrated
- arsenal for your colonists.
- -->
- <Patch>
- <!-- =============================== Neolithic Weapon Rebalance =============================== -->
- <!-- Short Bow: Enhanced its early-game utility. We want this to feel like a quick, reliable starter. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Short"]/description</xpath>
- <value>
- <description>A simple short selfbow made from a single piece of wood. Its simplicity belies its utility in early engagements, offering quick shots at moderate range.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Short"]/statBases/AccuracyTouch</xpath>
- <value>
- <AccuracyTouch>0.80</AccuracyTouch> <!-- Increased from original 0.75 to 0.80 for better close-range hit chance, making it reliable against early threats. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Short"]/statBases/AccuracyShort</xpath>
- <value>
- <AccuracyShort>0.70</AccuracyShort> <!-- Increased from original 0.65 to 0.70 for more consistent hits at short distances. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Short"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>1.5</RangedWeapon_Cooldown> <!-- Decreased from original 1.65 to 1.5 for a snappier feel, promoting quick successive shots. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Short"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>1.2</warmupTime> <!-- Decreased from original 1.35 to 1.2 wind-up time for quicker reaction in combat. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Short"]/verbs/li/range</xpath>
- <value>
- <range>23.9</range> <!-- Increased from original 22.9 to 23.9. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Arrow_Short"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>12</damageAmountBase> <!-- Increased from original 11 to 12 damage to make early encounters more decisive. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Arrow_Short"]/projectile/speed</xpath>
- <value>
- <speed>45</speed> <!-- Increased from original 44 to 45, purely visual. -->
- </value>
- </Operation>
- <!-- Pila: Positioned as a slow, hard-hitting, armor-piercing option for precision. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Pila"]/description</xpath>
- <value>
- <description>Pila are spears for throwing. They demand patience but deliver devastating, armor-piercing blows, making them excellent for precise takedowns.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Pila"]/statBases/AccuracyTouch</xpath>
- <value>
- <AccuracyTouch>0.85</AccuracyTouch> <!-- Increased from original 0.80 to 0.85 for high accuracy up close for critical initial strikes. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Pila"]/statBases/AccuracyShort</xpath>
- <value>
- <AccuracyShort>0.75</AccuracyShort> <!-- Increased from original 0.71 to 0.75 for good accuracy to maintain precision at slightly longer ranges. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Pila"]/statBases/AccuracyMedium</xpath>
- <value>
- <AccuracyMedium>0.55</AccuracyMedium> <!-- Increased from original 0.50 to 0.55. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Pila"]/statBases/AccuracyLong</xpath>
- <value>
- <AccuracyLong>0.35</AccuracyLong> <!-- Increased from original 0.32 to 0.35. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Pila"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>3.0</RangedWeapon_Cooldown> <!-- Increased from original 2.5 to 3.0 for longer cooldown to balance its high damage and penetration. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Pila"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>4.5</warmupTime> <!-- Increased from original 4.0 to 4.5 for extended warm-up to represent the effort of preparing a powerful throw. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Pilum_Thrown"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>28</damageAmountBase> <!-- Increased from original 25 to 28 for substantially increased damage, making each hit count. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Pilum_Thrown"]/projectile/stoppingPower</xpath>
- <value>
- <stoppingPower>3.5</stoppingPower> <!-- Increased from original 2.5 to 3.5 for increased stopping power to stun or stagger targets effectively. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Pilum_Thrown"]/projectile/armorPenetrationBase</xpath>
- <value>
- <armorPenetrationBase>0.40</armorPenetrationBase> <!-- Increased from original 0.10 to 0.40, making it significantly more effective at piercing armor as a specialized throw. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Pilum_Thrown"]/projectile/speed</xpath>
- <value>
- <speed>28</speed> <!-- Increased from original 26 to 28, purely visual. -->
- </value>
- </Operation>
- <!-- Recurve Bow: A solid upgrade over the short bow, offering better all-around performance for a crafting investment. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Recurve"]/description</xpath>
- <value>
- <description>A recurve bow. Its construction behaves like a tuned spring, allowing for faster, more accurate shots at longer distances, a true hunter's companion.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Recurve"]/statBases/AccuracyShort</xpath>
- <value>
- <AccuracyShort>0.80</AccuracyShort> <!-- Increased from original 0.78 to 0.80 for enhanced accuracy at short range for better consistency. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Recurve"]/statBases/AccuracyMedium</xpath>
- <value>
- <AccuracyMedium>0.70</AccuracyMedium> <!-- Increased from original 0.65 to 0.70 for solid medium-range accuracy, making it versatile. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Recurve"]/statBases/AccuracyLong</xpath>
- <value>
- <AccuracyLong>0.40</AccuracyLong> <!-- Increased from original 0.35 to 0.40 for decent long-range accuracy, better than the short bow. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Recurve"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>1.6</RangedWeapon_Cooldown> <!-- Decreased from original 1.65 to 1.6. Slightly slower cooldown than short bow, but more powerful. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Recurve"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>1.3</warmupTime> <!-- Decreased from original 1.45 to 1.3 for quicker warm-up. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Recurve"]/verbs/li/range</xpath>
- <value>
- <range>27.9</range> <!-- Increased from original 25.9 to 27.9. Establishing it as a mid-to-long range option. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Arrow_Recurve"]/projectile/speed</xpath>
- <value>
- <speed>50</speed> <!-- Decreased from original 56 to 50, purely visual. -->
- </value>
- </Operation>
- <!-- Greatbow: The heavy hitter of the Neolithic era. Slow, but powerful and long-ranged. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Great"]/description</xpath>
- <value>
- <description>A huge, powerful bow, difficult to draw and slow to fire. The greatbow requires a massive drawing force, but its enormous power allows it to devastate targets at extreme range.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Great"]/statBases/AccuracyShort</xpath>
- <value>
- <AccuracyShort>0.70</AccuracyShort> <!-- Decreased from original 0.85 to 0.70. Good accuracy at shorter ranges, though not its primary strength. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Great"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>2.5</RangedWeapon_Cooldown> <!-- Increased from original 1.5 to 2.5. Longer cooldown to represent its immense power and draw effort. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Great"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>2.5</warmupTime> <!-- Increased from original 2.0 to 2.5. Extended warm-up, requiring strategic positioning and timing. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bow_Great"]/verbs/li/range</xpath>
- <value>
- <range>32.9</range> <!-- Increased from original 29.9 to 32.9. Significantly increased range, making it a true long-distance threat. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Arrow_Great"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>30</damageAmountBase> <!-- ADJUSTED: Increased damage (from original 17 to 30) significantly to further boost its devastating force and ensure it's a worthwhile, albeit slow, heavy hitter in the Neolithic era, directly addressing its simulated DPS. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Arrow_Great"]/projectile/armorPenetrationBase</xpath>
- <value>
- <armorPenetrationBase>0.35</armorPenetrationBase> <!-- Increased from original 0.15 to 0.35 to make it a more potent anti-armor option, justifying its heavy hitter role. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Arrow_Great"]/projectile/speed</xpath>
- <value>
- <speed>52</speed> <!-- Increased from original 49 to 52, purely visual. -->
- </value>
- </Operation>
- <!-- =============================== Industrial Weapon Rebalance =============================== -->
- <!-- Revolver: Solidified its role as a fast-drawing, close-quarters sidearm. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_Revolver"]/description</xpath>
- <value>
- <description>An ancient pattern double-action revolver. It's not very powerful, but has a decent range for a pistol and is quick on the draw. A reliable sidearm for quick, close-range engagements.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_Revolver"]/statBases/AccuracyTouch</xpath>
- <value>
- <AccuracyTouch>0.85</AccuracyTouch> <!-- Increased from original 0.80 to 0.85 for high close-range accuracy, defining it as a reliable sidearm for emergencies. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_Revolver"]/statBases/AccuracyShort</xpath>
- <value>
- <AccuracyShort>0.80</AccuracyShort> <!-- Increased from original 0.75 to 0.80 for good short-range accuracy, maintaining effectiveness beyond arm's length. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_Revolver"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>1.5</RangedWeapon_Cooldown> <!-- Decreased from original 1.6 to 1.5 for faster cooldown, emphasizing its quick-draw nature. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_Revolver"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>0.2</warmupTime> <!-- Decreased from original 0.3 to 0.2 for near-instantaneous warm-up, ideal for quick reactions. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_Revolver"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>13</damageAmountBase> <!-- Increased from original 12 to 13 for minor damage increase to make it more impactful early on. -->
- </value>
- </Operation>
- <!-- Autopistol: Minor tweaks to emphasize its quick, suppressive nature. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_Autopistol"]/description</xpath>
- <value>
- <description>An ancient pattern blowback-operated self-loading pistol. It lacks stopping power and range, but is quick to fire, making it a decent choice for suppressing lightly armored foes.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_Autopistol"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>0.9</RangedWeapon_Cooldown> <!-- Decreased from original 1.0 to 0.9 for very fast cooldown for rapid, suppressive fire. -->
- </value>
- </Operation>
- <!-- Machine Pistol: Reinforcing its role as a close-range, high-volume weapon. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_MachinePistol"]/description</xpath>
- <value>
- <description>A micro-submachine gun. It is short-ranged, but very light in the hands. Its blistering rate of fire can overwhelm targets at close quarters.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_MachinePistol"]/statBases/AccuracyTouch</xpath>
- <value>
- <AccuracyTouch>0.95</AccuracyTouch> <!-- Increased from original 0.90 to 0.95 for extremely high close-range accuracy for room clearing. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_MachinePistol"]/statBases/AccuracyMedium</xpath>
- <value>
- <AccuracyMedium>0.30</AccuracyMedium> <!-- Decreased from original 0.35 to 0.30 for steep drop-off at medium range, emphasizing close-quarters. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_MachinePistol"]/statBases/AccuracyLong</xpath>
- <value>
- <AccuracyLong>0.10</AccuracyLong> <!-- Decreased from original 0.15 to 0.10 for practically useless at long range, as intended. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_MachinePistol"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>0.8</RangedWeapon_Cooldown> <!-- Decreased from original 0.9 to 0.8 for even faster cooldown to enable extremely high rate of fire. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_MachinePistol"]/verbs/li/range</xpath>
- <value>
- <range>18.9</range> <!-- Decreased from original 19.9 to 18.9 for shorter maximum range to align with its close-quarters role. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_MachinePistol"]/verbs/li/burstShotCount</xpath>
- <value>
- <burstShotCount>4</burstShotCount> <!-- Increased from original 3 to 4 for more concentrated damage. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_MachinePistol"]/verbs/li/ticksBetweenBurstShots</xpath>
- <value>
- <ticksBetweenBurstShots>6</ticksBetweenBurstShots> <!-- Decreased from original 7 to 6 for lower delay between burst shots for higher burst DPS. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_MachinePistol"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>7</damageAmountBase> <!-- Increased from original 6 to 7 for small increase in projectile damage to make bursts more lethal. -->
- </value>
- </Operation>
- <!-- Incendiary Launcher: Made it more effective for area denial and flushing. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_IncendiaryLauncher"]/description</xpath>
- <value>
- <description>A wide-barreled incendiary bolt launcher. The bolts create small incendiary explosions on impact, starting fires. Excellent for area denial and flushing out entrenched foes.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_IncendiaryLauncher"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>3.0</RangedWeapon_Cooldown> <!-- Decreased from original 3.5 to 3.0 for faster cooldown for more frequent incendiary barrages. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_IncendiaryLauncher"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>3.0</warmupTime> <!-- Decreased from original 3.5 to 3.0 for quicker warm-up to deploy fires more rapidly. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_IncendiaryLauncher"]/verbs/li/range</xpath>
- <value>
- <range>25.9</range> <!-- Increased from original 23.9 to 25.9 for increased range to cover larger areas or reach further targets. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_IncendiaryLauncher"]/verbs/li/forcedMissRadius</xpath>
- <value>
- <forcedMissRadius>1.5</forcedMissRadius> <!-- Decreased from original 1.9 to 1.5 for reduced inaccuracy radius for more predictable fire placement. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_IncendiaryLauncher"]/projectile/speed</xpath>
- <value>
- <speed>45</speed> <!-- Increased from original 40 to 45, purely visual. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_IncendiaryLauncher"]/projectile/explosionRadius</xpath>
- <value>
- <explosionRadius>1.2</explosionRadius> <!-- Increased from original 1.1 to 1.2 for slightly larger explosion radius for better area coverage. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_IncendiaryLauncher"]/projectile/preExplosionSpawnChance</xpath>
- <value>
- <preExplosionSpawnChance>0.7</preExplosionSpawnChance> <!-- Increased from original 0.6 to 0.7 for higher chance of spawning fuel, ensuring more consistent fire starting. -->
- </value>
- </Operation>
- <!-- Smoke Launcher: More reliable for its tactical purpose of obscuring sight. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_SmokeLauncher"]/description</xpath>
- <value>
- <description>A wide-barreled smoke shell launcher. The shell will upon impact release a cloud of smoke, obscuring incoming shots and preventing turrets from locking on. Indispensable for tactical retreats or advances.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_SmokeLauncher"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>4.0</RangedWeapon_Cooldown> <!-- Decreased from original 4.5 to 4.0 for standard cooldown for utility launchers. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_SmokeLauncher"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>3.0</warmupTime> <!-- Decreased from original 3.5 to 3.0 for quicker deployment of smoke screens. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_SmokeLauncher"]/verbs/li/range</xpath>
- <value>
- <range>25.9</range> <!-- Increased from original 23.9 to 25.9 for increased range for strategic placement of smoke. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_SmokeLauncher"]/verbs/li/forcedMissRadius</xpath>
- <value>
- <forcedMissRadius>1.5</forcedMissRadius> <!-- Decreased from original 1.9 to 1.5 for reduced miss radius for more reliable smoke deployment. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_SmokeLauncher"]/projectile/speed</xpath>
- <value>
- <speed>45</speed> <!-- Increased from original 40 to 45, purely visual. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_SmokeLauncher"]/projectile/explosionRadius</xpath>
- <value>
- <explosionRadius>2.5</explosionRadius> <!-- Increased from original 2.4 to 2.5 for larger explosion radius to create more encompassing smoke clouds. -->
- </value>
- </Operation>
- <!-- EMP Launcher: Solidified as the go-to mechanoid counter. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_EmpLauncher"]/description</xpath>
- <value>
- <description>A wide-barreled EMP shell launcher. The shell will upon impact release a burst of electromagnetic energy, stunning mechanical targets (mechanoids, turrets, mortars) and depleting shields in the area of effect. The ultimate counter to mechanoid threats.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_EmpLauncher"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>3.0</RangedWeapon_Cooldown> <!-- Decreased from original 3.5 to 3.0 for faster cooldown for more frequent EMP bursts. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_EmpLauncher"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>3.0</warmupTime> <!-- Decreased from original 3.5 to 3.0 for quicker warm-up for reactive EMP deployment. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_EmpLauncher"]/verbs/li/range</xpath>
- <value>
- <range>25.9</range> <!-- Increased from original 23.9 to 25.9 for increased range for better tactical reach against mechanoids. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_EmpLauncher"]/verbs/li/forcedMissRadius</xpath>
- <value>
- <forcedMissRadius>1.5</forcedMissRadius> <!-- Decreased from original 1.9 to 1.5 for reduced miss radius for more precise EMP strikes. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_EMPLauncher"]/projectile/speed</xpath>
- <value>
- <speed>45</speed> <!-- Increased from original 40 to 45, purely visual. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_EMPLauncher"]/projectile/explosionRadius</xpath>
- <value>
- <explosionRadius>1.2</explosionRadius> <!-- Increased from original 1.1 to 1.2 for slightly larger explosion radius for affecting more targets. -->
- </value>
- </Operation>
- <!-- Bolt-Action Rifle: Sharpened its identity as the long-range, high-damage precision weapon. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_BoltActionRifle"]/description</xpath>
- <value>
- <description>An ancient pattern bolt-action rifle. With its long range, and low fire rate, it is unlikely to drive animals to revenge, which makes it a favorite weapon for hunting. A precision tool for expert marksmen.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_BoltActionRifle"]/statBases/AccuracyTouch</xpath>
- <value>
- <AccuracyTouch>0.60</AccuracyTouch> <!-- Decreased from original 0.65 to 0.60 for reduced close-range accuracy, penalizing its use in tight quarters. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_BoltActionRifle"]/statBases/AccuracyMedium</xpath>
- <value>
- <AccuracyMedium>0.95</AccuracyMedium> <!-- Increased from original 0.90 to 0.95 for significantly increased medium-range accuracy, making it superb at its intended engagement distance. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_BoltActionRifle"]/statBases/AccuracyLong</xpath>
- <value>
- <AccuracyLong>0.85</AccuracyLong> <!-- Increased from original 0.80 to 0.85 for strong long-range accuracy, allowing effective hunting and sniping. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_BoltActionRifle"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>1.6</RangedWeapon_Cooldown> <!-- Increased from original 1.5 to 1.6 for slightly longer cooldown to balance its precision and power. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_BoltActionRifle"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>1.8</warmupTime> <!-- Increased from original 1.7 to 1.8 for increased warm-up to emphasize deliberate, aimed shots. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_BoltActionRifle"]/verbs/li/range</xpath>
- <value>
- <range>38.9</range> <!-- Increased from original 36.9 to 38.9 for extended range, making it a viable alternative to dedicated sniper rifles in some scenarios. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_BoltActionRifle"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>20</damageAmountBase> <!-- Increased from original 18 to 20 for more lethal hits. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationAdd">
- <xpath>Defs/ThingDef[defName="Bullet_BoltActionRifle"]/projectile</xpath>
- <value>
- <armorPenetrationBase>0.30</armorPenetrationBase> <!-- Added: Set to 0.30 (matches default for 20 damage) to ensure it can pierce light armor, reinforcing its precision hunting role. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_BoltActionRifle"]/projectile/speed</xpath>
- <value>
- <speed>75</speed> <!-- Increased from original 70 to 75, purely visual. -->
- </value>
- </Operation>
- <!-- Pump Shotgun: Emphasized its close-range lethality and stopping power. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_PumpShotgun"]/description</xpath>
- <value>
- <description>An ancient design of shotgun that emits a tight-packed spray of pellets. Deadly, but short range. Ideal for clearing rooms and close-quarter ambushes.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_PumpShotgun"]/statBases/AccuracyTouch</xpath>
- <value>
- <AccuracyTouch>0.85</AccuracyTouch> <!-- Increased from original 0.80 to 0.85 for high close-range accuracy for reliable hits in melee proximity. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_PumpShotgun"]/statBases/AccuracyShort</xpath>
- <value>
- <AccuracyShort>0.90</AccuracyShort> <!-- Increased from original 0.87 to 0.90 for excellent short-range accuracy, making it lethal in its sweet spot. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_PumpShotgun"]/statBases/AccuracyMedium</xpath>
- <value>
- <AccuracyMedium>0.70</AccuracyMedium> <!-- Decreased from original 0.77 to 0.70 for reduced medium-range accuracy, maintaining its close-range focus. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_PumpShotgun"]/statBases/AccuracyLong</xpath>
- <value>
- <AccuracyLong>0.50</AccuracyLong> <!-- Decreased from original 0.64 to 0.50 for significant drop-off at long range, as expected for a shotgun. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_PumpShotgun"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>1.35</RangedWeapon_Cooldown> <!-- Increased from original 1.25 to 1.35 for longer cooldown for quicker follow-up shots. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_PumpShotgun"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>1.0</warmupTime> <!-- Increased from original 0.9 to 1.0 for quicker warm-up for more responsive close-quarters combat. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_PumpShotgun"]/verbs/li/range</xpath>
- <value>
- <range>16.9</range> <!-- Increased from original 15.9 to 16.9 for slightly increased range, allowing it to engage targets just beyond immediate melee. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_Shotgun"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>20</damageAmountBase> <!-- Increased from original 18 to 20 for devastating hit at close range. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_Shotgun"]/projectile/stoppingPower</xpath>
- <value>
- <stoppingPower>3.5</stoppingPower> <!-- Increased from original 3 to 3.5 for increased stopping power to stun enemies and create openings. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_Shotgun"]/projectile/armorPenetrationBase</xpath>
- <value>
- <armorPenetrationBase>0.15</armorPenetrationBase> <!-- Increased from original 0.14 to 0.15 for minor armor penetration, giving it an edge against lightly armored foes. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_Shotgun"]/projectile/speed</xpath>
- <value>
- <speed>60</speed> <!-- Increased from original 55 to 60, purely visual. -->
- </value>
- </Operation>
- <!-- Chain Shotgun: A pure, close-range burst weapon. Its deadliness comes from overwhelming fire. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChainShotgun"]/description</xpath>
- <value>
- <description>A magazine-fed fully automatic shotgun. It is even shorter-ranged than a typical shotgun, but is extraordinarily dangerous due to its rapid, overwhelming burst fire.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChainShotgun"]/statBases/AccuracyTouch</xpath>
- <value>
- <AccuracyTouch>0.60</AccuracyTouch> <!-- Increased from original 0.57 to 0.60 for moderate close-range accuracy, balanced by high burst count. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChainShotgun"]/statBases/AccuracyShort</xpath>
- <value>
- <AccuracyShort>0.70</AccuracyShort> <!-- Increased from original 0.64 to 0.70 for good short-range accuracy for effective burst delivery. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChainShotgun"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>1.2</RangedWeapon_Cooldown> <!-- Decreased from original 1.35 to 1.2 for faster cooldown to enable more frequent devastating bursts. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChainShotgun"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>1.0</warmupTime> <!-- Decreased from original 1.2 to 1.0 for quicker warm-up for rapid engagement. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChainShotgun"]/verbs/li/range</xpath>
- <value>
- <range>13.9</range> <!-- Increased from original 12.9 to 13.9 for further reduced range, making it a highly specialized close-quarters weapon. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChainShotgun"]/verbs/li/burstShotCount</xpath>
- <value>
- <burstShotCount>4</burstShotCount> <!-- Increased from original 3 to 4 for more shots per burst to maximize close-range damage. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChainShotgun"]/verbs/li/ticksBetweenBurstShots</xpath>
- <value>
- <ticksBetweenBurstShots>8</ticksBetweenBurstShots> <!-- Decreased from original 10 to 8 for reduced delay for a tighter, more damaging burst. -->
- </value>
- </Operation>
- <!-- Heavy SMG: A powerful, short-range slugger, ideal for tight combat. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HeavySMG"]/description</xpath>
- <value>
- <description>A compact, wide-caliber slug-thrower. It's got a very short range, but it packs a punch and handles quite well, making it a brutal room-clearer.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HeavySMG"]/statBases/Mass</xpath>
- <value>
- <Mass>3.8</Mass> <!-- Increased from original 3.5 to 3.8 for slight increase in mass to reflect its heavier caliber. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HeavySMG"]/statBases/AccuracyTouch</xpath>
- <value>
- <AccuracyTouch>0.90</AccuracyTouch> <!-- Increased from original 0.85 to 0.90 for very high close-range accuracy, excellent for clearing tight spaces. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HeavySMG"]/statBases/AccuracyShort</xpath>
- <value>
- <AccuracyShort>0.75</AccuracyShort> <!-- Increased from original 0.65 to 0.75 for good short-range accuracy, maintaining effectiveness as enemies close in. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HeavySMG"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>1.0</RangedWeapon_Cooldown> <!-- Decreased from original 1.65 to 1.0 for faster cooldown for quick, impactful bursts. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HeavySMG"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>0.6</warmupTime> <!-- Decreased from original 0.9 to 0.6 for quicker warm-up for rapid engagement. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HeavySMG"]/verbs/li/range</xpath>
- <value>
- <range>20.9</range> <!-- Decreased from original 22.9 to 20.9 for slightly extended range, making it slightly more versatile than other SMGs. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_HeavySMG"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>11</damageAmountBase> <!-- Decreased from original 12 to 11 for decreased damage per shot, still making each hit count. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationAdd">
- <xpath>Defs/ThingDef[defName="Bullet_HeavySMG"]/projectile</xpath>
- <value>
- <armorPenetrationBase>0.20</armorPenetrationBase> <!-- Added: Set to 0.20 to give it better armor penetration than its implicit default, fitting its "brutal" description. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_HeavySMG"]/projectile/speed</xpath>
- <value>
- <speed>60</speed> <!-- Increased from original 48 to 60, purely visual. -->
- </value>
- </Operation>
- <!-- LMG: Defined its role as a suppressive fire weapon for groups. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_LMG"]/description</xpath>
- <value>
- <description>A gas-operated light machine gun. While it is somewhat unwieldy and inaccurate, its long bursts of fire are effective against groups of enemies.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_LMG"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>1.8</warmupTime> <!-- Increased from original 1.7 to 1.8. Increased warm-up to represent the time needed to get the gun ready for sustained fire. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_LMG"]/verbs/li/burstShotCount</xpath>
- <value>
- <burstShotCount>8</burstShotCount> <!-- ADJUSTED: Increased burst count (from original 6 to 8) to boost its overall DPS and make its suppressive fire more impactful, addressing its lower-than-intended simulated performance. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_LMG"]/verbs/li/ticksBetweenBurstShots</xpath>
- <value>
- <ticksBetweenBurstShots>6</ticksBetweenBurstShots> <!-- ADJUSTED: Reduced delay between shots in a burst (from original 7 to 6) to further increase effective fire rate and DPS for stronger suppression. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_LMG"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>14</damageAmountBase> <!-- ADJUSTED: Increased damage (from original 12 to 14) per shot to make suppressive fire more impactful and ensure its DPS is more competitive with other industrial options. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationAdd">
- <xpath>Defs/ThingDef[defName="Bullet_LMG"]/projectile</xpath>
- <value>
- <armorPenetrationBase>0.20</armorPenetrationBase> <!-- Added: Set to 0.20 to provide moderate armor penetration for suppressive fire against armored targets. -->
- </value>
- </Operation>
- <!-- Assault Rifle: Optimized as the versatile, reliable standard weapon. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_AssaultRifle"]/description</xpath>
- <value>
- <description>A general-purpose assault rifle. It is accurate and durable, with a good rate of fire and effective range, making it a versatile backbone of any combat group.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_AssaultRifle"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>1.1</RangedWeapon_Cooldown> <!-- Decreased from original 1.70 to 1.1 for faster cooldown, making it very responsive and versatile. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_AssaultRifle"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>0.7</warmupTime> <!-- Decreased from original 1.0 to 0.7 for quicker warm-up, allowing for rapid target acquisition. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_AssaultRifle"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>9</damageAmountBase> <!-- Decreased from original 11 to 9 for minor damage decrease, solidifying its effectiveness across various scenarios. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationAdd">
- <xpath>Defs/ThingDef[defName="Bullet_AssaultRifle"]/projectile</xpath>
- <value>
- <armorPenetrationBase>0.20</armorPenetrationBase> <!-- Added: Set to 0.20 for a versatile and balanced armor penetration for this general-purpose weapon. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_AssaultRifle"]/projectile/speed</xpath>
- <value>
- <speed>65</speed> <!-- Decreased from original 70 to 65, purely visual. -->
- </value>
- </Operation>
- <!-- Sniper Rifle: Enhanced its extreme long-range precision, reinforcing its unique niche. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_SniperRifle"]/description</xpath>
- <value>
- <description>A dedicated long-range precision rifle. It is slow to fire and terrible in close quarters, but exceptionally accurate at extreme distances, delivering pinpoint lethal shots.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_SniperRifle"]/statBases/AccuracyTouch</xpath>
- <value>
- <AccuracyTouch>0.40</AccuracyTouch> <!-- Decreased from original 0.50 to 0.40 for drastically reduced close-range accuracy, enforcing its long-range specialist role. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_SniperRifle"]/statBases/AccuracyMedium</xpath>
- <value>
- <AccuracyMedium>0.85</AccuracyMedium> <!-- Decreased from original 0.88 to 0.85. Still very high medium-range accuracy, effective at closer sniper distances. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_SniperRifle"]/statBases/AccuracyLong</xpath>
- <value>
- <AccuracyLong>0.98</AccuracyLong> <!-- Increased from original 0.90 to 0.98 for near-perfect long-range accuracy, the ultimate precision weapon. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_SniperRifle"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>2.0</RangedWeapon_Cooldown> <!-- Increased from original 1.5 to 2.0 for longer cooldown to balance its immense precision and damage. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_SniperRifle"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>2.5</warmupTime> <!-- Decreased from original 3.5 to 2.5 for extended warm-up time, requiring careful setup and patience. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_SniperRifle"]/verbs/li/range</xpath>
- <value>
- <range>45.9</range> <!-- Increased from original 44.9 to 45.9 for significantly increased range, making it the longest-range weapon for strategic engagements. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_SniperRifle"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>50</damageAmountBase> <!-- ADJUSTED: Greatly increased damage (from original 25 to 50) for truly lethal single hits, ensuring its role as a decisive, high-value target eliminator is fulfilled and further boosting its simulated DPS. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationAdd">
- <xpath>Defs/ThingDef[defName="Bullet_SniperRifle"]/projectile</xpath>
- <value>
- <armorPenetrationBase>0.70</armorPenetrationBase> <!-- Added as it was missing from original; now 0.70. Very high armor penetration, making it devastating against heavily armored threats. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_SniperRifle"]/projectile/speed</xpath>
- <value>
- <speed>80</speed> <!-- Decreased from original 100 to 80, purely visual. -->
- </value>
- </Operation>
- <!-- Minigun: Made it even more of a shredder, focusing on volume of fire over pinpoint accuracy. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_Minigun"]/description</xpath>
- <value>
- <description>A multi-barrelled rotary gun. It takes a long time to spin up, but once it's firing, it outputs a solid stream of bullets, shredding anything in its path. Excellent for suppressing groups of enemies or quickly destroying structures.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_Minigun"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>3.0</RangedWeapon_Cooldown> <!-- Increased from original 1.5 to 3.0. Longer cooldown, but compensates with sustained fire during active shooting. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_Minigun"]/verbs/li/burstShotCount</xpath>
- <value>
- <burstShotCount>30</burstShotCount> <!-- Increased from original 25 to 30 for massive increase in shots per burst for overwhelming firepower. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_Minigun"]/verbs/li/ticksBetweenBurstShots</xpath>
- <value>
- <ticksBetweenBurstShots>4</ticksBetweenBurstShots> <!-- Decreased from original 5 to 4 for extremely rapid firing once spun up, creating a literal stream of bullets. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_Minigun"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>11</damageAmountBase> <!-- ADJUSTED: Increased individual bullet damage (from original 10 to 11) significantly to further boost overall DPS, making it truly "shredding" as intended and improving its underperforming simulation results. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationAdd">
- <xpath>Defs/ThingDef[defName="Bullet_Minigun"]/projectile</xpath>
- <value>
- <armorPenetrationBase>0.18</armorPenetrationBase> <!-- Added: Set to 0.18, slightly above default to acknowledge its heavy nature and contribute to its shredding capacity. -->
- </value>
- </Operation>
- <!-- =============================== Spacer Weapon Rebalance =============================== -->
- <!-- Charge Rifle: Fine-tuned as the balanced, high-tech assault option. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeRifle"]/description</xpath>
- <value>
- <description>A charged-shot assault rifle. Pulse-charge technology charges each shot with unstable energy as it leaves the barrel. Released on impact, the charged energy greatly increases the damage done. A versatile, high-tech weapon for advanced colonists.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeRifle"]/statBases/AccuracyShort</xpath>
- <value>
- <AccuracyShort>0.70</AccuracyShort> <!-- Increased from original 0.64 to 0.70 for improved accuracy at short range, making it reliable in closer engagements. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeRifle"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>1.8</RangedWeapon_Cooldown> <!-- Decreased from original 2.00 to 1.8 for faster cooldown for more frequent bursts. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeRifle"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>0.9</warmupTime> <!-- Decreased from original 1.0 to 0.9 for quicker warm-up, allowing faster combat readiness. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeRifle"]/verbs/li/range</xpath>
- <value>
- <range>28.9</range> <!-- Increased from original 27.9 to 28.9 for slightly extended range, maintaining its versatility across distances. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeRifle"]/verbs/li/ticksBetweenBurstShots</xpath>
- <value>
- <ticksBetweenBurstShots>10</ticksBetweenBurstShots> <!-- Decreased from original 12 to 10 for reduced delay between shots in a burst for more concentrated fire. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_ChargeRifle"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>22</damageAmountBase> <!-- ADJUSTED: Increased damage (from original 16 to 22) per shot to reinforce its high-tech status and ensure it's a clear upgrade, addressing simulated performance gaps. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_ChargeRifle"]/projectile/armorPenetrationBase</xpath>
- <value>
- <armorPenetrationBase>0.40</armorPenetrationBase> <!-- Increased from original 0.35 to 0.40 for substantial armor penetration, making it effective against armored targets. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_ChargeRifle"]/projectile/speed</xpath>
- <value>
- <speed>75</speed> <!-- Increased from original 70 to 75, purely visual. -->
- </value>
- </Operation>
- <!-- Charge Lance: Solidified its high-precision, armor-piercing long-range role. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeLance"]/description</xpath>
- <value>
- <description>A pulse-charged rail-assisted lance weapon. It fires a single shot at high velocity, charging it with unstable energy as it leaves the acceleration rail. Designed for piercing heavily armored targets at long range.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeLance"]/statBases/AccuracyTouch</xpath>
- <value>
- <AccuracyTouch>0.50</AccuracyTouch> <!-- Decreased from original 0.65 to 0.50 for reduced close-range accuracy, ensuring it remains a dedicated long-range weapon. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeLance"]/statBases/AccuracyMedium</xpath>
- <value>
- <AccuracyMedium>0.90</AccuracyMedium> <!-- Increased from original 0.85 to 0.90 for very high medium-range accuracy, providing a solid engagement window. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeLance"]/statBases/AccuracyLong</xpath>
- <value>
- <AccuracyLong>0.99</AccuracyLong> <!-- Increased from original 0.75 to 0.99 for near-perfect long-range accuracy, making it a true precision anti-armor weapon. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeLance"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>2.5</RangedWeapon_Cooldown> <!-- Decreased from original 2.7 to 2.5. Longer cooldown, balanced by its single-shot devastating power and range. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeLance"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>2.2</warmupTime> <!-- Increased from original 1.7 to 2.2 for extended warm-up to represent the charging mechanism for a powerful shot. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_ChargeLance"]/verbs/li/range</xpath>
- <value>
- <range>34.9</range> <!-- Increased from original 32.9 to 34.9 for extended range, making it capable of engaging targets from a safe distance. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_ChargeLance"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>50</damageAmountBase> <!-- ADJUSTED: Increased damage (from original 30 to 50) per shot, making its single strike even more potent and ensuring it unequivocally fulfills its role as a devastating anti-armor weapon, improving its simulated DPS against high-armor targets. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationAdd">
- <xpath>Defs/ThingDef[defName="Bullet_ChargeLance"]/projectile</xpath>
- <value>
- <armorPenetrationBase>0.80</armorPenetrationBase> <!-- Added as it was missing from original; now 0.80. Very high armor penetration, making it devastating against heavily armored threats. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_ChargeLance"]/projectile/speed</xpath>
- <value>
- <speed>85</speed> <!-- Decreased from original 120 to 85, purely visual. -->
- </value>
- </Operation>
- <!-- Charge Minigun: A brand new weapon. This will be the ultimate area suppression and heavy target shredder for Spacer tech. -->
- <Operation Class="PatchOperationAdd">
- <xpath>Defs</xpath>
- <value>
- <ThingDef ParentName="BaseHumanMakeableGun">
- <defName>Gun_ChargeMinigun</defName>
- <label>charge minigun</label>
- <description>A brutal multi-barrelled rotary charge gun. Though extremely heavy and requiring significant spin-up, it unleashes a torrent of high-energy bolts, capable of ripping apart entire squads or structures in seconds.</description>
- <techLevel>Spacer</techLevel>
- <graphicData>
- <texPath>Things/Item/Equipment/WeaponRanged/ChargeBlasterHeavy</texPath> <!-- This will need a new texture asset in your game files. -->
- <graphicClass>Graphic_Single</graphicClass>
- </graphicData>
- <soundInteract>Interact_ChargeRifle</soundInteract> <!-- Reusing existing sound for now, can be replaced with a custom one. -->
- <thingSetMakerTags>
- <li>RewardStandardQualitySuper</li>
- </thingSetMakerTags>
- <weaponClasses>
- <li>RangedHeavy</li>
- </weaponClasses>
- <statBases>
- <WorkToMake>80000</WorkToMake> <!-- High work cost reflecting advanced Spacer technology. -->
- <Mass>12</Mass> <!-- Very high mass, making it cumbersome. -->
- <AccuracyTouch>0.15</AccuracyTouch> <!-- Extremely low close-range accuracy, making it unsuitable for personal defense. -->
- <AccuracyShort>0.25</AccuracyShort> <!-- Poor short-range accuracy, demanding distance from targets. -->
- <AccuracyMedium>0.25</AccuracyMedium> <!-- Remains poor at medium range, emphasizing its niche. -->
- <AccuracyLong>0.18</AccuracyLong> <!-- Very low long-range accuracy, compensated by sheer volume of fire. -->
- <RangedWeapon_Cooldown>4.0</RangedWeapon_Cooldown> <!-- Very long cooldown, balanced by the extended burst duration. -->
- </statBases>
- <costList>
- <Plasteel>150</Plasteel> <!-- High Plasteel cost for advanced construction. -->
- <ComponentSpacer>10</ComponentSpacer> <!-- Requires advanced components for its complex mechanisms. -->
- </costList>
- <recipeMaker>
- <researchPrerequisite>ChargedShot</researchPrerequisite> <!-- Requires advanced charging technology. -->
- <skillRequirements>
- <Crafting>9</Crafting> <!-- High crafting skill needed for its complexity. -->
- </skillRequirements>
- <recipeUsers Inherit="False">
- <li>FabricationBench</li>
- </recipeUsers>
- <displayPriority>220</displayPriority>
- </recipeMaker>
- <weaponTags>
- <li>SpacerGun</li>
- <li>GunHeavy</li>
- </weaponTags>
- <equippedStatOffsets>
- <MoveSpeed>-0.30</MoveSpeed> <!-- Significant movement penalty due to its immense weight. -->
- </equippedStatOffsets>
- <verbs>
- <li>
- <verbClass>Verb_Shoot</verbClass>
- <hasStandardCommand>true</hasStandardCommand>
- <defaultProjectile>Bullet_ChargeMinigun</defaultProjectile>
- <warmupTime>3.0</warmupTime> <!-- Long spin-up time before firing. -->
- <range>32.9</range> <!-- Decent range for a heavy weapon, allowing it to engage from afar. -->
- <burstShotCount>40</burstShotCount> <!-- Extreme number of shots per burst for overwhelming firepower. -->
- <ticksBetweenBurstShots>2</ticksBetweenBurstShots> <!-- ADJUSTED: Reduced ticks between burst shots (from 3 to 2) to make the burst even tighter and faster, dramatically increasing raw DPS, as its simulated effective DPS was still too low for its tier and cost. -->
- <soundCast>Shot_ChargeBlaster</soundCast> <!-- ADJUSTED: Changed sound from "Shot_ChargeRifle" to "Shot_ChargeBlaster" as requested, for a more distinctive audio profile. -->
- <soundCastTail>GunTail_Heavy</soundCastTail>
- <muzzleFlashScale>12</muzzleFlashScale> <!-- Large muzzle flash to convey its power. -->
- </li>
- </verbs>
- <tools>
- <li>
- <label>barrels</label>
- <capacities>
- <li>Blunt</li>
- </capacities>
- <power>14.0</power> <!-- Decent blunt attack power, reflecting its heavy barrels. -->
- <cooldownTime>3.0</cooldownTime>
- </li>
- </tools>
- </ThingDef>
- <ThingDef ParentName="BaseBullet">
- <defName>Bullet_ChargeMinigun</defName>
- <label>charge minigun shot</label>
- <graphicData>
- <texPath>Things/Projectile/Charge_Small</texPath> <!-- Reusing existing charge projectile texture. -->
- <graphicClass>Graphic_Single</graphicClass>
- <shaderType>TransparentPostLight</shaderType>
- <drawSize>1.0</drawSize>
- </graphicData>
- <projectile>
- <damageDef>Bullet</damageDef>
- <damageAmountBase>20</damageAmountBase> <!-- ADJUSTED: Increased damage (from original 18 to 20) per shot to definitively cement its status as a top-tier heavy weapon. This ensures its extremely high volume of fire, despite accuracy penalties, translates into overwhelming damage, truly fulfilling its "brutal" description and justifying its high cost/drawbacks in simulated performance. -->
- <armorPenetrationBase>0.30</armorPenetrationBase> <!-- Increased from 0.20 to 0.30 to ensure it's effective against armored groups. -->
- <speed>80</speed> <!-- Fast projectile for better hit chances during sustained fire, purely visual. -->
- </projectile>
- </ThingDef>
- </value>
- </Operation>
- <!-- =============================== Hellcat Rifle Rebalance =============================== -->
- <!-- Hellcat Rifle: Positioned as a versatile assault rifle with a unique close-range area-of-effect flamethrower. -->
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HellcatRifle"]/description</xpath>
- <value>
- <description>A versatile assault rifle with decent range and good accuracy, suitable for varied engagements. Its underbarrel bioferrite-powered mini-burner provides a potent, short-range blast of flame, effective for flushing out enemies or igniting flammable targets, balancing its lower projectile damage.</description>
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HellcatRifle"]/statBases/WorkToMake</xpath>
- <value>
- <WorkToMake>42000</WorkToMake> <!-- Slightly increased from original 40000 to reflect the complexity of its integrated flamethrower. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HellcatRifle"]/statBases/Mass</xpath>
- <value>
- <Mass>3.8</Mass> <!-- Increased from original 3.5 to 3.8 to account for the underbarrel attachment. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HellcatRifle"]/statBases/AccuracyTouch</xpath>
- <value>
- <AccuracyTouch>0.55</AccuracyTouch> <!-- Decreased from original 0.60 to 0.55 to emphasize its less-than-optimal close-quarters gunplay, balanced by the flamethrower. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HellcatRifle"]/statBases/AccuracyShort</xpath>
- <value>
- <AccuracyShort>0.68</AccuracyShort> <!-- Decreased from original 0.70 to 0.68 for slightly less accuracy at short range compared to other assault rifles. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HellcatRifle"]/statBases/AccuracyMedium</xpath>
- <value>
- <AccuracyMedium>0.60</AccuracyMedium> <!-- Decreased from original 0.65 to 0.60, making it slightly less precise at medium range. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HellcatRifle"]/statBases/AccuracyLong</xpath>
- <value>
- <AccuracyLong>0.50</AccuracyLong> <!-- Decreased from original 0.55 to 0.50, further emphasizing its underbarrel utility. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HellcatRifle"]/statBases/RangedWeapon_Cooldown</xpath>
- <value>
- <RangedWeapon_Cooldown>1.6</RangedWeapon_Cooldown> <!-- Slightly decreased from original 1.70 to 1.6 for a bit more responsiveness, acknowledging its versatility. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HellcatRifle"]/verbs/li/warmupTime</xpath>
- <value>
- <warmupTime>1.0</warmupTime> <!-- Retained from original 1.1, for consistency with other assault rifles. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Gun_HellcatRifle"]/verbs/li/range</xpath>
- <value>
- <range>28.9</range> <!-- Increased from original 26.9 to 28.9 for a slightly longer rifle range to keep it competitive. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_HellcatRifle"]/projectile/damageAmountBase</xpath>
- <value>
- <damageAmountBase>9</damageAmountBase> <!-- Decreased from original 10 to 9 to solidify its "weaker assault rifle" aspect, balanced by the flamethrower. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationAdd">
- <xpath>Defs/ThingDef[defName="Bullet_HellcatRifle"]/projectile</xpath>
- <value>
- <armorPenetrationBase>0.18</armorPenetrationBase> <!-- Added: Set to 0.18, slightly below the Assault Rifle's for its weaker base stats. -->
- </value>
- </Operation>
- <Operation Class="PatchOperationReplace">
- <xpath>Defs/ThingDef[defName="Bullet_HellcatRifle"]/projectile/speed</xpath>
- <value>
- <speed>65</speed> <!-- Retained from original 70, making it similar to other assault rifle projectile speeds. -->
- </value>
- </Operation>
- </Patch>
Add Comment
Please, Sign In to add comment