Flag (Image)

From Kerbal Space Program Wiki
Revision as of 22:30, 27 May 2017 by ArnePeirs (talk | contribs) (Add new flags)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
A flag on the Mun with a custom made flag (the flag of the United Federation of Planets in this case)

A flag is the image on the flags appearing at various places. There are two flagpoles, flags in the VAB and SPH, Extend-o-matic Series A1 Deployable Flags, and with 0.23.5 flags can be shown on parts. By default, there are 26 available flags, counting the Minimalist flag. These flags are:

09, Blorbs, Bullseye, Capsule, Circles, Default, Hexagon, Hexagon Circles, Kerbal 1, Kerbal 2, Kerbin, Kerbin-Mun Flag, Line, Minimalistic, Orbit, Orbs, Retro, Rings, Rocket Science, Satellite, Spheres, Squad Logo 1, Squad Logo 2, Stripes, Trees, and Trippy.

All default flags are located in GameData/Squad/Flags although other mods can add their own images in their own directory (GameData/<mod>/Flags). New flags can be added and used if it is placed in this or similar folder. A flag filename can have spaces; underscores are not required to separate words.

Some of the images are based on posters from the 2009 International Year of Astronomy, while one is based Signalnoise's unofficial mission patches and another flags are based on animator and director David O'Reilly.[1]

The manufacturer's logos are also available as flags, starting from version 0.24.[2]

Properties

Flag dimensions

A flag is a PNG image with a width of 256 pixels and a height of 160 pixels. While the image format does allow for partial and full transparency, this will not show up in the game; rather, partial transparency will appear as a solid color and full transparency will appear white. As a result, all flags must be the standard shape and for example, the Nepalese flag or the squared flag of Switzerland could not be used in the game without adding white space.

Minimalistic

Although the original image was the Retro style, it shows the wrinkled pattern similar to this flag

The Minimalist flag, while it can be selected, appears as the default flag when planted. Some people say that the minimalist flag is overlaid onto non-default flags for realism, and while all non-default flags do bear wrinkles in the same pattern, changing this file won't change the appearance of the other flags. Most likely the game holds a similar image to this flag somewhere internally with integrated alpha channel to combine both flags. Oddly enough, the default flag does not have this overlay; rather, it is already part of the flag's .png image. This suggests that a flag named default.png will be left untouched; as a result, players can exploit this in order to have solid colors.

Gallery of the default flags

  1. 1.0 1.1 1.2 1.3 1.4 1.5 1.6 Based on the posters from the 2009 International Year of Astronomy
  2. Five variants are of the ESA logo available: black, dark blue, gray, white and negative
  3. Based on “Unofficial NASA mission patches” by Signalnoise

Gallery of the manufacturer logos

See also

Notes

  1. Flags” blog entry by danRosas
  2. Kerbal Space Program - Early Access Look At Update v0.24” by Scott Manley released on July 14, 2014