文化修改

本页面所适用的版本可能已经过时,最后更新于1.23

一个完整的文化(或者文化组)必须包含以下内容:

  • 一个独一无二的文化(组)名称
  • 男性人名(代码:male_names
  • 女性人名(代码:female_names
  • 王朝姓氏(代码:dynasty_names

一个文化(组)还可以加入如下内容:

  • 文化母国的tag

male_names 和 female_names 中的字符串定义自定义国家中男性与女性的名字。而在已经存在的国家中,男性和女性的姓名位于/Europa Universalis IV/common/countries。dynasty_names中的字符串定义所有国家的王朝名称,以及自定义国家中顾问和将军的姓氏。

添加一个只包含一个文化的文化组

重点:任意一个文化都必须拥有一个所属的文化组,否则该文化组无法在游戏中被识别。 举例:假设我们需要新建一个只包含一个文化的文化组,代码如下:

custom_culture_group = {
	custom_culture = {
		primary = TAG
		male_names = {
			MaleName1 MaleName2 MaleName3
			"Male Name 1" "Male Name 2" "Male Name 3"
		}
		female_names = {
			FemaleName1 FemaleName2 FemaleName3
			"Female Name 1" "Female Name 2" "Female Name 3"
		}
		dynasty_names = {
			DynastyName1 DynastyName2 DynastyName3
			"Dynasty Name 1" "Dynasty Name 2" "Dynasty Name 3"
		}	
	}
}

如代码所示,该文化拥有6个可能的男名、女名和王朝姓氏。男名有“MaleName1”、“MaleName2”、“MaleName3”、“Male Name 1”、“Male Name 2”和“Male Name 3”,女名和王朝姓氏格式也基本雷同。需要注意的是,这些名称可以不使用引号,除非你所需要的名字当中存在空格。

每一个文化都可以标记一个国家TAG作为文化母国。需要注意的是,文化母国的国家核心在该文化所属的省份上不会消失,直到当地文化被改变。另外,文化母国可以为空,将相应代码注释掉或者去掉,文化代码仍然有效。

若一个文化组仅有一个文化,或者该文化组中所有的文化都使用相同的名字库,可以将名字库放在文化组下,代码如下:

custom_culture_group = {
	custom_culture = {
		primary = TAG		
	}
	male_names = {
		MaleName1 MaleName2 MaleName3
		"Male Name 1" "Male Name 2" "Male Name 3"
	}
	female_names = {
		FemaleName1 FemaleName2 FemaleName3
		"Female Name 1" "Female Name 2" "Female Name 3"
	}
	dynasty_names = {
		DynastyName1 DynastyName2 DynastyName3
		"Dynasty Name 1" "Dynasty Name 2" "Dynasty Name 3"
	}
}

添加一个包含多个文化的文化组

一个文化组可以由若干个文化共同组成。写法会相对繁杂一些,代码如下:

custom_culture_group = {
	custom_culture_1 = {
		male_names = {
			MaleName1 MaleName2 MaleName3
			"Male Name 1" "Male Name 2" "Male Name 3"
		}
		female_names = {
			FemaleName1 FemaleName2 FemaleName3
			"Female Name 1" "Female Name 2" "Female Name 3"
		}
		dynasty_names = {
			DynastyName1 DynastyName2 DynastyName3
			"Dynasty Name 1" "Dynasty Name 2" "Dynasty Name 3"
		}
	}
	custom_culture_2 = {
		male_names = {
			MaleName4 MaleName5 MaleName6
			"Male Name 4" "Male Name 5" "Male Name 6"
		}
		female_names = {
			FemaleName4 FemaleName5 FemaleName6
			"Female Name 4" "Female Name 5" "Female Name 6"
		}
		dynasty_names = {
			DynastyName4 DynastyName5 DynastyName6
			"Dynasty Name 4" "Dynasty Name 5" "Dynasty Name 6"
		}
	}
	custom_culture_3 = {
		male_names = {
			MaleName4 MaleName5 MaleName6
			"Male Name 4" "Male Name 5" "Male Name 6"
		}
		female_names = {
			FemaleName4 FemaleName5 FemaleName6
			"Female Name 4" "Female Name 5" "Female Name 6"
		}
		dynasty_names = {
			DynastyName4 DynastyName5 DynastyName6
			"Dynasty Name 4" "Dynasty Name 5" "Dynasty Name 6"
		}
	}
}

如代码所示,也许有些人会问为什么不将custom_culture_2custom_culture_3的名字库放在文化组下,毕竟他们所使用的的名字库是一致的。这是因为文化组所属的名字库会在文化组中的文化中通用,若将custom_culture_2custom_culture_3的名字库放在文化组下,custom_culture_1文化也会读取到custom_culture_2custom_culture_3名字库中的名字。在编辑包含多个文化的文化组时,这一点会很有用。

文化的命名与翻译

若要编辑一个新的自定义文化或者文化组,你需要在本地化文件中添加需要添加的文化或文化组的名称(代码,例如前文提到的custom_culture_1),然后填写上你想要的名称(游戏中的显示名称)。代码如下:

l_english:
 custom_culture_group:0 "Custom Culture Group"
 custom_culture_1:0 "Custom Culture 1"
 custom_culture_2:0 "Custom Culture 2"
 custom_culture_3:0 "Custom Culture 3"

修改现有文化

要修改一个现有的文化,只要简单地在你选择的文化(组)把它的名字添加/移除,然后就完成了。记住带有空格的名称必须放在引号里面。

另一点要注意的是,从一个文化组删除一个文化(而不是移动它),history文件和/或游戏存档也需要相应地做编辑,否则它会在游戏里显示为“no culture”。

文化的国家和省份修正

文化的修正是添加于1.20版本的一种新功能,可以简单分为两个部分:国家文化修正和省份文化修正。

以瑞典文化代码为例:

	swedish = {
		primary = SWE
		
		#country = { state_maintenance_modifier = -0.25	}
		#province = {local_production_efficiency = 0.50	}
		
		
		male_names = {
			Christian Christoph Oskar Adolf August G鰎an Sigismund Alfred Axel Edvard Gottfrid 
			Jakob Ludvig Mikael Olof Patrik Rangvald Rettil Sigvard Simon Sture Svante 
			Tomas Ulrik
			Albrikt Albert Alf Algot Anders Arne Arnfast Astrad 
			Bengt Benedict Bertil Birger Bj鰎n Bo Borkvard Brage Bror
			Dag Dan Dyre Egil Einar Erik Eskild Faste Fredrik Frederick Filip 
			Folke Georg Greger Gregory Gunnar Gustav Halsten Hans Harald Harold
			Helge Henrik Hjalmar Holmger H錵an Inge Ingemar Ingvar
			Edward Johan John Karl Klas Knut Lars Magnus
			Markus Marcus 
			Mats Matthew Nils Nicholas Niklas Odd Olaf Peter Ragnar Rolf 
			Ragnvald S鰎kver Sigurd Starkad Sten Styrbj鰎n Sune Sven
			Sverker S鰈ve Thomas Tjudmund Toke Torbj鰎n Tord Torbrand Torkel Torolf 
			Thorolf Torsten Toste Totil Tyke Ulf Valdemar 舓e 謘ten 
		}
		female_names = {
			Christina Ulrika Eleonora Hedwig
			Anna Asta Astrid Beata Birgitta Brigid Bothild Cecilia Elin 
			Elisabet Gunhild Helena Holmfrid Iliana Inga 
			Ingeborg Ingegerd Ingfrid Ingrid Karin Katarina Kristina Linda 
			Margareta M鋜ta Martha Ragnhild Sara Sarah Sigrid Sofia 
			Sophia Thordis Ulvhilde 舠a
		}
		dynasty_names = {
			"Bonde" "Vasa" "Tre Rosor" "Oxenstierna" "Sparre" "Sture" "Tott" "Trolle" "Bielke" "Brahe"
			"Horn" "Ribbing" "Skytte" "Ban閞" "Fleming" "Gyllenstierna" "de la Gardie" "Leijonhufvud" 
			"Natt och Dag" "Grip" "Stenbock" "Bure" "Drake" "Hand" "Burensk鰈d"
			"B鰈lja" "Cruus" "Geete" "Grubbenhielm" "Soop" "Ekeblad" "Svinhufvud"
			"H錼d" "Forstena" "Kurck" "Eka" "Hjort" "J鋑erhorn" "Lillieh鲻k"
			"Porse" "Palme" Gumsehuvud
			"B邋t" "Ulv" "Sj鯾lad" "L鋗a" "Posse" "Rosenstr錶e" "Thott" "Bagge"
			"Bese" "G鋎da" "Hatt" "Marsvin" "Oxhufvud" "Stake" "Tre Rutor" "H鋝tesko"
			"Ulfsax" "Tre Sj鯾lad" "Bratt" "Munk" "Eketr? "Gera"
			"Gylta" "Lillie" "Puke" "Slatte"  "Stiernkors" "Fincke" "Dufva" "Cronstedt"
		}
	}

可以看到,两段代码 country = { state_maintenance_modifier = -0.25 } 和 province = { local_production_efficiency = 0.50 } ,分别代表瑞典文化的国家修正与地方修正:瑞典文化的国家 直辖维护费 -25%;瑞典文化的省份 当地生产效率+50%。当然,这两个修正在游戏中并未起效,因为前面的#号将这两行代码注释掉了,将#号去除,该修正即可在游戏中生效。另外,还需要注意的是,国家文化修正和省份文化修正可以同时可以作用于文化与文化组中。


文化速查表

已经删除了male_names、female_names、dynasty_names等字段。脚本代码位于:/Europa Universalis IV/common/cultures/00_cultures.txt

germanic = {
	pommeranian = {
	prussian = {
	lower_saxon = {
	hannoverian = {
	hessian = {
	saxon = {
	franconian = {
	swabian = {
	swiss = {
	bavarian = {
	austrian = {
	dutch = {
	flemish = {
	frisian = {
}
scandinavian = { #Nordic
	swedish = {
	danish = {
	norwegian = {
	finnish = {
	sapmi = {
	icelandic = {
}
british	= {
	english = {
	american = {
	welsh = {
	cornish = {
	scottish = {
}
gaelic	= {
	irish = {
	highland_scottish = {
}
latin = {
	lombard = {
	tuscan = {
	sardinian = {
	romagnan = {
	ligurian = {
	venetian = {
	dalmatian = {
	neapolitan = {
	piedmontese = {
	umbrian = {
	sicilian = {
	maltese = {
}
iberian	= {
	castillian = {
	mexican = {
	leonese = {
	aragonese = {
	catalan = {
	galician = {
	andalucian = {
	portugese = {
	brazilian = {
	basque = {
}
french	= {
	cosmopolitan_french = {
	gascon = {
	normand = {
	aquitaine = {
	burgundian = {
	occitain = {
	wallonian = {
	breton = {
}
finno_ugric = { #Ugric
	uralic = {
	samoyed = {
	ostyaki = {
	ingrian = {
}
south_slavic = {
	croatian = {
	serbian = {
	slovene = {
	bosnian = {
	bulgarian = {
	albanian = {
}
west_slavic = {
	czech = {
	polish = {
	schlesian = {
	sorbian = {
}
carpathian = {	
	slovak = {
	transylvanian = {
	romanian = {
	hungarian = {
}
east_slavic = {
	russian = { #Muscovite - Vladimir-Suzdal dialects
	novgorodian = { #Novgorodian and most North Russian dialects.
	ryazanian = { #Southern Russian Dialects
	byelorussian = {
	ruthenian = {
	karelian = {
}
baltic	= {
	estonian = {
	lithuanian = {
	latvian = {
}
byzantine = {
	greek = {
	pontic_greek = {
	goths = {
}
caucasian = {
	georgian = {
	circassian = {
	dagestani = {
	armenian = {
}
turko_semitic = { #Levantine
	turkish = {
	al_misr_arabic = { #Egyptian Arab
	al_suryah_arabic = { #Syrian Arab
	al_iraqiya_arabic = { #Mashriqi Arab
	gulf_arabic = {
	bedouin_arabic = { #Bedouin Arab
	mahri_culture = { #South Arabs
	hejazi_culture = {
	omani_culture = {
	yemeni_culture = {
	}
}
maghrebi = {
	moroccan = {
	tunisian = {
	algerian = {
	berber = {
}
iranian	= {
	persian = {
	luri = {
	azerbaijani = {
	khorasani = {
	baluchi = {
	afghani= {
	kurdish = {
	mazandarani = {
}
altaic = {
	mongol = {
	chahar = { # now korchin
	khalkha = {
	oirats = {
	uzbehk = {
	turkmeni = {
	uyghur = {
	khazak = {
	kirgiz = {
}
central_american = {
	aztek = {
	totonac = {
	purepecha = {
	matlatzinca = {
}
aridoamerican = {
	tecos = {
	tepic = {
	chichimecan = {
	guamares = {
	otomi = {
	yaqui = {
}
maya = {
	yucatec = {
	putun = {
	mayan = {
	} 
	highland_mayan = {
	lacandon = {
	wastek = {
	chontales = {
} 
otomanguean = {
	zapotek = {
	mixtec = {
	tlapanec = {
}
andean_group = {
	inca = { # Quechua
	aimara = {
	diaguita = {
	chimuan = {
}
je_tupi = { # Tupi
	tupinamba = {
	guarani = {
}
je = {
	charruan = {
	ge = {
}
maranon = {
	jivaro = {
	chachapoyan = {
}
chibchan = {
	muisca = {
	cara = {
	miskito = {
}
mataco = {	#Matacoan
	chacoan = {
}
araucanian = {
	mapuche = {
	patagonian = {
	het = {
	huarpe = {
}
carribean = {
	arawak = { #Taino
	maipurean = {
	carib = {
	guajiro = { #	Lokono / Northern Mainland Arawak
}
eskaleut = {
	aleutian = {
	inuit = {
}
central_algonquian = {
	shawnee = {
	illini = {
	anishinabe = {
	cree = {
	mesquakie = {
}
plains_algonquian = {
	cheyenne = {
	blackfoot = {
	arapaho = {
}
eastern_algonquian = {
	delaware = {
	abenaki = {
	mikmaq = {
	mahican = {
	powhatan = {
	pequot = {
}
iroquoian = {
	iroquois = {
	cherokee = {
	huron = {
	susquehannock = {
}
siouan = {
	dakota = {
	nakota = {
	chiwere = {
	osage = {
	catawba = {
}
caddoan = {
	wichita = {
	caddo = {
	pawnee = {
}
muskogean = {
	creek = {
	choctaw = {
	chickasaw = {
}
sonoran = {
	pueblo = {
	piman = {
	shoshone = {
	kiowa = {
}
apachean = {
	apache = {
	mescalero = {
	lipan = {
	navajo = {
}
na_dene = {
	chipewyan = {
	haida = {
	athabascan = {
}
penutian = {
	salish = {
	chinook = {
	yokuts = {
}
east_asian = {	# Chinese Group
	manchu_new = {
	chihan = {	#Zhili
	miao = {
	cantonese = {
	jin = {
	wu = {
	chimin = {
	hakka = {
	gan = {
	xiang = {
	sichuanese = {
	jianghuai = {
	xibei = {
	hubei = {
	zhongyuan = {
	shandong_culture = {
}
korean_g = {
	korean = {
}
japanese_g = {
	togoku = { #Togoku / Eastern Japanese
	japanese = { #Saigoku / Western Japanese
	kyushuan = { #Kyushu culture
}
tibetan_group = {
	tibetan = {
	yi = {
	bai = {
}
malay = { 
	polynesian = {
	cham = {
	malayan = {
	sumatran = {
	javanese = {
	filipino = {
	bornean = {
	} 
	madagascan = {
	sulawesi = {
}
southeastasian_group = { 
	central_thai = {
	lao = {
	northern_thai = {
	shan = {
	zhuang = {
	khmer = {
	vietnamese = {
	}	
}
burman = {
	burmese = {
	mon = {
	chin = {
	karen = {
	kachin = {
	arakanese = {
}
pacific = {
	papuan = {
	aboriginal = {
	melanesian = {
	moluccan = {
}
eastern_aryan = {
	assamese = {
	bengali = {
	kochi = {
	bihari = {
	pahari = {
	nepali = {
	oriya = {
	sinhala = {
}
hindusthani = {
	avadhi = {
	kanauji = { #Hindvi
	vindhyan = { #Bundeli & Bagheli
	panjabi = {
	kashmiri = {
}
western_aryan = {
	gujarati = {
	saurashtri = {
	marathi = {
	sindhi = {
	rajput = {
	malvi = {
}
dravidian = {
	kannada = {
	malayalam = {
	tamil = {
	telegu = {
}
central_indic = {
	gondi = {
	garjati = {
	jharkhandi = {
}
mande = {
	mali = {
	songhai = {
	soninke = {
	bambara = {
	bozo = {
	dyola = {
}
sahelian = {
	hausa = {
	kanuri = {
	bilala = {
	tuareg = {
	senegambian = {
	fulani = {
}
west_african = {
	yorumba = {
	aka = {
	nupe = {
	fon = {
	mossi = {
	dagomba = {
}	
southern_african = {
	makua = {
	nguni = {
	bemba = {
	khoisan = { #Unlike other members of this group these do not speak a Bantu Language. No tag, only exists in uncolonized provinces
	shona = {
	nyasa = {
}
kongo_group = {
	lunda = {
	luba = {
	kongolese = {
	yaka = {
	kuba = {
	mbundu = {
	chokwe = {
	mbangala = {
	jukun = {
	sawabantu = {
}
great_lakes_group = {
	rwandan = {
	ganda = {
	masaba = {
}
african = {	#Eastern Bantu Groups
	madagasque = {
	#Tagless Bantu Cultures:
	takama = {
	bena = {
	bantu = { #Thagiicu, old tag kept to not break older saves.
	swahili = {
}
cushitic = {
	somali = {
	harari = {
	afar = {
	oromo = {
	tigray = {
	sidamo = {
	amhara = {
}
sudanese = {
	acholi = {
	nubian = {
	beja = {
}
evenks = {
	evenk = {
	yakut = {
	yukagyr = {
	buryat = {
	tungus = {
	manchu = {
}
kamchatkan_g = {
	ainu = {
	kamchatkan = {
}
tartar	= {
	astrakhani = {
	bashkir = {
	crimean = {
	kazani = {
	mishary = {
	nogaybak = {
	siberian = {
}
#Cultures for use with the nation designer:
lost_cultures_group = {
	atlantean = { #EU Rome
	spartan = { #EU Rome
	athenian = { #EU Rome
	old_egyptian = {
	roman = { #EU Rome
	jan_mayenese = {
	pruthenian = {
	phoenician = { #EU Rome
	scanian = {
	anglosaxon = { #CK2
	babylonian = {
	etrurian = { #EU Rome
	parthian = { #EU Rome
	aramaic = { #EU Rome
	hebrew = { #EU Rome
	scythian = { #EU Rome
}