MatthewCline Posted March 23, 2018 Share Posted March 23, 2018 I wanted to add some additional adjectives and nouns to the words used to create random colony names. Poking around, in the directory OxygenNotIncluded/OxygenNotIncluded_Data/StreamingAssets/Mods I found the files strings_preinstalled_[LANG]_klei.po and strings_template.pot. I tried changing the list of adjectives found in strings_template.pot and compiling it to strings_preinstalled_en_klei.po, but no dice. I also tried putting the modified strings_template.pot into the Mods directory, and still no change. Is there any way to do what I'm aiming for? Link to comment https://forums.kleientertainment.com/forums/topic/88989-how-to-mod-in-additional-colony-adjectives-and-nouns/ Share on other sites More sharing options...
trevice Posted March 23, 2018 Share Posted March 23, 2018 You could try ONI-Modloader. If i'm not mistaken, the game has the strings hardcoded. I've done something similar adding strings to the game. Have a look to the function the function Prefix in the class InsulatedPressureDoorMod: https://github.com/javisar/ONI-Modloader/blob/master/ModLoader/InsulatedDoorsMod/InsulatedDoorsMod.cs Namely you may have something like this: [HarmonyPatch(typeof(BaseNaming), "OnSpawn")] internal class ColonyNamesMod { private static void Prefix() { Strings.Add("STRINGS.NAMEGEN.COLONY.ADJECTIVE.SCORCHING", "Scorching"); } } Link to comment https://forums.kleientertainment.com/forums/topic/88989-how-to-mod-in-additional-colony-adjectives-and-nouns/#findComment-1018535 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.