在钢铁雄心4中事件应该怎么修改?玩家都想知道,其实很简单,下面拉看看小编带来的钢铁雄心4通用修改事件代码介绍,希望大家喜欢。
一个个修改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
}
}
以上就是小编给大家带来的钢铁雄心4通用修改事件代码介绍的全部内容了,希望大家喜欢,祝大家游戏愉快!更多实用攻略,更多最新消息请继续关注JB51!
新闻热点
疑难解答