文化模组制作

Dropliu讨论 | 贡献2020年9月12日 (六) 15:59的版本 (文化修改)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

得益于游戏的高度模块化设计,可以轻松地将新文化,创新和时代添加到游戏中。 本文涵盖common/culture路径下的每个子文件夹。

文化

文化组

每个文化都隶属于一个文化组。

name_of_culture_group = {
	graphical_cultures = {
		first_culture_group_coa_gfx
		second_culture_group_coa_gfx
		culture_group_building_gfx
		culture_group_clothing_gfx
		culture_group_unit_gfx
	}
	mercenary_names = {
		{ name = "mercenary_company_name1" coat_of_arms = "mercenary_company_coa1" }
		{ name = "mercenary_company_name2" coat_of_arms = "mercenary_company_coa2" }
		...
	}
	first_culture = {
		...
	}
	second_culture = {
		...
	}
}

以下就是文化组可以设置的所有参数

属性 类型 说明 举例
name List<culturegfx> List of graphical cultures used for coat of arms, buildings, clothings and units. It's possible to give more than one from each type, then all of them will be used. graphical_cultures = { steppe_coa_gfx }
mercenary_names List<complex> List of names and CoAs that can be used by mercenaries of this culture group.
Parameter Type Description
name localization key Localization key for the name of the mercenary.
coat_of_arms coat of arm Optional. Coat of Arm for the name of the mercenary.
mercenary_names = {
	{ name = "mercenary_company_ghilman" coat_of_arms = "mc_ghilman" }
}

Cultures