New Tech Mod Crash

Hi all, i'm encountering a crash that I can't figure out.

I've got Sins Rebellion 1.5 with the Forbidden Worlds DLC. I'm trying to give the TEC a new tech that gives their ships a speed boost. It's always annoyed me that they can increase their turn rate but not their speed. This is the first time i've added a tech to the game, and trust me when I say it took a good deal of trial and error to get even this far. I've basically just copied the SpeedBoostArmor.entity file and called it SpeedBoostArmor2.entity. :P

Anyways, I've added the tech in, the game loads fine, and the tech shows up in the research tree. But when I hover my mouse over the new tech, the game instantly crashes and generates a minidump. Anyone have any idea what the problem is? Does anyone need the minidump file to check?

And while i'm on the subject, how do you make the arrows display when two techs are linked? I'd like to show an arrow pointing from Advanced Maneuvering to my new tech.


My achievement

5,601 views 4 replies
Reply #1 Top

Let me guess... you didn't convert your reference files yourself and downloaded them more than two weeks ago. Hence your reference files are now out of date because the 1.5 patch changed absolutely every single research entity.

And while i'm on the subject, how do you make the arrows display when two techs are linked? I'd like to show an arrow pointing from Advanced Maneuvering to my new tech.
End of quote

Give it a research prerequisite, the Vasari lighter armor tech would have had one. Actually that might also be the problem if you didn't remove that.

And for future reference, in a case like this where you know exactly what file is causing the problem, please put it up on pastebin and link it to us.

Reply #2 Top

No, I didn't convert them myself, but I did download the 1.5 reference files yesterday from Harpo's post Here. So as far as I know, i've got the latest available version of the files. I have also already given it a prerequisite tech.

Since it takes changes to several files to add in a tech, I don't actually know which file is causing the problem. Here's my new tech entity file, anyway.

SpeedBoostArmor2.entity

Reply #3 Top

Again, for future reference please use either pastebin (no account sign up required) or dropbox, I want to be able to just see the file in my web browser, not download it.

Edit: Well, I guess you can view text files in media fire, who knew.

 

Well my apologies, yeah it looks like you did that right. There should be an empty line at the very bottom of the entity file, but that shouldn't cause a crash. The next step is to run your mod in the dev.exe and see if it can give you any error messages.

Reply #4 Top

Ooh that's a handy program, although it took me some time to figure out where it was located on my computer or that I had to copy over my mod.

It turns out the problem was in the file afterall. My research prerequisite was set as "CAPITALSHIP_MANEUVERINGTHRUSTERS" but it should've been "RESEARCHSUBJECT_CAPITALSHIP_MANEUVERINGTHRUSTERS". :blush: