31
User modifications / Re: Couple of questions
« on: July 07, 2012, 06:48:10 pm »This is something we've been working on improving, but I'm not sure if it's there yet. Currently, all text is uncompiled .po files which are then compiled into .mo files used by the game. You can edit the .po files but you would have to distribute new, compiled .mo files with your mod -- and these contain all the translations as well, so could limit your mod to just English.
While I'm not too concerned with limiting the mod to English (at least with regards to the descriptions etc) I've had a look at editing the .po file to make a.mo file and while it's possible, you have to overwrite the one in the base/i18n folder because the game ignores anything in the mod/neotweaks/i18n folder. As this takes the mod beyond the scope of script changes and would mean the descriptions took effect even with an unmodded game, I shall be leaving them out for now. Hopefully some smart person will figure out a way to let modders edit it without overwriting unmodded game files at some point
Also, editing the .po file only allows you to change the current strings, not add new ones as far as I can see, so no new tech descriptions etc as it currently stands.