首页所有页面

EU4转档器模组制作

The Europa Universalis 4 Save Converter 是随1.11补丁一起发布的DLC。

要修改它,你需要添加一个\eu4_converter\ 文件夹里应该存放所有与EUIV转换器相关的文件。原版文件都在里面 DLC\dlc030.zip.

修改转换器不会改变游戏的校验和。

Structure

The eu4_converter folder includes the following folders and files:

Folder name Contents/use
army_names Contains definitions for army names on a per-title basis. As of version 2.6.3 only contains definitions for the Roman Empire (e_roman_empire).
centers_of_trade
common 包含多个基础文件,转换器用来生成修改过的文件。
copy 放进这个文件夹里的任何文件都会直接复制到生成的模组中,因此可以用来静态定义转换后的游戏中几乎任何内容。例如,自定义图形、创意组、地图修改、额外/修改的本地化文件、文化省份名称、事件和决策都可以在这里定义。关于可以做什么以及如何做的更多信息,请参见 EU4 modding.
fleet_names Contains definitions for fleet names on a per-title basis. As of version 2.6.3 only contains definitions for the Roman Empire (e_roman_empire).
gfx By default contains two sub-folders: flags and interface
gfx\flags 包含自定义标志。默认情况下,它包含一些异教徒使用的替代“旗帜”/纹章(子文件夹中 norse_pagan),因为转换器无法将ARMS(军械)文件转换为旗帜文件。例如,文件 d_york 用于提供诺斯小国约尔维克使用的替代“旗帜”文件(而非约克公国使用的标准“旗帜”)。关于这种“旗帜”在CK2中的使用方式,请参见 Title modding § Pagan coats of arms.
gfx\interface
historical_idea_groups Contains definitions for historical idea groups on a per-title basis.
historical_units Contains definitions for historical units on a per-title basis.
hordes 包含CK2地图外由特定部落头衔持有的省份列表。默认包含蒙古帝国、金帐汗国、伊儿汗国和帖木儿王朝的文件;版本 2.6.3 only the Mongol Empire has any provinces defined.
interface 包含定义转换器专用精灵的接口文件,如转换后的宗教图标。
ship_names Contains definitions for ship names on a per-title basis.
sons_of_abraham 包含专门供《亚伯拉罕之子》DLC激活时使用的文件
sunset_invasion 包含专门用于日落入侵DLC激活时的文件
File name Use
border_provinces.csv
color_table.csv 定义标签将使用的颜色(以十进制RGB值为单位)。
culture_gfx_table.csv Defines which CK2 graphical cultures (see culture modding, portrait modding and cultures § list of cultures)转换为哪些EU4图形文化(主要用于顾问头像和单位模型)。
culture_table.csv Maps CK2 cultures to EU4 cultures
defines.lua 定义了转换者将使用的一些通用设置,比如使用哪个头衔用于神圣罗马帝国,使用哪个起始日期等。
government_table.csv 定义了转换后头衔应使用哪些政府类型。可以按标题定义(例如: papal_government for k_papal_state)或更广泛的各政府类型。该文件仅在conclave处于激活状态时使用;否则转换是自动完成的。
heresy_table_soa.csv Overrides entries in religion_table.csv when the Son's of Abraham DLC is enabled
key_provinces.csv
nation_table.csv 定义哪些CK2标题将映射到预定义的EU4标签(而非自动生成标签;自定义标签可添加于 copy\common\countries and copy\common\country_tags).
province_table.csv 定义了哪些CK2的头衔(县和公国)对应到哪些EU4省份。地图可以通过多条目加权,标题也可以映射到多个省份。
religion_table.csv Defines which CK2 religions map to which EU4 religions.
sunset_invasion_table.csv 定义启用日落入侵DLC时,哪些EU4省份属于哪个标签。
trait_conversion.txt Defines which personality 领导者将根据他们的CK2特质分配。
unit_type_table.csv

Files

culture_table.csv

culture_table.csv 定义了《欧陆风云IV》文化中《列王纪II》Crusader文化所皈依的。

The format of the file is as follows:

CK2 culture;EU4 culture;Whether or not the culture is custom defined by the converter;Comment (optional)

Here are two examples:

norse;norse;1;Norse

In this case, norse 是《列王纪》第二卷中文化的名称Crusader(文化定义在 \common\cultures folder), norse 是转换器将在《欧陆风云IV》中映射到的文化(按照惯例定义在\eu4_converter\common\cultures文件夹中), 1 意味着它是来自转换器的自定义培养物,且 Norse 是《欧陆风云IV》中该文化的名称。

swedish;swedish;0;Swedish

In this case, the swedish 文化元素已在《欧陆风云IV》中出现,因此其数值被设定为 0,转换器会将其映射到《欧陆风云IV》中存在的文化(文化定义在common\cultures文件夹中)。

nation_table.csv

nation_table.csv 定义了《Crusader王纪II》中的称号在《欧陆风云IV》中将归入哪个国家(或“标签”)。

The format of the file is as follows:

CK2 title;EU4 tag (nation);EU4 country file;Comment (optional)

For example:

e_scandinavia;SCA;Scandinavia;Scandinavia Empire

这会告诉转换器转换《Crusader王II》的标题 e_scandinavia (斯堪的纳维亚帝国)并入《欧洲世界IV》标签 SCA (the formable nation of Scandinavia). The third parameter Scandinavia 告诉转换器在《欧陆风云IV》中使用哪个国家文件。第四个参数 Scandinavia Empire 是为帮助程序员设计的评论,且为可选。但请注意 ; divider is required.

