User avatar
Eugene Carr
Colonel
Posts: 387
Joined: Wed Jun 20, 2007 6:58 pm
Location: Dundee, Scotland

ListUnitDefs Index

Sat May 30, 2009 9:29 pm

Hi all

Having a little trouble loading my mod.

error essage is as this thread
http://www.ageod-forum.com/showthread.php?t=5480&highlight=Index%2FMaxIndex
which indicates it is a training/tech upgrade problem.
I cant find any thing obvious (and have tried removing them all) are there rules for these upgrades and would any mistakes be located in other than models files?
Thanks

S! EC
[SIGPIC][/SIGPIC]

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

Tue Jun 02, 2009 8:47 am

The error indicates that you are refering to an unit (not a model/element) which is not in the DB. So a potential culprit would be an error of TrainAutoUpg / TechAutoUpg in the Units file.
Image


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

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Tue Jun 02, 2009 2:25 pm

deleted

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

Tue Jun 02, 2009 3:05 pm

These two triggers automatically when the unit have 51% or more of their elements which are extrinsic to it. For example you have a brigade with 3 militias. The militias through auto-training are changed to lines. Then the unit will also change itself to another type of brigade, thanks to TrainAutoUpg.
Image


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

User avatar
Eugene Carr
Colonel
Posts: 387
Joined: Wed Jun 20, 2007 6:58 pm
Location: Dundee, Scotland

Tue Jun 02, 2009 8:06 pm

Pocus wrote:The error indicates that you are refering to an unit (not a model/element) which is not in the DB. So a potential culprit would be an error of TrainAutoUpg / TechAutoUpg in the Units file.


Yep you were spot on! I had never noticed those upgrades before.
I suppose after 1861 brigades would be either line or militia rarely a mix.

Thanks for the assistance.

S! EC
[SIGPIC][/SIGPIC]

Return to “AACW Mods”

Who is online

Users browsing this forum: No registered users and 11 guests