Difference between revisions of "Manual:Config:Advanced:Colors"

From VsWiki
Jump to: navigation, search
(Add a bunch of content based on current SVN vegastrike.config uncommented variables)
("default" section: clarify space_background description)
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
 
{{FIXME}} ''Are the 2 types interchangeable (for the same variable)?''
 
{{FIXME}} ''Are the 2 types interchangeable (for the same variable)?''
  
== "<code>nav</code> section" ==
+
== "<code>nav</code>" section ==
 
* <code>'''destination_system'''</code> [rgba] - {{FIXME}}
 
* <code>'''destination_system'''</code> [rgba] - {{FIXME}}
  
== "<code>absolute</code> section" ==
+
== "<code>absolute</code>" section ==
 
Sets absolute colors used for reference? {{FIXME}} ''Add defaults.''
 
Sets absolute colors used for reference? {{FIXME}} ''Add defaults.''
  
Line 34: Line 34:
 
* <code>'''dark-blue'''</code> [rgba]
 
* <code>'''dark-blue'''</code> [rgba]
  
== "<code>unit</code> section" ==
+
== "<code>unit</code>" section ==
 
Light to use for ships.
 
Light to use for ships.
  
Line 40: Line 40:
 
* <code>'''engine'''</code> [rgba] - Engine color?
 
* <code>'''engine'''</code> [rgba] - Engine color?
  
== "<code>terrain</code> section" ==
+
== "<code>terrain</code>" section ==
 
* <code>'''terrain_ambient'''</code> [rgba] - Ambient light used for terrain rendering (what terrain)?
 
* <code>'''terrain_ambient'''</code> [rgba] - Ambient light used for terrain rendering (what terrain)?
  
== "<code>default</code> section" ==
+
== "<code>default</code>" section ==
 
Colors to use in radar/target rectangles.
 
Colors to use in radar/target rectangles.
  
Line 61: Line 61:
 
* <code>'''planet_mat_specular'''</code> [rgba] - {{FIXME}}
 
* <code>'''planet_mat_specular'''</code> [rgba] - {{FIXME}}
 
* <code>'''planet_mat_emmissive'''</code> [rgba] - {{FIXME}}
 
* <code>'''planet_mat_emmissive'''</code> [rgba] - {{FIXME}}
* <code>'''space_background'''</code> [ref] - The color of the void.
+
* <code>'''space_background'''</code> [ref] - The color of the void of space.
 
** set this to "dark-blue" to get the real spacey feeling
 
** set this to "dark-blue" to get the real spacey feeling

Latest revision as of 22:42, 29 September 2010

View this site in other languages:   DeutschEnglishFrançaisEspañolPolskiItalianoNederlandsРуccкий简体中文


arrow_left.png Config:Advanced:Bindings arrow_up.png Config:Advanced Config:Advanced:Variables arrow_right.png

Color variables

The color variables are set in their respective sections between the <colors> and the </colors> tags.

The color variables look like this:

<color name="NAME" r="NUM" g="NUM" b="NUM" a="NUM" />

or like this, if referring to a color in another section:

<color name="NAME" section="SECTION" ref="NAME" />

FIXME Are the 2 types interchangeable (for the same variable)?

"nav" section

  • destination_system [rgba] - FIXME

"absolute" section

Sets absolute colors used for reference? FIXME Add defaults.

  • red [rgba]
  • green [rgba]
  • blue [rgba]
  • yellow [rgba]
  • black [rgba]
  • white [rgba]
  • grey [rgba]
  • light-grey [rgba]
  • pink [rgba]
  • dark-red [rgba]
  • dark-blue [rgba]

"unit" section

Light to use for ships.

  • ship_ambient [rgba] - Ambient light used for ship model rendering?
  • engine [rgba] - Engine color?

"terrain" section

  • terrain_ambient [rgba] - Ambient light used for terrain rendering (what terrain)?

"default" section

Colors to use in radar/target rectangles.

  • enemy [ref] - Enemy ship, based on player stats faction<0?
  • friend [ref] - Friend ship, based on player stats faction>0?
  • neutral [ref] - Neutral ship, based on player stats faction=0?
  • attacking_ship [ref] - Ship attacking you.
  • locking_ship [ref] - Ship with missiles locked on?
  • targetting_ship [ref] - Ship targetting you?
  • target [ref] - Target, whether ship or planet, etc.?
  • planet [ref] - Any planet?
  • docking_box [ref] - Docking boxes for showing available docking areas.
  • black_and_white [ref] - FIXME
  • planet_ambient [rgba] - Ambient light used when rendering planets?
  • planet_mat_ambient [rgba] - FIXME
  • planet_mat_diffuse [rgba] - FIXME
  • planet_mat_specular [rgba] - FIXME
  • planet_mat_emmissive [rgba] - FIXME
  • space_background [ref] - The color of the void of space.
    • set this to "dark-blue" to get the real spacey feeling