Custom Graphics for Factions

From AGEWiki

Jump to: navigation, search

Starting October 19, 2010, there are changes the way the data is accessed. Before, all the data like name of images, how forces are named and many others data were read from the faction definition. Now, there is a redirection in the code, so that we can potentially change each of these data, with a script command.

Usage and naming conventions

If you set the parameter inoFactionAutocalcImgName = 1 (add to the Interface.opt file in \Settings) , these entries are not read any more in the Faction (*.fac) files. Instead, names are deducted according to this convention:


  • MiniFlag should be called MiniFlag_XXX (old field MiniFlagBmp not read anymore)
  • Pick Flag in New game should be called FactionPick_XXX (old field PickFlagImg not read anymore)
  • Pick Flag, highlighted in New game should be called FactionPickHL_XXX (old field PickFlagImgHL not read anymore)
  • LeftFlagImg, which is the name of the left flag displayed on battle report, should be called Battle_LeftFlag_XXX (old field LeftFlagImg not read anymore)
  • RightFlagImg, which is the name of the right flag displayed on battle report, should be called Battle_RightFlag_XXX (old field RightFlagImg not read anymore)
  • LedgerSigImg, which is the signature image used to validate historical options, should be called Signature_XXX (old field LedgerSigImg not read anymore)
  • LedgerSigImg small, which is the small signature image used to validate historical options, should be called SignatureSmall_XXX (no previous field, was already deducted)
  • EventBackImg, which is the custom image for event window (newspaper title), should be called EventBack_XXX (old field EventBackImg not read anymore)
  • EventBackImgSmall, which is the custom image for event window (newspaper title), should be called EventBackSmall_XXX (old field EventBackImgSmall not read anymore)
  • InspectorBmp, which is the custom image under the element detail window, not used anymore since BOA1 but still a nice feature to customize a faction, should be called InspectorImg_XXX (Old field InspectorBmp not read anymore)
  • InterfElt1 is the custom image put at the top left of the screen, often the faction flag, should be called TopLeft_banner_XXX (old field InterfElt1 not read anymore)
  • InterfElt2 is the flag in the unit panel, often with a 3D effect should be called BottomLeft_Banner_XXX (old field InterfElt2 not read anymore)
  • InterfElt3 has never been used and should be removed altogether
  • The flags on the army/fleet on map should be called Counter_XXX (no old field, was already calculated)
  • Cursor, expected format is cursor_32_XXX
  • ArmyBullet = ArmyBullet_XXX
  • FleetBullet = FleetBullet_XXX


Entry BackGrndBmp is deprecated for all game but WIA. It is replaced by TopLeft_banner_XXX
CSFlagImg & CSFlagNb are faction flags with a number in them, for cityscape and structures.
Not used in VGN, remove.
LedgerImage, LedgerFinancialsImg, LedgerDraftsImg, LedgerPoliticsImg: only for AACW, remove from VGN
Keep CapitalSymbol as an entry, because it would mean having to duplicate a lot of graphic files.
Forums