wowgetoffyourcellphone Posted May 1, 2019 Report Share Posted May 1, 2019 Not that I'm not complaining, but sometimes some of my units get stuck in run mode and move very fast when tasked to do various tasks. Not sure if this is related to the new running code changes. Quote Link to comment Share on other sites More sharing options...
wraitii Posted May 1, 2019 Report Share Posted May 1, 2019 Do you have a replay showcasing this? 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted May 1, 2019 Author Report Share Posted May 1, 2019 (edited) 11 minutes ago, wraitii said: Do you have a replay showcasing this? Sometimes they go into "run mode" and move at run speeds, other times the run animation plays randomly with no corresponding movement rate increase. Here is a replay of the latter, where I send a cavman to scout the southern part of the map at around 3:20 and he randomly goes in and out of run animation for the next couple of minutes. commands.txt metadata.json Edited May 1, 2019 by wowgetoffyourcellphone Quote Link to comment Share on other sites More sharing options...
wraitii Posted May 1, 2019 Report Share Posted May 1, 2019 This appears to be a rounding issue, we're off-by-one. The walking speed is computed correctly everywhere, but unitMotion moves by one 'comma' more than should be possible. That doesn't always happen though, and I don't think the run multiplier code is related... But it's the one related change we did recently . Odd. Quote Link to comment Share on other sites More sharing options...
wraitii Posted May 1, 2019 Report Share Posted May 1, 2019 Fixed by https://code.wildfiregames.com/D1856 Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted August 2, 2019 Report Share Posted August 2, 2019 How works run mode? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.