This article's documentation is for anything that uses the Source engine. Click here for more information.

Customizing Gamepad UI: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{Draft}}
{{Draft}}
<div style="float:right">[[File:HL2_GamepadUI_menu.png|340px|thumb|Screenshot of the Gamepad UI from {{hl2|4}}.]]
<div style="float:right">[[File:HL2_GamepadUI_menu.png|340px|thumb|Screenshot of the Gamepad UI from {{hl2|4}}.]]
[[File:Portal_GamepadUI_menu.png|340px|thumb|Screenshot of the Gamepad UI from {{portal|4}}.]]
[[File:HL2 Update - Gamepad UI customized - New Game.jpg|340px|thumb|Result after customizing Gamepad UI (New Game/Select chapters). Some fonts has been changed to Verdana and Trebuchet MS.]]
[[File:HL2 Update - Gamepad UI customized - New Game.jpg|340px|thumb|Result after customizing Gamepad UI (New Game/Select chapters). Some fonts has been changed to Verdana and Trebuchet MS.]]
</div>
</div>
This page details how to customize the controller-oriented UI, referred as '''Gamepad UI''' in {{hl2|1}} and/or {{portal|1}}.
This page details how to customize the controller-oriented UI, referred as '''[[Gamepad UI in mods|Gamepad UI]]''' in {{hl2|1}} and/or {{portal|1}}.


== Scheme resource files ==
== Scheme resource files ==
Line 11: Line 12:
* {{code|schemechapterbutton.res}} - New game/select chapters.
* {{code|schemechapterbutton.res}} - New game/select chapters.
* {{code|schemeextras.res}} - Extras ({{hl2}} 20th anniversary update only)
* {{code|schemeextras.res}} - Extras ({{hl2}} 20th anniversary update only)
* {{code|schememainmenu.res}} - Game menu (basically {{code|GameMenu.res}} but for Gamepad UI)
* {{code|schememainmenu.res}} - Menu options (basically {{code|GameMenu.res}} but for Gamepad UI)
* {{code|schemepanel.res}} - {{Todo}}
* {{code|schemepanel.res}} - Title, navigation buttons, and message.
* {{code|schemesavebutton.res}} - {{Todo}}
* {{code|schemesavebutton.res}} - Save/load menu UI.
* {{code|schemetab.res}} - Tabs, used in options menu.
* {{code|schemetab.res}} - Tabs, used in options menu.
=== Options menu ===
=== Options menu ===
* {{code|schemeoptions_checkybox.res}} - Checkbox
* {{code|schemeoptions_checkybox.res}} - Checkbox
* {{code|schemeoptions_sectiontitle.res}} - Section title (top left)
* {{code|schemeoptions_sectiontitle.res}} - Section header (used in Options > Keyboard)
* {{code|schemeoptions_skillyskill.res}} - Difficulty options
* {{code|schemeoptions_skillyskill.res}} - Difficulty options
* {{code|schemeoptions_slideyslide.res}} - Slider (used in options)
* {{code|schemeoptions_slideyslide.res}} - Slider (used in Options)
* {{code|schemeoptions_wheelywheel.res}} - Toggle (used in options)
* {{code|schemeoptions_wheelywheel.res}} - Toggle (used in Options)


=== Colors ===
=== Colors ===

Latest revision as of 23:21, 6 June 2025

Icon-under construction-blue.png
This is a draft page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.
Screenshot of the Gamepad UI from Half-Life 2 Half-Life 2.
Screenshot of the Gamepad UI from Portal Portal.
Result after customizing Gamepad UI (New Game/Select chapters). Some fonts has been changed to Verdana and Trebuchet MS.

This page details how to customize the controller-oriented UI, referred as Gamepad UI in Half-Life 2 and/or Portal.

Scheme resource files

All of these .res files are located in 🖿<mod>\gamepadui folder. Open these files with any text editors (such as Windows Notepad, Notepad++) to edit them.

  • schemeachievement.res - Achievement page.
  • schemechapterbutton.res - New game/select chapters.
  • schemeextras.res - Extras (Half-Life 2 20th anniversary update only)
  • schememainmenu.res - Menu options (basically GameMenu.res but for Gamepad UI)
  • schemepanel.res - Title, navigation buttons, and message.
  • schemesavebutton.res - Save/load menu UI.
  • schemetab.res - Tabs, used in options menu.

Options menu

  • schemeoptions_checkybox.res - Checkbox
  • schemeoptions_sectiontitle.res - Section header (used in Options > Keyboard)
  • schemeoptions_skillyskill.res - Difficulty options
  • schemeoptions_slideyslide.res - Slider (used in Options)
  • schemeoptions_wheelywheel.res - Toggle (used in Options)

Colors

All color values are RGBA.

Fonts

Fonts can be also changed. By default in Half-Life 2 Half-Life 2 (since 20th anniversary), it uses the GorDIN font, while Portal Portal (and HL2 steam_legacy/previous version), uses the DIN1451Alt and Deja Vu Sans/Noto Sans font.

Todo: Document more and make this page better.