近期有一部分玩家们向小编询问说钢铁雄心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
}
}
}
查看全部
相关推荐