Manipulating the Goldsrc game menu items: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
The sizing and position of the menu items are directly influenced by the {{code|ProportionalBaseWidthHD}} or {{code|ProportionalBaseHeightHD}} parameters from {{path|resource/trackerscheme.res}}, even if {{code|hd_background}} is set to 0 in {{path|[[liblist.gam]]}}. | The sizing and position of the menu items are directly influenced by the {{code|ProportionalBaseWidthHD}} or {{code|ProportionalBaseHeightHD}} parameters from {{path|resource/trackerscheme.res}}, even if {{code|hd_background}} is set to 0 in {{path|[[liblist.gam]]}}. | ||
== Item spacing == | |||
The spacing between items equals to resolution.Y * MenuItemHeight / ProportionalBaseHeightHD. | The spacing between items equals to resolution.Y * MenuItemHeight / ProportionalBaseHeightHD. | ||
The items are aligned to the bottom of the window, with an inset calculated based on MenuItemHeight, but how? | The items are aligned to the bottom of the window, with an inset calculated based on MenuItemHeight, but how? | ||
== Left padding == | |||
The only parameters that seems to influence left padding is {{code|ProportionalBaseHeightHD}} and {{GameMenuInset}}. |
Revision as of 07:22, 31 August 2025
The sizing and position of the menu items are directly influenced by the ProportionalBaseWidthHD or ProportionalBaseHeightHD parameters from resource/trackerscheme.res
, even if hd_background is set to 0 in liblist.gam
.
Item spacing
The spacing between items equals to resolution.Y * MenuItemHeight / ProportionalBaseHeightHD.
The items are aligned to the bottom of the window, with an inset calculated based on MenuItemHeight, but how?
Left padding
The only parameters that seems to influence left padding is ProportionalBaseHeightHD and Template:GameMenuInset.