Open Fusselwurm opened 3 years ago
first changes: copy from the respective code in https://github.com/gruppe-adler/TvT_Catch_The_Flight.Stratis/blob/master/functions/fn_limitOffroadSpeed.sqf
need to check if we can hack terrain configs to that effect
need to check if we can hack terrain configs to that effect
there is a param in cfgSurfaces https://pmc.editing.wiki/doku.php?id=arma3:terrain:cfgsurfaces https://community.bistudio.com/wiki/Arma_3:_CfgSurfaces_Config_Reference
surfaceFriction = 2.5; // Used by SurfRoadTarmac, highest surface friction value surfaceFriction = 2; // Used by SurfRoadConcrete, above average surface friction value surfaceFriction = 1.8; // Used by GdtDirt, below average surface friction value surfaceFriction = 1.5; // Used by GdtMarsh, low end of surface friction values maxSpeedCoef = 1; // 100% speed
VT5 used this afaik
edit: changing that value on the fly is certainly not possible but would be great to simulate slipping or mud 🤔 https://www.youtube.com/watch?v=3MQlSNmwEDo
edit2: there seems also a second param in vehicles configs to control impact of values above:
terrainCoef Sets the importance of surfaceFriction on limiting the vehicle maximum speed on various surfaces. The bigger the value to slower the vehicle will be able to go over rough surfaces.
https://community.bistudio.com/wiki/Arma_3:_Vehicle_Handling_Configuration#terrainCoef
ftr: ich war hier hängengeblieben an der Frage, ob's ne Scriptlösung sein sollte , oder ob ich die Surfaces entsprechend hacken kann
as discussed in https://github.com/gruppe-adler/TvT_GTV.lythium/issues/16
nerf offroading:
Many vehicles in Arma do not sufficiently feel what it's like to go offroad.
This addon aims to properly punish cars & bikes for leaving paved streets.
We'll need to take a lot of stuff into consideration here: