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
(Created page. Currently it's bare bones, needs more documentations, it's possible to customize them.)
 
No edit summary
Line 5: Line 5:


== Scheme resource files ==
== Scheme resource files ==
All files are located in {{path|<mod>\gamepadui}} folder. Open these files with any text editors (such as Windows Notepad, {{npp|1}}) to edit them.
All of these {{code|[[.res}]]} files are located in {{path|<mod>\gamepadui}} folder. Open these files with any text editors (such as Windows Notepad, {{npp|1}}) to edit them.
* {{code|schemeachievement.res}} - Achievement page.
* {{code|schemeachievement.res}} - Achievement page.
* {{code|schemechapterbutton.res}} - New game/select chapters.
* {{code|schemechapterbutton.res}} - New game/select chapters.

Revision as of 08:13, 17 November 2024

Screenshot of the Gamepad UI from Half-Life 2 Half-Life 2.

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 {{code|[[.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 - Game menu (basically GameMenu.res but for Gamepad UI)
  • schemepanel.res - [Todo]
  • schemesavebutton.res - [Todo]
  • schemetab.res - Tabs, used in options menu.

Options menu

  • schemeoptions_checkybox.res - Checkbox
  • schemeoptions_sectiontitle.res - Section title (top left)
  • schemeoptions_skillyskill.res - Difficulty options
  • schemeoptions_slideyslide.res - Slider (used in options)
  • schemeoptions_wheelywheel.res - Toggle (used in options)
Todo: Document more and make this page better.