Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patches - Alpha Vehicles Age of Sail #3611

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<li IfModActive="sarg.magicalmenagerie">ModPatches/Alpha Mythology</li>
<li IfModActive="sarg.alphaships">ModPatches/Alpha Ships</li>
<li IfModActive="sarg.alphavehiclesneolithic">ModPatches/Alpha Vehicle</li>
<li IfModActive="sarg.alphavehiclesageofsail">ModPatches/Alpha Vehicle - Age of Sail</li>
<li IfModActive="hlx.UltratechAlteredCarbon">ModPatches/Altered Carbon Ultratech Unleashed</li>
<li IfModActive="aa.warcaskets.rw">ModPatches/Ancient Arsenal Warcaskets</li>
<li IfModActive="bbbbilly.ancientbladecyborg">ModPatches/Ancient Blade Cyborg</li>
Expand Down
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>
Loading
Loading