Difference between revisions of "Flag (Image)"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Properties)
(Properties)
 
(13 intermediate revisions by 9 users not shown)
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)]]
+
{{Outdated|
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:
+
* Flag images are now provided (and accepted) in a higher resolution (512x256px), while still being displayed in a 5:8 ratio. Using the old 256x160px format is still possible, but can lead to visible artefacts.
 +
* Transparent backgrounds in flag images now work correctly.
 +
* Besides the Flags directory, there are now FlagsAgency and FlagsOrganization directories, which can be added on by mods. Flags put there will appear in the respective categories in game.
 +
* The flag parts from 1.10 are not mentioned. They allow to decorate a craft with multiple different flags and give you a choice over the background.
 +
}}
 +
 
 +
[[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 flags appearing at various places. There are two [[flagpole]]s, flags in the [[VAB]] and [[SPH]], [[Extend-o-matic Series A1 Deployable Flag]]s, 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.
 
: 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>
 +
 
 +
The manufacturer's logos are also available as flags, starting from version [[0.24]].<ref>“[https://www.youtube.com/watch?v=SRUEOdliFns Kerbal Space Program - Early Access Look At Update v0.24]” by Scott Manley released on July 14, 2014</ref>
  
 
== Properties ==
 
== 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 [[w:Flag of Nepal|Nepalese flag]] or the squared [[w:Flag of Switzerland|flag of Switzerland]] could not be used in the game without adding white space.
+
[[File:Flag texture formats compared.png|thumb|left|The new (top) and old (bottom) flag texture format in game. Open the full view to see artefacts introduced by scaling and texture compression in the bottom flag.]]
 +
A flag is an image with a width to height ratio of 8:5. While older versions of the game used to provide and use flag images in the 256x160px format, they now use 512x256px images which can be directly mapped to textures on the GPU. Note that because the new files have a ratio of 2:1, they will be slightly squeezed in game and appear stretched out of game. To avoid quality loss, most flags use the PNG format, which also supports an alpha channel for transparency.
  
 
== Minimalistic ==
 
== Minimalistic ==
Line 17: Line 27:
 
<gallery>
 
<gallery>
 
File:09.png|09 <ref group="Note" name="IYA">Based on the posters from the 2009 International Year of Astronomy</ref>
 
File:09.png|09 <ref group="Note" name="IYA">Based on the posters from the 2009 International Year of Astronomy</ref>
 +
File:B612_Foundation_flag.png|B612 Foundation
 
File:Blorbs.png|Blorbs <ref group="Note" name="IYA" />
 
File:Blorbs.png|Blorbs <ref group="Note" name="IYA" />
 
File:Bullseye.png|Bullseye
 
File:Bullseye.png|Bullseye
Line 22: Line 33:
 
File:Circles.png|Circles <ref group="Note" name="IYA" />
 
File:Circles.png|Circles <ref group="Note" name="IYA" />
 
File:Default.png|Default
 
File:Default.png|Default
 +
File:Esa black.png|ESA <ref group="Note">Five variants are of the ESA logo available: black, dark blue, gray, white and negative</ref>
 
File:Hexagon.png|Hexagon
 
File:Hexagon.png|Hexagon
 
File:HexagonCircles.png|Hexagon Circles <ref group="Note" name="IYA" />
 
File:HexagonCircles.png|Hexagon Circles <ref group="Note" name="IYA" />
File:Kerbal1.png|Kerbal 1
+
File:120px-Kerbal1(flag).png|Kerbal 1
 
File:Kerbal2.png|Kerbal 2
 
File:Kerbal2.png|Kerbal 2
 
File:Kerbinflag.png|[[Kerbin]]
 
File:Kerbinflag.png|[[Kerbin]]
 
File:Kerbinmunflag.png|Kerbin-[[Mun]] Flag
 
File:Kerbinmunflag.png|Kerbin-[[Mun]] Flag
 
File:Line.png|Line
 
File:Line.png|Line
File:Minimalistic.png|Minimalistic.
+
File:Minimalistic.png|Minimalistic
 +
File:NASA.png|NASA
 
File:Orbitflag.png|Orbit <ref group="Note" name="IYA" />
 
File:Orbitflag.png|Orbit <ref group="Note" name="IYA" />
 
File:Orbs.png|Orbs
 
File:Orbs.png|Orbs
Line 36: Line 49:
 
File:RocketScience.png|Rocket Science
 
File:RocketScience.png|Rocket Science
 
File:Satellite.png|Satellite
 
File:Satellite.png|Satellite
 +
File:Sentinel_Flag.png|Sentinel
 
File:Spheres.png|Spheres <ref group="Note" name="IYA" />
 
File:Spheres.png|Spheres <ref group="Note" name="IYA" />
 
File:SquadLogoflag.png|Squad Logo 1
 
File:SquadLogoflag.png|Squad Logo 1
Line 42: Line 56:
 
File:Trees.png|Trees
 
File:Trees.png|Trees
 
File:Trippy.png|Trippy
 
File:Trippy.png|Trippy
 +
File:Uk_space_agency.png|UK Space Agency
 
</gallery>
 
</gallery>
  
 
<references group="Note" />
 
<references group="Note" />
 +
 +
=== Gallery of the manufacturer logos ===
 +
<gallery>
 +
File:C7 Aerospace Division.png|C7 Aerospace Division
 +
File:Dinkelstein Kerman's Construction Emporium.png|Dinkelstein Kerman's Construction Emporium
 +
File:Experimental Engineering Group.png|Experimental Engineering Group
 +
File:FLOOYD Dynamics Research Labs.png|FLOOYD Dynamics Research Labs
 +
File:Goliath National Products.png|Goliath National Products
 +
File:Integrated Integrals.png|Integrated Integrals
 +
File:IonicSymphonicProtonicElectronics.png|Ionic Symphonic Protonic Electronics
 +
File:JebsJunkyard.png|Jebediah Kerman's Junkyard and Spaceship Parts Co.
 +
File:KerbalMotion.png|Kerbal Motion LLC
 +
File:KerbinWorldFirstRecordKeepingSociety.png|Kerbal World Firsts Record Keeping Society
 +
File:Kerbodyne.png|Kerbodyne
 +
File:Kerlington.png|Kerlington Model Rockets and Paper Planes Inc.
 +
File:MaxoConstructionToys.png|Maxo Construction Toys
 +
File:MovingPartsExpertsGroup.png|Moving Parts Experts Group
 +
File:OMBDemolition.png|OMB Demolition Enterprises
 +
File:PeriapsisCo.png|Periapsis Rocket Supplies Co.
 +
File:Probodobodyne Inc.png|Probodobodyne Inc.
 +
File:R&D logo.png|Research & Development Department
 +
File:ReactionSystemsLtd.png|Reaction Systems LTD.
 +
File:Rockomax.png|Rockomax Conglomerate
 +
File:Rokea.png|ROKEA Incorporated
 +
File:SeansCannery.png|Sean's Cannery
 +
File:SteadlerEngineeringCorps.png|STEADLER Engineering Corps.
 +
File:StrutCo.png|StrutCo.
 +
File:Vac-Co.png|Vac-Co Advanced Suction Systems
 +
File:WinterOwl.png|WinterOwl Aircraft Emporium
 +
File:ZaltonicElectronics.png|Zaltonic Electronics
 +
</gallery>
 +
 +
== See also ==
 +
* [[Tutorial:Create custom flags!|Create custom flags!]], tutorial to create custom flags
  
 
== Notes ==
 
== Notes ==
 
<references />
 
<references />

Latest revision as of 18:50, 11 March 2021

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

The new (top) and old (bottom) flag texture format in game. Open the full view to see artefacts introduced by scaling and texture compression in the bottom flag.

A flag is an image with a width to height ratio of 8:5. While older versions of the game used to provide and use flag images in the 256x160px format, they now use 512x256px images which can be directly mapped to textures on the GPU. Note that because the new files have a ratio of 2:1, they will be slightly squeezed in game and appear stretched out of game. To avoid quality loss, most flags use the PNG format, which also supports an alpha channel for transparency.

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