欧陆风云4 修改语法表及事件格式及东亚地图补丁
我与如果以及烈火,神守夜等人制作的整合。
首先是EU4(欧陆风云4)的语法表的预览
TRIGGER修改
Scopes:
Scope: country/province
Syntax: = { triggers… }
转向特定国家
Scope: country/province
Syntax: = { triggers... }
转向特定省份
ROOT
Scope: country/province
Syntax: ROOT = { triggers… }
转向发生事件的国家/省份
from
Scope: country/province
Syntax: from = { triggers… }
转向引发这个事件的国家/省份
PREV
Scope: country/province
Syntax: PREV = { triggers… }
Scope: country/province
Syntax: = { triggers… }
转向特定地区
Scope: country/province
Syntax: = { triggers… }
转向特定大陆
custom_tooltip
Scope: country/province
Syntax: custom_tooltip = custom_tooltip name
exclusive
Scope: country/province
Syntax: exclusive = yes/no
是否独家新闻
ai_mission
Scope: mission
Syntax: ai_mission = yes/no
是否Ai任务
has_dlc
Scope: all
Syntax: has_dlc = "dlc name"
是否有某DLC
tooltip
Scope: country_event
Syntax: country_event = {
id = flavor_boh.3
days = 2500
random = 100
tooltip = flavor_boh.2.3
}
文字提示
Triggers:
and
和,必须符合所列的所有条件.
or
或,符合所列的任意一个条件
not
不符合所列的条件,用在数值前表示少于(不包括等于)
has_global_flag
Scope: country/province
Syntax: has_global_flag =
检测是否存在某flag
ai
Scope: country
Syntax: ai = yes/no
检测是否ai
is_year (year)
Scope: country/province
Syntax: is_year = x
该年或以后
is_month
Scope: country/province
Syntax: is_month = x
该月或以后
exists
Scope: country/province
Syntax: exists = country tag
检测国家是否存在
check_variable
Scope: country/province
Syntax: check_variable = {
which = variable name
value = x
}
检测指定变量的值x
国家指向
any_neighbor_country
Scope: country
Syntax: any_neighbor_country = { triggers… }
转向所有邻国
any_known_country
Scope: country
Syntax: any_known_country = { triggers… }
转向所有已知国家
any_country
Scope: country
Syntax: any_country = { triggers… }
转向所有国家
overlord
Scope: country
Syntax: overlord = { triggers… }
转向国家的宗主或者联统国
点此进入3DM《欧陆风云4》论坛专区
emperor
Scope: country
Syntax: emperor = { triggers… }
转向神罗皇帝
owner
Scope: country
Syntax: owner = { triggers... }
转向省份的拥有者
controller
Scope: country
Syntax: controller = { triggers... }
转向省份的控制者
any_rival_countries (rival_countries)
Scope: country
Syntax: any_rival_countries = { triggers... }
转向任意天敌国家
any_active_trade_node
Scope: country
Syntax: any_active_trade_node = { triggers... }
转向任意贸易节点
any_enemy_country
Scope: country
Syntax: any_enemy_country = { triggers... }
转向任意敌对国家
any_heretic_province
Scope: country
Syntax: any_heretic_province = { triggers... }
转向任意异端省份
random_active_trade_node
Scope: country
Syntax: random_active_trade_node = { triggers... }
转向任一贸易节点
random_ally
Scope: country
Syntax: random_ally = { triggers... }
转向任一盟友
random_country
Scope: country
Syntax: random_country = { triggers… }
转向任一国家
random_elector
Scope: country
Syntax: random_elector = { triggers… }
转向任一帝选候
random_neighbor_country
Scope: country
Syntax: random_neighbor_country = { triggers... }
转向任一邻国
random_owned_province
Scope: country
Syntax: random_owned_province = { triggers... }
转向任一拥有省份
random_province
Scope: country
Syntax: random_province = { triggers... }
转向任一省份
random_rival_country
Scope: country
Syntax: random_rival_countries = { triggers... }
转向任一天敌国家
国家判断条件
has_country_flag
Scope: country
Syntax: has_country_flag = name of flag
检测是否拥有某个国家flag
has_country_modifier
Scope: country
Syntax: has_country_modifier = name of modifer
检测是否拥有某个国家修正
has_ruler_modifier
Scope: country
Syntax: has_ruler_modifier = { name = name of modifer }
检测是否拥有某个统治者修正
num_of_owned_provinces_with
Scope: country
Syntax: num_of_owned_provinces_with = {
value = x
[triggers...]
}
检测是否具有x个符合triggers的省份
overextension_percentage
Scope: country
Syntax: overextension_percentage = x (x=0..1)
检测国家过度扩张数
tag
Scope: country
Syntax: tag = country tag
检测是否指定tag国家
luck
Scope: country
Syntax: luck = yes/no
检测是否幸运国家
ADM
Scope: country
Syntax: ADM = x
检测君主行政的值x
DIP
Scope: country
Syntax: DIP = x
检测君主外交的值x
MIL
Scope: country
Syntax: MIL = x
检测君主军事的值x
adm_power
Scope: country
Syntax: adm_power = x
检测国家行政点数x
dip_power
Scope: country
Syntax: dip_power = x
检测国家外交点数x
mil_power
Scope: country
Syntax: mil_power = x
检测国家军事点数x
advisor_exists
Scope: country
Syntax: advisor_exists = province id
某省有顾问
因为总计太多,所以不能一次性放上。
以下是下载地址
《欧陆风云4》修改语法表:点此下载
《欧陆风云4》事件格式表:点此下载
《欧陆风云4》东亚地图补丁0.5:点此下载