Haliros
-
-
Members
-
-
7 posts
Posted 28 May 2009 - 02:46 AM
So I recently enabled Arnor as a playable faction in my RotWK game, and was sad when I found out that Arnor couldn't be used as a WotR Faction (you would be defeated at the start of the game.) So I set out to make Arnor playable in WotR. Sure, it was probably a hefty task for a beginner, but I have some experience with Java programming, and while INI is a completely different programming language, I thought the coding process would be similar. Anyways, I went through the many livingworld files in the INI file, and "thought" I had reviewed/changed anything that had to do with Arnor in the files. After a while, my (many) bugs were fixed (at least, the debugger showed nothing). When I went into RotWK, I clicked 'War of the Rings', set my settings, etc. However, after clicking 'Play', the game crashed. So, I went back into the livingworld files to see what I had done wrong, and found that I had missed this small piece of code in 'data\ini\livingworld.ini'
CODE
MenBanner = GU_Banr_A
ElvesBanner = GU_Banr_A
DwarvesBanner = GU_Banr_A
IsengardBanner = MU_Banr_A
MordorBanner = MU_Banr_A
WildBanner = MU_Banr_A
;ArnorInfantryBanner = GU_Banr_A
AngmarBanner = MU_Banr_A
NeutralBanner = GU_Banr_A
MenAnts = ArmyAnts
ElvesAnts = ArmyAnts
DwarvesAnts = ArmyAnts
IsengardAnts = ArmyAnts
MordorAnts = ArmyAnts
WildAnts = ArmyAnts
;ArnorAnts = ArmyAnts
AngmarAnts = ArmyAnts
After finding this, I thought simply taking out the ';'s in front of ArnorInfantryBanner and ArnorAnts would fix the problem, but after I did that, the debugger found a parse error with those two files:
CODE
Unknown field 'ArnorInfantryBanner' in block 'LivingWorldMapInfo'
Error parsing field 'ArnorInfantryBanner' in file 'Data\INI\LivingWorld.ini'
(I get the same error for ArnorAnts if I leave the semicolon in front of ArnorInfantryBanner)
What really aggravates me is that the ArnorInfantryBanner and ArnorAnts seem to have the exact same value as the other factions...and on top of that, I can't seem to find ArnorInfantryBanner or ArnorAnts in any of the other files. Can anyone shed some light as to where I could find these values? I have a raging suspicion that if I fix those to values, WotR would work.
Thanks for helping!