• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

LoZCollector

Corporal
69 Badges
Sep 22, 2016
30
0
  • Crusader Kings II
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Jade Dragon
  • Sword of the Stars II
  • Europa Universalis IV: Res Publica
  • Magicka
  • Knights of Pen and Paper +1 Edition
  • King Arthur II
  • Impire
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • A Game of Dwarves
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Shadowrun Returns
  • Age of Wonders III
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Stellaris: Apocalypse
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • War of the Roses
  • Victoria 2
I'm doing my level best to create a mod for a new sponsor in the form of the Commonwealth of Nations, claiming Mars for her majesty Queen Elizabeth! There's just one... Well actually several problems, but this is by far the most pressing.

Applicants. As you're no doubt aware, the Commonwealth is far more than just the UK, but if I want to have Canadian, New Zealand or Australian candidates (Indians pose no problem as they're already in the game) the entire list goes blank! I have no idea where to even start with modding a new nationality into the game, as it's not a trait. Can anyone at Haemimont or otherwise, tell me where I can start here?
 
Yeah, I've checked all over the mod editor and there's no obvious way to add in new sponsor nations. It's not listed anywhere in the modding documents either.
Haemimont's gonna have to step in and tell us how, if it's even possible. I doubt anybody else would be able to tell us.
 
That's not even the half of it now. I had a semi-working sponsor together, but after adding a logo for the Commonwealth (really more of a logo for the UK, but dammit, you can't have a colony without a flag), the sponsor part of the mod just stopped working altogether. It doesn't even show up now! I don't even know what I changed... I'm seriously starting to wonder if this modding nonsense isn't just sorcery after all.
 
That's not even the half of it now. I had a semi-working sponsor together, but after adding a logo for the Commonwealth (really more of a logo for the UK, but dammit, you can't have a colony without a flag), the sponsor part of the mod just stopped working altogether. It doesn't even show up now! I don't even know what I changed... I'm seriously starting to wonder if this modding nonsense isn't just sorcery after all.

I think the problem can come down to the order in which you make the mod.

I've also found that making an error in the set up can cause an error with the mod LUA and settings causing me to have to start again by deleting the mod and starting from scratch.

When creating a Mod where you want to have a Decal and Mission Logo as well I would start be creating the decal and mission logo then going on to set up the mission sponsor.

When making a Decal and a Mission Logo, I do the following:

1. Click "New Mod"
2. Enter the Mod Title
3. Double click the newly created mod so it opens
4. Click New Item tab and then New Decal
5. Give it a Name at the top, comment is optional
6. Give it an entity name
7. Give it a Display name
8. Next to "Image" is a blank box, three dots and then an Import button. Click the three dots and a browse window will open and this is where you search for you .PNG file
9. Once located file click open so that the file location appears in the box and then click Import.
10. Wait a few moments then click New Item tab and then New MissionLogo
11. Fill in the details manually for Name, ignore the drop down arrow next to this box.. The Comment is optional and ignore copy from
12. In General give it an Entity Name again
13. In Decal Mod entry, click the drop down and select the decal name you've just created
14. UI File: Click the button that says UI and then navigate to your mods folder, Open the folder with the mod name you're creating, open the UI folder and then select the .tga file in the location and press open.

for me it is defaulted to C:\Users\xxxxxxx\AppData\Roaming\Surviving Mars\Mods

AppData is a hidden folder.

Once you have selected the tga file, you may get a message saying under the box saying "File does not exist" ignore this. Just click back in the box and off again and the error will vanish.

15. Add in your Display Name and any Mod filters such as logo, decal etc

If you're going to upload to Steam do the additional below, if not press save and the above should create the Decal and Mission Logo so in the Logo Select Screen the Logo appears.

Additional Preview Image Steps:

Locate your original png file. Right click and select properties, then click the security tab and copy the object name in that tab. It will be the file location and file name in one.

16. On the left hand side of the edit mod window on the top option (the parent mod) Click in the preview image box
17. Paste in the copied object name
18. Press the upload button.

Once you get to point 15 then add in the new item Mission sponsor and set that up.

My advise would be to open the modding tool, open you existing mod for your sponsor so you can see the values of the sponsor, go back to the main mod window and create a new mod, do the steps above and then when you get to the Mission Sponsor part copy and paste the values from the other mod.

Hope this makes sense and if you want me to take a look at the mod for you I can do when I get home from work, just upload them to Dropbox, Onedrive, Google Drive or similar so I can download them and check it out for you.
 
Thanks.

I guess you'd need a seperate code for sponsor traits, now that I'm looking. LUA is completely new to me though, been modding Clausewitz alot but this is completely different.
To be more spesific with my needs if you come up with anything:
- I want to make custom nationalities
- I need to copy the trait "colonists never become earthsick" from IMM
- I wish to modify the initial applicant amount of sponsors.

No idea where to start with these as for now. Will continue looking trough the files for references
 
Thanks.

I guess you'd need a seperate code for sponsor traits, now that I'm looking. LUA is completely new to me though, been modding Clausewitz alot but this is completely different.
To be more spesific with my needs if you come up with anything:
- I want to make custom nationalities
- I need to copy the trait "colonists never become earthsick" from IMM
- I wish to modify the initial applicant amount of sponsors.

No idea where to start with these as for now. Will continue looking trough the files for references

I'm new to LUA as well, but I think some of it can be done using the Modding tool itself with game values and basic script rather than having to write out a whole LUA script and then import it.

Will double check tonight about Home Sick and applicant number as I'm sure I've seen something relating to that but not sure where.

Custom nationalities might be harder.
 
I was going to make a HoI4 to Surviving Mars convertor. Without custom nationalities that's not going to work... :(