wiltaz
Corporal
Posts: 48
Joined: Mon Jun 25, 2007 10:16 pm

Replacements

Sat Jul 14, 2007 11:11 am

Where can you change the cost of each unit family type on the replacement screen?

And from my test it appears as if items appear on the replacement screen and have their max value set by the number of units you have on the map.

But events appear to modify the family type at least in name. What does this do?

Remplacement CSA|$famLine|6

User avatar
Primasprit
Posts: 1614
Joined: Mon Jun 19, 2006 7:44 pm
Location: Germany

Sun Jul 15, 2007 5:00 pm

Hi wiltaz!

Where can you change the cost of each unit family type on the replacement screen?

Sorry, don't know...

But events appear to modify the family type at least in name. What does this do?
Remplacement CSA|$famLine|6

Changes the number of available Replacements for a given Unit Family.

wiltaz
Corporal
Posts: 48
Joined: Mon Jun 25, 2007 10:16 pm

Sun Jul 15, 2007 5:33 pm

See I thought it might be that obvious but wasn't sure since in my test scenario there were no replacements on the screen and then I built 2 infantry bdes. Next turn the bdes were forming and line infantry appeared on the replacement screen. No events changed the value it just did it since line infantry were on the map now. I guess I figured setting the value to 6 in an event wouldn't do any good since if you build more bdes the program seems to update the replacement screen automatically. I'll test this more and see which takes priority.

wiltaz
Corporal
Posts: 48
Joined: Mon Jun 25, 2007 10:16 pm

Mon Jul 16, 2007 12:42 am

I've done some further tests on this and I don't see it working. I set it to a value but it's always the generated value that supports the amount of that family on the map. I don't get any errors, so it either does nothing or maybe it sets it and then the code overrides it.

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

Mon Jul 16, 2007 7:05 am

The cost of a replacement is tied to the average cost of all units needing this replacement on the map.

The number you see on the rpl panel is the max number of replacements you can stockpile, and is equal (for now) to the number of elements able to receive these replacements.
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 0 guests