Skip to content

Commit 76c210f

Browse files
authored
0.7.4.1 hotfix (#491)
* improved suspension - removed physx lod wheel mesh to prevent extreme afm jump - tuned suspension for sfmplus 9000 minimum mass - matched visual suspension movement to physx wheels - Fix door numbers - Fix detached customization parts stuck
1 parent 02a6c84 commit 76c210f

4 files changed

Lines changed: 21 additions & 15 deletions

File tree

addons/UH60/config/cfgVehicles.hpp

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -443,12 +443,13 @@ class CfgVehicles
443443
maxBrakeTorque = 8000;
444444
maxHandBrakeTorque = 8000;
445445

446-
maxCompression = 0.3;
447-
maxDroop = 0.1337;
446+
maxCompression = 0.15;
447+
maxDroop = 0.2;
448448

449-
sprungMass = 3000;
450-
springStrength = 200000;
451-
springDamperRate = 50000;
449+
#define SUSPENSION_SPRUNG_MASS 4300
450+
sprungMass = SUSPENSION_SPRUNG_MASS;
451+
springStrength = SUSPENSION_SPRUNG_MASS * 25;
452+
springDamperRate = SUSPENSION_SPRUNG_MASS * 4;
452453

453454
longitudinalStiffnessPerUnitGravity = 10000;
454455
latStiffX = 2.5;
@@ -484,9 +485,11 @@ class CfgVehicles
484485
maxBrakeTorque = 8000;
485486
suspTravelDirection[] = {0, -1.0, 0.0};
486487

487-
sprungMass = 200;
488-
springStrength = 5000;
489-
springDamperRate = 1000;
488+
#undef SUSPENSION_SPRUNG_MASS
489+
#define SUSPENSION_SPRUNG_MASS 400
490+
sprungMass = SUSPENSION_SPRUNG_MASS;
491+
springStrength = SUSPENSION_SPRUNG_MASS * 25;
492+
springDamperRate = SUSPENSION_SPRUNG_MASS * 4;
490493
};
491494
}; // Wheels
492495
}; // vtx_H60_base

addons/UH60/model.cfg

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2056,6 +2056,8 @@ class CfgModels {
20562056
angle1 = "rad (-4)";
20572057
};
20582058
//Wheels
2059+
#define MAINGEAR_ANGLE0 0.31
2060+
#define MAINGEAR_ANGLE1 -0.2
20592061
class damper_left
20602062
{
20612063
type = "rotation";
@@ -2064,8 +2066,8 @@ class CfgModels {
20642066
axis = "wheel_1_1_damper_axis";
20652067
minValue = 0;
20662068
maxValue = 1;
2067-
angle0 = 0.3;
2068-
angle1 = -0.416706;
2069+
angle0 = MAINGEAR_ANGLE0;
2070+
angle1 = MAINGEAR_ANGLE1;
20692071
};
20702072
class damper_right
20712073
{
@@ -2075,8 +2077,8 @@ class CfgModels {
20752077
axis = "wheel_1_1_damper_axis";
20762078
minValue = 0;
20772079
maxValue = 1;
2078-
angle0 = 0.3;
2079-
angle1 = -0.416706;
2080+
angle0 = MAINGEAR_ANGLE0;
2081+
angle1 = MAINGEAR_ANGLE1;
20802082
};
20812083
class damper_rear
20822084
{
@@ -2086,8 +2088,8 @@ class CfgModels {
20862088
axis = "wheel_2_1_damper_axis";
20872089
minValue = 0;
20882090
maxValue = 1;
2089-
angle0 = -0.100000;
2090-
angle1 = 0.2;
2091+
angle0 = -0.07;
2092+
angle1 = -MAINGEAR_ANGLE1;
20912093
};
20922094
class wheel_l
20932095
{

addons/UH60/vtx_uh60.p3d

1.49 MB
Binary file not shown.

addons/uh60_misc/functions/fnc_removeCustomization.sqf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
_params params ["_class", "_animation", "_addTarget", "_removeTarget"];
33
_target animateSource [_animation, _removeTarget];
44
private _object = _class createVehicle [0,0,0];
5-
[_player, _object] call ace_dragging_fnc_carryObject;
5+
_object attachTo [_player, [0,0,0]];
6+
[_player, _object] call ace_dragging_fnc_startCarry;

0 commit comments

Comments
 (0)