User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Units appearing as 'static'

Wed Mar 05, 2008 12:23 am

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:
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]
[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]

[CENTER]Rules for new members[/CENTER]
[CENTER]Forum Rules[/CENTER]

[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
Jabberwock
Posts: 2204
Joined: Thu May 31, 2007 12:12 am
Location: Weymouth, MA
Contact: ICQ

Wed Mar 05, 2008 3:59 am

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.
[color="DimGray"] You deserve to be spanked[/color]

Image

User avatar
Jabberwock
Posts: 2204
Joined: Thu May 31, 2007 12:12 am
Location: Weymouth, MA
Contact: ICQ

Wed Mar 05, 2008 1:08 pm

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.
[color="DimGray"] You deserve to be spanked[/color]



Image

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Wed Mar 05, 2008 1:48 pm

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! :king: :king: :king:
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
Rafiki
Posts: 5811
Joined: Thu Aug 24, 2006 9:19 am
Location: Oslo, Norway

Wed Mar 05, 2008 2:15 pm

Nice work, Jabberwock Image
[CENTER]Latest patches: AACW :: NCP :: WIA :: ROP :: RUS :: PON :: AJE
Visit AGEWiki - your increasingly comprehensive source for information about AGE games
[SIGPIC][/SIGPIC]
[/CENTER]

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Wed Mar 05, 2008 3:26 pm

Holmes is back!
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 12 guests