Page 1 of 1

Error adding a new leader

Posted: Sat Apr 18, 2015 4:53 pm
by Luciano B
Hello
I attempted to add a new confederate leader (John S. Bowen); I added a new model file and a new unit file (using notepad), I added the related entries in the Alias files (in "Models" and in "Units" folders) and finally the related event strings to show up the leader in the scenario together with the leaders already present in "1861 generals pool"; the game loads without crashing, but in place of the new leader (Bowen) there is a clone of the last general listed in the same stack in the event file.

In the log file I found the following error:
17:30:45 (Reporting) TListModels.Create 871 models loaded, out of 871 models files in 6542 ms
17:30:45 [Error ] TDoubleList.AddEltFromString Invalid string LDR_CSA_BOWEN|1 UD: 1186 John S. Bowen
17:30:45 (Reporting) TListUnitDefs.Create 1187 UnitDef loaded, out of 1187 UnitDef files in 872 ms

Any idea how to solve this problem?
Thank you in advance.

Posted: Sun Apr 19, 2015 3:27 am
by Prussia
Did you delete cache models file? And or cache units file?

Posted: Sun Apr 19, 2015 8:19 am
by Luciano B
Prussia wrote:Did you delete cache models file? And or cache units file?


Yes, I did!

Thank you for the quick reply.

Posted: Sun Apr 19, 2015 8:23 am
by Luciano B
Problem solved!

I discovered another couple of Alias files to mod in "Aliases" folder; so the "alias" files to cure are four: une in the GameData/Models folder, one in GameData/Units folder, two in "Aliases" folder.

The new leader now shows up correctly.

Posted: Wed Apr 22, 2015 5:09 pm
by tripax
Do the alias files in the models and the units folders matter? I don't think they do.