钢铁雄心4吧 关注:465,204贴子:8,504,150

【自建钢铁雄心4 民国国策树MOD 】

只看楼主收藏回复

首先感谢@白羊希特拉 提供指导和帮助,民国国策树,基于1.41汉化版本,其它版本应该也可以运行。
主要就修改了三个文件。
national focus 文件
###########################################################
focus = {
id = diplomacy_effort
icon = GFX_goal_generic_demand_territory
x = 26
y = 0
cost = 3
available_if_capitulated = yes
completion_reward = {
add_political_power = 120
}
}
focus = {
id = Access_to_GER
icon = GFX_goal_generic_demand_territory
prerequisite = { focus = diplomacy_effort }
x = 26
y = 1
cost = 3
available_if_capitulated = yes
completion_reward = {
add_political_power = 120
CHI = {
add_opinion_modifier = { target = GER modifier = ger_chi_diplomacy_focus }
}
}
}
focus = {
id = cooperation_with_GER
icon = GFX_goal_generic_allies_build_infantry
prerequisite = { focus = Access_to_GER }
x = 26
y = 2
cost = 5
available_if_capitulated = yes
completion_reward = {
add_popularity = { ideology = fascism popularity = 0.05 }
add_opinion_modifier = { target = GER modifier = ROM_trade_treaty_with_germany }
GER = { add_opinion_modifier = { target = ROOT modifier = ROM_trade_treaty_with_germany } }
production_speed_infrastructure_factor = 0.2
}
}
focus = {
id = Economic_aid_with_GER
icon = GFX_goal_generic_allies_build_infantry
prerequisite = { focus = cooperation_with_GER }
x = 24
y = 3
cost = 5
available_if_capitulated = yes
completion_reward = {
#add_ideas = hjalmar_schacht
#custom_effect_tooltip = available_political_advisor
#show_ideas_tooltip = hjalmar_schacht
add_ideas = CHI_GER_economy_cooperation
}
}
focus = {
id = Military_aid_with_GER
icon = GFX_goal_generic_allies_build_infantry
prerequisite = { focus = cooperation_with_GER }
x = 26
y = 3
cost = 5
available_if_capitulated = yes
completion_reward = {
#add_ideas = todt
#custom_effect_tooltip = available_political_advisor
#show_ideas_tooltip = todt
add_ideas = CHI_GER_military_cooperation
}
}
focus = {
id = Technical_aid_with_GER
icon = GFX_goal_generic_allies_build_infantry
prerequisite = { focus = cooperation_with_GER }
x = 28
y = 3
cost = 5
available_if_capitulated = yes
completion_reward = {
add_tech_bonus = {
name = secret_bonus
bonus = 0.5
uses = 4
category = electronics
}
}
}
focus = {
id = Trautmann_mediation
icon = GFX_goal_generic_allies_build_infantry
prerequisite = { focus = Military_aid_with_GER }
available = {
is_puppet = no
has_army_manpower = { size > 549999 }
has_war_with = JAP
}
x = 26
y = 4
cost = 5
available_if_capitulated = yes
completion_reward = {
CHI={
white_peace= JAP
set_state_owner=524
set_state_owner=609
}
}
}
focus = {
id = Chinese_reunification
icon = GFX_goal_generic_allies_build_infantry
prerequisite = { focus = Trautmann_mediation }
available = {
is_puppet = no
has_army_manpower = { size > 749999 }
}
cancel = {
OR = {
is_puppet = yes
}
}
cancel_if_invalid = no
x = 26
y = 5
cost = 5
available_if_capitulated = yes
completion_reward = {
annex_country = { target = PRC }
annex_country = { target = TIB }
annex_country = { target = MAN }
annex_country = { target = MEN }
annex_country = { target = MON }
annex_country = { target = TAN }
annex_country = { target = SIK }
}
}
focus = {
id = Access_to_Far_East
icon = GFX_goal_generic_allies_build_infantry
prerequisite = { focus = Chinese_reunification }
x = 24
y = 6
cost = 5
available_if_capitulated = yes
completion_reward = {
408 = { add_claim_by = CHI }
409 = { add_claim_by = CHI }
655 = { add_claim_by = CHI }
657 = { add_claim_by = CHI }
560 = { add_claim_by = CHI }
561 = { add_claim_by = CHI }
563 = { add_claim_by = CHI }
564 = { add_claim_by = CHI }
565 = { add_claim_by = CHI }
}
}
focus = {
id = Fight_against_Soviet
icon = GFX_goal_generic_allies_build_infantry
prerequisite = { focus = Access_to_Far_East }
x = 24
y = 7
cost = 5
available_if_capitulated = yes
completion_reward = {
create_wargoal = {
type = take_state_focus
target = SOV
generator = { 629 }
}
}
}
focus = {
id = Access_to_South_East
icon = GFX_goal_generic_allies_build_infantry
prerequisite = { focus = Chinese_reunification }
x = 26
y = 6
cost = 5
available_if_capitulated = yes
completion_reward = {
434 = { add_claim_by = CHI }
441 = { add_claim_by = CHI }
}
}
focus = {
id = Fight_against_INDIA
icon = GFX_goal_generic_allies_build_infantry
prerequisite = { focus = Access_to_South_East }
x = 26
y = 7
cost = 5
available_if_capitulated = yes
completion_reward = {
create_wargoal = {
type = take_state_focus
target = RAJ
generator = { 629 }
}
}
}
focus = {
id = Access_to_South_SEA
icon = GFX_goal_generic_allies_build_infantry
prerequisite = { focus = Chinese_reunification }
x = 28
y = 6
cost = 5
available_if_capitulated = yes
completion_reward = {
333 = { add_claim_by = CHI }
334 = { add_claim_by = CHI }
335 = { add_claim_by = CHI }
336 = { add_claim_by = CHI }
672 = { add_claim_by = CHI }
673 = { add_claim_by = CHI }
}
}
focus = {
id = Fight_against_INS
icon = GFX_goal_generic_allies_build_infantry
prerequisite = { focus = Access_to_South_SEA }
x = 28
y = 7
cost = 5
available_if_capitulated = yes
completion_reward = {
create_wargoal = {
type = take_state_focus
target = INS
generator = { 629 }
}
}
}
新建引用了common ideas国家精神
CHI_GER_economy_cooperation = {
allowed = {
always = no
}
allowed_civil_war = {
NOT = {
has_government = communism
}
}
removal_cost = -1
modifier = {
production_speed_infrastructure_factor = 0.2
production_speed_industrial_complex_factor = 0.2
production_speed_arms_factory_factor = 0.2
production_speed_synthetic_refinery_factor = 0.2
}
}
CHI_GER_military_cooperation = {
allowed = {
always = no
}
allowed_civil_war = {
NOT = {
has_government = communism
}
}
removal_cost = -1
modifier = {
production_speed_bunker_factor = 0.2
production_speed_coastal_bunker_factor = 0.2
production_speed_anti_air_building_factor = 0.2
}
}
翻译:r_focus_l_english.yml
diplomacy_effort:0 "重视外援"
Access_to_GER:0 "倒向德国"
cooperation_with_GER:0 "中德合作"
Economic_aid_with_GER:0 "经济援助"
Military_aid_with_GER:0 "军事援助"
Technical_aid_with_GER:0 "科技输送"
Trautmann_mediation:0 "陶德曼调停"
Chinese_reunification:0 "统一中国"
Access_to_Far_East:0 "重塑北疆"
Fight_against_Soviet:0 "对苏作战"
Access_to_South_East:0 "重塑南疆"
Fight_against_INDIA:0 "对印作战"
Access_to_South_SEA:0 "重塑海洋"
Fight_against_INS:0 "对印尼作战"
翻译:r_ideas_l_english.yml
CHI_GER_economy_cooperation:0 "德国对华经济援助"
CHI_GER_military_cooperation:0 "德国对华军事援助"


