From 460e313e56d55f213caa769821a1f47da8dad97a Mon Sep 17 00:00:00 2001 From: watermelon-0302 Date: Mon, 5 Aug 2024 11:53:40 +0700 Subject: [PATCH 01/12] patching ZTZ99 --- addons/miscFixes/patchPLA/config.cpp | 144 ++++++++++++++++++++++++++- 1 file changed, 141 insertions(+), 3 deletions(-) diff --git a/addons/miscFixes/patchPLA/config.cpp b/addons/miscFixes/patchPLA/config.cpp index 97681bc04..c23eb772e 100644 --- a/addons/miscFixes/patchPLA/config.cpp +++ b/addons/miscFixes/patchPLA/config.cpp @@ -5,12 +5,12 @@ class CfgPatches { class ADDON { weapons[] = {}; - units[] = {"O_ZBL09", "O_ZTL11", "O_ZBD04A", "O_ZBD05","O_ZTD05"}; + units[] = {"O_ZBL09", "O_ZTL11", "O_ZBD04A", "O_ZBD05","O_ZTD05", "O_ZTQ15","O_ZTQ15B","O_ZTZ96A","O_ZTZ96B","O_ZTZ99","O_ZTZ99A"}; requiredVersion = REQUIRED_VERSION; - requiredAddons[] = {"ZBL09_LK", "ZTL11_LK", "ZBD04_LK", "ZBD05_LK", "ZTD05_LK"}; + requiredAddons[] = {"ZBL09_LK", "ZTL11_LK", "ZBD04_LK", "ZBD05_LK", "ZTD05_LK", "ZTZ99_LK"}; skipWhenMissingDependencies = 1; author = "Potato"; - authors[] = {"Chesheire"}; + authors[] = {"Chesheire","watermelon"}; authorUrl = "https://github.com/BourbonWarfare/POTATO"; VERSION_CONFIG; }; @@ -586,4 +586,142 @@ class CfgVehicles { }; class O_ZTD05_base: ZTD05_base {}; class O_ZTD05: O_ZTD05_base {}; + + // watermelon's addition from here on out + // list of changes: + // - ZTQ15 and ZTQ15B uses values of CUP T72 + // - ZTZ96_c, ZTZ96A and ZTZ96B uses values of CUP T90 + // - ZTZ99 and ZTZ99A uses values of CUP T90M + + // ZTQ15 + + // ZTQ15B + + // ZTZ96_c + + // ZTZ96A + + // ZTZ96B + + // ZTZ99 + class ZTZ99_base: Tank_F + { + damageResistance=0.02; + crewVulnerable=1; // old value 0 + armor=700; // old value 600 + armorStructural=4; // old value 6 + class HitPoints: HitPoints + { + class HitHull: HitHull + { + armor=1.8; // old value 1 + passThrough=1; // old value 0.75 + minimalHit=0.2; // old value 0.14 + explosionShielding=0.0089999996; // old value 2 + }; + class HitEngine: HitEngine + { + armor=0.69999999; // old value 0.5 + explosionShielding=0.015; // old value 2 + }; + class HitLTrack: HitLTrack + { + minimalHit=0.1; // old value 0.079999998 + explosionShielding=0.2; // old value 1.4400001 + }; + class HitRTrack: HitRTrack + { + minimalHit=0.1; // old value 0.079999998 + explosionShielding=0.2; // old value 1.4400001 + }; + class HitFuel: HitFuel + { + passThrough=0.40000001; // old value 0.15000001 + }; + class HitArmor + { + armor = 0.5; + passThrough = 0.5; + minimalHit = 0.1; + explosionShielding = 2; + isTurret = 0; + }; + }; + class Turrets: Turrets + { + class MainTurret: MainTurret + { + class Turrets: Turrets + { + class CommanderOptics: CommanderOptics + { + class HitPoints + { + class HitComTurret + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_turret"; + name="vezVelitele"; + visual="vezVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isTurret=1; + }; + class HitComGun + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_gun"; + name="zbranVelitele"; + visual="zbranVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isGun=1; + }; + }; + selectionFireAnim=""; + }; + }; + class HitPoints + { + class HitTurret + { + armor=0.30000001; // old value 1.2 + material=-1; + armorComponent="hit_main_turret"; + name="vez"; + visual=""; + passThrough=0; + minimalHit=0.1; + explosionShielding=0.2; // old value 0.30000001 + radius=0.1; + isTurret=1; + }; + class HitGun + { + armor=0.60000002; // old value 0.80000001 + material=-1; + armorComponent="hit_main_gun"; + name="zbran"; + visual=""; + passThrough=0; + minimalHit=0.1; // old value 0 + explosionShielding=0.40000001; + radius=0.1; + isGun=1; + }; + }; + }; + }; + }; + class O_ZTZ99_base: ZTZ99_base {}; + class O_ZTZ99 : O_ZTZ99_base {}; + + // ZTZ99A + }; \ No newline at end of file From 379139f4cd5b6853e54a040e6cb1cec830df41ea Mon Sep 17 00:00:00 2001 From: watermelon-0302 Date: Mon, 5 Aug 2024 14:33:50 +0700 Subject: [PATCH 02/12] first complete patch --- addons/miscFixes/patchPLA/config.cpp | 251 +++++++++++++++++++++++++-- 1 file changed, 237 insertions(+), 14 deletions(-) diff --git a/addons/miscFixes/patchPLA/config.cpp b/addons/miscFixes/patchPLA/config.cpp index c23eb772e..8ead10902 100644 --- a/addons/miscFixes/patchPLA/config.cpp +++ b/addons/miscFixes/patchPLA/config.cpp @@ -7,7 +7,7 @@ class CfgPatches { weapons[] = {}; units[] = {"O_ZBL09", "O_ZTL11", "O_ZBD04A", "O_ZBD05","O_ZTD05", "O_ZTQ15","O_ZTQ15B","O_ZTZ96A","O_ZTZ96B","O_ZTZ99","O_ZTZ99A"}; requiredVersion = REQUIRED_VERSION; - requiredAddons[] = {"ZBL09_LK", "ZTL11_LK", "ZBD04_LK", "ZBD05_LK", "ZTD05_LK", "ZTZ99_LK"}; + requiredAddons[] = {"ZBL09_LK", "ZTL11_LK", "ZBD04_LK", "ZBD05_LK", "ZTD05_LK", "ZTQ15_LK", "ZTZ96_c_LK", "ZTZ96A_LK", "ZTZ96B_LK", "ZTZ99_LK", "ZTZ99A_LK"}; skipWhenMissingDependencies = 1; author = "Potato"; authors[] = {"Chesheire","watermelon"}; @@ -593,17 +593,240 @@ class CfgVehicles { // - ZTZ96_c, ZTZ96A and ZTZ96B uses values of CUP T90 // - ZTZ99 and ZTZ99A uses values of CUP T90M - // ZTQ15 - - // ZTQ15B - - // ZTZ96_c - - // ZTZ96A + // ZTQ15 & ZTQ15B + class ZTQ15_base: Tank_F + { + damageResistance=0.0049999999; // old value 0.02 + crewVulnerable=1; // old value 0 + armor=500; // old value 600 + armorStructural=4; // old value 6 + class HitPoints: HitPoints + { + class HitHull: HitHull + { + armor=1.6; // old value 0.80000001 + passThrough=1; // old value 0.89999998 + minimalHit=0.30000001; // old value 0.14 + explosionShielding=0.0089999996; // old value 2 + }; + class HitEngine: HitEngine + { + armor=-15; // old value 0.5 + passThrough=0.2; // old value 0.30000001 + minimalHit=0.1; // old value 0.23999999 + explosionShielding=0.2; // old value 0.2 + }; + class HitLTrack: HitLTrack + { + armor=0.30000001; // old value 0.5 + passThrough=0; // old value 0 + minimalHit=0.15000001; // old value 0.079999998 + explosionShielding=0.40000001; // old value 1.4400001 + }; + class HitRTrack: HitRTrack + { + armor=0.30000001; // old value 0.5 + passThrough=0; // old value 0 + minimalHit=0.15000001; // old value 0.079999998 + explosionShielding=0.40000001; // old value 1.4400001 + }; + class HitFuel: HitFuel + { + armor=0.5; + passThrough=0.1; // old value 0.15000001 + minimalHit=0.1; + explosionShielding=0.60000002; + }; + class HitArmor + { + armor=0.5; + passThrough=0.5; + minimalHit=0.1; + explosionShielding=2; + isTurret=0; + }; + }; + class Turrets: Turrets + { + class MainTurret: MainTurret + { + class Turrets: Turrets + { + class CommanderOptics: CommanderOptics + { + class HitPoints + { + class HitComTurret + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_turret"; + name="vezVelitele"; + visual="vezVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isTurret=1; + }; + class HitComGun + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_gun"; + name="zbranVelitele"; + visual="zbranVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isGun=1; + }; + }; + selectionFireAnim="muzzleflash_HMG"; + }; + }; + class HitPoints + { + class HitTurret + { + armor=2; // old value 1.2 + passThrough=0; + minimalHit=0.30000001; // old value 0.1 + explosionShielding=0.0089999996; // old value 0.30000001 + }; + class HitGun + { + armor=0.60000002; // old value 0.80000001 + passThrough=0; + minimalHit=0.15000001; // old value 0 + explosionShielding=0.40000001; // old value 0.40000001 + }; + }; + }; + }; + }; + class O_ZTQ15: ZTQ15_base {} + class O_ZTQ15B: O_ZTQ15 {} - // ZTZ96B + // ZTZ96A & ZTZ96B + class ZTZ96A_base: Tank_F + { + damageResistance=0.02; + crewVulnerable=0; + armor=700; + armorStructural=6; + class HitPoints: HitPoints + { + class HitHull: HitHull + { + armor=1.8; // old value 0.60000002 + passThrough=1; // old value 0.5 + minimalHit=0.30000001; // old value 0.14 + explosionShielding=0.0089999996; // old value 2 + }; + class HitEngine: HitEngine + { + armor=0.40000001; // old value 0.5 + passThrough=0.2; // old value 0.30000001 + minimalHit=0.2; // old value 0.23999999 + explosionShielding=0.2; // old value 0.2 + }; + class HitLTrack: HitLTrack + { + armor=0.30000001; // old value 0.5 + passThrough=0; + minimalHit=0.15000001; // old value 0.079999998 + explosionShielding=0.40000001; // old value 1.4400001 + }; + class HitRTrack: HitRTrack + { + armor=0.30000001; // old value 0.5 + passThrough=0; + minimalHit=0.15000001; // old value 0.079999998 + explosionShielding=0.40000001; // old value 1.4400001 + }; + class HitFuel: HitFuel + { + armor=0.30000001; // value 0.5 + passThrough=0.1; // old value 0.30000001 + minimalHit=0.1; // old value 0.1 + explosionShielding=0.60000002; // old value 0.60000002 + }; + class HitArmor + { + armor=0.5; + passThrough=0.5; + minimalHit=0.1; + explosionShielding=2; + isTurret=0; + }; + }; + class Turrets: Turrets + { + class MainTurret: MainTurret + { + class Turrets: Turrets + { + class CommanderOptics: CommanderOptics + { + class HitPoints + { + class HitComTurret + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_turret"; + name="vezVelitele"; + visual="vezVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isTurret=1; + }; + class HitComGun + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_gun"; + name="zbranVelitele"; + visual="zbranVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isGun=1; + }; + }; + }; + }; + class HitPoints + { + class HitTurret + { + armor=0.30000001; // old value 1.2 + passThrough=0; + minimalHit=0.1; + explosionShielding=0.2; // old value 0.30000001 + }; + class HitGun + { + armor=0.60000002; // old value 0.80000001 + passThrough=0; + minimalHit=0.1; // old value 0 + explosionShielding=0.40000001; + }; + }; + }; + }; + }; + class O_ZTZ96A: ZTZ96A_base {}; + // and because i am lazy, this inherits from ZTZ96A + class ZTZ96B_base: ZTZ96A_base {}; + class O_ZTZ96B: ZTZ96B_base {}; - // ZTZ99 + // ZTZ99 & ZTZ99A class ZTZ99_base: Tank_F { damageResistance=0.02; @@ -719,9 +942,9 @@ class CfgVehicles { }; }; }; - class O_ZTZ99_base: ZTZ99_base {}; - class O_ZTZ99 : O_ZTZ99_base {}; - - // ZTZ99A + class O_ZTZ99: ZTZ99_base {}; + // and because i am lazy again, this inherits from ZTZ99 + class ZTZ99A_base: ZTZ99_base {}; + class O_ZTZ99A: ZTZ99A_base {}; }; \ No newline at end of file From 91994f5f14871cf99216c910bcbbac2a25ac322b Mon Sep 17 00:00:00 2001 From: watermelon-0302 Date: Tue, 6 Aug 2024 02:12:07 +0700 Subject: [PATCH 03/12] semicolon fix --- addons/miscFixes/patchPLA/config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/miscFixes/patchPLA/config.cpp b/addons/miscFixes/patchPLA/config.cpp index 8ead10902..56181a2fb 100644 --- a/addons/miscFixes/patchPLA/config.cpp +++ b/addons/miscFixes/patchPLA/config.cpp @@ -706,8 +706,8 @@ class CfgVehicles { }; }; }; - class O_ZTQ15: ZTQ15_base {} - class O_ZTQ15B: O_ZTQ15 {} + class O_ZTQ15: ZTQ15_base {}; + class O_ZTQ15B: O_ZTQ15 {}; // ZTZ96A & ZTZ96B class ZTZ96A_base: Tank_F From 27d2127879c75d8d6b71ca58a14260fd07c83272 Mon Sep 17 00:00:00 2001 From: AChesheireCat Date: Thu, 15 Aug 2024 22:38:42 -0400 Subject: [PATCH 04/12] Formatting + Line Culling + Adjustment to Vanilla equivalent values Updated the ZTZ99 code to be in-line with POTATO code format/syntax, culled extraneous lines that either did not modify the original value or was included erroneously, and adjusted the values to be in-line with the Vanilla T-14 Armata. --- addons/miscFixes/patchPLA/config.cpp | 624 +++++++++++++-------------- 1 file changed, 292 insertions(+), 332 deletions(-) diff --git a/addons/miscFixes/patchPLA/config.cpp b/addons/miscFixes/patchPLA/config.cpp index 56181a2fb..188c572d3 100644 --- a/addons/miscFixes/patchPLA/config.cpp +++ b/addons/miscFixes/patchPLA/config.cpp @@ -595,356 +595,316 @@ class CfgVehicles { // ZTQ15 & ZTQ15B class ZTQ15_base: Tank_F - { - damageResistance=0.0049999999; // old value 0.02 - crewVulnerable=1; // old value 0 - armor=500; // old value 600 - armorStructural=4; // old value 6 - class HitPoints: HitPoints - { - class HitHull: HitHull - { - armor=1.6; // old value 0.80000001 - passThrough=1; // old value 0.89999998 - minimalHit=0.30000001; // old value 0.14 - explosionShielding=0.0089999996; // old value 2 - }; - class HitEngine: HitEngine - { - armor=-15; // old value 0.5 - passThrough=0.2; // old value 0.30000001 - minimalHit=0.1; // old value 0.23999999 - explosionShielding=0.2; // old value 0.2 - }; - class HitLTrack: HitLTrack - { - armor=0.30000001; // old value 0.5 - passThrough=0; // old value 0 - minimalHit=0.15000001; // old value 0.079999998 - explosionShielding=0.40000001; // old value 1.4400001 - }; - class HitRTrack: HitRTrack - { - armor=0.30000001; // old value 0.5 - passThrough=0; // old value 0 - minimalHit=0.15000001; // old value 0.079999998 - explosionShielding=0.40000001; // old value 1.4400001 - }; - class HitFuel: HitFuel - { - armor=0.5; - passThrough=0.1; // old value 0.15000001 - minimalHit=0.1; - explosionShielding=0.60000002; - }; - class HitArmor - { - armor=0.5; - passThrough=0.5; - minimalHit=0.1; - explosionShielding=2; - isTurret=0; - }; - }; - class Turrets: Turrets - { - class MainTurret: MainTurret - { - class Turrets: Turrets - { - class CommanderOptics: CommanderOptics - { - class HitPoints - { - class HitComTurret - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_turret"; - name="vezVelitele"; - visual="vezVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isTurret=1; - }; - class HitComGun - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_gun"; - name="zbranVelitele"; - visual="zbranVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isGun=1; - }; - }; - selectionFireAnim="muzzleflash_HMG"; - }; - }; - class HitPoints - { - class HitTurret - { - armor=2; // old value 1.2 - passThrough=0; - minimalHit=0.30000001; // old value 0.1 - explosionShielding=0.0089999996; // old value 0.30000001 - }; - class HitGun - { - armor=0.60000002; // old value 0.80000001 - passThrough=0; - minimalHit=0.15000001; // old value 0 - explosionShielding=0.40000001; // old value 0.40000001 - }; - }; - }; - }; - }; + { + damageResistance=0.0049999999; // old value 0.02 + crewVulnerable=1; // old value 0 + armor=500; // old value 600 + armorStructural=4; // old value 6 + class HitPoints: HitPoints + { + class HitHull: HitHull + { + armor=1.6; // old value 0.80000001 + passThrough=1; // old value 0.89999998 + minimalHit=0.30000001; // old value 0.14 + explosionShielding=0.0089999996; // old value 2 + }; + class HitEngine: HitEngine + { + armor=-15; // old value 0.5 + passThrough=0.2; // old value 0.30000001 + minimalHit=0.1; // old value 0.23999999 + explosionShielding=0.2; // old value 0.2 + }; + class HitLTrack: HitLTrack + { + armor=0.30000001; // old value 0.5 + passThrough=0; // old value 0 + minimalHit=0.15000001; // old value 0.079999998 + explosionShielding=0.40000001; // old value 1.4400001 + }; + class HitRTrack: HitRTrack + { + armor=0.30000001; // old value 0.5 + passThrough=0; // old value 0 + minimalHit=0.15000001; // old value 0.079999998 + explosionShielding=0.40000001; // old value 1.4400001 + }; + class HitFuel: HitFuel + { + armor=0.5; + passThrough=0.1; // old value 0.15000001 + minimalHit=0.1; + explosionShielding=0.60000002; + }; + class HitArmor + { + armor=0.5; + passThrough=0.5; + minimalHit=0.1; + explosionShielding=2; + isTurret=0; + }; + }; + class Turrets: Turrets + { + class MainTurret: MainTurret + { + class Turrets: Turrets + { + class CommanderOptics: CommanderOptics + { + class HitPoints + { + class HitComTurret + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_turret"; + name="vezVelitele"; + visual="vezVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isTurret=1; + }; + class HitComGun + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_gun"; + name="zbranVelitele"; + visual="zbranVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isGun=1; + }; + }; + selectionFireAnim="muzzleflash_HMG"; + }; + }; + class HitPoints + { + class HitTurret + { + armor=2; // old value 1.2 + passThrough=0; + minimalHit=0.30000001; // old value 0.1 + explosionShielding=0.0089999996; // old value 0.30000001 + }; + class HitGun + { + armor=0.60000002; // old value 0.80000001 + passThrough=0; + minimalHit=0.15000001; // old value 0 + explosionShielding=0.40000001; // old value 0.40000001 + }; + }; + }; + }; + }; class O_ZTQ15: ZTQ15_base {}; class O_ZTQ15B: O_ZTQ15 {}; // ZTZ96A & ZTZ96B class ZTZ96A_base: Tank_F - { - damageResistance=0.02; - crewVulnerable=0; - armor=700; - armorStructural=6; - class HitPoints: HitPoints - { - class HitHull: HitHull - { - armor=1.8; // old value 0.60000002 - passThrough=1; // old value 0.5 - minimalHit=0.30000001; // old value 0.14 - explosionShielding=0.0089999996; // old value 2 - }; - class HitEngine: HitEngine - { - armor=0.40000001; // old value 0.5 - passThrough=0.2; // old value 0.30000001 - minimalHit=0.2; // old value 0.23999999 - explosionShielding=0.2; // old value 0.2 - }; - class HitLTrack: HitLTrack - { - armor=0.30000001; // old value 0.5 - passThrough=0; - minimalHit=0.15000001; // old value 0.079999998 - explosionShielding=0.40000001; // old value 1.4400001 - }; - class HitRTrack: HitRTrack - { - armor=0.30000001; // old value 0.5 - passThrough=0; - minimalHit=0.15000001; // old value 0.079999998 - explosionShielding=0.40000001; // old value 1.4400001 - }; - class HitFuel: HitFuel - { - armor=0.30000001; // value 0.5 - passThrough=0.1; // old value 0.30000001 - minimalHit=0.1; // old value 0.1 - explosionShielding=0.60000002; // old value 0.60000002 - }; - class HitArmor - { - armor=0.5; - passThrough=0.5; - minimalHit=0.1; - explosionShielding=2; - isTurret=0; - }; + { + damageResistance=0.02; + crewVulnerable=0; + armor=700; + armorStructural=6; + class HitPoints: HitPoints + { + class HitHull: HitHull + { + armor=1.8; // old value 0.60000002 + passThrough=1; // old value 0.5 + minimalHit=0.30000001; // old value 0.14 + explosionShielding=0.0089999996; // old value 2 + }; + class HitEngine: HitEngine + { + armor=0.40000001; // old value 0.5 + passThrough=0.2; // old value 0.30000001 + minimalHit=0.2; // old value 0.23999999 + explosionShielding=0.2; // old value 0.2 + }; + class HitLTrack: HitLTrack + { + armor=0.30000001; // old value 0.5 + passThrough=0; + minimalHit=0.15000001; // old value 0.079999998 + explosionShielding=0.40000001; // old value 1.4400001 + }; + class HitRTrack: HitRTrack + { + armor=0.30000001; // old value 0.5 + passThrough=0; + minimalHit=0.15000001; // old value 0.079999998 + explosionShielding=0.40000001; // old value 1.4400001 + }; + class HitFuel: HitFuel + { + armor=0.30000001; // value 0.5 + passThrough=0.1; // old value 0.30000001 + minimalHit=0.1; // old value 0.1 + explosionShielding=0.60000002; // old value 0.60000002 + }; + class HitArmor + { + armor=0.5; + passThrough=0.5; + minimalHit=0.1; + explosionShielding=2; + isTurret=0; + }; }; - class Turrets: Turrets - { - class MainTurret: MainTurret - { - class Turrets: Turrets - { - class CommanderOptics: CommanderOptics - { - class HitPoints - { - class HitComTurret - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_turret"; - name="vezVelitele"; - visual="vezVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isTurret=1; - }; - class HitComGun - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_gun"; - name="zbranVelitele"; - visual="zbranVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isGun=1; - }; - }; - }; - }; - class HitPoints - { - class HitTurret - { - armor=0.30000001; // old value 1.2 - passThrough=0; - minimalHit=0.1; - explosionShielding=0.2; // old value 0.30000001 - }; - class HitGun - { - armor=0.60000002; // old value 0.80000001 - passThrough=0; - minimalHit=0.1; // old value 0 - explosionShielding=0.40000001; - }; - }; - }; - }; - }; - class O_ZTZ96A: ZTZ96A_base {}; - // and because i am lazy, this inherits from ZTZ96A + class Turrets: Turrets + { + class MainTurret: MainTurret + { + class Turrets: Turrets + { + class CommanderOptics: CommanderOptics + { + class HitPoints + { + class HitComTurret + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_turret"; + name="vezVelitele"; + visual="vezVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isTurret=1; + }; + class HitComGun + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_gun"; + name="zbranVelitele"; + visual="zbranVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isGun=1; + }; + }; + }; + }; + class HitPoints + { + class HitTurret + { + armor=0.30000001; // old value 1.2 + passThrough=0; + minimalHit=0.1; + explosionShielding=0.2; // old value 0.30000001 + }; + class HitGun + { + armor=0.60000002; // old value 0.80000001 + passThrough=0; + minimalHit=0.1; // old value 0 + explosionShielding=0.40000001; + }; + }; + }; + }; + }; + class O_ZTZ96A: ZTZ96A_base {}; + // and because i am lazy, this inherits from ZTZ96A class ZTZ96B_base: ZTZ96A_base {}; class O_ZTZ96B: ZTZ96B_base {}; // ZTZ99 & ZTZ99A - class ZTZ99_base: Tank_F - { - damageResistance=0.02; - crewVulnerable=1; // old value 0 - armor=700; // old value 600 - armorStructural=4; // old value 6 - class HitPoints: HitPoints - { - class HitHull: HitHull - { - armor=1.8; // old value 1 - passThrough=1; // old value 0.75 - minimalHit=0.2; // old value 0.14 - explosionShielding=0.0089999996; // old value 2 - }; - class HitEngine: HitEngine - { - armor=0.69999999; // old value 0.5 - explosionShielding=0.015; // old value 2 - }; - class HitLTrack: HitLTrack - { - minimalHit=0.1; // old value 0.079999998 - explosionShielding=0.2; // old value 1.4400001 - }; - class HitRTrack: HitRTrack - { - minimalHit=0.1; // old value 0.079999998 - explosionShielding=0.2; // old value 1.4400001 - }; - class HitFuel: HitFuel - { - passThrough=0.40000001; // old value 0.15000001 - }; - class HitArmor - { + class ZTZ99_base: Tank_F { + damageResistance = 0.00547; + crewVulnerable = 1; // old value 0 + armor = 700; // old value 600 + armorStructural = 6; // old value 6 + class HitPoints: HitPoints { + class HitHull: HitHull { + armor = 2.5; // old value 1 + passThrough = 1; // old value 0.75 + minimalHit = 0.2; // old value 0.14 + explosionShielding = 0.2; // old value 2 + }; + class HitEngine: HitEngine { + armor = 0.6; // old value 0.5 + passThrough = 0.2; // formerly 0 + explosionShielding = 0.2; // old value 2 + }; + class HitLTrack: HitLTrack { + armor = -650; + minimalHit = 0.0738462; // old value 0.079999998 + explosionShielding = 0.8; // old value 1.4400001 + }; + class HitRTrack: HitRTrack { + armor = -650; + minimalHit = 0.0738462; // old value 0.079999998 + explosionShielding = 0.8; // old value 1.4400001 + }; + class HitFuel: HitFuel { + passThrough = 0.1; // old value 0.15000001 + }; + class HitArmor { armor = 0.5; passThrough = 0.5; minimalHit = 0.1; explosionShielding = 2; isTurret = 0; }; - }; - class Turrets: Turrets - { - class MainTurret: MainTurret - { - class Turrets: Turrets - { - class CommanderOptics: CommanderOptics - { - class HitPoints - { - class HitComTurret - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_turret"; - name="vezVelitele"; - visual="vezVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isTurret=1; - }; - class HitComGun - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_gun"; - name="zbranVelitele"; - visual="zbranVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isGun=1; - }; - }; - selectionFireAnim=""; - }; - }; - class HitPoints - { - class HitTurret - { - armor=0.30000001; // old value 1.2 - material=-1; - armorComponent="hit_main_turret"; - name="vez"; - visual=""; - passThrough=0; - minimalHit=0.1; - explosionShielding=0.2; // old value 0.30000001 - radius=0.1; - isTurret=1; - }; - class HitGun - { - armor=0.60000002; // old value 0.80000001 - material=-1; - armorComponent="hit_main_gun"; - name="zbran"; - visual=""; - passThrough=0; - minimalHit=0.1; // old value 0 - explosionShielding=0.40000001; - radius=0.1; - isGun=1; - }; - }; + class HitERA_Front { + armor = -200; // formerly -100 }; - }; - }; + }; + class Turrets: Turrets { + class MainTurret: MainTurret { + class Turrets: Turrets { + class CommanderOptics: CommanderOptics { + class HitPoints { + class HitComTurret { + armor = -500; // formerly 0.3 + minimalHit = 0.1; // formerly 0.03 + explosionShielding = 1; // formerly 0.6 + }; + class HitComGun { + armor = -300; // formerly 0.3 + minimalHit = 0.1; // formerly 0.03 + explosionShielding = 1; // formerly 0.6 + }; + }; + }; + }; + class HitPoints { + class HitTurret { + armor = 0.30000001; // old value 1.2 + passThrough = 0.25; // formerly 0 + minimalHit = 0.05; // formerly 0.1 + explosionShielding = 0.2; // old value 0.3 + }; + class HitGun { + armor = 0.60000002; // old value 0.8 + passThrough = 0; + minimalHit = 0.1; // old value 0 + explosionShielding = 0.40000001; + }; + }; + }; + }; + }; class O_ZTZ99: ZTZ99_base {}; - // and because i am lazy again, this inherits from ZTZ99 + // and because i am lazy again, this inherits from ZTZ99 class ZTZ99A_base: ZTZ99_base {}; class O_ZTZ99A: ZTZ99A_base {}; - }; \ No newline at end of file From 54521d157bf88787d4bcbbfc74cac38e6a7c9210 Mon Sep 17 00:00:00 2001 From: AChesheireCat Date: Sun, 8 Sep 2024 14:40:03 -0400 Subject: [PATCH 05/12] Revert "Formatting + Line Culling + Adjustment to Vanilla equivalent values" This reverts commit 27d2127879c75d8d6b71ca58a14260fd07c83272. --- addons/miscFixes/patchPLA/config.cpp | 624 ++++++++++++++------------- 1 file changed, 332 insertions(+), 292 deletions(-) diff --git a/addons/miscFixes/patchPLA/config.cpp b/addons/miscFixes/patchPLA/config.cpp index 188c572d3..56181a2fb 100644 --- a/addons/miscFixes/patchPLA/config.cpp +++ b/addons/miscFixes/patchPLA/config.cpp @@ -595,316 +595,356 @@ class CfgVehicles { // ZTQ15 & ZTQ15B class ZTQ15_base: Tank_F - { - damageResistance=0.0049999999; // old value 0.02 - crewVulnerable=1; // old value 0 - armor=500; // old value 600 - armorStructural=4; // old value 6 - class HitPoints: HitPoints - { - class HitHull: HitHull - { - armor=1.6; // old value 0.80000001 - passThrough=1; // old value 0.89999998 - minimalHit=0.30000001; // old value 0.14 - explosionShielding=0.0089999996; // old value 2 - }; - class HitEngine: HitEngine - { - armor=-15; // old value 0.5 - passThrough=0.2; // old value 0.30000001 - minimalHit=0.1; // old value 0.23999999 - explosionShielding=0.2; // old value 0.2 - }; - class HitLTrack: HitLTrack - { - armor=0.30000001; // old value 0.5 - passThrough=0; // old value 0 - minimalHit=0.15000001; // old value 0.079999998 - explosionShielding=0.40000001; // old value 1.4400001 - }; - class HitRTrack: HitRTrack - { - armor=0.30000001; // old value 0.5 - passThrough=0; // old value 0 - minimalHit=0.15000001; // old value 0.079999998 - explosionShielding=0.40000001; // old value 1.4400001 - }; - class HitFuel: HitFuel - { - armor=0.5; - passThrough=0.1; // old value 0.15000001 - minimalHit=0.1; - explosionShielding=0.60000002; - }; - class HitArmor - { - armor=0.5; - passThrough=0.5; - minimalHit=0.1; - explosionShielding=2; - isTurret=0; - }; - }; - class Turrets: Turrets - { - class MainTurret: MainTurret - { - class Turrets: Turrets - { - class CommanderOptics: CommanderOptics - { - class HitPoints - { - class HitComTurret - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_turret"; - name="vezVelitele"; - visual="vezVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isTurret=1; - }; - class HitComGun - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_gun"; - name="zbranVelitele"; - visual="zbranVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isGun=1; - }; - }; - selectionFireAnim="muzzleflash_HMG"; - }; - }; - class HitPoints - { - class HitTurret - { - armor=2; // old value 1.2 - passThrough=0; - minimalHit=0.30000001; // old value 0.1 - explosionShielding=0.0089999996; // old value 0.30000001 - }; - class HitGun - { - armor=0.60000002; // old value 0.80000001 - passThrough=0; - minimalHit=0.15000001; // old value 0 - explosionShielding=0.40000001; // old value 0.40000001 - }; - }; - }; - }; - }; + { + damageResistance=0.0049999999; // old value 0.02 + crewVulnerable=1; // old value 0 + armor=500; // old value 600 + armorStructural=4; // old value 6 + class HitPoints: HitPoints + { + class HitHull: HitHull + { + armor=1.6; // old value 0.80000001 + passThrough=1; // old value 0.89999998 + minimalHit=0.30000001; // old value 0.14 + explosionShielding=0.0089999996; // old value 2 + }; + class HitEngine: HitEngine + { + armor=-15; // old value 0.5 + passThrough=0.2; // old value 0.30000001 + minimalHit=0.1; // old value 0.23999999 + explosionShielding=0.2; // old value 0.2 + }; + class HitLTrack: HitLTrack + { + armor=0.30000001; // old value 0.5 + passThrough=0; // old value 0 + minimalHit=0.15000001; // old value 0.079999998 + explosionShielding=0.40000001; // old value 1.4400001 + }; + class HitRTrack: HitRTrack + { + armor=0.30000001; // old value 0.5 + passThrough=0; // old value 0 + minimalHit=0.15000001; // old value 0.079999998 + explosionShielding=0.40000001; // old value 1.4400001 + }; + class HitFuel: HitFuel + { + armor=0.5; + passThrough=0.1; // old value 0.15000001 + minimalHit=0.1; + explosionShielding=0.60000002; + }; + class HitArmor + { + armor=0.5; + passThrough=0.5; + minimalHit=0.1; + explosionShielding=2; + isTurret=0; + }; + }; + class Turrets: Turrets + { + class MainTurret: MainTurret + { + class Turrets: Turrets + { + class CommanderOptics: CommanderOptics + { + class HitPoints + { + class HitComTurret + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_turret"; + name="vezVelitele"; + visual="vezVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isTurret=1; + }; + class HitComGun + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_gun"; + name="zbranVelitele"; + visual="zbranVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isGun=1; + }; + }; + selectionFireAnim="muzzleflash_HMG"; + }; + }; + class HitPoints + { + class HitTurret + { + armor=2; // old value 1.2 + passThrough=0; + minimalHit=0.30000001; // old value 0.1 + explosionShielding=0.0089999996; // old value 0.30000001 + }; + class HitGun + { + armor=0.60000002; // old value 0.80000001 + passThrough=0; + minimalHit=0.15000001; // old value 0 + explosionShielding=0.40000001; // old value 0.40000001 + }; + }; + }; + }; + }; class O_ZTQ15: ZTQ15_base {}; class O_ZTQ15B: O_ZTQ15 {}; // ZTZ96A & ZTZ96B class ZTZ96A_base: Tank_F - { - damageResistance=0.02; - crewVulnerable=0; - armor=700; - armorStructural=6; - class HitPoints: HitPoints - { - class HitHull: HitHull - { - armor=1.8; // old value 0.60000002 - passThrough=1; // old value 0.5 - minimalHit=0.30000001; // old value 0.14 - explosionShielding=0.0089999996; // old value 2 - }; - class HitEngine: HitEngine - { - armor=0.40000001; // old value 0.5 - passThrough=0.2; // old value 0.30000001 - minimalHit=0.2; // old value 0.23999999 - explosionShielding=0.2; // old value 0.2 - }; - class HitLTrack: HitLTrack - { - armor=0.30000001; // old value 0.5 - passThrough=0; - minimalHit=0.15000001; // old value 0.079999998 - explosionShielding=0.40000001; // old value 1.4400001 - }; - class HitRTrack: HitRTrack - { - armor=0.30000001; // old value 0.5 - passThrough=0; - minimalHit=0.15000001; // old value 0.079999998 - explosionShielding=0.40000001; // old value 1.4400001 - }; - class HitFuel: HitFuel - { - armor=0.30000001; // value 0.5 - passThrough=0.1; // old value 0.30000001 - minimalHit=0.1; // old value 0.1 - explosionShielding=0.60000002; // old value 0.60000002 - }; - class HitArmor - { - armor=0.5; - passThrough=0.5; - minimalHit=0.1; - explosionShielding=2; - isTurret=0; - }; - }; - class Turrets: Turrets - { - class MainTurret: MainTurret - { - class Turrets: Turrets - { - class CommanderOptics: CommanderOptics - { - class HitPoints - { - class HitComTurret - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_turret"; - name="vezVelitele"; - visual="vezVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isTurret=1; - }; - class HitComGun - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_gun"; - name="zbranVelitele"; - visual="zbranVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isGun=1; - }; - }; - }; - }; - class HitPoints - { - class HitTurret - { - armor=0.30000001; // old value 1.2 - passThrough=0; - minimalHit=0.1; - explosionShielding=0.2; // old value 0.30000001 - }; - class HitGun - { - armor=0.60000002; // old value 0.80000001 - passThrough=0; - minimalHit=0.1; // old value 0 - explosionShielding=0.40000001; - }; - }; - }; + { + damageResistance=0.02; + crewVulnerable=0; + armor=700; + armorStructural=6; + class HitPoints: HitPoints + { + class HitHull: HitHull + { + armor=1.8; // old value 0.60000002 + passThrough=1; // old value 0.5 + minimalHit=0.30000001; // old value 0.14 + explosionShielding=0.0089999996; // old value 2 + }; + class HitEngine: HitEngine + { + armor=0.40000001; // old value 0.5 + passThrough=0.2; // old value 0.30000001 + minimalHit=0.2; // old value 0.23999999 + explosionShielding=0.2; // old value 0.2 + }; + class HitLTrack: HitLTrack + { + armor=0.30000001; // old value 0.5 + passThrough=0; + minimalHit=0.15000001; // old value 0.079999998 + explosionShielding=0.40000001; // old value 1.4400001 + }; + class HitRTrack: HitRTrack + { + armor=0.30000001; // old value 0.5 + passThrough=0; + minimalHit=0.15000001; // old value 0.079999998 + explosionShielding=0.40000001; // old value 1.4400001 + }; + class HitFuel: HitFuel + { + armor=0.30000001; // value 0.5 + passThrough=0.1; // old value 0.30000001 + minimalHit=0.1; // old value 0.1 + explosionShielding=0.60000002; // old value 0.60000002 + }; + class HitArmor + { + armor=0.5; + passThrough=0.5; + minimalHit=0.1; + explosionShielding=2; + isTurret=0; + }; }; - }; - class O_ZTZ96A: ZTZ96A_base {}; - // and because i am lazy, this inherits from ZTZ96A + class Turrets: Turrets + { + class MainTurret: MainTurret + { + class Turrets: Turrets + { + class CommanderOptics: CommanderOptics + { + class HitPoints + { + class HitComTurret + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_turret"; + name="vezVelitele"; + visual="vezVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isTurret=1; + }; + class HitComGun + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_gun"; + name="zbranVelitele"; + visual="zbranVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isGun=1; + }; + }; + }; + }; + class HitPoints + { + class HitTurret + { + armor=0.30000001; // old value 1.2 + passThrough=0; + minimalHit=0.1; + explosionShielding=0.2; // old value 0.30000001 + }; + class HitGun + { + armor=0.60000002; // old value 0.80000001 + passThrough=0; + minimalHit=0.1; // old value 0 + explosionShielding=0.40000001; + }; + }; + }; + }; + }; + class O_ZTZ96A: ZTZ96A_base {}; + // and because i am lazy, this inherits from ZTZ96A class ZTZ96B_base: ZTZ96A_base {}; class O_ZTZ96B: ZTZ96B_base {}; // ZTZ99 & ZTZ99A - class ZTZ99_base: Tank_F { - damageResistance = 0.00547; - crewVulnerable = 1; // old value 0 - armor = 700; // old value 600 - armorStructural = 6; // old value 6 - class HitPoints: HitPoints { - class HitHull: HitHull { - armor = 2.5; // old value 1 - passThrough = 1; // old value 0.75 - minimalHit = 0.2; // old value 0.14 - explosionShielding = 0.2; // old value 2 - }; - class HitEngine: HitEngine { - armor = 0.6; // old value 0.5 - passThrough = 0.2; // formerly 0 - explosionShielding = 0.2; // old value 2 - }; - class HitLTrack: HitLTrack { - armor = -650; - minimalHit = 0.0738462; // old value 0.079999998 - explosionShielding = 0.8; // old value 1.4400001 - }; - class HitRTrack: HitRTrack { - armor = -650; - minimalHit = 0.0738462; // old value 0.079999998 - explosionShielding = 0.8; // old value 1.4400001 - }; - class HitFuel: HitFuel { - passThrough = 0.1; // old value 0.15000001 - }; - class HitArmor { + class ZTZ99_base: Tank_F + { + damageResistance=0.02; + crewVulnerable=1; // old value 0 + armor=700; // old value 600 + armorStructural=4; // old value 6 + class HitPoints: HitPoints + { + class HitHull: HitHull + { + armor=1.8; // old value 1 + passThrough=1; // old value 0.75 + minimalHit=0.2; // old value 0.14 + explosionShielding=0.0089999996; // old value 2 + }; + class HitEngine: HitEngine + { + armor=0.69999999; // old value 0.5 + explosionShielding=0.015; // old value 2 + }; + class HitLTrack: HitLTrack + { + minimalHit=0.1; // old value 0.079999998 + explosionShielding=0.2; // old value 1.4400001 + }; + class HitRTrack: HitRTrack + { + minimalHit=0.1; // old value 0.079999998 + explosionShielding=0.2; // old value 1.4400001 + }; + class HitFuel: HitFuel + { + passThrough=0.40000001; // old value 0.15000001 + }; + class HitArmor + { armor = 0.5; passThrough = 0.5; minimalHit = 0.1; explosionShielding = 2; isTurret = 0; }; - class HitERA_Front { - armor = -200; // formerly -100 + }; + class Turrets: Turrets + { + class MainTurret: MainTurret + { + class Turrets: Turrets + { + class CommanderOptics: CommanderOptics + { + class HitPoints + { + class HitComTurret + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_turret"; + name="vezVelitele"; + visual="vezVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isTurret=1; + }; + class HitComGun + { + armor=0.30000001; + material=-1; + armorComponent="hit_com_gun"; + name="zbranVelitele"; + visual="zbranVelitele"; + passThrough=0; + minimalHit=0.029999999; + explosionShielding=0.60000002; + radius=0.25; + isGun=1; + }; + }; + selectionFireAnim=""; + }; + }; + class HitPoints + { + class HitTurret + { + armor=0.30000001; // old value 1.2 + material=-1; + armorComponent="hit_main_turret"; + name="vez"; + visual=""; + passThrough=0; + minimalHit=0.1; + explosionShielding=0.2; // old value 0.30000001 + radius=0.1; + isTurret=1; + }; + class HitGun + { + armor=0.60000002; // old value 0.80000001 + material=-1; + armorComponent="hit_main_gun"; + name="zbran"; + visual=""; + passThrough=0; + minimalHit=0.1; // old value 0 + explosionShielding=0.40000001; + radius=0.1; + isGun=1; + }; + }; }; - }; - class Turrets: Turrets { - class MainTurret: MainTurret { - class Turrets: Turrets { - class CommanderOptics: CommanderOptics { - class HitPoints { - class HitComTurret { - armor = -500; // formerly 0.3 - minimalHit = 0.1; // formerly 0.03 - explosionShielding = 1; // formerly 0.6 - }; - class HitComGun { - armor = -300; // formerly 0.3 - minimalHit = 0.1; // formerly 0.03 - explosionShielding = 1; // formerly 0.6 - }; - }; - }; - }; - class HitPoints { - class HitTurret { - armor = 0.30000001; // old value 1.2 - passThrough = 0.25; // formerly 0 - minimalHit = 0.05; // formerly 0.1 - explosionShielding = 0.2; // old value 0.3 - }; - class HitGun { - armor = 0.60000002; // old value 0.8 - passThrough = 0; - minimalHit = 0.1; // old value 0 - explosionShielding = 0.40000001; - }; - }; - }; - }; - }; + }; + }; class O_ZTZ99: ZTZ99_base {}; - // and because i am lazy again, this inherits from ZTZ99 + // and because i am lazy again, this inherits from ZTZ99 class ZTZ99A_base: ZTZ99_base {}; class O_ZTZ99A: ZTZ99A_base {}; + }; \ No newline at end of file From 0f677fc5f2ac8227b119d552f96c3d92bc49a402 Mon Sep 17 00:00:00 2001 From: AChesheireCat Date: Sun, 8 Sep 2024 15:36:45 -0400 Subject: [PATCH 06/12] Adjusted Values + Syntax Fix + Inheritance Break Fix + CSK181 Values Fix --- addons/miscFixes/patchPLA/config.cpp | 1338 +++++++++++++------------- 1 file changed, 676 insertions(+), 662 deletions(-) diff --git a/addons/miscFixes/patchPLA/config.cpp b/addons/miscFixes/patchPLA/config.cpp index 56181a2fb..f2fbef0ad 100644 --- a/addons/miscFixes/patchPLA/config.cpp +++ b/addons/miscFixes/patchPLA/config.cpp @@ -4,20 +4,21 @@ class CfgPatches { class ADDON { - weapons[] = {}; - units[] = {"O_ZBL09", "O_ZTL11", "O_ZBD04A", "O_ZBD05","O_ZTD05", "O_ZTQ15","O_ZTQ15B","O_ZTZ96A","O_ZTZ96B","O_ZTZ99","O_ZTZ99A"}; - requiredVersion = REQUIRED_VERSION; - requiredAddons[] = {"ZBL09_LK", "ZTL11_LK", "ZBD04_LK", "ZBD05_LK", "ZTD05_LK", "ZTQ15_LK", "ZTZ96_c_LK", "ZTZ96A_LK", "ZTZ96B_LK", "ZTZ99_LK", "ZTZ99A_LK"}; - skipWhenMissingDependencies = 1; - author = "Potato"; - authors[] = {"Chesheire","watermelon"}; - authorUrl = "https://github.com/BourbonWarfare/POTATO"; + weapons[] = {}; + units[] = {"O_ZBL09", "O_ZTL11", "O_ZBD04A", "O_ZBD05","O_ZTD05", "O_ZTQ15","O_ZTQ15B","O_ZTZ96A","O_ZTZ96B","O_ZTZ99","O_ZTZ99A"}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = {"ZBL09_LK", "ZTL11_LK", "ZBD04_LK", "ZBD05_LK", "ZTD05_LK", "ZTQ15_LK", "ZTZ96_c_LK", "ZTZ96A_LK", "ZTZ96B_LK", "ZTZ99_LK", "ZTZ99A_LK"}; + skipWhenMissingDependencies = 1; + author = "Potato"; + authors[] = {"Chesheire","watermelon"}; + authorUrl = "https://github.com/BourbonWarfare/POTATO"; VERSION_CONFIG; }; }; class CfgVehicles { - class Car; + class LandVehicle; + class Car: LandVehicle {}; class Car_F: Car { class HitPoints { class HitBody; @@ -68,94 +69,94 @@ class CfgVehicles { }; }; class ZBL09_base: Wheeled_APC_F { - damageResistance = 0.02; - crewVulnerable = 1; //formerly 0 - armor = 480; //formerly 500 -> 270? - armorStructural = 5; + damageResistance = 0.02; + crewVulnerable = 1; //formerly 0 + armor = 480; //formerly 500 -> 270? + armorStructural = 5; class HitPoints: HitPoints { class HitHull: HitHull { - armor = 2; - passThrough = 1; - minimalHit = 0.14; - explosionShielding = 0.2; - radius = 0.25; + armor = 2; + passThrough = 1; + minimalHit = 0.14; + explosionShielding = 0.2; + radius = 0.25; }; class HitEngine: HitEngine { - armor = 1.25; - passThrough = 0.1; - minimalHit = 0.1; - explosionShielding = 0.5; - radius = 0.25; + armor = 1.25; + passThrough = 0.1; + minimalHit = 0.1; + explosionShielding = 0.5; + radius = 0.25; }; class HitLFWheel: HitLFWheel { - radius = 0.33; - armor = -250; //formerly -250 - minimalHit = -0.016; //formerly -0.016 - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; //formerly -250 + minimalHit = -0.016; //formerly -0.016 + explosionShielding = 4; + passThrough = 0; }; class HitLF2Wheel: HitLF2Wheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitLMWheel: HitLMWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitLBWheel: HitLBWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRFWheel: HitRFWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRF2Wheel: HitRF2Wheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRMWheel: HitRMWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRBWheel: HitRBWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitFuel: HitFuel { - armor = 0.75; - passThrough = 0.5; - minimalHit = 0.1; - explosionShielding = 0.6; - radius = 0.16; + armor = 0.75; + passThrough = 0.5; + minimalHit = 0.1; + explosionShielding = 0.6; + radius = 0.16; }; class HitArmor { - armor = 0.5; //formerly 10 - passThrough = 0.5; //formerly 0 (0.5 causes tires to transfer dmg to hull/turret?) - minimalHit = 0.1; - explosionShielding = 2; - radius = 0.1; + armor = 0.5; //formerly 10 + passThrough = 0.5; //formerly 0 (0.5 causes tires to transfer dmg to hull/turret?) + minimalHit = 0.1; + explosionShielding = 2; + radius = 0.1; }; }; class Turrets: Turrets { @@ -164,31 +165,31 @@ class CfgVehicles { class CommanderOptics: CommanderOptics { class HitPoints { class HitTurret { - armor = 0.3; - passThrough = 0; - minimalHit = 0.03; - explosionShielding = 0.6; - radius = 0.25; + armor = 0.3; + passThrough = 0; + minimalHit = 0.03; + explosionShielding = 0.6; + radius = 0.25; }; }; }; }; class HitPoints { class HitTurret { - armor = 1.5; //formerly 0.8 - passThrough = 0; //formerly 0 - minimalHit = 0.1; - explosionShielding = 0.2; - radius = 0.3; - isTurret = 1; + armor = 1.5; //formerly 0.8 + passThrough = 0; //formerly 0 + minimalHit = 0.1; + explosionShielding = 0.2; + radius = 0.3; + isTurret = 1; }; class HitGun { - armor = 1.5; - passThrough = 0; //formerly 0 - minimalHit = 0.1; - explosionShielding = 0.4; - radius = 0.25; - isGun = 1; + armor = 1.5; + passThrough = 0; //formerly 0 + minimalHit = 0.1; + explosionShielding = 0.4; + radius = 0.25; + isGun = 1; }; }; }; @@ -197,93 +198,93 @@ class CfgVehicles { class O_ZBL09_base: ZBL09_base {}; class O_ZBL09: O_ZBL09_base {}; class ZTL11_base: Wheeled_APC_F { - crewVulnerable = 1; //formerly 0 - armor = 480; //formerly 500 -> 270? - armorStructural = 5; + crewVulnerable = 1; //formerly 0 + armor = 480; //formerly 500 -> 270? + armorStructural = 5; class HitPoints: HitPoints { class HitHull: HitHull { - armor = 2; - passThrough = 1; - minimalHit = 0.14; - explosionShielding = 0.2; - radius = 0.25; + armor = 2; + passThrough = 1; + minimalHit = 0.14; + explosionShielding = 0.2; + radius = 0.25; }; class HitEngine: HitEngine { - armor = 1.25; - passThrough = 0.1; - minimalHit = 0.1; - explosionShielding = 0.5; - radius = 0.25; + armor = 1.25; + passThrough = 0.1; + minimalHit = 0.1; + explosionShielding = 0.5; + radius = 0.25; }; class HitLFWheel: HitLFWheel { - radius = 0.33; - armor = -250; //formerly -250 - minimalHit = -0.016; //formerly -0.016 - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; //formerly -250 + minimalHit = -0.016; //formerly -0.016 + explosionShielding = 4; + passThrough = 0; }; class HitLF2Wheel: HitLF2Wheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitLMWheel: HitLMWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitLBWheel: HitLBWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRFWheel: HitRFWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRF2Wheel: HitRF2Wheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRMWheel: HitRMWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRBWheel: HitRBWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitFuel: HitFuel { - armor = 0.75; - passThrough = 0.5; - minimalHit = 0.1; - explosionShielding = 0.6; - radius = 0.16; + armor = 0.75; + passThrough = 0.5; + minimalHit = 0.1; + explosionShielding = 0.6; + radius = 0.16; }; class HitArmor { - armor = 0.5; //formerly 10 - passThrough = 0.5; //formerly 0 (0.5 causes tires to transfer dmg to hull/turret?) - minimalHit = 0.1; - explosionShielding = 2; - radius = 0.1; + armor = 0.5; //formerly 10 + passThrough = 0.5; //formerly 0 (0.5 causes tires to transfer dmg to hull/turret?) + minimalHit = 0.1; + explosionShielding = 2; + radius = 0.1; }; }; class Turrets: Turrets { @@ -292,31 +293,31 @@ class CfgVehicles { class CommanderOptics: CommanderOptics { class HitPoints { class HitTurret { - armor = 0.3; - passThrough = 0; - minimalHit = 0.03; - explosionShielding = 0.6; - radius = 0.25; + armor = 0.3; + passThrough = 0; + minimalHit = 0.03; + explosionShielding = 0.6; + radius = 0.25; }; }; }; }; class HitPoints { class HitTurret { - armor = 1.5; //formerly 0.8 - passThrough = 0; //formerly 0 - minimalHit = 0.1; - explosionShielding = 0.2; - radius = 0.3; - isTurret = 1; + armor = 1.5; //formerly 0.8 + passThrough = 0; //formerly 0 + minimalHit = 0.1; + explosionShielding = 0.2; + radius = 0.3; + isTurret = 1; }; class HitGun { - armor = 1.5; - passThrough = 0; //formerly 0 - minimalHit = 0.1; - explosionShielding = 0.4; - radius = 0.25; - isGun = 1; + armor = 1.5; + passThrough = 0; //formerly 0 + minimalHit = 0.1; + explosionShielding = 0.4; + radius = 0.25; + isGun = 1; }; }; }; @@ -324,48 +325,48 @@ class CfgVehicles { }; class O_ZTL11: ZTL11_base {}; class ZBD04A_base: Tank_F { - damageResistance = 0.02; - crewVulnerable = 1; - armor = 500; - armorStructural = 6; + damageResistance = 0.02; + crewVulnerable = 1; + armor = 500; + armorStructural = 6; class HitPoints: HitPoints { class HitHull: HitHull { - armor = 1; - passThrough = 1; - minimalHit = 0.2; - explosionShielding = 0.2; + armor = 1; + passThrough = 1; + minimalHit = 0.2; + explosionShielding = 0.2; }; class HitEngine: HitEngine { - armor = 0.8; - passThrough = 0.2; - minimalHit = 0.2; - explosionShielding = 0.2; + armor = 0.8; + passThrough = 0.2; + minimalHit = 0.2; + explosionShielding = 0.2; }; class HitLTrack: HitLTrack { - armor = -400; - passThrough = 0; - minimalHit = 0.09; - explosionShielding = 0.8; + armor = -400; + passThrough = 0; + minimalHit = 0.09; + explosionShielding = 0.8; }; class HitRTrack: HitRTrack { - armor = -400; - passThrough = 0; - minimalHit = 0.09; - explosionShielding = 0.8; + armor = -400; + passThrough = 0; + minimalHit = 0.09; + explosionShielding = 0.8; }; class HitFuel: HitFuel { - armor = 0.5; - passThrough = 0.1; - minimalHit = 0.1; - explosionShielding = 0.6; + armor = 0.5; + passThrough = 0.1; + minimalHit = 0.1; + explosionShielding = 0.6; }; class HitArmor { - armor = 0.5; - passThrough = 0.5; - minimalHit = 0.1; - explosionShielding = 2; - isTurret = 0; + armor = 0.5; + passThrough = 0.5; + minimalHit = 0.1; + explosionShielding = 2; + isTurret = 0; }; }; class Turrets: Turrets { @@ -374,36 +375,36 @@ class CfgVehicles { class CommanderOptics: CommanderOptics { class HitPoints { class HitComTurret { - armor = 0.08; - passThrough = 0.4; - minimalHit = 0.1; - explosionShielding = 1; - isTurret = 1; + armor = 0.08; + passThrough = 0.4; + minimalHit = 0.1; + explosionShielding = 1; + isTurret = 1; }; class HitComGun { - armor = 0.04; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 1; - isGun = 1; + armor = 0.04; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 1; + isGun = 1; }; }; }; }; class HitPoints { class HitTurret { - armor = 0.8; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 0.2; - isTurret = 1; + armor = 0.8; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 0.2; + isTurret = 1; }; class HitGun { - armor = 0.6; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 0.4; - isGun = 1; + armor = 0.6; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 0.4; + isGun = 1; }; }; }; @@ -412,48 +413,48 @@ class CfgVehicles { class O_ZBD04A_base: ZBD04A_base {}; class O_ZBD04A: O_ZBD04A_base {}; class ZBD05_base: Tank_F { - damageResistance = 0.02; - crewVulnerable = 1; - armor = 500; - armorStructural = 6; + damageResistance = 0.02; + crewVulnerable = 1; + armor = 500; + armorStructural = 6; class HitPoints: HitPoints { class HitHull: HitHull { - armor = 1; - passThrough = 1; - minimalHit = 0.2; - explosionShielding = 0.2; + armor = 1; + passThrough = 1; + minimalHit = 0.2; + explosionShielding = 0.2; }; class HitEngine: HitEngine { - armor = 0.8; - passThrough = 0.2; - minimalHit = 0.2; - explosionShielding = 0.2; + armor = 0.8; + passThrough = 0.2; + minimalHit = 0.2; + explosionShielding = 0.2; }; class HitLTrack: HitLTrack { - armor = -400; - passThrough = 0; - minimalHit = 0.09; - explosionShielding = 0.8; + armor = -400; + passThrough = 0; + minimalHit = 0.09; + explosionShielding = 0.8; }; class HitRTrack: HitRTrack { - armor = -400; - passThrough = 0; - minimalHit = 0.09; - explosionShielding = 0.8; + armor = -400; + passThrough = 0; + minimalHit = 0.09; + explosionShielding = 0.8; }; class HitFuel: HitFuel { - armor = 0.5; - passThrough = 0.1; - minimalHit = 0.1; - explosionShielding = 0.6; + armor = 0.5; + passThrough = 0.1; + minimalHit = 0.1; + explosionShielding = 0.6; }; class HitArmor { - armor = 0.5; - passThrough = 0.5; - minimalHit = 0.1; - explosionShielding = 2; - isTurret = 0; + armor = 0.5; + passThrough = 0.5; + minimalHit = 0.1; + explosionShielding = 2; + isTurret = 0; }; }; class Turrets: Turrets { @@ -462,36 +463,36 @@ class CfgVehicles { class CommanderOptics: CommanderOptics { class HitPoints { class HitComTurret { - armor = 0.08; - passThrough = 0.4; - minimalHit = 0.1; - explosionShielding = 1; - isTurret = 1; + armor = 0.08; + passThrough = 0.4; + minimalHit = 0.1; + explosionShielding = 1; + isTurret = 1; }; class HitComGun { - armor = 0.04; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 1; - isGun = 1; + armor = 0.04; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 1; + isGun = 1; }; }; }; }; class HitPoints { class HitTurret { - armor = 0.8; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 0.2; - isTurret = 1; + armor = 0.8; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 0.2; + isTurret = 1; }; class HitGun { - armor = 0.6; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 0.4; - isGun = 1; + armor = 0.6; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 0.4; + isGun = 1; }; }; }; @@ -499,48 +500,48 @@ class CfgVehicles { }; class O_ZBD05: ZBD05_base {}; class ZTD05_base: Tank_F { - damageResistance = 0.02; - crewVulnerable = 1; - armor = 500; - armorStructural = 6; + damageResistance = 0.02; + crewVulnerable = 1; + armor = 500; + armorStructural = 6; class HitPoints: HitPoints { class HitHull: HitHull { - armor = 1; - passThrough = 1; - minimalHit = 0.2; - explosionShielding = 0.2; + armor = 1; + passThrough = 1; + minimalHit = 0.2; + explosionShielding = 0.2; }; class HitEngine: HitEngine { - armor = 0.8; - passThrough = 0.2; - minimalHit = 0.2; - explosionShielding = 0.2; + armor = 0.8; + passThrough = 0.2; + minimalHit = 0.2; + explosionShielding = 0.2; }; class HitLTrack: HitLTrack { - armor = -400; - passThrough = 0; - minimalHit = 0.09; - explosionShielding = 0.8; + armor = -400; + passThrough = 0; + minimalHit = 0.09; + explosionShielding = 0.8; }; class HitRTrack: HitRTrack { - armor = -400; - passThrough = 0; - minimalHit = 0.09; - explosionShielding = 0.8; + armor = -400; + passThrough = 0; + minimalHit = 0.09; + explosionShielding = 0.8; }; class HitFuel: HitFuel { - armor = 0.5; - passThrough = 0.1; - minimalHit = 0.1; - explosionShielding = 0.6; + armor = 0.5; + passThrough = 0.1; + minimalHit = 0.1; + explosionShielding = 0.6; }; class HitArmor { - armor = 0.5; - passThrough = 0.5; - minimalHit = 0.1; - explosionShielding = 2; - isTurret = 0; + armor = 0.5; + passThrough = 0.5; + minimalHit = 0.1; + explosionShielding = 2; + isTurret = 0; }; }; class Turrets: Turrets { @@ -549,36 +550,36 @@ class CfgVehicles { class CommanderOptics: CommanderOptics { class HitPoints { class HitComTurret { - armor = 0.08; - passThrough = 0.4; - minimalHit = 0.1; - explosionShielding = 1; - isTurret = 1; + armor = 0.08; + passThrough = 0.4; + minimalHit = 0.1; + explosionShielding = 1; + isTurret = 1; }; class HitComGun { - armor = 0.04; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 1; - isGun = 1; + armor = 0.04; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 1; + isGun = 1; }; }; }; }; class HitPoints { class HitTurret { - armor = 0.8; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 0.2; - isTurret = 1; + armor = 0.8; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 0.2; + isTurret = 1; }; class HitGun { - armor = 0.6; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 0.4; - isGun = 1; + armor = 0.6; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 0.4; + isGun = 1; }; }; }; @@ -589,362 +590,375 @@ class CfgVehicles { // watermelon's addition from here on out // list of changes: - // - ZTQ15 and ZTQ15B uses values of CUP T72 - // - ZTZ96_c, ZTZ96A and ZTZ96B uses values of CUP T90 - // - ZTZ99 and ZTZ99A uses values of CUP T90M + // - ZTQ15 and ZTQ15B uses values of vanilla BTR-K Kamysh + // - ZTZ96_c, ZTZ96A and ZTZ96B uses values of vanilla T-100 Varsuk + // - ZTZ99 and ZTZ99A uses values of vanilla Leopard 2SG // ZTQ15 & ZTQ15B - class ZTQ15_base: Tank_F - { - damageResistance=0.0049999999; // old value 0.02 - crewVulnerable=1; // old value 0 - armor=500; // old value 600 - armorStructural=4; // old value 6 - class HitPoints: HitPoints - { - class HitHull: HitHull - { - armor=1.6; // old value 0.80000001 - passThrough=1; // old value 0.89999998 - minimalHit=0.30000001; // old value 0.14 - explosionShielding=0.0089999996; // old value 2 - }; - class HitEngine: HitEngine - { - armor=-15; // old value 0.5 - passThrough=0.2; // old value 0.30000001 - minimalHit=0.1; // old value 0.23999999 - explosionShielding=0.2; // old value 0.2 - }; - class HitLTrack: HitLTrack - { - armor=0.30000001; // old value 0.5 - passThrough=0; // old value 0 - minimalHit=0.15000001; // old value 0.079999998 - explosionShielding=0.40000001; // old value 1.4400001 - }; - class HitRTrack: HitRTrack - { - armor=0.30000001; // old value 0.5 - passThrough=0; // old value 0 - minimalHit=0.15000001; // old value 0.079999998 - explosionShielding=0.40000001; // old value 1.4400001 - }; - class HitFuel: HitFuel - { - armor=0.5; - passThrough=0.1; // old value 0.15000001 - minimalHit=0.1; - explosionShielding=0.60000002; - }; - class HitArmor - { - armor=0.5; - passThrough=0.5; - minimalHit=0.1; - explosionShielding=2; - isTurret=0; - }; - }; - class Turrets: Turrets - { - class MainTurret: MainTurret - { - class Turrets: Turrets - { - class CommanderOptics: CommanderOptics - { - class HitPoints - { - class HitComTurret - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_turret"; - name="vezVelitele"; - visual="vezVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isTurret=1; - }; - class HitComGun - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_gun"; - name="zbranVelitele"; - visual="zbranVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isGun=1; - }; - }; - selectionFireAnim="muzzleflash_HMG"; - }; - }; - class HitPoints - { - class HitTurret - { - armor=2; // old value 1.2 - passThrough=0; - minimalHit=0.30000001; // old value 0.1 - explosionShielding=0.0089999996; // old value 0.30000001 - }; - class HitGun - { - armor=0.60000002; // old value 0.80000001 - passThrough=0; - minimalHit=0.15000001; // old value 0 - explosionShielding=0.40000001; // old value 0.40000001 - }; - }; - }; - }; - }; + class ZTQ15_base: Tank_F { + damageResistance = 0.00547; // old value 0.02 + crewVulnerable = 1; // old value 0 + armor = 500; // old value 600 + armorStructural = 6; // old value 6 + class HitPoints: HitPoints { + class HitHull: HitHull { + armor = 1; // old value 0.80000001 + passThrough = 1; // old value 0.89999998 + minimalHit = 0.2; // old value 0.14 + explosionShielding = 0.2; // old value 2 + }; + class HitEngine: HitEngine { + armor = 0.8; // old value 0.5 + passThrough = 0.2; // old value 0.30000001 + minimalHit = 0.2; // old value 0.23999999 + explosionShielding = 0.2; // old value 0.2 + }; + class HitLTrack: HitLTrack { + armor = -400; // old value 0.5 + minimalHit = 0.09; // old value 0.079999998 + explosionShielding = 0.8; // old value 1.4400001 + }; + class HitRTrack: HitRTrack { + armor = -400; // old value 0.5 + minimalHit = 0.09; // old value 0.079999998 + explosionShielding = 0.8; // old value 1.4400001 + }; + class HitFuel: HitFuel { + armor = 0.5; + passThrough = 0.1; // old value 0.15000001 + minimalHit = 0.1; + explosionShielding = 0.6; + }; + class HitArmor { + armor = 1; // was 0.5 + passThrough = 1; // was 0.5 + minimalHit = 0.2; // was 0.2 + explosionShielding = 0.2; // was 0.2 + }; + }; + class Turrets: Turrets { + class MainTurret: MainTurret { + class Turrets: Turrets { + class CommanderOptics: CommanderOptics { + class HitPoints { + class HitComTurret { + armor = 0.1; // was 0.3 + minimalHit = 0.1; // was 0.03 + explosionShielding = 1; // was 0.6 + }; + class HitComGun { + armor = 0.1; // was 0.3 + minimalHit = 0.1; // was 0.02 + explosionShielding = 1; // was 0.6 + }; + }; + }; + }; + class HitPoints { + class HitTurret { + armor = 0.8; // old value 1.2 + minimalHit = 0.1; // old value 0.1 + explosionShielding = 0.2; // old value 0.30000001 + }; + class HitGun { + armor = 0.6; // old value 0.80000001 + minimalHit = 0.1; // old value 0 + explosionShielding = 0.4; // old value 0.40000001 + }; + }; + }; + }; + }; class O_ZTQ15: ZTQ15_base {}; class O_ZTQ15B: O_ZTQ15 {}; // ZTZ96A & ZTZ96B - class ZTZ96A_base: Tank_F - { - damageResistance=0.02; - crewVulnerable=0; - armor=700; - armorStructural=6; - class HitPoints: HitPoints - { - class HitHull: HitHull - { - armor=1.8; // old value 0.60000002 - passThrough=1; // old value 0.5 - minimalHit=0.30000001; // old value 0.14 - explosionShielding=0.0089999996; // old value 2 - }; - class HitEngine: HitEngine - { - armor=0.40000001; // old value 0.5 - passThrough=0.2; // old value 0.30000001 - minimalHit=0.2; // old value 0.23999999 - explosionShielding=0.2; // old value 0.2 - }; - class HitLTrack: HitLTrack - { - armor=0.30000001; // old value 0.5 - passThrough=0; - minimalHit=0.15000001; // old value 0.079999998 - explosionShielding=0.40000001; // old value 1.4400001 - }; - class HitRTrack: HitRTrack - { - armor=0.30000001; // old value 0.5 - passThrough=0; - minimalHit=0.15000001; // old value 0.079999998 - explosionShielding=0.40000001; // old value 1.4400001 - }; - class HitFuel: HitFuel - { - armor=0.30000001; // value 0.5 - passThrough=0.1; // old value 0.30000001 - minimalHit=0.1; // old value 0.1 - explosionShielding=0.60000002; // old value 0.60000002 - }; - class HitArmor - { - armor=0.5; - passThrough=0.5; - minimalHit=0.1; - explosionShielding=2; - isTurret=0; - }; + class ZTZ96A_base: Tank_F { + damageResistance = 0.00389; // was 0.02 + crewVulnerable = 1; + armor = 850; // was 700 + armorStructural = 6; + class HitPoints: HitPoints { + class HitHull: HitHull { + armor = 1.2; // old value 0.60000002 + passThrough = 1; // old value 0.5 + minimalHit = 0.2; // old value 0.14 + explosionShielding = 0.2; // old value 2 + }; + class HitEngine: HitEngine { + armor = 0.55; // old value 0.5 + passThrough = 0.3; // old value 0.30000001 + minimalHit = 0.2; // old value 0.23999999 + }; + class HitLTrack: HitLTrack { + armor = -650; // old value 0.5 + minimalHit = 0.0738462; // old value 0.079999998 + explosionShielding = 0.8; // old value 1.4400001 + }; + class HitRTrack: HitRTrack { + armor = -650; // old value 0.5 + minimalHit = 0.0738462; // old value 0.079999998 + explosionShielding = 0.8; // old value 1.4400001 + }; + class HitFuel: HitFuel {}; + class HitArmor { + armor = 1.6; // was 0.5 + passThrough = 1; // was 0.5 + minimalHit = 0.2; // was 0.1 + explosionShielding = 0.2; // was 2 + }; + }; + class Turrets: Turrets { + class MainTurret: MainTurret { + class Turrets: Turrets { + class CommanderOptics: CommanderOptics { + class HitPoints { + class HitComTurret { + armor = 0.1; // was 0.3 + minimalHit = 0.1; // was 0.03 + explosionShielding = 0.2; // was 0.6 + }; + class HitComGun { + armor = 0.1; // was 0.3 + minimalHit = 0.1; // was 0.03 + explosionShielding = 0.4; // was 0.6 + }; + }; + }; + }; + class HitPoints { + class HitTurret { + armor = 0.8; // old value 1.2 + minimalHit = 0.1; + explosionShielding = 0.2; // old value 0.30000001 + }; + class HitGun { + armor = 0.8; // old value 0.80000001 + minimalHit = 0.1; // old value 0 + explosionShielding = 0.4; + }; + }; + }; }; - class Turrets: Turrets - { - class MainTurret: MainTurret - { - class Turrets: Turrets - { - class CommanderOptics: CommanderOptics - { - class HitPoints - { - class HitComTurret - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_turret"; - name="vezVelitele"; - visual="vezVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isTurret=1; - }; - class HitComGun - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_gun"; - name="zbranVelitele"; - visual="zbranVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isGun=1; - }; - }; - }; - }; - class HitPoints - { - class HitTurret - { - armor=0.30000001; // old value 1.2 - passThrough=0; - minimalHit=0.1; - explosionShielding=0.2; // old value 0.30000001 - }; - class HitGun - { - armor=0.60000002; // old value 0.80000001 - passThrough=0; - minimalHit=0.1; // old value 0 - explosionShielding=0.40000001; - }; - }; - }; - }; - }; - class O_ZTZ96A: ZTZ96A_base {}; - // and because i am lazy, this inherits from ZTZ96A - class ZTZ96B_base: ZTZ96A_base {}; + }; + class O_ZTZ96A: ZTZ96A_base {}; + class ZTZ96B_base: Tank_F { + damageResistance = 0.00389; // was 0.02 + crewVulnerable = 1; + armor = 850; // was 700 + armorStructural = 6; + class HitPoints: HitPoints { + class HitHull: HitHull { + armor = 1.2; // old value 0.60000002 + passThrough = 1; // old value 0.5 + minimalHit = 0.2; // old value 0.14 + explosionShielding = 0.2; // old value 2 + }; + class HitEngine: HitEngine { + armor = 0.55; // old value 0.5 + passThrough = 0.3; // old value 0.30000001 + minimalHit = 0.2; // old value 0.23999999 + }; + class HitLTrack: HitLTrack { + armor = -650; // old value 0.5 + minimalHit = 0.0738462; // old value 0.079999998 + explosionShielding = 0.8; // old value 1.4400001 + }; + class HitRTrack: HitRTrack { + armor = -650; // old value 0.5 + minimalHit = 0.0738462; // old value 0.079999998 + explosionShielding = 0.8; // old value 1.4400001 + }; + class HitFuel: HitFuel {}; + class HitArmor { + armor = 1.6; // was 0.5 + passThrough = 1; // was 0.5 + minimalHit = 0.2; // was 0.1 + explosionShielding = 0.2; // was 2 + }; + }; + class Turrets: Turrets { + class MainTurret: MainTurret { + class Turrets: Turrets { + class CommanderOptics: CommanderOptics { + class HitPoints { + class HitComTurret { + armor = 0.1; // was 0.3 + minimalHit = 0.1; // was 0.03 + explosionShielding = 0.2; // was 0.6 + }; + class HitComGun { + armor = 0.1; // was 0.3 + minimalHit = 0.1; // was 0.03 + explosionShielding = 0.4; // was 0.6 + }; + }; + }; + }; + class HitPoints { + class HitTurret { + armor = 0.8; // old value 1.2 + minimalHit = 0.1; + explosionShielding = 0.2; // old value 0.30000001 + }; + class HitGun { + armor = 0.8; // old value 0.80000001 + minimalHit = 0.1; // old value 0 + explosionShielding = 0.4; + }; + }; + }; + }; + }; class O_ZTZ96B: ZTZ96B_base {}; // ZTZ99 & ZTZ99A - class ZTZ99_base: Tank_F - { - damageResistance=0.02; - crewVulnerable=1; // old value 0 - armor=700; // old value 600 - armorStructural=4; // old value 6 - class HitPoints: HitPoints - { - class HitHull: HitHull - { - armor=1.8; // old value 1 - passThrough=1; // old value 0.75 - minimalHit=0.2; // old value 0.14 - explosionShielding=0.0089999996; // old value 2 - }; - class HitEngine: HitEngine - { - armor=0.69999999; // old value 0.5 - explosionShielding=0.015; // old value 2 - }; - class HitLTrack: HitLTrack - { - minimalHit=0.1; // old value 0.079999998 - explosionShielding=0.2; // old value 1.4400001 - }; - class HitRTrack: HitRTrack - { - minimalHit=0.1; // old value 0.079999998 - explosionShielding=0.2; // old value 1.4400001 - }; - class HitFuel: HitFuel - { - passThrough=0.40000001; // old value 0.15000001 - }; - class HitArmor - { - armor = 0.5; - passThrough = 0.5; - minimalHit = 0.1; - explosionShielding = 2; - isTurret = 0; - }; - }; - class Turrets: Turrets - { - class MainTurret: MainTurret - { - class Turrets: Turrets - { - class CommanderOptics: CommanderOptics - { - class HitPoints - { - class HitComTurret - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_turret"; - name="vezVelitele"; - visual="vezVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isTurret=1; - }; - class HitComGun - { - armor=0.30000001; - material=-1; - armorComponent="hit_com_gun"; - name="zbranVelitele"; - visual="zbranVelitele"; - passThrough=0; - minimalHit=0.029999999; - explosionShielding=0.60000002; - radius=0.25; - isGun=1; - }; - }; - selectionFireAnim=""; - }; - }; - class HitPoints - { - class HitTurret - { - armor=0.30000001; // old value 1.2 - material=-1; - armorComponent="hit_main_turret"; - name="vez"; - visual=""; - passThrough=0; - minimalHit=0.1; - explosionShielding=0.2; // old value 0.30000001 - radius=0.1; - isTurret=1; - }; - class HitGun - { - armor=0.60000002; // old value 0.80000001 - material=-1; - armorComponent="hit_main_gun"; - name="zbran"; - visual=""; - passThrough=0; - minimalHit=0.1; // old value 0 - explosionShielding=0.40000001; - radius=0.1; - isGun=1; - }; - }; - }; - }; - }; + class ZTZ99_base: Tank_F { + damageResistance = 0.00547; // was 0.02 + crewVulnerable = 1; // old value 0 + armor = 800; // old value 600 + class HitPoints: HitPoints { + class HitHull: HitHull { + armor = 1.6; // old value 1 + passThrough = 1; // old value 0.75 + minimalHit = 0.2; // old value 0.14 + explosionShielding = 0.2; // old value 2 + }; + class HitEngine: HitEngine { + armor = 0.6;// old value 0.5 + passThrough = 0.5; // was 0.3 + minimalHit = 0.2; // was 0.3 + }; + class HitLTrack: HitLTrack { + armor = -650; // was 0.5 + minimalHit = 0.0738462; // was 0.08 + explosionShielding = 0.8; // was 1.44 + }; + class HitRTrack: HitRTrack { + armor = -650; // was 0.5 + minimalHit = 0.0738462; // was 0.08 + explosionShielding = 0.8; // was 1.44 + }; + class HitFuel: HitFuel { + passThrough = 0.3; // was 0.15 + }; + class HitArmor { + armor = 1.6; // was 5 + passThrough = 1; // was 0 + minimalHit = 0.2; // was 0.1 + explosionShielding = 0.2; // was 2 + }; + }; + class Turrets: Turrets { + class MainTurret: MainTurret { + class Turrets: Turrets { + class CommanderOptics: CommanderOptics { + class HitPoints { + class HitComTurret { + armor = 0.1; // was 0.3 + minimalHit = 0.1; // was 0.03 + explosionShielding = 1; // was 0.6 + }; + class HitComGun { + armor = 0.1; // was 0.3 + minimalHit = 0.1; // was 0.03 + explosionShielding = 1; // was 0.6 + }; + }; + }; + }; + class HitPoints { + class HitTurret { + armor = 0.8; // was 1.2 + explosionShielding = 0.2; // was 0.3 + }; + class HitGun { + armor = 0.6; // was 0.8 + minimalHit = 0.1; // was 0 + }; + }; + }; + }; + }; class O_ZTZ99: ZTZ99_base {}; - // and because i am lazy again, this inherits from ZTZ99 - class ZTZ99A_base: ZTZ99_base {}; + class ZTZ99A_base: Tank_F { + damageResistance = 0.00547; // was 0.02 + crewVulnerable = 1; // old value 0 + armor = 800; // old value 600 + class HitPoints: HitPoints { + class HitHull: HitHull { + armor = 1.6; // old value 1 + passThrough = 1; // old value 0.75 + minimalHit = 0.2; // old value 0.14 + explosionShielding = 0.2; // old value 2 + }; + class HitEngine: HitEngine { + armor = 0.6;// old value 0.5 + passThrough = 0.5; // was 0.3 + minimalHit = 0.2; // was 0.3 + }; + class HitLTrack: HitLTrack { + armor = -650; // was 0.5 + minimalHit = 0.0738462; // was 0.08 + explosionShielding = 0.8; // was 1.44 + }; + class HitRTrack: HitRTrack { + armor = -650; // was 0.5 + minimalHit = 0.0738462; // was 0.08 + explosionShielding = 0.8; // was 1.44 + }; + class HitFuel: HitFuel { + passThrough = 0.3; // was 0.15 + }; + class HitArmor { + armor = 1.6; // was 5 + passThrough = 1; // was 0 + minimalHit = 0.2; // was 0.1 + explosionShielding = 0.2; // was 2 + }; + }; + class Turrets: Turrets { + class MainTurret: MainTurret { + class Turrets: Turrets { + class CommanderOptics: CommanderOptics { + class HitPoints { + class HitComTurret { + armor = 0.1; // was 0.3 + minimalHit = 0.1; // was 0.03 + explosionShielding = 1; // was 0.6 + }; + class HitComGun { + armor = 0.1; // was 0.3 + minimalHit = 0.1; // was 0.03 + explosionShielding = 1; // was 0.6 + }; + }; + }; + }; + class HitPoints { + class HitTurret { + armor = 0.8; // was 1.2 + explosionShielding = 0.2; // was 0.3 + }; + class HitGun { + armor = 0.6; // was 0.8 + minimalHit = 0.1; // was 0 + }; + }; + }; + }; + }; class O_ZTZ99A: ZTZ99A_base {}; + class CSK181_base_F: Car_F { + class HitPoints: HitPoints { + class HitBody { + armor = 1.5; // was 6 + minimalHit = 0.1; // was 0.01 + }; + class HitHull { + minimalHit = 0.1; // was 0.2 + }; + }; + }; }; \ No newline at end of file From 741fe93161bdc8fd4ba1367e7d858099b6b4c115 Mon Sep 17 00:00:00 2001 From: AChesheireCat Date: Sun, 8 Sep 2024 15:37:43 -0400 Subject: [PATCH 07/12] Syntax Fix 2.0 Woops --- addons/miscFixes/patchPLA/config.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/miscFixes/patchPLA/config.cpp b/addons/miscFixes/patchPLA/config.cpp index f2fbef0ad..79e1e9e40 100644 --- a/addons/miscFixes/patchPLA/config.cpp +++ b/addons/miscFixes/patchPLA/config.cpp @@ -4,14 +4,14 @@ class CfgPatches { class ADDON { - weapons[] = {}; - units[] = {"O_ZBL09", "O_ZTL11", "O_ZBD04A", "O_ZBD05","O_ZTD05", "O_ZTQ15","O_ZTQ15B","O_ZTZ96A","O_ZTZ96B","O_ZTZ99","O_ZTZ99A"}; - requiredVersion = REQUIRED_VERSION; - requiredAddons[] = {"ZBL09_LK", "ZTL11_LK", "ZBD04_LK", "ZBD05_LK", "ZTD05_LK", "ZTQ15_LK", "ZTZ96_c_LK", "ZTZ96A_LK", "ZTZ96B_LK", "ZTZ99_LK", "ZTZ99A_LK"}; - skipWhenMissingDependencies = 1; - author = "Potato"; - authors[] = {"Chesheire","watermelon"}; - authorUrl = "https://github.com/BourbonWarfare/POTATO"; + weapons[] = {}; + units[] = {"O_ZBL09", "O_ZTL11", "O_ZBD04A", "O_ZBD05","O_ZTD05", "O_ZTQ15","O_ZTQ15B","O_ZTZ96A","O_ZTZ96B","O_ZTZ99","O_ZTZ99A"}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = {"ZBL09_LK", "ZTL11_LK", "ZBD04_LK", "ZBD05_LK", "ZTD05_LK", "ZTQ15_LK", "ZTZ96_c_LK", "ZTZ96A_LK", "ZTZ96B_LK", "ZTZ99_LK", "ZTZ99A_LK"}; + skipWhenMissingDependencie = 1; + author = "Potato"; + authors[] = {"Chesheire","watermelon"}; + authorUrl = "https://github.com/BourbonWarfare/POTATO"; VERSION_CONFIG; }; }; From 2eb4a729f5d7a1edcc9f17e2c2f3b733ad94a240 Mon Sep 17 00:00:00 2001 From: AChesheireCat Date: Sun, 8 Sep 2024 15:38:47 -0400 Subject: [PATCH 08/12] Spelling Error Fix --- addons/miscFixes/patchPLA/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/miscFixes/patchPLA/config.cpp b/addons/miscFixes/patchPLA/config.cpp index 79e1e9e40..08bb80a9c 100644 --- a/addons/miscFixes/patchPLA/config.cpp +++ b/addons/miscFixes/patchPLA/config.cpp @@ -8,7 +8,7 @@ class CfgPatches { units[] = {"O_ZBL09", "O_ZTL11", "O_ZBD04A", "O_ZBD05","O_ZTD05", "O_ZTQ15","O_ZTQ15B","O_ZTZ96A","O_ZTZ96B","O_ZTZ99","O_ZTZ99A"}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"ZBL09_LK", "ZTL11_LK", "ZBD04_LK", "ZBD05_LK", "ZTD05_LK", "ZTQ15_LK", "ZTZ96_c_LK", "ZTZ96A_LK", "ZTZ96B_LK", "ZTZ99_LK", "ZTZ99A_LK"}; - skipWhenMissingDependencie = 1; + skipWhenMissingDependencies = 1; author = "Potato"; authors[] = {"Chesheire","watermelon"}; authorUrl = "https://github.com/BourbonWarfare/POTATO"; From 565a4fda5baf95db9f940a8c072059c8c712d05d Mon Sep 17 00:00:00 2001 From: AChesheireCat Date: Sun, 8 Sep 2024 15:39:44 -0400 Subject: [PATCH 09/12] Syntax Fix 3.0 --- addons/miscFixes/patchPLA/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/miscFixes/patchPLA/config.cpp b/addons/miscFixes/patchPLA/config.cpp index 08bb80a9c..bd681456d 100644 --- a/addons/miscFixes/patchPLA/config.cpp +++ b/addons/miscFixes/patchPLA/config.cpp @@ -8,7 +8,7 @@ class CfgPatches { units[] = {"O_ZBL09", "O_ZTL11", "O_ZBD04A", "O_ZBD05","O_ZTD05", "O_ZTQ15","O_ZTQ15B","O_ZTZ96A","O_ZTZ96B","O_ZTZ99","O_ZTZ99A"}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"ZBL09_LK", "ZTL11_LK", "ZBD04_LK", "ZBD05_LK", "ZTD05_LK", "ZTQ15_LK", "ZTZ96_c_LK", "ZTZ96A_LK", "ZTZ96B_LK", "ZTZ99_LK", "ZTZ99A_LK"}; - skipWhenMissingDependencies = 1; + skipWhenMissingDependencies = 1; author = "Potato"; authors[] = {"Chesheire","watermelon"}; authorUrl = "https://github.com/BourbonWarfare/POTATO"; From dc09f57c14dbb7750f7404858716932a29013f28 Mon Sep 17 00:00:00 2001 From: AChesheireCat Date: Mon, 9 Sep 2024 12:15:13 -0400 Subject: [PATCH 10/12] Syntax Fix 4.0 Fixes the extra spaces around the = sign. Blame Kilo. --- addons/miscFixes/patchPLA/config.cpp | 616 +++++++++++++-------------- 1 file changed, 308 insertions(+), 308 deletions(-) diff --git a/addons/miscFixes/patchPLA/config.cpp b/addons/miscFixes/patchPLA/config.cpp index bd681456d..6c19f84a3 100644 --- a/addons/miscFixes/patchPLA/config.cpp +++ b/addons/miscFixes/patchPLA/config.cpp @@ -69,94 +69,94 @@ class CfgVehicles { }; }; class ZBL09_base: Wheeled_APC_F { - damageResistance = 0.02; - crewVulnerable = 1; //formerly 0 - armor = 480; //formerly 500 -> 270? - armorStructural = 5; + damageResistance = 0.02; + crewVulnerable = 1; //formerly 0 + armor = 480; //formerly 500 -> 270? + armorStructural = 5; class HitPoints: HitPoints { class HitHull: HitHull { - armor = 2; - passThrough = 1; - minimalHit = 0.14; - explosionShielding = 0.2; - radius = 0.25; + armor = 2; + passThrough = 1; + minimalHit = 0.14; + explosionShielding = 0.2; + radius = 0.25; }; class HitEngine: HitEngine { - armor = 1.25; - passThrough = 0.1; - minimalHit = 0.1; - explosionShielding = 0.5; - radius = 0.25; + armor = 1.25; + passThrough = 0.1; + minimalHit = 0.1; + explosionShielding = 0.5; + radius = 0.25; }; class HitLFWheel: HitLFWheel { - radius = 0.33; - armor = -250; //formerly -250 - minimalHit = -0.016; //formerly -0.016 - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; //formerly -250 + minimalHit = -0.016; //formerly -0.016 + explosionShielding = 4; + passThrough = 0; }; class HitLF2Wheel: HitLF2Wheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitLMWheel: HitLMWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitLBWheel: HitLBWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRFWheel: HitRFWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRF2Wheel: HitRF2Wheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRMWheel: HitRMWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRBWheel: HitRBWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitFuel: HitFuel { - armor = 0.75; - passThrough = 0.5; - minimalHit = 0.1; - explosionShielding = 0.6; - radius = 0.16; + armor = 0.75; + passThrough = 0.5; + minimalHit = 0.1; + explosionShielding = 0.6; + radius = 0.16; }; class HitArmor { - armor = 0.5; //formerly 10 - passThrough = 0.5; //formerly 0 (0.5 causes tires to transfer dmg to hull/turret?) - minimalHit = 0.1; - explosionShielding = 2; - radius = 0.1; + armor = 0.5; //formerly 10 + passThrough = 0.5; //formerly 0 (0.5 causes tires to transfer dmg to hull/turret?) + minimalHit = 0.1; + explosionShielding = 2; + radius = 0.1; }; }; class Turrets: Turrets { @@ -165,31 +165,31 @@ class CfgVehicles { class CommanderOptics: CommanderOptics { class HitPoints { class HitTurret { - armor = 0.3; - passThrough = 0; - minimalHit = 0.03; - explosionShielding = 0.6; - radius = 0.25; + armor = 0.3; + passThrough = 0; + minimalHit = 0.03; + explosionShielding = 0.6; + radius = 0.25; }; }; }; }; class HitPoints { class HitTurret { - armor = 1.5; //formerly 0.8 - passThrough = 0; //formerly 0 - minimalHit = 0.1; - explosionShielding = 0.2; - radius = 0.3; - isTurret = 1; + armor = 1.5; //formerly 0.8 + passThrough = 0; //formerly 0 + minimalHit = 0.1; + explosionShielding = 0.2; + radius = 0.3; + isTurret = 1; }; class HitGun { - armor = 1.5; - passThrough = 0; //formerly 0 - minimalHit = 0.1; - explosionShielding = 0.4; - radius = 0.25; - isGun = 1; + armor = 1.5; + passThrough = 0; //formerly 0 + minimalHit = 0.1; + explosionShielding = 0.4; + radius = 0.25; + isGun = 1; }; }; }; @@ -198,93 +198,93 @@ class CfgVehicles { class O_ZBL09_base: ZBL09_base {}; class O_ZBL09: O_ZBL09_base {}; class ZTL11_base: Wheeled_APC_F { - crewVulnerable = 1; //formerly 0 - armor = 480; //formerly 500 -> 270? - armorStructural = 5; + crewVulnerable = 1; //formerly 0 + armor = 480; //formerly 500 -> 270? + armorStructural = 5; class HitPoints: HitPoints { class HitHull: HitHull { - armor = 2; - passThrough = 1; - minimalHit = 0.14; - explosionShielding = 0.2; - radius = 0.25; + armor = 2; + passThrough = 1; + minimalHit = 0.14; + explosionShielding = 0.2; + radius = 0.25; }; class HitEngine: HitEngine { - armor = 1.25; - passThrough = 0.1; - minimalHit = 0.1; - explosionShielding = 0.5; - radius = 0.25; + armor = 1.25; + passThrough = 0.1; + minimalHit = 0.1; + explosionShielding = 0.5; + radius = 0.25; }; class HitLFWheel: HitLFWheel { - radius = 0.33; - armor = -250; //formerly -250 - minimalHit = -0.016; //formerly -0.016 - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; //formerly -250 + minimalHit = -0.016; //formerly -0.016 + explosionShielding = 4; + passThrough = 0; }; class HitLF2Wheel: HitLF2Wheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitLMWheel: HitLMWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitLBWheel: HitLBWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRFWheel: HitRFWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRF2Wheel: HitRF2Wheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRMWheel: HitRMWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitRBWheel: HitRBWheel { - radius = 0.33; - armor = -250; - minimalHit = -0.016; - explosionShielding = 4; - passThrough = 0; + radius = 0.33; + armor = -250; + minimalHit = -0.016; + explosionShielding = 4; + passThrough = 0; }; class HitFuel: HitFuel { - armor = 0.75; - passThrough = 0.5; - minimalHit = 0.1; - explosionShielding = 0.6; - radius = 0.16; + armor = 0.75; + passThrough = 0.5; + minimalHit = 0.1; + explosionShielding = 0.6; + radius = 0.16; }; class HitArmor { - armor = 0.5; //formerly 10 - passThrough = 0.5; //formerly 0 (0.5 causes tires to transfer dmg to hull/turret?) - minimalHit = 0.1; - explosionShielding = 2; - radius = 0.1; + armor = 0.5; //formerly 10 + passThrough = 0.5; //formerly 0 (0.5 causes tires to transfer dmg to hull/turret?) + minimalHit = 0.1; + explosionShielding = 2; + radius = 0.1; }; }; class Turrets: Turrets { @@ -293,31 +293,31 @@ class CfgVehicles { class CommanderOptics: CommanderOptics { class HitPoints { class HitTurret { - armor = 0.3; - passThrough = 0; - minimalHit = 0.03; - explosionShielding = 0.6; - radius = 0.25; + armor = 0.3; + passThrough = 0; + minimalHit = 0.03; + explosionShielding = 0.6; + radius = 0.25; }; }; }; }; class HitPoints { class HitTurret { - armor = 1.5; //formerly 0.8 - passThrough = 0; //formerly 0 - minimalHit = 0.1; - explosionShielding = 0.2; - radius = 0.3; - isTurret = 1; + armor = 1.5; //formerly 0.8 + passThrough = 0; //formerly 0 + minimalHit = 0.1; + explosionShielding = 0.2; + radius = 0.3; + isTurret = 1; }; class HitGun { - armor = 1.5; - passThrough = 0; //formerly 0 - minimalHit = 0.1; - explosionShielding = 0.4; - radius = 0.25; - isGun = 1; + armor = 1.5; + passThrough = 0; //formerly 0 + minimalHit = 0.1; + explosionShielding = 0.4; + radius = 0.25; + isGun = 1; }; }; }; @@ -325,48 +325,48 @@ class CfgVehicles { }; class O_ZTL11: ZTL11_base {}; class ZBD04A_base: Tank_F { - damageResistance = 0.02; - crewVulnerable = 1; - armor = 500; - armorStructural = 6; + damageResistance = 0.02; + crewVulnerable = 1; + armor = 500; + armorStructural = 6; class HitPoints: HitPoints { class HitHull: HitHull { - armor = 1; - passThrough = 1; - minimalHit = 0.2; - explosionShielding = 0.2; + armor = 1; + passThrough = 1; + minimalHit = 0.2; + explosionShielding = 0.2; }; class HitEngine: HitEngine { - armor = 0.8; - passThrough = 0.2; - minimalHit = 0.2; - explosionShielding = 0.2; + armor = 0.8; + passThrough = 0.2; + minimalHit = 0.2; + explosionShielding = 0.2; }; class HitLTrack: HitLTrack { - armor = -400; - passThrough = 0; - minimalHit = 0.09; - explosionShielding = 0.8; + armor = -400; + passThrough = 0; + minimalHit = 0.09; + explosionShielding = 0.8; }; class HitRTrack: HitRTrack { - armor = -400; - passThrough = 0; - minimalHit = 0.09; - explosionShielding = 0.8; + armor = -400; + passThrough = 0; + minimalHit = 0.09; + explosionShielding = 0.8; }; class HitFuel: HitFuel { - armor = 0.5; - passThrough = 0.1; - minimalHit = 0.1; - explosionShielding = 0.6; + armor = 0.5; + passThrough = 0.1; + minimalHit = 0.1; + explosionShielding = 0.6; }; class HitArmor { - armor = 0.5; - passThrough = 0.5; - minimalHit = 0.1; - explosionShielding = 2; - isTurret = 0; + armor = 0.5; + passThrough = 0.5; + minimalHit = 0.1; + explosionShielding = 2; + isTurret = 0; }; }; class Turrets: Turrets { @@ -375,36 +375,36 @@ class CfgVehicles { class CommanderOptics: CommanderOptics { class HitPoints { class HitComTurret { - armor = 0.08; - passThrough = 0.4; - minimalHit = 0.1; - explosionShielding = 1; - isTurret = 1; + armor = 0.08; + passThrough = 0.4; + minimalHit = 0.1; + explosionShielding = 1; + isTurret = 1; }; class HitComGun { - armor = 0.04; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 1; - isGun = 1; + armor = 0.04; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 1; + isGun = 1; }; }; }; }; class HitPoints { class HitTurret { - armor = 0.8; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 0.2; - isTurret = 1; + armor = 0.8; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 0.2; + isTurret = 1; }; class HitGun { - armor = 0.6; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 0.4; - isGun = 1; + armor = 0.6; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 0.4; + isGun = 1; }; }; }; @@ -413,48 +413,48 @@ class CfgVehicles { class O_ZBD04A_base: ZBD04A_base {}; class O_ZBD04A: O_ZBD04A_base {}; class ZBD05_base: Tank_F { - damageResistance = 0.02; - crewVulnerable = 1; - armor = 500; - armorStructural = 6; + damageResistance = 0.02; + crewVulnerable = 1; + armor = 500; + armorStructural = 6; class HitPoints: HitPoints { class HitHull: HitHull { - armor = 1; - passThrough = 1; - minimalHit = 0.2; - explosionShielding = 0.2; + armor = 1; + passThrough = 1; + minimalHit = 0.2; + explosionShielding = 0.2; }; class HitEngine: HitEngine { - armor = 0.8; - passThrough = 0.2; - minimalHit = 0.2; - explosionShielding = 0.2; + armor = 0.8; + passThrough = 0.2; + minimalHit = 0.2; + explosionShielding = 0.2; }; class HitLTrack: HitLTrack { - armor = -400; - passThrough = 0; - minimalHit = 0.09; - explosionShielding = 0.8; + armor = -400; + passThrough = 0; + minimalHit = 0.09; + explosionShielding = 0.8; }; class HitRTrack: HitRTrack { - armor = -400; - passThrough = 0; - minimalHit = 0.09; - explosionShielding = 0.8; + armor = -400; + passThrough = 0; + minimalHit = 0.09; + explosionShielding = 0.8; }; class HitFuel: HitFuel { - armor = 0.5; - passThrough = 0.1; - minimalHit = 0.1; - explosionShielding = 0.6; + armor = 0.5; + passThrough = 0.1; + minimalHit = 0.1; + explosionShielding = 0.6; }; class HitArmor { - armor = 0.5; - passThrough = 0.5; - minimalHit = 0.1; - explosionShielding = 2; - isTurret = 0; + armor = 0.5; + passThrough = 0.5; + minimalHit = 0.1; + explosionShielding = 2; + isTurret = 0; }; }; class Turrets: Turrets { @@ -463,36 +463,36 @@ class CfgVehicles { class CommanderOptics: CommanderOptics { class HitPoints { class HitComTurret { - armor = 0.08; - passThrough = 0.4; - minimalHit = 0.1; - explosionShielding = 1; - isTurret = 1; + armor = 0.08; + passThrough = 0.4; + minimalHit = 0.1; + explosionShielding = 1; + isTurret = 1; }; class HitComGun { - armor = 0.04; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 1; - isGun = 1; + armor = 0.04; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 1; + isGun = 1; }; }; }; }; class HitPoints { class HitTurret { - armor = 0.8; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 0.2; - isTurret = 1; + armor = 0.8; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 0.2; + isTurret = 1; }; class HitGun { - armor = 0.6; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 0.4; - isGun = 1; + armor = 0.6; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 0.4; + isGun = 1; }; }; }; @@ -500,48 +500,48 @@ class CfgVehicles { }; class O_ZBD05: ZBD05_base {}; class ZTD05_base: Tank_F { - damageResistance = 0.02; - crewVulnerable = 1; - armor = 500; - armorStructural = 6; + damageResistance = 0.02; + crewVulnerable = 1; + armor = 500; + armorStructural = 6; class HitPoints: HitPoints { class HitHull: HitHull { - armor = 1; - passThrough = 1; - minimalHit = 0.2; - explosionShielding = 0.2; + armor = 1; + passThrough = 1; + minimalHit = 0.2; + explosionShielding = 0.2; }; class HitEngine: HitEngine { - armor = 0.8; - passThrough = 0.2; - minimalHit = 0.2; - explosionShielding = 0.2; + armor = 0.8; + passThrough = 0.2; + minimalHit = 0.2; + explosionShielding = 0.2; }; class HitLTrack: HitLTrack { - armor = -400; - passThrough = 0; - minimalHit = 0.09; - explosionShielding = 0.8; + armor = -400; + passThrough = 0; + minimalHit = 0.09; + explosionShielding = 0.8; }; class HitRTrack: HitRTrack { - armor = -400; - passThrough = 0; - minimalHit = 0.09; - explosionShielding = 0.8; + armor = -400; + passThrough = 0; + minimalHit = 0.09; + explosionShielding = 0.8; }; class HitFuel: HitFuel { - armor = 0.5; - passThrough = 0.1; - minimalHit = 0.1; - explosionShielding = 0.6; + armor = 0.5; + passThrough = 0.1; + minimalHit = 0.1; + explosionShielding = 0.6; }; class HitArmor { - armor = 0.5; - passThrough = 0.5; - minimalHit = 0.1; - explosionShielding = 2; - isTurret = 0; + armor = 0.5; + passThrough = 0.5; + minimalHit = 0.1; + explosionShielding = 2; + isTurret = 0; }; }; class Turrets: Turrets { @@ -550,36 +550,36 @@ class CfgVehicles { class CommanderOptics: CommanderOptics { class HitPoints { class HitComTurret { - armor = 0.08; - passThrough = 0.4; - minimalHit = 0.1; - explosionShielding = 1; - isTurret = 1; + armor = 0.08; + passThrough = 0.4; + minimalHit = 0.1; + explosionShielding = 1; + isTurret = 1; }; class HitComGun { - armor = 0.04; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 1; - isGun = 1; + armor = 0.04; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 1; + isGun = 1; }; }; }; }; class HitPoints { class HitTurret { - armor = 0.8; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 0.2; - isTurret = 1; + armor = 0.8; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 0.2; + isTurret = 1; }; class HitGun { - armor = 0.6; - passThrough = 0; - minimalHit = 0.1; - explosionShielding = 0.4; - isGun = 1; + armor = 0.6; + passThrough = 0; + minimalHit = 0.1; + explosionShielding = 0.4; + isGun = 1; }; }; }; From 9f0998e81fd2531eadd38dcffc2e7f428bcff7de Mon Sep 17 00:00:00 2001 From: AChesheireCat Date: Fri, 27 Sep 2024 18:54:17 -0400 Subject: [PATCH 11/12] Resolves Duplicate LandVehicle line Resolves the duplicate LandVehicle line present on line 50. --- addons/miscFixes/patchPLA/config.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/miscFixes/patchPLA/config.cpp b/addons/miscFixes/patchPLA/config.cpp index 6c19f84a3..7539e2c2c 100644 --- a/addons/miscFixes/patchPLA/config.cpp +++ b/addons/miscFixes/patchPLA/config.cpp @@ -47,7 +47,6 @@ class CfgVehicles { }; }; }; - class LandVehicle; class Tank: LandVehicle { class NewTurret; class HitPoints; From 2004c77575b015bec8064a5e31c2b5ea346ffb2c Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Wed, 16 Oct 2024 14:45:29 -0500 Subject: [PATCH 12/12] Fix O_ZTD05 UBC --- addons/miscFixes/patchPLA/config.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/miscFixes/patchPLA/config.cpp b/addons/miscFixes/patchPLA/config.cpp index 1e4ead2ac..71da3164f 100644 --- a/addons/miscFixes/patchPLA/config.cpp +++ b/addons/miscFixes/patchPLA/config.cpp @@ -575,8 +575,7 @@ class CfgVehicles { }; }; }; - class O_ZTD05_base: ZTD05_base {}; - class O_ZTD05: O_ZTD05_base {}; + class O_ZTD05: ZTD05_base {}; // watermelon's addition from here on out // list of changes: