Page 1 of 1
Units appearing as 'static'
Posted: Wed Mar 05, 2008 12:23 am
by lodilefty
Why does this happen? I've tried a few ideas and searched high and low, with no clue! How can we avoid it?
These are the ones with the 'pulsing padlock' on the active envelope, and the tooltip calls them 'static', as opposed to 'fixed'...
See screenshot for a recent example:
Posted: Wed Mar 05, 2008 3:59 am
by Jabberwock
I know fixed units are created with CreateUnit: FixType = 999.
I think static units are created when AutoRaise (in the unit definition) = $aurVolunteers or $aurPartisans
EDIT: The more I look at it the more I think it is something else.
Posted: Wed Mar 05, 2008 1:08 pm
by Jabberwock
In the Models file of the DB check out the MoveRatio column. All (and only) static units are created using a model with a MoveRatio of 0.
Posted: Wed Mar 05, 2008 1:48 pm
by lodilefty
Jabberwock wrote:In the Models file of the DB check out the MoveRatio column. All (and only) static units are created using a model with a MoveRatio of 0.
OMG! All those 'static militia' we've wondered about have this same value!
Then they release when they 'hit' the 7% probability to upgrade to mobile militia !!!
You're brilliant!

Posted: Wed Mar 05, 2008 2:15 pm
by Rafiki
Nice work, Jabberwock

Posted: Wed Mar 05, 2008 3:26 pm
by Pocus
Holmes is back!