Difference between revisions of "Colors.tbl"
Pecenipicek (talk | contribs) (Updated with new info pertaining to team colors) |
(Edited layout to match all of the other tables in the wiki) |
||
Line 5: | Line 5: | ||
[[Tables|List of Tables]] | [[Tables|List of Tables]] | ||
+ | ==#Start Colors== | ||
+ | This section currently defines a set of color overrides for the built-in colors. Is required by [[Colors.tbl##Team Colors|#Team Colors]]. | ||
− | == | + | ===$Blue:=== |
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
− | * | + | *Default Value: ( 93 93 128 255 ) |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ===$Bright Blue:=== | |
− | + | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | |
− | * | + | *Valid Values: 0 - 255 |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | * | ||
− | |||
− | |||
− | ==Syntax | + | *Default Value: ( 185 185 255 255 ) |
+ | |||
+ | |||
+ | ===$Green:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 0 120 0 255 ) | ||
+ | |||
+ | |||
+ | ===$Bright Green:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 50 190 50 255 ) | ||
+ | |||
+ | |||
+ | ===$Black:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 0 0 0 255 ) | ||
+ | |||
+ | |||
+ | ===$Silver:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 160 160 160 255 ) | ||
+ | |||
+ | |||
+ | ===$White:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 105 105 105 255 ) | ||
+ | |||
+ | |||
+ | ===$Bright White:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 255 255 255 255 ) | ||
+ | |||
+ | |||
+ | ===$Violet Gray:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 160 144 160 255 ) | ||
+ | |||
+ | |||
+ | ===$Violet:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 192 104 192 255 ) | ||
+ | |||
+ | |||
+ | ===$Dim Red:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 80 6 6 255 ) | ||
+ | |||
+ | |||
+ | ===$Red:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 126 6 6 255 ) | ||
+ | |||
+ | |||
+ | ===$Bright Red:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 200 0 0 255 ) | ||
+ | |||
+ | |||
+ | ===$Pink:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 185 150 150 255 ) | ||
+ | |||
+ | |||
+ | ===$Light Pink:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 230 190 190 255 ) | ||
+ | |||
+ | |||
+ | ===$Yellow:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 255 255 122 255 ) | ||
+ | |||
+ | |||
+ | ===$Bright Yellow:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 255 255 0 255 ) | ||
+ | |||
+ | |||
+ | ===$UI Light Green:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 161 184 161 255 ) | ||
+ | |||
+ | |||
+ | ===$UI Green:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 161 184 161 255 ) | ||
+ | |||
+ | |||
+ | ===$UI Light Pink:=== | ||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha ) | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 184 161 161 255 ) | ||
+ | |||
+ | |||
+ | ===$UI Pink:=== | ||
+ | *Syntax: '''Integer''' Red '''Integer''' Green '''Integer''' Blue '''Integer''' Alpha | ||
+ | *Valid Values: 0 - 255 | ||
+ | |||
+ | *Default Value: ( 228 190 190 255 ) | ||
+ | |||
+ | |||
+ | ==#End== | ||
+ | Required at the end of the [[Colors.tbl##Start Colors|#Start Colors]] section. No Exceptions. | ||
+ | |||
+ | |||
+ | |||
+ | ==#Team Colors== | ||
+ | Starts a new Team Colors section. | ||
+ | {{Note| | ||
+ | This section requires [[Colors.tbl##Start Colors|#Start Colors]] to be defined. The individual color overrides are optional.}} | ||
+ | |||
+ | |||
+ | ===$Team Name:=== | ||
+ | Defines a team name to use for a new color scheme. | ||
+ | |||
+ | |||
+ | *Syntax: '''String''' | ||
+ | |||
+ | |||
+ | ====$Team Stripe Color:==== | ||
+ | Defines the RGB color for the team "stripe." This is applied to sections that go over the base color. | ||
+ | |||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue ) | ||
+ | *Valid Values: ( 0 - 255, 0 - 255, 0 - 255 ) | ||
+ | |||
+ | |||
+ | ====$Team Base Color:==== | ||
+ | Defines the RGB color for the base color of the crafts for a given team. | ||
+ | |||
+ | *Syntax: ( '''Integer''' Red '''Integer''' Green '''Integer''' Blue ) | ||
+ | *Valid Values: ( 0 - 255, 0 - 255, 0 - 255 ) | ||
+ | |||
+ | |||
+ | ==#End== | ||
+ | Required to end the [[Colors.tbl##Team Colors|#Team Colors]] section. No exceptions. | ||
− | |||
− | |||
− | |||
− | |||
==Example Table== | ==Example Table== | ||
Line 51: | Line 195: | ||
<pre> | <pre> | ||
#Start Colors | #Start Colors | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
$Blue: (93 93 128 255) | $Blue: (93 93 128 255) | ||
$Bright Blue: (185 185 255 255) | $Bright Blue: (185 185 255 255) | ||
Line 110: | Line 221: | ||
</pre> | </pre> | ||
− | ==Example Team | + | ==Example Table that has Team Colors== |
This example table is provided by TAP. | This example table is provided by TAP. | ||
<pre> | <pre> |
Revision as of 06:04, 30 July 2012
Revision information.....
- FSO Revision: 9058
The colors.tbl allows editing of the default color values used for text in various game locations, as well as being used for team color declarations.
Contents
- 1 #Start Colors
- 1.1 $Blue:
- 1.2 $Bright Blue:
- 1.3 $Green:
- 1.4 $Bright Green:
- 1.5 $Black:
- 1.6 $Silver:
- 1.7 $White:
- 1.8 $Bright White:
- 1.9 $Violet Gray:
- 1.10 $Violet:
- 1.11 $Dim Red:
- 1.12 $Red:
- 1.13 $Bright Red:
- 1.14 $Pink:
- 1.15 $Light Pink:
- 1.16 $Yellow:
- 1.17 $Bright Yellow:
- 1.18 $UI Light Green:
- 1.19 $UI Green:
- 1.20 $UI Light Pink:
- 1.21 $UI Pink:
- 2 #End
- 3 #Team Colors
- 4 #End
- 5 Example Table
- 6 Example Table that has Team Colors
#Start Colors
This section currently defines a set of color overrides for the built-in colors. Is required by #Team Colors.
$Blue:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 93 93 128 255 )
$Bright Blue:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 185 185 255 255 )
$Green:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 0 120 0 255 )
$Bright Green:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 50 190 50 255 )
$Black:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 0 0 0 255 )
$Silver:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 160 160 160 255 )
$White:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 105 105 105 255 )
$Bright White:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 255 255 255 255 )
$Violet Gray:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 160 144 160 255 )
$Violet:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 192 104 192 255 )
$Dim Red:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 80 6 6 255 )
$Red:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 126 6 6 255 )
$Bright Red:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 200 0 0 255 )
$Pink:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 185 150 150 255 )
$Light Pink:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 230 190 190 255 )
$Yellow:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 255 255 122 255 )
$Bright Yellow:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 255 255 0 255 )
$UI Light Green:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 161 184 161 255 )
$UI Green:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 161 184 161 255 )
$UI Light Pink:
- Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
- Valid Values: 0 - 255
- Default Value: ( 184 161 161 255 )
$UI Pink:
- Syntax: Integer Red Integer Green Integer Blue Integer Alpha
- Valid Values: 0 - 255
- Default Value: ( 228 190 190 255 )
#End
Required at the end of the #Start Colors section. No Exceptions.
#Team Colors
Starts a new Team Colors section.
$Team Name:
Defines a team name to use for a new color scheme.
- Syntax: String
$Team Stripe Color:
Defines the RGB color for the team "stripe." This is applied to sections that go over the base color.
- Syntax: ( Integer Red Integer Green Integer Blue )
- Valid Values: ( 0 - 255, 0 - 255, 0 - 255 )
$Team Base Color:
Defines the RGB color for the base color of the crafts for a given team.
- Syntax: ( Integer Red Integer Green Integer Blue )
- Valid Values: ( 0 - 255, 0 - 255, 0 - 255 )
#End
Required to end the #Team Colors section. No exceptions.
Example Table
The values in this table are the code's default values.
#Start Colors $Blue: (93 93 128 255) $Bright Blue: (185 185 255 255) $Green: (0 120 0 255) $Bright Green: (50 190 50 255) $Black: (0 0 0 255) $Grey: (65 65 65 255) $Silver: (160 160 160 255) $White: (105 105 105 255) $Bright White: (255 255 255 255) $Violet Gray: (160 144 160 255) $Violet: (192 104 192 255) $Dim Red: (80 6 6 255) $Red: (126 6 6 255) $Bright Red: (200 0 0 255) $Pink: (185 150 150 255) $Light Pink: (230 190 190 255) $Yellow: (255 255 122 255) $Bright Yellow: (255 255 0 255) $UI Light Green: (161 184 161 255) $UI Green: (190 228 190 255) $UI Light Pink: (184 161 161 255) $UI Pink: (228 190 190 255) #End
Example Table that has Team Colors
This example table is provided by TAP.
#Start Colors #End #Team Colors $Team Name: Vaygr $Team Stripe Color: ( 26 26 26 ) $Team Base Color: ( 230 230 230 ) $Team Name: Hiigaran $Team Stripe Color: ( 204 204 204 ) $Team Base Color: ( 93 141 170 ) $Team Name: Elite Vaygr $Team Stripe Color: ( 143 1 11 ) $Team Base Color: ( 12 12 12 ) #End