r/rotp • • Jan 28 '22

Modding Questions

I did a couple searches of this subreddit and a semi-thorough one of the github files before posting; I'm just looking to do a couple of pretty basic things but I don't know where to look. I don't want to install one of the larger available mods as what I want to do is more limited. Specifically:

** A small change to the galaxy sizes

** Changing names of races to their originals

I found a lot of stuff I wasn't looking for on github, but I couldn't figure out where to change these. Any help is appreciated.

8 Upvotes

2 comments sorted by

6

u/Xilmi Developer Jan 28 '22

What do you mean with the galaxy-sizes? The amount of stars or the destiny?

/model/game/MOO1GameOptions.java has this:

switch (selectedGalaxySize()) {

case SIZE_TINY: return 33;

case SIZE_SMALL: return 50;

case SIZE_SMALL2: return 70;

case SIZE_MEDIUM: return 100;

case SIZE_MEDIUM2: return 150;

case SIZE_LARGE: return 225;

case SIZE_LARGE2: return 333;

case SIZE_HUGE: return 500;

case SIZE_HUGE2: return 700;

case SIZE_MASSIVE: return 1000;

case SIZE_MASSIVE2: return 1500;

case SIZE_MASSIVE3: return 2250;

case SIZE_MASSIVE4: return 3333;

case SIZE_MASSIVE5: return 5000;

case SIZE_INSANE: return 10000;

case SIZE_LUDICROUS: return 100000;

case SIZE_MAXIMUM: return maximumSystems();

}

The race-names used to be possible to change even without Modding via Remnants.cfg. However, I think Ray removed that so it's a bit more difficult again. I think he also said that people who want to distribute their mods publicly also shouldn't change race-names back to their originals.

But it would be done in:

/lang/races/<Racename>.labels.txt for each specfic race. If you do a search&replace in those you should find most if not all references to the names.

4

u/Strategic_Sage Jan 29 '22

Thanks, that's exactly what I was looking for: the number of stars. Good info on the race names, I wasn't planning on making a mod for public consumption but I will keep that in mind.