Since I've been tinkering alot here lately with Star Ruler 2 data files, I figured I would post some of my findings to help anyone with wanting some easy cheating!
To start with Ill start with a set of Influence cards I have made.
( Located in C:\SteamGames\SteamApps\common\Star Ruler 2\data\influence\actions ) or wherever your steam game files are. When used the cards will place a set amount of Trade-able resources on ANY PLANET you own!!
First you will star with a new text document. I named my first one resourcelvl0. This influence card will give you all starting resources that take no population to start using!
P.S.- I did not include some of the defense resources, mainly because civilian defense building start popping up everywhere if to many defense resources on a planet!!
This is how the first resource card would look.
Card: Resourceslvl0
Name: #CARD_RESOURCES Lvl 0
Description: #CARD_CULTIVATION_DESC
Icon: CardIcons::19
Color: #206080
Class: Action
Rarity: Epic
Base Purchase Cost: 1000000
Base Play Cost: 0
Target: planet = Object
TargetFilterOwned(planet)
TargetFilterType(planet, Planet)
ApplyRegionTargetCostMod(planet)
OnPlanet(planet, AddPlanetResource(Aluminum))
OnPlanet(planet, AddPlanetResource(Coal))
OnPlanet(planet, AddPlanetResource(Fish))
OnPlanet(planet, AddPlanetResource(Fruit))
OnPlanet(planet, AddPlanetResource(Fulrate))
OnPlanet(planet, AddPlanetResource(Gems))
OnPlanet(planet, AddPlanetResource(Grain))
OnPlanet(planet, AddPlanetResource(Iron))
OnPlanet(planet, AddPlanetResource(Meat))
OnPlanet(planet, AddPlanetResource(Phasite))
OnPlanet(planet, AddPlanetResource(Salts))
OnPlanet(planet, AddPlanetResource(Spice))
I know that I did not change the card picture description but I felt it irrelevant to me to change it. Also your gonna want to press the TAB key on everything except ( Card: Resourceslvl0 )
I have never tried it without Tabing everything away from the edge so it might crash if it isnt!!
Next Card
Card: Resourceslvl1
Name: #CARD_RESOURCES Lvl 1
Description: #CARD_CULTIVATION_DESC
Icon: CardIcons::19
Color: #206080
Class: Action
Rarity: Epic
Base Purchase Cost: 1000000
Base Play Cost: 0
Target: planet = Object
TargetFilterOwned(planet)
TargetFilterType(planet, Planet)
ApplyRegionTargetCostMod(planet)
OnPlanet(planet, AddPlanetResource(Chemicals))
OnPlanet(planet, AddPlanetResource(Deuterium))
OnPlanet(planet, AddPlanetResource(Electronics))
OnPlanet(planet, AddPlanetResource(Glass))
OnPlanet(planet, AddPlanetResource(LuxuryMaterials))
OnPlanet(planet, AddPlanetResource(NativeGold))
OnPlanet(planet, AddPlanetResource(NaturalGas))
OnPlanet(planet, AddPlanetResource(Oil))
OnPlanet(planet, AddPlanetResource(Plastics))
OnPlanet(planet, AddPlanetResource(RareMetals))
OnPlanet(planet, AddPlanetResource(Textiles))
OnPlanet(planet, AddPlanetResource(Titanium))
Be sure to Tab everything except the first line just like card0
Card Lvl 2
Card: Resourceslvl2
Name: #CARD_RESOURCES Lvl 2
Description: #CARD_CULTIVATION_DESC
Icon: CardIcons::19
Color: #206080
Class: Action
Rarity: Epic
Base Purchase Cost: 1000000
Base Play Cost: 0
Target: planet = Object
TargetFilterOwned(planet)
TargetFilterType(planet, Planet)
ApplyRegionTargetCostMod(planet)
OnPlanet(planet, AddPlanetResource(AncientCity))
OnPlanet(planet, AddPlanetResource(DegenerateMatter))
OnPlanet(planet, AddPlanetResource(Jewelry))
OnPlanet(planet, AddPlanetResource(Medicines))
OnPlanet(planet, AddPlanetResource(Neutronium))
OnPlanet(planet, AddPlanetResource(Plutonium))
OnPlanet(planet, AddPlanetResource(PsionicReagents))
OnPlanet(planet, AddPlanetResource(Supercarbons))
OnPlanet(planet, AddPlanetResource(Thorium))
OnPlanet(planet, AddPlanetResource(Uranium))
Card Lvl 3
Card: Resourceslvl3
Name: #CARD_RESOURCES Lvl 3
Description: #CARD_CULTIVATION_DESC
Icon: CardIcons::19
Color: #206080
Class: Action
Rarity: Epic
Base Purchase Cost: 1000000
Base Play Cost: 0
Target: planet = Object
TargetFilterOwned(planet)
TargetFilterType(planet, Planet)
ApplyRegionTargetCostMod(planet)
OnPlanet(planet, AddPlanetResource(Antimatter))
OnPlanet(planet, AddPlanetResource(Corinium) )
OnPlanet(planet, AddPlanetResource(ExoticMatter))
OnPlanet(planet, AddPlanetResource(Hydroconductors))
OnPlanet(planet, AddPlanetResource(Illinium))
OnPlanet(planet, AddPlanetResource(Drugs))
And that concludes the resource influence cards! If you noticed i set the cost to buy the card EXTREMELY High, this is to prevent the AI from buying them (you can change if you would like a challenge)
Next I will show you how to give the cards to yourself so you wont have to buy them!
( MAKE FILE BACKUPS OF BOTH GAME FILES AND ALTERED FILES! I'M NOT RESPONSIBLE FOR YOU OR YOUR COMPUTERS SAFETY!! )
[Edited by RebeIboy, 8/5/2014 4:01:03 AM]
[Edited by RebeIboy, 8/15/2014 11:37:10 PM]
[Edited by RebeIboy, 8/15/2014 11:37:49 PM]