Hearts of Iron IV

Hearts of Iron IV

China National Focus
Dit topic is gesloten
Kappa(籠的傳人)  [ontwikkelaar] 3 nov 2016 om 1:18
Incompetent Industry and Incompetent Naval Industry
They way to remove/reduce the penalty is in the decision now
Laatst bewerkt door Kappa(籠的傳人); 29 sep 2018 om 2:32
< >
1-7 van 7 reacties weergegeven
Kappa(籠的傳人)  [ontwikkelaar] 3 nov 2016 om 1:20 
##################NOW OBSOLETE####################

Here is the coding for the events, maybe there are bugs in it that I didn't noticed, I would be glad that you guys report them to me.

#incompetent indus remove >50 fac country_event = { id = kmt.179 title = kmt.179.t desc = kmt.179.d picture = GFX_report_event_british_artillery trigger = { NOT = { has_country_flag = kmt179_triggered } has_country_flag = incom_indus_ready has_tech = basic_machine_tools OR = { has_tech = concentrated_industry has_tech = dispersed_industry } has_tech = construction1 OR = { AND = { num_of_factories > 50 has_war = no } AND = { num_of_factories > 65 has_defensive_war = yes } AND = { num_of_factories > 75 has_offensive_war = yes } } has_idea = incompetent_industry_real } mean_time_to_happen = { days = 3 } option = { name = kmt.179.a custom_effect_tooltip = kmt_incompetent_indus_tt if = { limit = { has_idea = incompetent_industry_real } swap_ideas = { remove_idea = incompetent_industry_real add_idea = incompetent_industry_real_2 } } if = { limit = { has_idea = incompetent_industry_real_navy } swap_ideas = { remove_idea = incompetent_industry_real_navy add_idea = incompetent_industry_real_2_navy } } hidden_effect = { every_owned_state = { limit = { controller = { tag = ROOT } } add_extra_state_shared_building_slots = 1 } } set_country_flag = kmt179_triggered } } #incompetent indus remove >75 fac country_event = { id = kmt.180 title = kmt.179.t desc = kmt.179.d picture = GFX_report_event_british_artillery trigger = { NOT = { has_country_flag = kmt180_triggered } has_country_flag = kmt179_triggered has_tech = improved_machine_tools OR = { has_tech = concentrated_industry2 has_tech = dispersed_industry2 } has_tech = construction2 OR = { AND = { num_of_factories > 70 has_war = no } AND = { num_of_factories > 80 has_defensive_war = yes } AND = { num_of_factories > 90 has_offensive_war = yes } } has_idea = incompetent_industry_real_2 NOT = { has_idea = public_iliteracy has_idea = PRC_lack_skilled_personnel has_idea = PRC_lack_skilled_personnel_1 has_idea = PRC_lack_skilled_personnel_2 } } mean_time_to_happen = { days = 3 } option = { name = kmt.179.a custom_effect_tooltip = kmt_incompetent_indus_tt if = { limit = { has_idea = incompetent_industry_real_2 } swap_ideas = { remove_idea = incompetent_industry_real_2 add_idea = incompetent_industry_real_3 } } if = { limit = { has_idea = incompetent_industry_real_2_navy } swap_ideas = { remove_idea = incompetent_industry_real_2_navy add_idea = incompetent_industry_real_3_navy } } hidden_effect = { every_owned_state = { limit = { controller = { tag = ROOT } } add_extra_state_shared_building_slots = 1 } } set_country_flag = kmt180_triggered } } #incompetent indus remove >100 fac country_event = { id = kmt.181 title = kmt.179.t desc = kmt.179.d picture = GFX_report_event_british_artillery trigger = { NOT = { has_country_flag = kmt181_triggered } has_country_flag = kmt180_triggered has_tech = advanced_machine_tools OR = { has_tech = concentrated_industry3 has_tech = dispersed_industry3 } has_tech = construction3 OR = { AND = { num_of_factories > 90 has_war = no } AND = { num_of_factories > 115 has_defensive_war = yes } AND = { num_of_factories > 125 has_offensive_war = yes } } has_idea = incompetent_industry_real_3 NOT = { has_idea = public_iliteracy has_idea = PRC_lack_skilled_personnel has_idea = PRC_lack_skilled_personnel_1 has_idea = PRC_lack_skilled_personnel_2 has_idea = PRC_lack_skilled_personnel_3 has_idea = PRC_lack_skilled_personnel_4 has_idea = PRC_lack_skilled_personnel_5 } } mean_time_to_happen = { days = 3 } option = { name = kmt.179.a custom_effect_tooltip = kmt_incompetent_indus_tt if = { limit = { has_idea = incompetent_industry_real_3 } swap_ideas = { remove_idea = incompetent_industry_real_3 add_idea = incompetent_industry_real_4 } } if = { limit = { has_idea = incompetent_industry_real_3_navy } swap_ideas = { remove_idea = incompetent_industry_real_3_navy add_idea = incompetent_industry_real_4_navy } } hidden_effect = { every_owned_state = { limit = { controller = { tag = ROOT } } add_extra_state_shared_building_slots = 1 } } set_country_flag = kmt181_triggered } } #incompetent indus remove >125 fac country_event = { id = kmt.182 title = kmt.179.t desc = kmt.179.d picture = GFX_report_event_british_artillery trigger = { NOT = { has_country_flag = kmt182_triggered } has_country_flag = kmt181_triggered has_tech = assembly_line_production OR = { has_tech = concentrated_industry4 has_tech = dispersed_industry4 } has_tech = construction4 OR = { AND = { num_of_factories > 110 has_war = no } AND = { num_of_factories > 140 has_defensive_war = yes } AND = { num_of_factories > 150 has_offensive_war = yes } } has_idea = incompetent_industry_real_4 NOT = { has_idea = public_iliteracy has_idea = public_iliteracy_2 has_idea = PRC_lack_skilled_personnel has_idea = PRC_lack_skilled_personnel_1 has_idea = PRC_lack_skilled_personnel_2 has_idea = PRC_lack_skilled_personnel_3 has_idea = PRC_lack_skilled_personnel_4 has_idea = PRC_lack_skilled_personnel_5 has_idea = PRC_lack_skilled_personnel_6 has_idea = PRC_lack_skilled_personnel_7 has_idea = PRC_lack_skilled_personnel_8 } } mean_time_to_happen = { days = 3 } option = { name = kmt.179.a custom_effect_tooltip = kmt_incompetent_indus_remove_tt if = { limit = { has_idea = incompetent_industry_real_4 } swap_ideas = { remove_idea = incompetent_industry_real_4 add_idea = incompetent_industry_real_5 } } if = { limit = { has_idea = incompetent_industry_real_4_navy } swap_ideas = { remove_idea = incompetent_industry_real_4_navy add_idea = incompetent_industry_real_5_navy } } hidden_effect = { every_owned_state = { limit = { controller = { tag = ROOT } } add_extra_state_shared_building_slots = 1 } } set_country_flag = kmt182_triggered } } #incompetent indus remove >150 fac country_event = { id = kmt.1820 title = kmt.179.t desc = kmt.179.d picture = GFX_report_event_british_artillery trigger = { NOT = { has_country_flag = kmt1820_triggered } has_country_flag = kmt182_triggered OR = { has_tech = flexible_line has_tech = streamlined_line } OR = { has_tech = concentrated_industry5 has_tech = dispersed_industry5 } has_tech = construction5 OR = { AND = { num_of_factories > 130 has_war = no } AND = { num_of_factories > 170 has_defensive_war = yes } AND = { num_of_factories > 190 has_offensive_war = yes } } has_idea = incompetent_industry_real_5 NOT = { has_idea = public_iliteracy has_idea = public_iliteracy_2 has_idea = PRC_lack_skilled_personnel has_idea = PRC_lack_skilled_personnel_1 has_idea = PRC_lack_skilled_personnel_2 has_idea = PRC_lack_skilled_personnel_3 has_idea = PRC_lack_skilled_personnel_4 has_idea = PRC_lack_skilled_personnel_5 has_idea = PRC_lack_skilled_personnel_6 has_idea = PRC_lack_skilled_personnel_7 has_idea = PRC_lack_skilled_personnel_9 has_idea = PRC_lack_skilled_personnel_10 } } mean_time_to_happen = { days = 3 } option = { name = kmt.179.a custom_effect_tooltip = kmt_incompetent_indus_remove_tt hidden_effect = { if = { limit = { has_idea = incompetent_industry_real_5 } every_owned_state = { limit = { controller = { tag = ROOT } } add_extra_state_shared_building_slots = 1 } } remove_ideas = incompetent_industry_real_5 if = { limit = { OR = { has_idea = incompetent_industry_real_navy has_idea = incompetent_industry_fake_navy has_idea = incompetent_industry_real_2_navy has_idea = incompetent_industry_real_3_navy has_idea = incompetent_industry_real_4_navy has_idea = incompetent_industry_real_5_navy } } remove_ideas = incompetent_industry_real_navy remove_ideas = incompetent_industry_fake_navy remove_ideas = incompetent_industry_real_2_navy remove_ideas = incompetent_industry_real_3_navy remove_ideas = incompetent_industry_real_4_navy remove_ideas = incompetent_industry_real_5_navy } } } }
Laatst bewerkt door Kappa(籠的傳人); 29 sep 2018 om 2:33
Kappa(籠的傳人)  [ontwikkelaar] 3 nov 2016 om 1:23 
Also the incompetent industry with the _navy suffix will be in the future version, it is merely a standalone national spirit for the naval equipment penalty part in the current one. It is to make things more convenient for some new events and foci.
I think this needs to be toned down somewhat. I've tried a few different ways and I don't consider myself an expert at the game at all but it's been extremely difficult waging any kind of defensive war against Japan in my experience because you just can't get your feet off the ground and the incredibly slow buildup results in an inevitable long drawnout defeat.

