Installera Steam
logga in
|
språk
简体中文 (förenklad kinesiska)
繁體中文 (traditionell kinesiska)
日本語 (japanska)
한국어 (koreanska)
ไทย (thailändska)
Български (bulgariska)
Čeština (tjeckiska)
Dansk (danska)
Deutsch (tyska)
English (engelska)
Español – España (spanska – Spanien)
Español – Latinoamérica (spanska – Latinamerika)
Ελληνικά (grekiska)
Français (franska)
Italiano (italienska)
Bahasa Indonesia (indonesiska)
Magyar (ungerska)
Nederlands (nederländska)
Norsk (norska)
Polski (polska)
Português (portugisiska – Portugal)
Português – Brasil (portugisiska – Brasilien)
Română (rumänska)
Русский (ryska)
Suomi (finska)
Türkçe (turkiska)
Tiếng Việt (vietnamesiska)
Українська (ukrainska)
Rapportera problem med översättningen
- 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.
Try re-creating your user config. files
https://old.reddit.com/r/xcom2mods/wiki/mod_troubleshooting#wiki_regenerate_user_config