Gamedev:Sidepics

From Spring
Revision as of 02:08, 5 December 2010 by Abma (talk | contribs)
Jump to navigationJump to search

Sidepics are the faction icons which display in the Multiplayer Lobby. They follow simple rules:

  • Must be 16x16 pixels
  • Must be in Windows Bitmap (.bmp) format
  • White (RGB: 255,255,255) is transparent
  • Must be located in the "sidepics" directory (see below)
  • Must be named the same as the "name" field in sidedata.tdf (see below)

Directory

The "sidepics" directory goes in your mod's root. Plese see Mod_Development:Archives for more details on the directories Spring reads.

Filename

The filename must be the same as the name field in Sidedata.tdf file. For example, if our sidedata file contains the following:

[SIDE0] {

   name=Empire;
   commander=IMPCOM;

} [SIDE1] {

   name=Old Republic;
   commander=REPCOM;

}

We would need two sidepic bitmaps, named "empire.bmp" and "old republic.bmp" respectfully.