Purely my opinion obviously, but I think even lowering the factory requirement by 10-15 at all levels would make it more enjoyable while still requiring you to invest some time to meet parity.

The other possibility is to lower some of the penalties as keeping up with demand for production is usually the biggest wall I run into.

Ymmv.
Laatst bewerkt door Axis of Lint; 6 nov 2016 om 18:10
Hey, running in debug mode I get this error.

[00:58:01][trigger.cpp:347]: Invalid scope type for trigger has_idea in common/combat_tactics.txt line : 699
[00:58:02][eventmanager.cpp:302]: Event #4200219 is set to trigger every day. events/kmt_Kuomintang.txt
[00:58:02][eventmanager.cpp:302]: Event #4200252 is set to trigger every day. events/kmt_Kuomintang.txt
[00:58:02][eventmanager.cpp:302]: Event #4200253 is set to trigger every day. events/kmt_Kuomintang.txt
[00:58:02][eventmanager.cpp:302]: Event #4600035 is set to trigger every day. events/prc_commies.txt

I found I was having problems getting rid of incompitent industry. Maybe take a look?
Is there a version of this mod without the incompetent industry modifier? The public illiteracy one is fine
Yea this incompetent industry stuff is ♥♥♥♥♥♥♥♥. I'm pretty good at this and I consider this impossible. I've tried this with several different direction with the same result. I even tried to save up 900 political points but triggered evens keep docking them off. In my opinion, how ever you look at it, its pretty ♥♥♥♥♥♥♥ impossible
i mean chinas industry is already historically ♥♥♥♥ at the beginning of the game
< >
1-7 van 7 reacties weergegeven
Per pagina: 1530 50