Difference between revisions of "Flag (Image)"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Properties)
m (+link to IYA2009; +flags are in the VAB and SPH; +link to root directory;)
Line 1: Line 1:
 
[[File:Flag on Mun.png|thumb|A flag on the [[Mun]] with a custom made flag (the flag of the [[w:File:Flag_of_the_United_Federation_of_Planets.svg|United Federation of Planets]] in this case)]]
 
[[File:Flag on Mun.png|thumb|A flag on the [[Mun]] with a custom made flag (the flag of the [[w:File:Flag_of_the_United_Federation_of_Planets.svg|United Federation of Planets]] in this case)]]
A '''flag''' is the image on the [[flagpole]]s and [[Extend-o-matic Series A1 Deployable Flag]]s. By default, there are 26 available flags, counting the Minimalist flag. These flags are:
+
A '''flag''' is the image on the [[flagpole]]s, flags in the [[VAB]] and [[SPH]], and [[Extend-o-matic Series A1 Deployable Flag]]s. 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.
 
: 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 <code>GameData/Squad/Flags</code> although other mods can add their own images in their own directory (<code>GameData/<mod>/Flags</code>). 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.
 
All default flags are located in <code>GameData/Squad/Flags</code> although other mods can add their own images in their own directory (<code>GameData/<mod>/Flags</code>). 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.<ref name="blog">“[[blog:321|Flags]]” blog entry by danRosas</ref>
+
Some of the images are based on posters from the [[w:International Year of Astronomy|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.<ref name="blog">“[[blog:321|Flags]]” blog entry by danRosas</ref>
  
 
== Properties ==
 
== Properties ==
Line 45: Line 45:
  
 
<references group="Note" />
 
<references group="Note" />
 +
 +
== See also ==
 +
* [[Root directory]], where ''GameData'' is located
  
 
== Notes ==
 
== Notes ==
 
<references />
 
<references />

Revision as of 21:22, 11 March 2014

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 flagpoles, flags in the VAB and SPH, and Extend-o-matic Series A1 Deployable Flags. 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]

Properties

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. Based on “Unofficial NASA mission patches” by Signalnoise

See also

Notes

  1. Flags” blog entry by danRosas