Skip to content

Commit

Permalink
Merge pull request #2819 from CombatExtended-Continued/VVE-T3-Patch
Browse files Browse the repository at this point in the history
Patch Vanilla Vehicles Expanded - Tier 3
  • Loading branch information
N7Huntsman authored Oct 25, 2023
2 parents cb9d685 + ae7ff05 commit e9ea570
Show file tree
Hide file tree
Showing 7 changed files with 1,040 additions and 7 deletions.
188 changes: 188 additions & 0 deletions Patches/Vanilla Vehicles Expanded - Tier 3/VehicleDefs/Badger.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Vehicles Expanded - Tier 3</li>
</mods>

<match Class="PatchOperationSequence">
<operations>

<!-- Turret -->
<li Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="Badger_MainTurret"]/projectile</xpath>
<value>
<projectile>Bullet_25x137mmNATO_AP</projectile>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="Badger_MainTurret"]/reloadTimer</xpath>
<value>
<reloadTimer>8.8</reloadTimer>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="Badger_MainTurret"]/warmUpTimer</xpath>
<value>
<warmUpTimer>1.6</warmUpTimer>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="Badger_MainTurret"]/magazineCapacity</xpath>
<value>
<magazineCapacity>200</magazineCapacity>
</value>
</li>

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

<li Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="Badger_MainTurret"]/maxRange</xpath>
<value>
<maxRange>74</maxRange>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="Badger_MainTurret"]/fireModes</xpath>
<value>
<fireModes>
<li>
<shotsPerBurst>1</shotsPerBurst>
<ticksBetweenShots>6</ticksBetweenShots>
<ticksBetweenBursts>60</ticksBetweenBursts>
<label>Single</label>
<texPath>UI/Gizmos/FireRate_Single</texPath>
</li>
<li>
<shotsPerBurst>5</shotsPerBurst>
<ticksBetweenShots>6</ticksBetweenShots>
<ticksBetweenBursts>60</ticksBetweenBursts>
<label>Burst</label>
<texPath>UI/Gizmos/FireRate_Burst</texPath>
</li>
<li>
<shotsPerBurst>10</shotsPerBurst>
<ticksBetweenShots>6</ticksBetweenShots>
<ticksBetweenBursts>60</ticksBetweenBursts>
<label>Auto</label>
<texPath>UI/Gizmos/FireRate_Auto</texPath>
</li>
</fireModes>
</value>
</li>

<li Class="PatchOperationAddModExtension">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="Badger_MainTurret"]</xpath>
<value>
<li Class="Vehicles.CETurretDataDefModExtension">
<ammoSet>AmmoSet_25x137mmNATO</ammoSet>
<shotHeight>2.0</shotHeight>
<speed>192</speed>
<sway>1.61</sway>
<spread>0.04</spread>
</li>
</value>
</li>

<!-- Vehicle -->
<li Class="PatchOperationAdd">
<xpath>Defs/Vehicles.VehicleDef[defName="VVE_Badger"]</xpath>
<value>
<descriptionHyperlinks>
<CombatExtended.AmmoSetDef>AmmoSet_25x137mmNATO</CombatExtended.AmmoSetDef>
</descriptionHyperlinks>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="VVE_Badger"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>14</ArmorRating_Blunt>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="VVE_Badger"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>6</ArmorRating_Sharp>
</value>
</li>

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

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

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

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

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

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

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

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

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

</operations>
</match>
</Operation>

</Patch>
Loading

0 comments on commit e9ea570

Please sign in to comment.