A Question to modders, how can I .....

I am currently enjoying a 1.03 game on gifted ai. I will likely update to 1.1 this weekend. 

 

I want to use a Custom race I create and I want to twink it rather badly by giving it a higher than normal class planet and adjacent planet. 

 

As an example I have the race I made use the 'Earth' type templet which gives you 'Earth and Mars' planets and of course you can rename them. 

 

I tried to mod the 'Earth and Mars' XML changing earth to class 20 and mars to class 18, and putting that xml into the mod folder. However when i created the game the changes did not show up. 

 

My reasons for doing this aside, I am simply getting my feet wet with modding. Is there a step or series of steps I am missing or another xml I need to also 'mod'?

 

 

5,659 views 5 replies
Reply #1 Top

Files you need to create a new star system are:

StarDefs, StarSystemDefs, PlanetDefs

if you want to give this to a custom faction you also need FactionDefs

 

you can just copy the base file into your mod folder and delete everything exept one entry in each of this files,

then just change this to your liking.

 

remember to change InternalName to someting uniqe (like "Larsenex_Planet", "L_StarSystem" or so..)

Reply #2 Top

Have you remembered to turn mods on in the options menu? Also, make sure it's in mod\Game, or it won't work.

Reply #3 Top

Nasselus yes i have them but only modded, 'Planet Defs' and not StarDefs or Star SystemDefs. When you say 'change internal name' are you referring to the file I save it as? 

Reply #4 Top

No, he means make sure the <InternalName> of any new entrys you make is unique. It's easy to miss changing this if you copy and paste a previous entry to use as a template.

Reply #5 Top

Quoting rspiccaver, reply 4

No, he means make sure the <InternalName> of any new entrys you make is unique. It's easy to miss changing this if you copy and paste a previous entry to use as a template.
End of rspiccaver's quote

 

yep, but the filename should be uniqe too