Skip to reading
Replace the Built-in Screens

2. Replace the permanent HUD

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

Figure 6. Eli’s HUD is a personal replacement. Its controls still call the normal gameplay systems.

Start with a small HUD that does four things well: selects actions, shows useful text, opens the player’s bag and journal, and reaches the game menu. You can change its artwork after those jobs work.

1. Create a GUI named Adventure HUD with ID hud_shared.

2. Add a background Panel near the bottom of the design canvas.

3. Place your verb Buttons, status Labels and screen openers on top.

4. Assign hud_shared to Main HUD in Global Settings and apply the setting.

5. Run Play. The default verb bar should be replaced, not left underneath the custom controls.

A character’s Personal HUD GUI has priority over hud_shared. Clear that personal field temporarily if you are testing the project-wide HUD itself.

Page 11 of 88Permalink
Go to page