Jump to content

Recommended Posts

Posted

I've been trying to figure out where descriptions for things like GTS upgrades and items are stored.

 

I couldn't find it in any of the XComGame/Config -> Default Files, nor any code referencing it in the .uc files.

 

Any ideas on where else I could look?

Posted

All the in game text is in the localization files in the Localization folder next to Config. The INT folder in there contains the English text, other languages are all in their respective language code folders. XComGame.int contains the English loc for most of the game text.

 

They work sort of like config entries in the ini files, except the variables in script are marked as localized instead of config, and you find the mapping from variable name to the text in the localization file.

Posted

BTW the INT files are in utf-8 encoding. In case your editor doesn't know utf-8, these files will look like gibberish.

What god aweful pre-2007 editor wont recognise UTF-8?

 

now descriptions as far as i know are distributed, across many MANY files, you'd have to go to each uc file that contains the actual code that displays the information (usually it's name will start with "UI") and see what ini files it references, or you could just look through all the files with a notepad

Posted

XComGame.int in my case.

[BluescreenRounds X2AmmoTemplate]
FriendlyName="Bluescreen Rounds"
FriendlyNamePlural="Bluescreen Rounds"
BriefSummary="Named for an inexplicable computing phenomenon common before the war, Bluescreen Rounds wreak havoc on targeted electronic systems."
TacticalText="<Bullet/> These rounds contain disruptive EMP microburst tech, making them extremely effective against robotic opponents.<br>"

[NanoMedikit X2WeaponTemplate]
FriendlyName="Nanomedikit"
FriendlyNamePlural="Nanomedikits"
BriefSummary="The Nanomedikit represents a substantial upgrade over our standard Medikit, increasing the health restored to injured soldiers."
TacticalText="<Bullet/> A Nanomedikit can restore <Ability:NANOMEDIKITHEALHP/>HP to a single soldier.\n<Bullet/> Like the base Medikit, a Nanomedikit can remove negative environmental effects from soldiers and can stabilize soldiers that are bleeding out.\n<Bullet/> Carrying a Nanomedikit grants immunity to poison.\n"
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...