Instale o Steam
iniciar sessão
|
idioma
简体中文 (Chinês simplificado)
繁體中文 (Chinês tradicional)
日本語 (Japonês)
한국어 (Coreano)
ไทย (Tailandês)
Български (Búlgaro)
Čeština (Tcheco)
Dansk (Dinamarquês)
Deutsch (Alemão)
English (Inglês)
Español-España (Espanhol — Espanha)
Español-Latinoamérica (Espanhol — América Latina)
Ελληνικά (Grego)
Français (Francês)
Italiano (Italiano)
Bahasa Indonesia (Indonésio)
Magyar (Húngaro)
Nederlands (Holandês)
Norsk (Norueguês)
Polski (Polonês)
Português (Portugal)
Română (Romeno)
Русский (Russo)
Suomi (Finlandês)
Svenska (Sueco)
Türkçe (Turco)
Tiếng Việt (Vietnamita)
Українська (Ucraniano)
Relatar um problema com a tradução
I gave it a stab by creating a template based off X2CountryTemplate, but just could not get it to show up in game. Here is my template for the great Country of "Compton": http://pastebin.com/GXcGwu3i
Added the localization file as well defining the Country, but still no dice.
Either way, great job!
That script source is 15MB. Everything else is under 200KB.
The existing localizations all have the names, but I don't think that's necessary, as the game seems to fall back on English if a translation is missing.
I'm about to test it.
How were you able to find the source for Volman's mod? I have it installed, ran the game with it active, but I'm not seeing a folder for it in my mods folder.
EDIT: Derp, found it in: :\Steam\steamapps\workshop\content\268500
EDIT EDIT: Aaah. I see how you did this now Volman. X2StrategyElement_DefaultCountries.uc is the class with the goods.
Looks like you created a new class based off that and set it to override the default X2StrategyElement_DefaultCountries.uc class. I got this to work a bit more "dynamically" by creating that class I previously linked. I'm going to tidy some things up, then post it so you guys can take a look at how I did it.
http://steamcommunity.com/sharedfiles/filedetails/?id=618102825
You don't need to include all the default countries in X2StrategyElement_DefaultCountries. I was worried that it was overwriting the default version of the script and cause compatibility problems, but using my own mod and Volman's Somalia mod at the same time works fine.
If you're okay with just defaulting to the American name list, you don't actually need your own X2StrategyElement_DefaultCountries.
The override command in XComEngine.ini seems to be unnecessary. I removed it and everything still works fine.
All I'm having trouble with now is getting my flag image bundled up and included. I have an image of the flag, am pointing to the flag in my code, just no idea what to do beyond that. Any tips?
In the content browser in the Unreal editor click the import button and import your flags. Write what you want to call your package in the package field and it'll create it.
You can now save your package, but you also need an XComPatternsContent for the flag that goes on your soldiers' back. I didn't figure out how to make one, so I copied one of the existing ones and changed the properties to use my own flag.