Stellaris

Stellaris

[Outdated] Extended Traits
Chilla 12 May, 2016 @ 4:59am
Work around for the three disabled traits.
Hey Mod Creator,
Figured since you were doing a lovely job of making some new traits I'd give you a helping hand on the three you were having trouble with.

Now Keep in mind these are empire wide and thus you should be able to do a few more awesome traits.

So I'll Post an example for one Trait and leave the rest to you! ^^

So this uses events to do the dirty work, rather than any particular modifiers in traits.

I'll do it in three nice steps, in three posts to keep them easy to copy and paste.


Last edited by Chilla; 12 May, 2016 @ 5:57am
< >
Showing 1-5 of 5 comments
Chilla 12 May, 2016 @ 5:02am 
So First thing is First.

Create a trait, you can leave the modifiers open as these will not be doing anything for the empire.

trait_different = {
cost = 0
modifier = {
# Put the Modifiers you are going to use here, they will provide info on the particular
# modifiers applied to the empire.
}
}
Last edited by Chilla; 12 May, 2016 @ 5:05am
Chilla 12 May, 2016 @ 5:25am 
Create an events directory in same directory as the Common Directory, using a .txt file called

Trait_Events.txt

in txt file.

namespace = c_country # give the event a name

country_event = {
id = c_country.1 # namespace + .1
fire_only_once = yes # to make sure it fires only once.3
hide_window = yes # Stops the Event Window Popping up.

mean_time_to_happen = {
days = 1 # to ensure it happens every 1 day.
}

trigger = {
is_ai = no # stops AI from getting it.
has_trait = "trait_different" # checks for the trait, if the person has that trait trigger.
}

immediate = {
add_modifier = {
modifier = cheat_country_one # static modifier name
days = -1
}
}

}
Last edited by Chilla; 12 May, 2016 @ 5:40am
Chilla 12 May, 2016 @ 5:32am 
In the common folder, in a folder called static_modifiers, create a txt file create a file called cheat_static_modifiers.txt

In the .txt file put the following in, and modify to make any trait you desire :)

cheat_country_one = {
icon_frame = 1
icon = "gfx/interface/icons/planet_modifiers/pm_factory.dds"
pop_happiness = 10
pop_ethic_shift = -10.0
pop_environment_tolerance = 10.0
pop_growth_req_mult = -0.99
pop_slavery_tolerance = 100
pop_migration_time = -0.99 #Trait
pop_resettlement_cost_mult = -0.99 #Trait
leader_age = 1000 #Trait
garrison_health = 100.0 Trait
pop_fortification_defense = 10 #Trait
planet_sensor_range_mult = 1 #OP very annoying at high range
science_ship_survey_speed = 10
leader_influence_cost = -0.99
influence_gain_mult = 10
planet_ship_build_speed_mult = 100
planet_army_build_speed_mult = 100
planet_building_cost_mult = -0.99
edict_influence_cost = -0.99
building_time_mult = -0.99
planet_clear_blocker_time_mult = -0.99
spaceport_ship_build_time_mult = -0.99
spaceport_ship_build_cost_mult = -0.99
spaceport_module_cost_mult = -0.99
ship_upkeep_mult = -0.99
army_upkeep_mult = -0.99
army_morale = 5
navy_size_mult = 5.0
army_damage_mult = 10
ship_armor_mult = 10
ship_weapon_damage = 10
ship_shield_hp_mult = 10
ship_hitpoints_mult = 10
ship_armor_add = 100
ship_evasion_mult = 10
all_technology_research_speed = 1000
ship_anomaly_research_speed_mult = 1000
tile_resource_physics_research_mult = 1.0
tile_resource_society_research_mult = 1.0
tile_resource_engineering_research_mult = 1.0
tile_resource_minerals_mult = 1.0
tile_resource_energy_mult = 1.0
tile_resource_food_mult = 1.0
}
Last edited by Chilla; 12 May, 2016 @ 2:16pm
Tubercle1801 12 May, 2016 @ 8:44am 
Originally posted by Chilla:
In the common folder, create a txt file create a file called cheat_static_modifiers.

In the .txt file put the following in, and modify to make any trait you desire :)