Titles are defined in the Crusader Kings II folder common\landed_titles.标签定义在《欧陆风云IV》文件夹中 common\country_tags and a list of tags can be found at eu4:Countries 在页面底部的“国家描述列表”部分。国家文件可在《欧陆风云IV》文件夹中找到 common\countries.

任何未定义于此文件中的标题都会生成新的自定义标签。这通常不是问题,但会让他们参与标签专属事件、决策、想法等。还应注意,那些在转换时使用修改名称(无论是基于其头衔历史还是因持有者文化)的头衔,不会使用国家表,因此在《欧陆风云IV》中也会自动生成标签。

province_table.csv

province_table.csv 定义了《欧陆风云IV》中Crusader王纪II所归属的省份。

该文件基于点数系统,省份列表中的“命中”越多,王国获得EU4省份的可能性就越大。所以如果一个县被列出两次,它对应两个点,而一个只列出一次的县则是一个点。这也是为什么公国会被列入名单,因为它赋予拥有该公国的人更多的权重。[1]

The format of the file is as follows:

CK2 title ID;EU4 province ID;EU4 province ID - EU4 province name (filename);Comment (optional; typically CK2 title name - EU4 province name)

Here is an example:

c_vestisland;370;370 - Reykjavik;Vestisland - Reykjavik

In the example, c_vestisland 是《Crusader列王纪II》中的称号ID(称号ID定义于 \common\landed_titles folder), 370 is the province ID in Europa Universalis IV, while 370 - Reykjavik 是《欧陆风云IV》中的省份ID和名称(\history\provinces文件夹中的文件名),并且 Vestisland - Reykjavik 是《列王纪II》中的头衔名称Crusader《欧陆风云IV》中的省名。

《国王纪II》中的公国和省份头衔Crusader都可以定义,但如果同一《欧洲统一文案》第四省同时存在公国和县,则需要通过添加 Duchy before the Crusader Kings II title name.

Here is an example of that:

d_munster;375;375 - Munster;Duchy Munster - Munster

c_desmond;375;375 - Munster;Desmond - Munster

如果存在名称相同的公国和县,则需要同时指定公国和县。

Here is an example of this case:

d_leinster;374;374 - Leinster;Duchy Leinster - Leinster

c_leinster;374;374 - Leinster;County Leinster - Leinster

religion_table.csv

religion_table.csv 定义了《欧陆风云》第四章的宗教,Crusader列王纪二的宗教归信。

The format of the file is as follows:

CK2 religion;EU4 religion;Whether or not the religion is custom defined by the converter;Comment (optional)

Here are two examples:

finnish_pagan_reformed;finnish_pagan_reformed;1;Reformed Suomenusko

In this case, finnish_pagan_reformed 是列王纪第二章中宗教的名称Crusader(宗教定义如下 \common\religions folder), finnish_pagan_reformed 是转换器在《欧陆风云IV》中映射到的宗教(自定义定义在\eu4_converter\copy\common\religions文件夹中), 1 暗示它是转换器的自定义宗教,且 Reformed Suomenusko 是《欧洲大陆IV》中该宗教的名称。

catholic;catholic;0;Catholic

In this case, the catholic 宗教元素已在《欧陆风云IV》中出现,因此其数值被设定为 0,转换器会将其映射到《欧陆风云IV》中存在的宗教(宗教定义在common\religions文件夹中)。

trait_conversion.txt

trait_conversion.txt defines which personality a leader will be assigned based on their CK2 traits.

The format of the file is as follows:

eu4trait = {

	name = <personality name>

	weight = {

		factor = X

		<modifiers>

	}

}

<modifiers> 是一组修饰符,用于改变性格类型的权重(即被选中的概率)。它们可能是加法的(additive_modifier) or multiplicative (modifier).

For example:

eu4trait = {

	name = calm_personality

	weight = {

		factor = 0

		additive_modifier = {

			value = 1

			trait = brooding

		}

		additive_modifier = {

			value = 3

			trait = patient

		}

		additive_modifier = {

			value = 2

			trait = shy

		}

		additive_modifier = {

			value = 1

			trait = content

		}

		modifier = {

			factor = 0

			trait = wroth

		}

	}

}

This tells the converter that a ruler with the patient trait will have a weight of 3 added to the calm_personality type, while a ruler with the wroth trait will have their weight for that type multiplied by 0 (i.e. the weight will be 0, since any number × 0 = 0).

References

相关页面 (61)

Culture moddingCulturesEuropa Universalis 4 Save ConverterPatch 2.6.XPortrait moddingReligion moddingSteam创意工坊Title moddingTraits事件模组制作作用域修正内阁成员模组制作决议模组制作剧本模组制作单位模组制作历史模组制作另类开局模组制作图形模组制作地图外政权模组制作地图模组制作头衔模组制作奇观模组制作宗教模组制作定义宝物模组制作宣战理由模组制作家族模组制作小地图模组制作建筑模组制作指令控制台指令政体模组制作故障排除文化模组制作朝贡国类型模组制作本地化条件模组制作死亡模组制作法律模组制作游戏规则模组制作特质模组制作界面模组制作疾病模组制作目标模组制作盾徽模组制作省份模组制作社团模组制作科技模组制作称号模组制作继承模组制作编辑游戏存档肖像模组制作脚本荣誉头衔模组制作血脉模组制作角色模组制作贸易路线模组制作音乐模组制作