Unusual error after converting data to .txt

raceRelationsModifier.

I get this error with the converted file, I'm not sure if the gui I'm using is the culprit. I was hoping someone could shed some light on this.

 

 

"Text FileArchive missing Label.

File: C:\Users\kaeo\AppData\Local\Ironclad Games\Sins of a Solar Empire\Mods-Diplomacy v0.85\convertme\GameInfo\PlayerTech.entity
Label: raceRelationsModCount
Line Number:723
Line Contents:raceRelationsModifierCount 3"

 

I'm pretty sure it has something to do with these lines:

raceRelationsModifier
    raceRelationsModRace "IDS_PLAYERRACENAME_TECH"
    raceRelationsMod 1.000000
raceRelationsModifier
    raceRelationsModRace "IDS_PLAYERRACENAME_PSI"
    raceRelationsMod -2.000000
raceRelationsModifier
    raceRelationsModRace "IDS_PLAYERRACENAME_PHASE"
    raceRelationsMod -1.000000

5,454 views 5 replies
Reply #1 Top

Ok, the GUI is not resposible for this error, I went and took the time to run the ConvertData_Diplomacy.exe through cmd (what a blast from the past,) and I'm still running into the same error.

 

I forgot to mention that only the TEC have those three additions, the other two races have a raceRelationsModifier count of 0, when I change this however, I still get the error. Just running the TEC player files gives me the error too. ?????

 

btw; happy turkey day.

Reply #2 Top

You're running into this error on your own entity files from a mod? Those lines are there so the game can determine how one race feels about another. The TEC, for example, will start off with a -2 modifier against the Advent, and vice versa. If you leave the count at 0 the default race-to-race modifier for relationships will be -1 for other factions and +1 for your own.

 

Glad you caught that I forgot to add those lines to the other entity files though, I'll be sure to have those in before the next patch.

Reply #3 Top

Cool! I was guessing that that's what they were there for; but when I added in the missing coding for the PlayerPsi and PlayerPhase entity files, the thing still crashed (guess this is not something I'm supposed to do, lol.) I copied the files from the Diplomacy GameInfo folder, then converted them. Then ran into this error. Oh well, at least I got some things for the mod working.

Reply #4 Top

"Text FileArchive missing Label.

File: C:\Users\kaeo\AppData\Local\Ironclad Games\Sins of a Solar Empire\Mods-Diplomacy v0.85\convertme\GameInfo\PlayerTech.entity
Label: raceRelationsModCount
Line Number:723
Line Contents:raceRelationsModifierCount 3"

 

My interpretation of this error is that the conversion is looking for "raceRelationsModCount", but it is finding "raceRelationsModifierCount". I could be wrong, but that is what I'm seeing.

Reply #5 Top

Sure enough it looks like there's a read/write mismatch involving race relations mods. I'll fix this up real quick, thanks for the tip.