Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Gamedev:Sidepics: Difference between revisions

From FIGHTORDER
imported>Gnome
No edit summary
 
imported>Abma
No edit summary
Line 26: Line 26:
We would need two sidepic bitmaps, named "empire.bmp" and "old republic.bmp" respectfully.
We would need two sidepic bitmaps, named "empire.bmp" and "old republic.bmp" respectfully.


[[Category:Mod development]]
[[Category:Game development]]

Revision as of 01:08, 5 December 2010

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.