[Reference] Font Icons

whoward69

DLL Minion
Joined
May 30, 2011
Messages
8,725
Location
Near Portsmouth, UK
All the font icons (those accessed as [ICON_XYZ] within text strings) for standard CivBE



Row 1 (left to right)
  • ICON_CULTURE
  • ICON_RESEARCH
  • ICON_ENERGY
  • ICON_PRODUCTION
  • ICON_FOOD
  • ICON_PURITY
  • ICON_SUPREMACY
  • ICON_HARMONY
  • ICON_HEALTH
  • ICON_UNHEALTH
  • ICON_CITIZEN
Row 2
  • ICON_BULLET
  • ICON_CHECKMARK
  • ICON_PLUS
  • ICON_MINUS
  • ICON_MOVES
  • ICON_RANGE_STRENGTH
  • ICON_STRENGTH
  • ICON_ATTACK_RANGE
  • ICON_ORBITAL_RANGE
  • ICON_ORBITAL_DURATION
  • ICON_ARROW_LEFT
Row 3
  • ICON_RAZING
  • ICON_MARTIAL_LAW
  • ICON_PUPPET
  • ICON_RESISTANCE
  • ICON_CAPITAL
  • ICON_INTERNATIONAL_TRADE
  • ICON_SPY
  • ICON_SEARCH
  • ICON_FIBER
  • ICON_CORAL
  • ICON_RESILIN
Row 4
  • ICON_CHITIN
  • ICON_SILICA
  • ICON_FUNGUS
  • ICON_BASALT
  • ICON_GOLD
  • ICON_COPPER
  • ICON_FRUIT
  • ICON_ALGAE
  • ICON_PETROLEUM
  • ICON_TITANIUM
  • ICON_GEOTHERMAL
Row 5
  • ICON_XENOMASS
  • ICON_FLOAT_STONE
  • ICON_FIRAXITE
  • ICON_DERELICT_SETTLEMENT
  • ICON_CRASHED_SATELLITE
  • ICON_ALIEN_SKELETON
  • ICON_ARTIFACTS
  • ICON_TUBER
  • ICON_CONNECTED
  • ICON_BLOCKADED
  • ICON_OCCUPIED
Row 6
  • ICON_ARROW_RIGHT
  • ICON_CHAT_ALL
  • ICON_CHAT_TEAM
  • ICON_CHAT_PLAYER

Aliases
  • ICON_HEALTH, ICON_HEALTH_1, ICON_HEALTH_2
  • ICON_UNHEALTH, ICON_HEALTH_3, ICON_HEALTH_4
  • ICON_CAPITAL, ICON_CAPITOL
  • ICON_SEARCH, ICON_VIEW_CITY
 

Attachments

  • CivBEFontIcons.png
    CivBEFontIcons.png
    39.9 KB · Views: 1,227
  • CivBEFontIconsX2.png
    CivBEFontIconsX2.png
    135.4 KB · Views: 516
Thanks a lot for this reference. A question: if I wanted to replace one of the font icons, lets say the food icon and replace it with a water droplet, how do I do it?

I've tried the following:
Method 1. Just simply creating a FontIcons.dds that has the replacement and adding it into the mod with VFS = true, hoping that it would just replace the original. Didn't work (obviously I don't understand the Virtual File System)
Method 2. Creating a .dds, .ggxml, and .xml as per your post here and a bit of Isnorden's code here, with the xml as:
Spoiler :
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameData>
  <IconFontTextures>
    <Row>
      <IconFontTexture>ICON_MOD_FONT</IconFontTexture>
      <IconFontTextureFile>ModFontIcons</IconFontTextureFile>
    </Row>
  </IconFontTextures>

  <IconFontMapping>

    <Delete IconName="ICON_FOOD" />
    
    <Row>
      <IconName>ICON_FOOD</IconName>
      <IconFontTexture>ICON_MOD_FONT</IconFontTexture>
      <IconMapping>5</IconMapping>
    </Row>
  </IconFontMapping>
</GameData>
But it also didn't work :(

Could you possibly give me some pointers on how to proceed? Thanks so much!

**********************************************
1st EDIT: Found solutions, for those who come looking for it.

Method 1: The quick and dirty non-mod way of replacing .dds files that are used by default in the game is as per this thread.
a. Go to the folder Documents > My Games > Sid Meier's Civilization Beyond Earth, and open config.ini.
b. Look for LooseFilesOverridePAK = 0, and change it to LooseFilesOverridePAK = 1. This prompts the game to look for newer files in the assets folder outside the default files packaged in the .fpk files.
c. Go to the CivBE installation folder and go into the assets folder, commonly C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization Beyond Earth\assets. Move your replacement .dds into this folder. Preferably put it into it's own folder.

Method 2: The proper mod way of doing this:
a. Create the .dds, .ggxml, and .xml as per the post here as previously mentioned.
b. Replace all references to the old font icon to the new font icon. E.g. by searching, I know that TXT_KEY_COLONIST_REFUGEES in the original game refers to [ICON_FOOD], which I want to change to refer to [ICON_WATER]. I then create the XML below.
Spoiler :
Code:
<GameData>
  <Language_en_US>

    <Delete Tag="TXT_KEY_COLONIST_REFUGEES" /> 
    
    <Row Tag="TXT_KEY_COLONIST_REFUGEES">
      <Text>+2 [ICON_WATER] Water in every City.</Text>
    </Row>
    
  </Language_en_US>
</GameData>
******
2nd EDIT: Method 2 won't work, because font icons no longer work as per Civ5, as found out by whoward69 here. Bloody hell, Firaxis, stop making it harder and harder for modders!

Also, I've added an attachment for the .PSD and .XCF (for GIMP) for a better version of the fonticons. Somehow Photoshop doesn't read the original .dds very well, but GIMP reads it better, with all the transparent background and stuff. Here it is for everyone to use.
 

Attachments

Back
Top Bottom