IP属地:上海1楼2017-08-27 20:58回复


    IP属地:上海来自Android客户端2楼2017-08-27 20:59
    回复
      2025-12-01 12:36:10
      广告
      不感兴趣
      开通SVIP免广告
      @第十六天皇帝


      IP属地:上海3楼2017-08-27 21:01
      收起回复
        分别放到对应文件夹就好


        IP属地:上海4楼2017-08-27 21:03
        回复
          @xuwusky


          6楼2017-08-27 21:53
          收起回复

            这个用文本打开


            7楼2017-08-27 22:03
            收起回复
              感觉1楼镇楼代码水了一手好贴


              IP属地:湖北8楼2017-08-27 22:21
              收起回复
                我觉得你发文件可能爽快一点


                9楼2017-08-28 00:25
                收起回复
                  2025-12-01 12:30:10
                  广告
                  不感兴趣
                  开通SVIP免广告
                  楼主


                  来自Android客户端10楼2017-08-28 20:07
                  回复
                    我觉得我可以带下你


                    来自Android客户端11楼2017-08-28 20:07
                    回复
                      务必表明自己的贴吧id


                      来自Android客户端12楼2017-08-28 20:09
                      回复
                        欢迎加入《Yo Jo Sen Ki》mod討論群,群号码:623147432


                        来自Android客户端13楼2017-08-28 20:09
                        回复
                          白羊也来吧


                          来自Android客户端14楼2017-08-28 20:09
                          收起回复

                            ,意不意外。@我是xx280


                            15楼2017-08-30 12:31
                            收起回复