Skip to content

Commit

Permalink
readding patch folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Airomeda authored Dec 27, 2024
1 parent 48bb678 commit 80533ae
Show file tree
Hide file tree
Showing 3 changed files with 390 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- Turret -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_Frigate_MainTurret" or defName="AV_Frigate_SecondTurret"]/projectile</xpath>
<value>
<projectile>Bullet_CannonBall_Round</projectile>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_Frigate_MainTurret" or defName="AV_Frigate_SecondTurret"]/reloadTimer</xpath>
<value>
<reloadTimer>24.0</reloadTimer>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_Frigate_MainTurret" or defName="AV_Frigate_SecondTurret"]/warmUpTimer</xpath>
<value>
<warmUpTimer>6.5</warmUpTimer>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_Frigate_MainTurret" or defName="AV_Frigate_SecondTurret"]/magazineCapacity</xpath>
<value>
<magazineCapacity>5</magazineCapacity>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_Frigate_MainTurret" or defName="AV_Frigate_SecondTurret"]/minRange</xpath>
<value>
<minRange>45</minRange> <!-- +5 from maxRange to predict non-obstructed impact -->
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_Frigate_MainTurret" or defName="AV_Frigate_SecondTurret"]/maxRange</xpath>
<value>
<maxRange>40</maxRange>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_Frigate_MainTurret" or defName="AV_Frigate_SecondTurret"]/fireModes</xpath>
<value>
<fireModes>
<li>
<shotsPerBurst>1</shotsPerBurst>
<ticksBetweenShots>15</ticksBetweenShots>
<ticksBetweenBursts>30</ticksBetweenBursts>
<label>Single</label>
<texPath>UI/Gizmos/FireRate_Single</texPath>
</li>
<li>
<shotsPerBurst>5</shotsPerBurst>
<ticksBetweenShots>30</ticksBetweenShots>
<ticksBetweenBursts>60</ticksBetweenBursts>
<label>Broadside</label>
<texPath>UI/Gizmos/AV_Broadside</texPath>
</li>
</fireModes>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_Frigate_MainTurret" or defName="AV_Frigate_SecondTurret"]</xpath>
<value>
<li Class="Vehicles.CETurretDataDefModExtension">
<ammoSet>AmmoSet_CannonBall</ammoSet>
<shotHeight>3.5</shotHeight>
<speed>40</speed>
<sway>0.81</sway>
<spread>0.2</spread>
</li>
</value>
</Operation>

</Patch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- Turret -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_PirateCaravel_MainTurret" or defName="AV_PirateCaravel_SecondTurret"]/projectile</xpath>
<value>
<projectile>Bullet_CannonBall_Round</projectile>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_PirateCaravel_MainTurret" or defName="AV_PirateCaravel_SecondTurret"]/reloadTimer</xpath>
<value>
<reloadTimer>24.0</reloadTimer>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_PirateCaravel_MainTurret" or defName="AV_PirateCaravel_SecondTurret"]/warmUpTimer</xpath>
<value>
<warmUpTimer>6.5</warmUpTimer>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_PirateCaravel_MainTurret" or defName="AV_PirateCaravel_SecondTurret"]/magazineCapacity</xpath>
<value>
<magazineCapacity>3</magazineCapacity>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_PirateCaravel_MainTurret" or defName="AV_PirateCaravel_SecondTurret"]/minRange</xpath>
<value>
<minRange>37</minRange> <!-- +5 from maxRange to predict non-obstructed impact -->
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_PirateCaravel_MainTurret" or defName="AV_PirateCaravel_SecondTurret"]/maxRange</xpath>
<value>
<maxRange>32</maxRange>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_PirateCaravel_MainTurret" or defName="AV_PirateCaravel_SecondTurret"]/fireModes</xpath>
<value>
<fireModes>
<li>
<shotsPerBurst>1</shotsPerBurst>
<ticksBetweenShots>15</ticksBetweenShots>
<ticksBetweenBursts>30</ticksBetweenBursts>
<label>Single</label>
<texPath>UI/Gizmos/FireRate_Single</texPath>
</li>
<li>
<shotsPerBurst>3</shotsPerBurst>
<ticksBetweenShots>30</ticksBetweenShots>
<ticksBetweenBursts>60</ticksBetweenBursts>
<label>Broadside</label>
<texPath>UI/Gizmos/AV_Broadside</texPath>
</li>
</fireModes>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/Vehicles.VehicleTurretDef[defName="AV_PirateCaravel_MainTurret" or defName="AV_PirateCaravel_SecondTurret"]</xpath>
<value>
<li Class="Vehicles.CETurretDataDefModExtension">
<ammoSet>AmmoSet_CannonBall</ammoSet>
<shotHeight>2.75</shotHeight>
<speed>40</speed>
<sway>0.81</sway>
<spread>0.25</spread>
</li>
</value>
</Operation>

</Patch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- === Tier 0 === -->
<!-- Cog -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Cog"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>2</ArmorRating_Blunt>
</value>
</Operation>

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Cog"]/components/li[key="WoodenHull"]/health</xpath>
<value>
<health>160</health>
</value>
</Operation>

<!-- Junk -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Junk"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>2</ArmorRating_Blunt>
</value>
</Operation>

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Junk"]/components/li[key="WoodenHull"]/health</xpath>
<value>
<health>160</health>
</value>
</Operation>

<!-- Longship -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Longship"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>3</ArmorRating_Blunt>
</value>
</Operation>

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Longship"]/components/li[key="WoodenHull"]/health</xpath>
<value>
<health>240</health>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Longship"]/components/li[key="Shields"]/health</xpath>
<value>
<health>80</health>
</value>
</Operation>

<!-- === Tier 1 === -->
<!-- Caravel -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Caravel"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>4</ArmorRating_Blunt>
</value>
</Operation>

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Caravel"]/components/li[key="WoodenHull"]/health</xpath>
<value>
<health>240</health>
</value>
</Operation>

<!-- Pirate Caravel -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_PirateCaravel"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>5</ArmorRating_Blunt>
</value>
</Operation>

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

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_PirateCaravel"]/components/li[key="WoodenHull"]/health</xpath>
<value>
<health>240</health>
</value>
</Operation>

<!-- Sloop -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Sloop"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>2</ArmorRating_Blunt>
</value>
</Operation>

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Sloop"]/components/li[key="FiberglassHull"]/health</xpath>
<value>
<health>240</health>
</value>
</Operation>

<!-- === Tier 2 === -->
<!-- Brig -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Brig"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>6</ArmorRating_Blunt>
</value>
</Operation>

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Brig"]/components/li[key="WoodenHull"]/health</xpath>
<value>
<health>300</health>
</value>
</Operation>

<!-- Frigate -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Frigate"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>7</ArmorRating_Blunt>
</value>
</Operation>

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

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Frigate"]/components/li[key="WoodenHull"]/health</xpath>
<value>
<health>300</health>
</value>
</Operation>

<!-- Galleon -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Galleon"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>7</ArmorRating_Blunt>
</value>
</Operation>

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/Vehicles.VehicleDef[defName="AV_Galleon"]/components/li[key="WoodenHull"]/health</xpath>
<value>
<health>300</health>
</value>
</Operation>

</Patch>

0 comments on commit 80533ae

Please sign in to comment.