Skip to content

Commit 910a40f

Browse files
committed
Adding boxer hitpoint radius fix
1 parent 4a7465b commit 910a40f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

addons/miscFixes/patchCUP/config.cpp

+10
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class CfgVehicles {
2525
// Base classes
2626
class Car;
2727
class Car_F: Car {
28+
class HitPoints;
2829
class Turrets;
2930
};
3031
// Fix broken artillery computer on FV432 Mortar (shows artillery computer for 7.62mg)
@@ -85,6 +86,7 @@ class CfgVehicles {
8586
};
8687
// Tweaks to the GTK Boxer's handling (accel/braking) + HMG swap to M3M + countermeasures move to gunner
8788
class Wheeled_APC_F: Car_F {
89+
class HitPoints: HitPoints {};
8890
class NewTurret;
8991
class Turrets {
9092
class MainTurret: NewTurret {
@@ -93,6 +95,14 @@ class CfgVehicles {
9395
};
9496
};
9597
class CUP_Boxer_Base: Wheeled_APC_F {
98+
class HitPoints: HitPoints {
99+
class HitEngine: HitEngine {
100+
radius = 0.1;
101+
};
102+
class HitFuel: HitFuel {
103+
radius = 0.1;
104+
};
105+
};
96106
class AnimationSources;
97107
};
98108
class CUP_Boxer_Base_HMG: CUP_Boxer_Base {

0 commit comments

Comments
 (0)