This document outlines the basics of creating GUIs in Quake 4. Two types of GUIs exist in the game: overall UI GUIs like the menu system and the HUD, and world GUIs such as elevators, computer screens, and other interactive GUIs in the game. This document covers both types but tends to emphasize menu GUIs as they're far more complex than world GUIs. The information is applicable to both GUI types, however.
All of the *.gui files in Quake 4 can be viewed by the GUI editor or in a text editor. The best way to learn the ins and outs of GUI scripting is to look at the GUI files used in Quake 4. To view the GUIs, extract the contents of the pak001.pk4 file and browse to the ../q4base/GUIs folder.
Table of Contents