Luciano B
Conscript
Posts: 5
Joined: Fri Oct 26, 2007 5:47 pm

Error adding a new leader

Sat Apr 18, 2015 4:53 pm

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.

Prussia
Lieutenant
Posts: 145
Joined: Fri Jan 09, 2015 1:00 am

Sun Apr 19, 2015 3:27 am

Did you delete cache models file? And or cache units file?

Luciano B
Conscript
Posts: 5
Joined: Fri Oct 26, 2007 5:47 pm

Sun Apr 19, 2015 8:19 am

Prussia wrote:Did you delete cache models file? And or cache units file?


Yes, I did!

Thank you for the quick reply.

Luciano B
Conscript
Posts: 5
Joined: Fri Oct 26, 2007 5:47 pm

Sun Apr 19, 2015 8:23 am

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.

User avatar
tripax
AGEod Veteran
Posts: 777
Joined: Thu Aug 29, 2013 9:58 pm

Wed Apr 22, 2015 5:09 pm

Do the alias files in the models and the units folders matter? I don't think they do.

Return to “CW2 Mods”

Who is online

Users browsing this forum: No registered users and 14 guests