在鋼鐵雄心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!
新聞熱點
疑難解答