Page MenuHomeFeedback Tracker

Animation Speed changes with Players Damage
New, NormalPublic

Description

The Speed/Animation Speed of the player goes down when the damage of the player get higher.

It would be good if there is a way to disable that with a config entry or a script command.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Feature Request
Steps To Reproduce

0 spawn {

while {true} do {
   hint str ([speed player,damage player])
};

};

player setdamage 0.7;
player setHitPointDamage ["HitLegs",0];

Event Timeline

Hungry created this task.Apr 30 2023, 12:15 PM

You probably can mitigate the effect with setAnimSpeedCoef but its a hack fix rather than controlling engine behaviour.

Hungry added a comment.EditedApr 30 2023, 1:05 PM

Yea I already made a "fix" for it. player setAnimSpeedCoef (1 + (linearConversion [0.1,1,damage player,0,0.1935,true])); Also I need to change the animationspeed everytime the player gets damaged, so its not really ideal. Also the animationspeed needs to get changed on all clients otherwise it could look weird to other players