安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题









- NameStruct.MaleNames/FemaleNames/MaleLastNames/FemaleLastNames: point each one to the correct name array, e.g., class'XGCharacterGeneratorFix'.default.(array name)
- PercentChance = this describes the percent of the *country + race* to which these name arrays apply
- bRaceSpecific = set this to true if Race is set;
- Race = set this to one of three race names: eRace_Asian, eRace_Hispanic, eRace_Caucasian. If you don't include this, it will fall to the default value, which is eRace_African.
Let's say you want a country where everyone has a white skin tone palette and half have French names and half English. You'd have two NameStructs in that country template, both with Race = eRace_Caucasian, and PercentChance = 50, one pointed to the French name arrays, one to the English.
XGCharacterGeneratorFix.uc: this adds your new name arrays to the character generator. Replace my name arrays with yours.
X2DownloadableContentInfo_(modname).uc: this will basically load your mod correctly. Replace my mod name with yours wherever it appears.
X2StrategyElement_DefaultCountriesFix.uc: This contains the code that assembles the country templates, basically putting everything else you've created together. Every country needs at least one NameStruct for every race with a weight above 0.
Localization folder: INT folder is English. These files contain text strings; for this mod, they contain your character names (MoreNationsandNamesWotC.int) and country names (XComGame.int). For character names, you're assembling arrays of first and last names, male and female, for each ethnic group. E.g., the line `Turk_M_FN[0]="Yusuf" ` sets the first name in the array for Turkish male first names to "Yusuf". Replace these arrays with your own, name them whatever will help you identify them. Including a name in more than one array slot will increase the frequency it appears.
XComEditor.ini, XComEngine.ini, XComGame.ini - these files contain a couple edits to the source files, mostly to make sure your mod packages load and are named correctly. Replace my mod name with your mod name, and "UILibrary_MNaN" to the name of your flag upk file (see Content folder).
XComGameBoard - this contains the country templates, which contain the weights for both the countries relative to other countries and the "races" per country. To eliminate a country change its UnitWeight to 0. Editing the vanilla countries requires -/+, but new country templates don't need them. Here you should take the vanilla countries and set their weight to 0, then overwrite my new countries with your own.
That said, you could likely copy this mod and edit it to get what you want. There's no template exactly, but if you understand what each file is doing you're most of the way there. Character limits are tight here, I'll write another comment or two with a short description.