cheat_country_one = {
icon_frame = 1
icon = "gfx/interface/icons/planet_modifiers/pm_factory.dds"
pop_happiness = 10
pop_ethic_shift = -10.0
pop_environment_tolerance = 10.0
pop_growth_req_mult = -0.99
pop_slavery_tolerance = 100
pop_migration_time = -0.99 #Trait
pop_resettlement_cost_mult = -0.99 #Trait
leader_age = 1000 #Trait
garrison_health = 100.0 Trait
pop_fortification_defense = 10 #Trait
planet_sensor_range_mult = 1 #OP very annoying at high range
science_ship_survey_speed = 10
leader_influence_cost = -0.99
influence_gain_mult = 10
planet_ship_build_speed_mult = 100
planet_army_build_speed_mult = 100
planet_building_cost_mult = -0.99
edict_influence_cost = -0.99
building_time_mult = -0.99
planet_clear_blocker_time_mult = -0.99
spaceport_ship_build_time_mult = -0.99
spaceport_ship_build_cost_mult = -0.99
spaceport_module_cost_mult = -0.99
ship_upkeep_mult = -0.99
army_upkeep_mult = -0.99
army_morale = 5
navy_size_mult = 5.0
army_damage_mult = 10
ship_armor_mult = 10
ship_weapon_damage = 10
ship_shield_hp_mult = 10
ship_hitpoints_mult = 10
ship_armor_add = 100
ship_evasion_mult = 10
all_technology_research_speed = 1000
ship_anomaly_research_speed_mult = 1000
tile_resource_physics_research_mult = 1.0
tile_resource_society_research_mult = 1.0
tile_resource_engineering_research_mult = 1.0
tile_resource_minerals_mult = 1.0
tile_resource_energy_mult = 1.0
tile_resource_food_mult = 1.0
}

Hi, I followed your instructions but I can't seem to get the modifier to trigger. I do get a "?" in my modifiers tab that has no further text in the tooltip box. Any ideas? Thanks!
Chilla 12 May, 2016 @ 2:15pm 
Originally posted by Tubercle1801:
Originally posted by Chilla:
In the common folder, create a txt file create a file called cheat_static_modifiers.

In the .txt file put the following in, and modify to make any trait you desire :)

cheat_country_one = {
icon_frame = 1
icon = "gfx/interface/icons/planet_modifiers/pm_factory.dds"
pop_happiness = 10
pop_ethic_shift = -10.0
pop_environment_tolerance = 10.0
pop_growth_req_mult = -0.99
pop_slavery_tolerance = 100
pop_migration_time = -0.99 #Trait
pop_resettlement_cost_mult = -0.99 #Trait
leader_age = 1000 #Trait
garrison_health = 100.0 Trait
pop_fortification_defense = 10 #Trait
planet_sensor_range_mult = 1 #OP very annoying at high range
science_ship_survey_speed = 10
leader_influence_cost = -0.99
influence_gain_mult = 10
planet_ship_build_speed_mult = 100
planet_army_build_speed_mult = 100
planet_building_cost_mult = -0.99
edict_influence_cost = -0.99
building_time_mult = -0.99
planet_clear_blocker_time_mult = -0.99
spaceport_ship_build_time_mult = -0.99
spaceport_ship_build_cost_mult = -0.99
spaceport_module_cost_mult = -0.99
ship_upkeep_mult = -0.99
army_upkeep_mult = -0.99
army_morale = 5
navy_size_mult = 5.0
army_damage_mult = 10
ship_armor_mult = 10
ship_weapon_damage = 10
ship_shield_hp_mult = 10
ship_hitpoints_mult = 10
ship_armor_add = 100
ship_evasion_mult = 10
all_technology_research_speed = 1000
ship_anomaly_research_speed_mult = 1000
tile_resource_physics_research_mult = 1.0
tile_resource_society_research_mult = 1.0
tile_resource_engineering_research_mult = 1.0
tile_resource_minerals_mult = 1.0
tile_resource_energy_mult = 1.0
tile_resource_food_mult = 1.0
}

Hi, I followed your instructions but I can't seem to get the modifier to trigger. I do get a "?" in my modifiers tab that has no further text in the tooltip box. Any ideas? Thanks!
My thanks, I forgot one of the folders while writing this instruction.
< >
Showing 1-5 of 5 comments
Per page: 1530 50