Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.
}
}
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
}
}
}
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!