Skip to content

Commit

Permalink
GTK Boxer Handling + Turret Tweaks (#611)
Browse files Browse the repository at this point in the history
* GTK Boxer Handling + Turret Tweaks

- Increased initial acceleration to make vehicle feel more responsive

- Increased braking torque to make braking feel more responsive

- Decreased fording depth due to being able to operate despite the engine and exhaust being submurged by +1m of water over the hull

- Swapped the gunner's HMG turret from the M2 to the M3M per the wikipedia page

- Moved the countermeasures smoke from the commander's turret to the gunner's turret

* update AnimationSources

* re-add original hmg mags

---------

Co-authored-by: PabstMirror <[email protected]>
  • Loading branch information
AChesheireCat and PabstMirror authored Dec 31, 2024
1 parent 1ca2701 commit 943a962
Showing 1 changed file with 80 additions and 1 deletion.
81 changes: 80 additions & 1 deletion addons/miscFixes/patchCUP/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class CfgPatches {
};
};

class DefaultEventHandlers;
class CfgVehicles {
// Fix broken artillery computer on FV432 Mortar (shows artillery computer for 7.62mg)
class CUP_B_FV432_Bulldog_GB_D;
Expand Down Expand Up @@ -56,6 +55,68 @@ class CfgVehicles {
};
};
};
// Tweaks to the GTK Boxer's handling (accel/braking) + HMG swap to M3M + countermeasures move to gunner
class Wheeled_APC_F: Car_F {
class NewTurret;
class Turrets {
class MainTurret: NewTurret {
class Turrets {};
};
};
};
class CUP_Boxer_Base: Wheeled_APC_F {
class AnimationSources;
};
class CUP_Boxer_Base_HMG: CUP_Boxer_Base {
class CargoTurret;
class Turrets {
class MainTurret: NewTurret {
weapons[] = {"CUP_Vhmg_M3P_veh","SmokeLauncher"}; // was CUP_Vhmg_M2_veh
magazines[] = {"CUP_200Rnd_TE1_Red_Tracer_127x99_M", "CUP_200Rnd_TE1_Red_Tracer_127x99_M", "CUP_200Rnd_TE1_Red_Tracer_127x99_M", "CUP_200Rnd_TE1_Red_Tracer_127x99_M", "CUP_200Rnd_TE1_Red_Tracer_127x99_M", "CUP_200Rnd_TE1_Red_Tracer_127x99_M", "SmokeLauncherMag"}; // was CUP_200Rnd_TE1_Red_Tracer_127x99_M
};
class CommanderTurret: NewTurret {
weapons[] = {}; // was "SmokeLauncher"
magazines[] = {}; // was "SmokeLauncherMag"
};
};
accelAidForceCoef = 2.3; // was 1.4
accelAidForceSpd = 25; // was 5
brakeIdleSpeed = 1.78; // was 0
maxFordingDepth = 1.0; // was 1.5
class Wheels {
class wheel_1_1 {
maxBrakeTorque = 20000; // was 12500
maxHandBrakeTorque = 30000; // was 25000
};
};
class AnimationSources: AnimationSources {
class main_gun_muzzle_rot {
weapon = "CUP_Vhmg_M3P_veh";
};
class main_gun_reload {
weapon="CUP_Vhmg_M3P_veh";
};
class main_gun_reload_mag {
weapon="CUP_Vhmg_M3P_veh";
};
class main_gun_revolving {
weapon="CUP_Vhmg_M3P_veh";
};
};
};
class CUP_Boxer_Base_GMG: CUP_Boxer_Base_HMG {
class CargoTurret;
class Turrets {
class MainTurret: NewTurret {
weapons[] = {"CUP_Vgmg_HKGMG_veh","SmokeLauncher"}; // added smoke launcher
magazines[] = {"CUP_32Rnd_40mm_MK19_M","CUP_32Rnd_40mm_MK19_M","CUP_32Rnd_40mm_MK19_M","CUP_32Rnd_40mm_MK19_M","CUP_32Rnd_40mm_MK19_M","CUP_32Rnd_40mm_MK19_M","SmokeLauncherMag"}; // added smoke mag
};
class CommanderTurret: NewTurret {
weapons[] = {}; // was "SmokeLauncher"
magazines[] = {}; // was "SmokeLauncherMag"
};
};
};
};

class CfgRecoils {
Expand Down Expand Up @@ -172,6 +233,24 @@ class CfgWeapons {
class CUP_Vgmg_MK19_veh: CUP_Vhmg_AGS30_veh {
magazineWell[] += {"potato_HV_40x53mm"};
};

// Boxer HMG weapon
class CUP_Vhmg_M2_veh;
class CUP_Vhmg_M3P_veh: CUP_Vhmg_M2_veh {
magazines[] = {
"CUP_250Rnd_TE1_Red_Tracer_127x99_M", // CUP_Vhmg_M3P_veh default
"CUP_100Rnd_127x99_M", // rest from CUP_Vhmg_M2_veh
"CUP_100Rnd_TE4_Red_Tracer_127x99_M",
"CUP_100Rnd_TE4_Green_Tracer_127x99_M",
"CUP_100Rnd_TE4_Yellow_Tracer_127x99_M",
"CUP_100Rnd_TE4_White_Tracer_127x99_M",
"CUP_100Rnd_TE1_Red_Tracer_127x99_M",
"CUP_100Rnd_TE1_Green_Tracer_127x99_M",
"CUP_100Rnd_TE1_Yellow_Tracer_127x99_M",
"CUP_100Rnd_TE1_White_Tracer_127x99_M",
"CUP_200Rnd_TE1_Red_Tracer_127x99_M"
};
};
};

class SlotInfo;
Expand Down

0 comments on commit 943a962

Please sign in to comment.