Test Builds - Antipodes 7
HUD Code by Swifty
Supercedes any HUD Overhaul test builds.
Reported Issues'Killed by' messages no longer display
External Camera view no longer shows Messages (such as when pressing enter to rotate the ship vs camera)
Same with 'Current Target' view
hud-set-message and variables not working properly - Fixed in r6691
word wrap for messages instead of running off the screen (either by resolution or by fixed entry)
When using a ballistic primary, both the weapon energy gauge and the ballistic ammo gauge are moved to the far right side of the screen
Target View monitor shows invalid position for targeted subsystem when no hud_gauges.tbl in use
Not a Bug but would be nice:
Displaying Comms removes already on-screen messages and head.ani
Windows BuildsNEW! 11/24/2010 - r6775fso-WIN-Inferno_Ant7-r6775.7zMD5: C8A5B6D3959789A30C56C38EA55279F2
fso-WIN-Inferno_Ant7_SSE-r6775.7zMD5: 922604E6E7DA8E8F01E6B677A8886F6F
fso-WIN-Inferno_Ant7_SSE2-r6775.7zMD5: 1EA6FFF5E2862E804140F085AFB6E233
*** Older Builds Here***
11/09/2010 - r6721Group: Inferno
fso-WIN-Inferno_Ant7-r6721.7zMD5: 79312DE9EAD30A53700888AB9B80B96A
Group: Inferno SSE
fso-WIN-Inferno_Ant7_SSE-r6721.7zMD5: E35A873F761AB7E0C2B6A693697EE1BD
Group: Inferno SSE2
fso-WIN-Inferno_Ant7_SSE2-r6721.7zMD5: 50655603ADBBC7F061E6BB6EA58BC950
10/24/2010 - r6685Group: Infernofso-WIN-Inferno_Ant7-r6685.7zMD5: 03498CAC487F305F93BC06E7FF1FD91C
Group: Inferno SSEfso-WIN-Inferno_Ant7_SSE-r6685.7zMD5: B74901CAE3F415AD3F9054D22D8AF3A4
Group: Inferno SSE2fso-WIN-Inferno_Ant7_SSE2-r6685.7zMD5: BAC566BB5A37E7A16E1682B1D948B6EA
10/22/2010 - r6670Group: Inferno
fso-WIN-Inferno_Ant7-r6670.7zMD5: 18A9B8EC836539E9F2AD03EB5A60214B
Group: Inferno SSE
fso-WIN-Inferno_Ant7_SSE-r6670.7zMD5: F0B449DF5624E9277B311525DF182C64
Group: Inferno SSE2
fso-WIN-Inferno_Ant7_SSE2-r6670.7zMD5: 894C90ADF1725207D3368373EF9AB57D
OS X BuildsNEW! 11/24/2010 - r6775FS2_Open-Inferno_Ant7_r6775.zipMD5: 45EDE4F12B0E9528F89EA9FC0304FC6A
*** Older Builds Here***
11/09/2010 - r6721FS2_Open-Inferno_Ant7_r6721.zipMD5: 5548757e9d4aebedee810d44e05db03b
10/22/2010 - r6670FS2_Open-Inferno_Ant7_r6670.zipMD5: 4294961EBB09E1283C526D85AD8AAC8A
Linux Buildsfs2_antipodes_7_LINUX_r6670.tgzMD5: 77B97E55A171EC25D40DEE957DF31E3F
Quoted from initial HUD Overhaul Testing Thread:Make sure you guys turn on all the HUD gauges in the HUD Options Menu. I know that FSO by default sets Squad Messages and Text Warnings off; originally FSO would just display them regardless of they were off or not but my code, for better or worse, does not make any such discrimination.
Sample HUD Layouts
Standard HUD layout 4:3 resolutions
Standard HUD layout for 16:9/10 resolutions
The_E's custom layout for 16:9/10 resolutions
Layout for triple head monitors
Some basic documentation:
All HUD configurations are encapsulated with "#Gauge Config" and "#End". You can define as many different configurations as you need.
Example:
#Gauge Config
(HUD layout information goes here)
#End
You can define a HUD layout configuration for a specific ship or for the default configuration. The default configuration is the HUD layout which will be used for any ships that do not have its own layout. Ship specific gauge layouts will have "$Ship:" defined while non-specific layouts do not.
Each #Gauge Config will have a Base resolution. This resolution is the scale in which the corresponding HUD layout will be drawn regardless of the actual resolution. This is similar to how Freespace Open draws the HUD at a 640x480 or 1024x768 scale regardless of the resolution and aspect ratio. This scale is defined using the "$Base:" field.
Example:
#Gauge Config
$Base: (1440, 900)
$Gauges
(List desired gauges here)
$End Gauges
#End
You can restrict a given HUD layout to be used for specific resolutions and/or aspect ratios. The "$Required Aspect:" field will limit a HUD configuration for use for a specified aspect ratio. The "$Min:" field will set a minimum resolution. "$Max:" will set a maximum.
The following example will restrict this particular HUD gauge layout, that will be drawn in 1440x900 resolution, for use for in wide screen resolutions that are greater than 1280x719 and less than 1680x1051. Since this example does not have the "$Ship" field, it will be used for the default configuration.
Example:
#Gauge Config
$Base: (1440, 900)
$Required Aspect: Wide Screen ;Can be "Wide Screen" or "Full Screen" ATM
$Min: (1280, 719)
$Max: (1680, 1051)
$Gauges
(List desired gauges here)
$End Gauges
#End
Any desired gauges are encapsulated within $Gauges and $End Gauges. Each gauge is followed by a set of coordinates representing the desired screen position. Setting "default" instead of an ordered pair will set the HUD gauge to draw with it's original retail coordinates and scale (640x480 or 1024x768)
Example:
#Gauge Config
$Base: (1440, 900)
$Required Aspect: Wide Screen ;Can be "Wide Screen" or "Full Screen" ATM
$Min: (1280, 720)
$Max: (1680, 1050)
$Gauges
+Wingman Status:
Position: (600, 400)
+Radar:
Position: (900, 50)
+Target Monitor:
Position: (50, 850)
+Center Reticle: default
+Player Shields: default
$End Gauges
#End
Add "$Ship:" to define this gauge layout for a particular flyable ship.
Example:
#Gauge Config
$Ship: GTF Ulysses
$Base: (1440, 900)
$Required Aspect: Wide Screen ;Can be "Wide Screen" or "Full Screen" ATM
$Min: (1280, 720)
$Max: (1680, 1050)
$Gauges
+Wingman Status:
Position: (600, 400)
+Radar:
Position: (900, 50)
+Target Monitor:
Position: (50, 850)
+Center Reticle: default
$End Gauges
#End
EDIT:
To add a custom gauge, use +Custom and it's parameters
Example:
#Gauge Config
$Ship: GTF Ulysses
$Base: (1440, 900)
$Required Aspect: Wide Screen ;Can be "Wide Screen" or "Full Screen" ATM
$Min: (1280, 720)
$Max: (1680, 1050)
$Gauges
+Custom:
Position: (1300, 20)
Name: Sup
Text: This is a custom gauge
Gauge Type: ETS_GAUGE ; strings for gauges defined in sexp.cpp. Will adopt the color and activation settings of its corresponding control in HUD config.
Slew: No
Filename: netlag1
+Wingman Status:
Position: (600, 400)
+Radar:
Position: (900, 50)
+Target Monitor:
Position: (50, 850)
+Center Reticle: default
$End Gauges
#End
From sexp.cpp:
char *HUD_gauge_text[NUM_HUD_GAUGES] =
{
"LEAD_INDICATOR",
"ORIENTATION_TEE",
"HOSTILE_TRIANGLE",
"TARGET_TRIANGLE",
"MISSION_TIME",
"RETICLE_CIRCLE",
"THROTTLE_GAUGE",
"RADAR",
"TARGET_MONITOR",
"CENTER_RETICLE",
"TARGET_MONITOR_EXTRA_DATA",
"TARGET_SHIELD_ICON",
"PLAYER_SHIELD_ICON",
"ETS_GAUGE",
"AUTO_TARGET",
"AUTO_SPEED",
"WEAPONS_GAUGE",
"ESCORT_VIEW",
"DIRECTIVES_VIEW",
"THREAT_GAUGE",
"AFTERBURNER_ENERGY",
"WEAPONS_ENERGY",
"WEAPON_LINKING_GAUGE",
"TARGER_MINI_ICON",
"OFFSCREEN_INDICATOR",
"TALKING_HEAD",
"DAMAGE_GAUGE",
"MESSAGE_LINES",
"MISSILE_WARNING_ARROW",
"CMEASURE_GAUGE",
"OBJECTIVES_NOTIFY_GAUGE",
"WINGMEN_STATUS",
"OFFSCREEN RANGE",
"KILLS GAUGE",
"ATTACKING TARGET COUNT",
"TEXT FLASH",
"MESSAGE BOX",
"SUPPORT GUAGE",
"LAG GUAGE"
};