钢铁雄心4通用修改事件指南

时间:2020-02-22 作者:「微盒子」 阅读:

  《钢铁雄心4》中玩家通过代码可以对事件进行修改。下面小编带来《钢铁雄心4》通用修改事件指南,一起来看吧。

iamcom 一个个修改state太麻烦,本人尝试弄了个通用的修改事件

随便新建个文件,cheats.txt,放Hearts of Iron IV\events\里

country_event = {

id = "political.90" (id名似乎不好随便改,随便改控制台找不到代码,特地加了“”符号防止找不到代码)

title = "political.90.t"

desc = "political.90.d"

is_triggered_only = yes(唯一,只限于控制台调出事件)

(最大4个选项,再多会看不到)

option = {

name = "political.90.a"(所有核心领土交通防空和机场各加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

}

}

}

>>

本文地址:https://www.wenbaike.com/sywd/22912.html