Difference between revisions of "*.HCF"

From FreeSpace Wiki
Jump to: navigation, search
(Added details for the *.HCF file format.)
 
Line 1: Line 1:
 +
{{TableVersion|11018}}
 +
 +
 
HUD Configuration File or (more accurately) HUD Color File
 
HUD Configuration File or (more accurately) HUD Color File
  
Line 9: Line 12:
  
  
The value set for gauge is currently ignored, and there must be a single +Gauge entry for each gauge element, otherwise the file will fail to parse.
+
The value of name should match one of the [[Hud_Gauge_Names]]
 +
 
  
 
==+RGBA:==
 
==+RGBA:==

Revision as of 04:10, 24 August 2014

Revision information.....

FSO Revision: 11018
Note: Please update the version when the page is updated. If your edit had nothing to do with new code entries then please do not edit the version



HUD Configuration File or (more accurately) HUD Color File

Text file containing the RGBA Value for each and every HUD gauge element in the game, and is used to quickly load in a color scheme for the player.

.HCF's are generated by the game from the HUD Configuration screen, but players and developers may make their own as well by placing them in the /data/players directory. (Probably the best way to make a new custom .hcf is to copy an existing .hcf and modify it)

+Gauge:

  • Syntax: ( String name )


The value of name should match one of the Hud_Gauge_Names


+RGBA:

  • Syntax: ( Integer Red Integer Green Integer Blue Integer Alpha )
  • Valid Values: 0 - 255


Space delimited list of integers that determines the color and transparency of the gauge element