• 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.

SkyShadowing

Migratory Modder
120 Badges
Oct 15, 2010
117
34
  • Age of Wonders: Planetfall
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Stellaris: Galaxy Edition
  • Shadowrun: Dragonfall
  • Surviving Mars: First Colony Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • 500k Club
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Tyranny - Bastards Wound
  • Prison Architect
  • Cities: Skylines - Green Cities
  • Hearts of Iron 4: Arms Against Tyranny
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • BATTLETECH - Beta Backer
  • BATTLETECH - Backer
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Golden Century
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Victoria 2
  • Crusader Kings Complete
  • Imperator: Rome Deluxe Edition
I pretty much want to create an exact copy of the USA except as my own Sponsor for the limited amount of flavor text that such a thing actually affects (the copying of the USA is for balance purposes). But I can't figure out where to see the Game Effects that are applied to the USA, relating to prices, research, additional funding, and such.

Is there any way to see that info?
 
Hi,
in the modding tool are some "copy from" options... in case of the most Commanders there is "just" the "menu bla bla"
but for exaple:

Politician

New Item > new Gamevalue
Cat Gameplay
ID Funding Gains Modifier

PlaceObj('ModItemGameValue', {
'id', "FundingGainsModifier",
'percent', 20,
}),

or the Metal Guy / Water Guy

PlaceObj('ModItemGameValue', {
'id', "IsDeepMetalsExploitable",
'amount', 1,
}),

PlaceObj('ModItemGameValue', {
'id', "IsDeepMetalsExploitable",
'amount', 1,
}),

PlaceObj('ModItemGameValue', {
'id', "IsDeepPreciousMetalsExploitable",
'amount', 1,
}),

all found unter Cat "Gameplay"


"not get earth sick Sponsor"
think there is some custom Code in it.
Don't find it yet.

For Exaple get the "Idiocracy mod"
But thats above my skills (editing is all i can - and simple values)

Greets
 
Wow wait a minute, where did you get these?

I'm in mod editor and when I click "new commander" and "copy from" it only shows the description and some predefined stats. Where should I see those lines? "Game Apply"?
 
Hi Alexander,

the ugly part is in the init.lua (Modeditor has difficulties to load text based mods)
PlaceObj('ModItemGameValue', {
'id', "IsDeepPreciousMetalsExploitable",
'amount', 1,
}),

in my example 0 = none 1= yes // no other value, i think
some others are with amount and percent, check +/- value if u want more or less

Back to the ModManager:

"Most of my needs"
are simple "GameValue"s

open "Your Mod"
> new item
> new GameValue
> Category "Gameplay"
>>>> switch to your desired ID
there is very much u can get from the normal commanders/sponsors
(see above - ugly text it is - but the information is in the ugly) :)


--

some commander or mission sponsor specials are simple game values!
so you dont have to create a sponsor or a commander! But in there are other possibilitys

Tip: Dont overdue it... fun fades very quickly


greets
 
Last edited:
Ahh, I see. Is that LUA code what I should add to a custom commander's "Game Apply" function line to get it working? And if I figure out the code for preventing earthsickness it's just about something like that?
 
Do you have the medical commander mod from the Dev's?

If so that will show you a few things that you can do for custom commander, but yes I believe you put the modifier code in the game apply part.
 
For the politican: I'm pretty sure that it is just a GameValue.

My example from the Water/Metal guy... at the moment i just test some sandboxing and there are MUCH resources... so i think it is correct. :)

Greets
 
I'm wondering this too. Trying to copy the effect from IMM that prevents colonists from getting Earthsick. I have no idea where that happens in the code o.o
Yeah, I did a copy from when creating my Mission Sponsor thinking that the
- Colonists never get Earthsick
- Food supply from Passenger Rockets increased (x10)
- Rockets synthesize Fuel
traits would carry over, anyone know the game apply codes for these yet?