Stellaris

Stellaris

View Stats:
TheSting Dec 31, 2016 @ 8:05am
How Do I Edit My Pops Ethics Using Commands
The Commands that i know would be used to do this are remove_ethic_pop and add_ethic_pop
My problem is i dont know how to find my pops' ids. I have looked in the save file for this information but could only find the ethic codes.

Thanks for the help
< >
Showing 1-11 of 11 comments
You must type ''debugtooltip'' in console (without the '' of course). This will reveal every pop's ID in-game and you can inspect it by hovering over each pop.
Afterwards, you type ''remove_ethic_pop ID ethic_X'' where ID is the desired pop's ID and X the ethic you wish removed.
WARNING: Sometimes, you may need to move around the pop so that the EFFECTS are activated, or even reload the game.
Similar process for leaders, rulers, species traits etc.
Last edited by Kathistos Moggolos; Dec 31, 2016 @ 9:16am
TheSting Dec 31, 2016 @ 9:19am 
Originally posted by Kathistos Moggolos:
You must type ''debugtooltip'' in console (without the '' of course). This will reveal every pop's ID in-game and you can inspect it by hovering over each pop.
Afterwards, you type ''remove_ethic_pop ID ethic_X'' where ID is the desired pop's ID and X the ethic you wish removed.
Similar process for leaders, rulers, species traits etc.
Thank you very much for the reply :)
I will definitely find this very useful in my "test" save file ;)
Kathistos Moggolos Dec 31, 2016 @ 10:43am 
No problem, should you require any more assistance regarding light modding/editting, just ask here.
Happy new year and happy editting.
TheSting Dec 31, 2016 @ 10:47am 
Originally posted by Kathistos Moggolos:
No problem, should you require any more assistance regarding light modding/editting, just ask here.
Happy new year and happy editting.
funny u say modding, i am trying to make a mod for stellaris which adds a new army type. I have followed 2 guides on how to do this, but i keep getting a crash once the game loads. At the moment i have this written to a .lua in the mod's define file:
spec_ops_army = {
damage = 5
health = 1.00
morale = 10
assault = yes
time = 30
maintenance = 0.25
icon_frame = 2
cost = {
minerals = 30
}
prerequisites = { "tech_assault_armies" }
potential = {
from = {
NOR = {
is_species = "ROBOT_POP_SPECIES_1"
is_species = "ROBOT_POP_SPECIES_2"
is_species = "ROBOT_POP_SPECIES_3"
is_sentient = no
}
}
}
}
What i think might be the issue is that this doesnt belong in the define file? if you could clarify and maybe spot some errors i would be grateful :)
Happy New Year!
Kathistos Moggolos Dec 31, 2016 @ 11:02am 
Sorry, this is out of the scope of my knowledge, have never seriously delved in the lua files exactly because they can crash the game. I usually just rearrange things in the txt files (that's what I meant light). Having seen the code, it seems fine, so the error must be somewhere else, possibly yes, may be due to not being in the correct file.
TheSting Dec 31, 2016 @ 11:06am 
Originally posted by Kathistos Moggolos:
Sorry, this is out of the scope of my knowledge, have never seriously delved in the lua files exactly because they can crash the game. I usually just rearrange things in the txt files (that's what I meant light). Having seen the code, it seems fine, so the error must be somewhere else, possibly yes, may be due to not being in the correct file.
after doing a little more research and with a little bit of luck i solved it and the mod works correctly :) what u say about txt files actually gave me a bit of a eureka moment XD
Turns out i needed to put the code into a txt file in this directory:
C:\Users\user\Documents\Paradox Interactive\Stellaris\mod\mymod\common\armies
thx again mate :)
Kathistos Moggolos Dec 31, 2016 @ 11:11am 
No problem, just a few days ago I had something similar occur to me. I wanted to fix something about sector production, I searched the internet, asked, no useful answers whatsoever. Then I thought ''well, why not open the sector_types.txt and see what I can find myself''. And lo, there it was, the command in front of my eyes, so simple. Can never be sure where and when the inspiration hits you.:steamhappy:
shamgar348 Jun 19, 2017 @ 5:35am 
Is it possible to edit more than one pop at a time? If so how?
TheSting Jun 19, 2017 @ 6:13am 
Originally posted by shamgar348:
Is it possible to edit more than one pop at a time? If so how?
nope. there may be a mod in the future if ppl can figure it out
philipp0815 Mar 5, 2018 @ 7:33am 
Originally posted by Kathistos Moggolos:
You must type ''debugtooltip'' in console (without the '' of course). This will reveal every pop's ID in-game and you can inspect it by hovering over each pop.
Afterwards, you type ''remove_ethic_pop ID ethic_X'' where ID is the desired pop's ID and X the ethic you wish removed.
WARNING: Sometimes, you may need to move around the pop so that the EFFECTS are activated, or even reload the game.
Similar process for leaders, rulers, species traits etc.


Where can I get those IDs and the Xs?
TheSting Mar 5, 2018 @ 7:34am 
Originally posted by philipp_0815:
Originally posted by Kathistos Moggolos:
You must type ''debugtooltip'' in console (without the '' of course). This will reveal every pop's ID in-game and you can inspect it by hovering over each pop.
Afterwards, you type ''remove_ethic_pop ID ethic_X'' where ID is the desired pop's ID and X the ethic you wish removed.
WARNING: Sometimes, you may need to move around the pop so that the EFFECTS are activated, or even reload the game.
Similar process for leaders, rulers, species traits etc.


Where can I get those IDs and the Xs?
ID u have to use a debug command which can be found on the console command wiki, and the X is just the ethic name, which u can find looking thru the ingame files in /stellaris/common
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Dec 31, 2016 @ 8:05am
Posts: 11