Page 1 of 1

ListUnitDefs Index

Posted: Sat May 30, 2009 9:29 pm
by Eugene Carr
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

Posted: Tue Jun 02, 2009 8:47 am
by Pocus
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.

Posted: Tue Jun 02, 2009 2:25 pm
by Gray_Lensman
deleted

Posted: Tue Jun 02, 2009 3:05 pm
by Pocus
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.

Posted: Tue Jun 02, 2009 8:06 pm
by Eugene Carr
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