Research Modding.

Research trouble.

Hey there guys, I just started trying to mod the research on the Vasari race, and I'm running into problems.

I was wanting to add a research button, with research for Wave weapon damage, so I copied one of the other files in the reference files I have, the one I used was "RESEARCHSUBJECT_WEAPONDAMAGE_WAVE0", I changed the name of the research file so its unique, the location in the research window in the file, and some percents. I also added this file to the "PlayerPhase" file, under the research subjects. I also noticed a "Research Info - Count 147" line, and since I added a new research subject, I increased this number to 148. Now, My game crashes on loading the main game, when the game loads all it's assets.

I just want to add new research subjects, and I've been able to MOVE research subjects around, just not new ones"

any idea on what Im doing wrong guys?

9,882 views 13 replies
Reply #1 Top

Did you add your new file to the entity.manifest?

Also, use Dev.exe to test your changes if you haven't been.

Reply #2 Top

Thats what I was missing. since I couldn't find any research tree mod tutorials, I assumed thats all I had to do lol.

thanks alot Fire., its working now wonderfully.

 

 

Edit.

Ok, I'm a moron, I launched the game, and for SOME reason, it does not load the mod, so I leave the game thinking, "hey, it loaded! that must mean it worked!" the mod was not loaded.

I've ran the game in Dev mode, and when I try to enable the mod, it gives me a error in the file "PlayerPhaseLoyalist.entity"

Text FileArchive missing Label.

File: C:\Users\Serial Fox\Documents\My Games\Ironclad Games\Sins of a Solar Empire Rebellion\Mods-Rebellion v1.031 Dev\fgbjnhf\GameInfo\PlayerPhaseRebel.entity
Label: entityDefName
Line Number:221
Line Contents:    starBaseInfo

And It prompts me for a action such as breaking the proccess, or skiping. skiping does nothing, its like a open bracket or undefined loop in a program. , errors start at line 221 and continue to the end of the entity file.

Reply #3 Top

Well, you said you updated the count, but that's the problem there.  You're a line off.  The count is one too many, in this case.

Reply #4 Top

Alright, I think I have most of it sorted out, everything seems to be linked correctly, my counts HAVE to be correct. and now I'm only getting  error, the original one, and only one prompt, i click skip and the game does a normal minidump and then exits.

Text FileArchive missing Label.

File: C:\Users\Serial Fox\Documents\My Games\Ironclad Games\Sins of a Solar Empire Rebellion\Mods-Rebellion v1.031 Dev\fgbjnhf\GameInfo\PlayerPhaseRebel.entity
Label: entityDefName
Line Number:221
Line Contents:    starBaseInfo

I've tried deleting the file and moving a fresh copy over, but every time it gives me this one error.

clueless^^

 

 

 

 

 

 

 

 

 

 

Reply #5 Top

Quoting Servantsaber, reply 5
Alright, I think I have most of it sorted out, everything seems to be linked correctly, my counts HAVE to be correct. and now I'm only getting  error, the original one, and only one prompt, i click skip and the game does a normal minidump and then exits.

Text FileArchive missing Label.

File: C:\Users\Serial Fox\Documents\My Games\Ironclad Games\Sins of a Solar Empire Rebellion\Mods-Rebellion v1.031 Dev\fgbjnhf\GameInfo\PlayerPhaseRebel.entity
Label: entityDefName
Line Number:221
Line Contents:    starBaseInfo

I've tried deleting the file and moving a fresh copy over, but every time it gives me this one error.

clueless^^

 
End of Servantsaber's quote

Your count in the Player file is off. "PlayerPhaseRebel.entity" is the file where the error lies. Label tells you what it needs to be, Line number is where, and Line Contents is what you currently have. It looks like you need to add  or subtract 1 to the count to the research section in the Player Phase Rebel.entity file.

Reply #6 Top

My apologies for my extremely late response.

I have attempted to add to the total research subjects number, it starts at 147, so I tried adding one or subtracting by one, but both times it failed.

Im thinking its a open and endless loop in the file, as the line it indicates has not been changed, its the first field AFTER the research defined subjects area.

i honestly dont have a clue whats causing this, im pretty sure my math is correct, assuming adding one extra research subject equals adding one number to the total research subjects field, lol.

Reply #7 Top

It's possible something else is throwing the line count off, such as a missing " or an extra space character. But if it's telling you something is off with that line, something is off with that line (or something else is causing it to read that line wrong, but probably not relevant here). If you have to, remake the file from scratch with just that change and see what happens.

Reply #8 Top

I see, well i downloaded a original copy of the referance files, and replaced the PlayerPhaseRebel.entity in my dev game folder with the original from the referance rules, I only added one line

 entityDefName "RESEARCHSUBJECT_WEAPONDAMAGE_WAVE3"

                          This is right under the other Wave 0,1 and 2 research in the file.

and I also changed this...

        researchInfo
        count 148 (ORIGINAL)

        To

           researchInfo
        count 149

thats ALL i changed, and it keeps giving me that one error.

Text FileArchive missing Label.

File: C:\Users\Serial Fox\Documents\My Games\Ironclad Games\Sins of a Solar Empire Rebellion\Mods-Rebellion v1.031 Dev\fgbjnhf\GameInfo\PlayerPhaseRebel.entity
Label: entityDefName
Line Number:222
Line Contents:    starBaseInfo

 

EDIT.

I just tried localizing the problem, and I found that the error in the player.entity file will happen even if NO changes are made to it, as long as you modify the "entity.manefest" and add the research .entity file to the Gameinfo folder. quite odd, perhaps something is referencing the player.entity file OTHER than the Entity.manefest?

Reply #9 Top

do NOT adjust the counts Unless you ACTUALLY add or remove items in the sections of the player entities, and the player entitiy files are just as important as the entity.manifest so before you add to the mainfest, add the files to the player.

harpo

 

Reply #10 Top

I expected as much. I added one line to the player research count in the player.entity and modified the count there, and added the new research to the entity.manefest, and modified the count there. it all should be linked correctly.

I'm guessing, that I need a modding tutorial. I've looked, but has anyone seen a research modding tutorial, or are those nonexistant?

 

Reply #13 Top

Three posts, starting downwards from this one, have some info on research entities. If you have any specific questions I'd be happy to answer them.