Jump to content
Sign in to follow this  
wowgetoffyourcellphone

My Units get stuck in "run" mode

Recommended Posts

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 by wowgetoffyourcellphone

Share this post


Link to post
Share on other sites

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 :P.

Odd.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...