Jump to content
Sign in to follow this  

Walking of a Formation under speed modifying aura

Recommended Posts

There is a strange behaivor, when formation walk out of a aura that effects the walking speed. Sometimes the reduction of the walking speed don't reverse to normal; only when a new formation-form is selected it gets back to normal. This is esp. true for slow Units it seems.

I fixed it by giving in UnitAI.js the WALKING order in FORMATIONMEMBER a new timer, a leave and Timer function. In my test it seems to work.

Another strange behavior of formation is that they seem sometimes to go back to a point, and then walking to that direction as they were ordered. But it isn't a big issue. Or formation can be stuck into trees, when working there, but when ordered out, they can be stuck cause the the passability-setting for formation is to big sin some cases. So they are "arrested" into the trees, if they keep the formation. Also a minor issue.


Edited by gaius

Share this post

Link to post
Share on other sites

Head to trac.wildfiregames.com and read the getting started programmers page and the submitting patches page. If you have any questions either ask them here or on IRC. 

To create a patch you have to use the diff tool that will basically compare the old and new UnitAI.js and spot the differences. 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this