Skip to content

Commit

Permalink
Patch Primaris Tank
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Aug 18, 2024
1 parent 74fb639 commit 587e8bf
Show file tree
Hide file tree
Showing 3 changed files with 275 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>


<!--===== Plasma Destroyer =====-->

<Operation Class="PatchOperationReplace">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,275 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>


<!--===== Las Cannon =====-->

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_Lasgun"]/magazineCapacity</xpath>
<value>
<magazineCapacity>600</magazineCapacity>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_Lasgun"]/genericAmmo</xpath>
<value>
<genericAmmo>false</genericAmmo>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_Lasgun"]/projectile</xpath>
<value>
<projectile>Bullet_Lasgun_Cannon</projectile>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_Lasgun"]/maxRange</xpath>
<value>
<maxRange>75</maxRange>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_Lasgun"]/ammunition/thingDefs</xpath>
<value>
<thingDefs>
<li>Ammo_LasgunPowerPack</li>
</thingDefs>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_Lasgun"]</xpath>
<value>
<chargePerAmmoCount>5</chargePerAmmoCount>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_Lasgun"]</xpath>
<value>
<li Class="Vehicles.CETurretDataDefModExtension">
<ammoSet>AmmoSet_Lasgun_Cannon</ammoSet>
<shotHeight>2</shotHeight>
<sway>1.0</sway>
<spread>0.01</spread>
</li>
</value>
</Operation>

<!--===== Twin Heavy Bolter Turret =====-->

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_twinpounder"]/projectile</xpath>
<value>
<projectile>Bullet_Bolter998_Standard</projectile>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_twinpounder"]/reloadTimer</xpath>
<value>
<reloadTimer>7.8</reloadTimer>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_twinpounder"]/warmUpTimer</xpath>
<value>
<warmUpTimer>2.3</warmUpTimer>
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_twinpounder"]/chargePerAmmoCount</xpath>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_twinpounder"]/genericAmmo</xpath>
<value>
<genericAmmo>false</genericAmmo>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_twinpounder"]/maxRange</xpath>
<value>
<maxRange>62</maxRange>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_twinpounder"]/ammunition/thingDefs</xpath>
<value>
<thingDefs>
<li>Ammo_Bolter998_Standard</li>
<li>Ammo_Bolter998_MetalStorm</li>
<li>Ammo_Bolter998_Kraken</li>
<li>Ammo_Bolter998_Inferno</li>
</thingDefs>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_PrimarisTank_twinpounder"]</xpath>
<value>
<li Class="Vehicles.CETurretDataDefModExtension">
<ammoSet>AmmoSet_Bolter998</ammoSet>
<shotHeight>1.5</shotHeight>
<speed>229</speed>
<sway>1.0</sway>
<spread>0.01</spread>
</li>
</value>
</Operation>


<!--===== Plasma Destroyer =====-->

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Spitetank_Plasmagun"]/magazineCapacity</xpath>
<value>
<magazineCapacity>800</magazineCapacity>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Spitetank_Plasmagun"]/genericAmmo</xpath>
<value>
<genericAmmo>false</genericAmmo>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Spitetank_Plasmagun"]/projectile</xpath>
<value>
<projectile>Bullet_Laser_PlasmaDestroyer</projectile>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Spitetank_Plasmagun"]/maxRange</xpath>
<value>
<maxRange>75</maxRange>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Spitetank_Plasmagun"]/ammunition/thingDefs</xpath>
<value>
<thingDefs>
<li>Ammo_PlasmaCanister</li>
</thingDefs>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Spitetank_Plasmagun"]/chargePerAmmoCount</xpath>
<value>
<chargePerAmmoCount>50</chargePerAmmoCount>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="GW_Spitetank_Plasmagun"]</xpath>
<value>
<li Class="Vehicles.CETurretDataDefModExtension">
<ammoSet>AmmoSet_PlasmaCanister_Destroyer</ammoSet>
<shotHeight>1</shotHeight>
<sway>0.73</sway>
<spread>0.01</spread>
</li>
</value>
</Operation>


<!--===== Spite / Primaris Tank =====-->

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="GW_SpiteTank"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>44</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="GW_SpiteTank"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>22</ArmorRating_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="GW_SpiteTank"]/vehicleStats/CargoCapacity</xpath>
<value>
<CargoCapacity>1250</CargoCapacity>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="GW_SpiteTank"]/components/li[key="FrontArmorPlating"]/health</xpath>
<value>
<health>1250</health>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="GW_SpiteTank"]/components/li[key="FrontArmorPlating"]/armor/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>64</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="GW_SpiteTank"]/components/li[key="FrontArmorPlating"]/armor/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>32</ArmorRating_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="GW_SpiteTank"]/components/li[key="LeftArmorPlating"]/health</xpath>
<value>
<health>950</health>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="GW_SpiteTank"]/components/li[key="LeftArmorPlating"]/armor/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>44</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="GW_SpiteTank"]/components/li[key="LeftArmorPlating"]/armor/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>22</ArmorRating_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="GW_SpiteTank"]/components/li[key="RightArmorPlating"]/health</xpath>
<value>
<health>950</health>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="GW_SpiteTank"]/components/li[key="RightArmorPlating"]/armor/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>44</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="GW_SpiteTank"]/components/li[key="RightArmorPlating"]/armor/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>22</ArmorRating_Sharp>
</value>
</Operation>

</Patch>

This file was deleted.

0 comments on commit 587e8bf

Please sign in to comment.