Closed Snail-Goat closed 1 year ago
accTime & timeMultiplier are not the same and their correcponding 'set' calls do not except the same values so cannot just be transposed. setAccTime - accelerates game time (you move faster) only works in single player. setTimeMultiplier - game times flows same as normal, but clock time moves faster (effecting sunlight/weather). Game movement cannot be acclerated in multiplayer for performance/data sync issues between server & clients.
Prerequisites
Description
The function _fncprofileSimulator.sqf computes virtual unit movement steps and attack damages using accTime. However the setAccTime function does not work in multiplayer, making it impossible for the player to scale the simulation speed in multiplayer scenarios. setTimeMultiplier does work in multiplayer, and so accTime should be substituted with timeMultiplier in _fncprofileSimulator.sqf to allow time scaling to work.
Steps to Reproduce
Expected behavior: [What you expected to happen]
AliVE simulation should speed up and slow down with the world simulation speed.
Actual behavior: [What actually happened]
It is impossible to change accTime in multiplayer.