? ?近期有一部分玩家們向小編詢問說(shuō)鋼鐵雄心4中的事件要怎么修改,對(duì)于修改事件的方法很多的玩家們應(yīng)該都不是很了解,那么接下來(lái)小編就為大家?guī)?lái)鋼鐵雄心4事件修改方法介紹,文中講述的是通用的事件修改方法,感興趣的玩家們趕快一起來(lái)看看吧!
? ? 一個(gè)個(gè)修改state太麻煩,本人嘗試弄了個(gè)通用的修改事件
? ? 隨便新建個(gè)文件,cheats.txt,放Hearts of Iron IV\events\里
? ? country_event = {
? ? id = "political.90" (id名似乎不好隨便改,隨便改控制臺(tái)找不到代碼,特地加了“”符號(hào)防止找不到代碼)
? ? title = "political.90.t"
? ? desc = "political.90.d"
? ? is_triggered_only = yes(唯一,只限于控制臺(tái)調(diào)出事件)
? ? (最大4個(gè)選項(xiàng),再多會(huì)看不到)
? ? option = {
? ? name = "political.90.a"(所有核心領(lǐng)土交通防空和機(jī)場(chǎng)各加1,加到滿為止)
? ? every_owned_state = {
? ? limit = {
? ? is_core_of = THIS
? ? free_building_slots = {
? ? building = infrastructure
? ? size > 0
? ? }
? ? }
? ? add_building_construction = {
? ? type = infrastructure
? ? level = 1
? ? instant_build = yes
? ? }
? ? }
? ? every_owned_state = {
? ? limit = {
? ? is_core_of = THIS
? ? free_building_slots = {
? ? building = anti_air_building
? ? size > 0
? ? }
? ? }
? ? add_building_construction = {
? ? type = anti_air_building
? ? level = 1
? ? instant_build = yes
? ? }
? ? }
? ? every_owned_state = {
? ? limit = {
? ? is_core_of = THIS
? ? free_building_slots = {
? ? building = air_base
? ? size > 0
? ? }
? ? }
? ? add_building_construction = {
? ? type = air_base
? ? level = 1
? ? instant_build = yes
? ? }
? ? }
? ? }
相關(guān)文章