Next
Previous Contents
Quake III: Team Arena Menu Files
PhaethonH (phaethon at linux ucla edu)
2006 Nov 25
Description of the Quake III: Team Arena menu scripting language in its role as general menuing and as HUD.
1.
Introduction
1.1
Copyright
1.2
Disclaimer
1.3
Acknowledgements and Credits
1.4
Background
1.5
Purpose
1.6
Feedback
1.7
Latest Version
1.8
ChangeLog
2.
The Q3TA Menu
2.1
Documentation syntax
2.2
Menu Layout
2.3
Menu Format
3.
Menuloader
4.
menuDef { ... }
4.1
font [string]
4.2
name [string]
4.3
rect [rect]
4.4
fullscreen [int]
4.5
style [int]
4.6
visible [int]
4.7
onOpen { [script] }
4.8
onClose { [script] }
4.9
onESC { [script] }
4.10
border [int]
4.11
borderSize [float]
4.12
backcolor [color]
4.13
forecolor [color]
4.14
bordercolor [color]
4.15
focuscolor [color]
4.16
disablecolor [color]
4.17
background [string]
4.18
ownerdraw [int]
4.19
ownerdrawflag [int]
4.20
outOfBoundsClick
4.21
soundLoop [string]
4.22
cinematic [string]
4.23
popup
4.24
fadeClamp [float]
4.25
fadeAmount [float]
4.26
fadeCycle [float]
5.
itemDef { ... }
5.1
name [string]
5.2
text [string]
5.3
group [string]
5.4
asset_model [string]
5.5
asset_shader [string]
5.6
model_origin [float] [float] [float]
5.7
model_fovx [float]
5.8
model_fovy [float]
5.9
model_rotation [int]
5.10
model_angle [int]
5.11
rect [rect]
5.12
style [int]
5.13
decoration
5.14
notselectable [int]
5.15
wrapped
5.16
autowrapped
5.17
horizontalscroll
5.18
type [int]
5.19
elementwidth [float]
5.20
elementheight [float]
5.21
feeder [float]
5.22
elementtype [int]
5.23
columns [int] [int] ...
5.24
border [int]
5.25
borderSize [float]
5.26
visible [int]
5.27
ownderdraw [int]
5.28
align [int]
5.29
textalign [int]
5.30
textalignx [float]
5.31
textaligny [float]
5.32
textscale [float]
5.33
textstyle [int]
5.34
backcolor [color]
5.35
forecolor [color]
5.36
bordercolor [color]
5.37
outlinecolor [color]
5.38
background [string]
5.39
onFocus { [script] }
5.40
leaveFocus { [script] }
5.41
mouseEnter { [script] }
5.42
mouseExit { [script] }
5.43
mouseEnterText { [script] }
5.44
mouseExitText { [script] }
5.45
action { [script] }
5.46
special [float]
5.47
cvar [string]
5.48
maxChars [int]
5.49
maxPaintChars [int]
5.50
focusSound [string]
5.51
cvarFloat [string] [float] [float] [float]
5.52
cvarStrList { [string] [string] < [string] [string] < [string] [string] ... > > }
5.53
cvarFloatList { [string]
5.54
addColorRange [float] [float] [color]
5.55
ownerdrawFlag [int]
5.56
cinematic [string]
5.57
cvartest [string]
5.58
enableCvar { [string] <; [string] <; [string] ... > > }
5.59
disableCvar { [string] <; [string] <; [string] ... > > }
5.60
showCvar { [string] <; [string] <; [string] ... > > }
5.61
hideCvar { [string] <; [string] <; [string] ... > > }
6.
Script actions
6.1
fadein [string]
6.2
fadeout [string]
6.3
show [string]
6.4
hide [string]
6.5
open [string]
6.6
close [string]
6.7
setasset [string]
6.8
setbackground [string]
6.9
setteamcolor [color]
6.10
setitemcolor [string] [string] [color]
6.11
setfocus [string]
6.12
setplayermodel [string]
6.13
setplayerhead [string]
6.14
transition [string] [rect] [rect] [int] [float]
6.15
setcvar [string] [string]
6.16
exec [string]
6.17
play [string]
6.18
playlooped [string]
6.19
orbit [string] [float] [float] [float] [int]
6.20
uiScript [string]
7.
Values for item ``type''
7.1
0 ITEM_TYPE_TEXT
7.2
1 ITEM_TYPE_BUTTON
7.3
2 ITEM_TYPE_RADIOBUTTON
7.4
3 ITEM_TYPE_CHECKBOX
7.5
4 ITEM_TYPE_EDITFIELD
7.6
5 ITEM_TYPE_COMBO
7.7
6 ITEM_TYPE_LISTBOX
7.8
7 ITEM_TYPE_MODEL
7.9
8 ITEM_TYPE_OWNERDRAW
7.10
9 ITEM_TYPE_NUMERICFIELD
7.11
10 ITEM_TYPE_SLIDER
7.12
11 ITEM_TYPE_YESNO
7.13
12 ITEM_TYPE_MULTI
7.14
13 ITEM_TYPE_BIND
8.
Values for ``style''
8.1
0 WINDOW_STYLE_EMPTY
8.2
1 WINDOW_STYLE_FILLED
8.3
2 WINDOW_STYLE_GRADIENT
8.4
3 WINDOW_STYLE_SHADER
8.5
4 WINDOW_STYLE_TEAMCOLOR
8.6
5 WINDOW_STYLE_CINEMATIC
9.
Values for ``border''
9.1
0 WINDOW_BORDER_NONE
9.2
1 WINDOW_BORDER_FULL
9.3
2 WINDOW_BORDER_HORZ
9.4
3 WINDOW_BORDER_VERT
9.5
4 WINDOW_BORDER_KCGRADIENT
10.
Values for ``textstyle''
10.1
0 ITEM_TEXTSTYLE_NORMAL
10.2
1 ITEM_TEXTSTYLE_BLINK
10.3
2 ITEM_TEXTSTYLE_PULSE
10.4
3 ITEM_TEXTSTYLE_SHADOWED
10.5
4 ITEM_TEXTSTYLE_OUTLINED
10.6
5 ITEM_TEXTSTYLE_OUTLINESHADOWED
10.7
6 ITEM_TEXTSTYLE_SHADOWEDMORE
11.
Values for ``feeder''
11.1
0 FEEDER_HEADS
11.2
1 FEEDER_MAPS
11.3
2 FEEDER_SERVERS
11.4
3 FEEDER_CLANS
11.5
4 FEEDER_ALLMAPS
11.6
5 FEEDER_REDTEAM_LIST
11.7
6 FEEDER_BLUETEAM_LIST
11.8
7 FEEDER_PLAYER_LIST
11.9
8 FEEDER_TEAM_LIST
11.10
9 FEEDER_MODS
11.11
10 FEEDER_DEMOS
11.12
11 FEEDER_SCOREBOARD
11.13
12 FEEDER_Q3HEAD
11.14
13 FEEDER_SERVERSTATUS
11.15
14 FEEDER_FINDPLAYER
11.16
15 FEEDER_CINEMATICS
12.
Values for cgame ``ownerdraw''
12.1
0 CG_OWNERDRAW_BASE
12.2
1 CG_PLAYER_ARMOR_ICON
12.3
2 CG_PLAYER_ARMOR_VALUE
12.4
3 CG_PLAYER_HEAD
12.5
4 CG_PLAYER_HEALTH
12.6
5 CG_PLAYER_AMMO_ICON
12.7
6 CG_PLAYER_AMMO_VALUE
12.8
7 CG_SELECTEDPLAYER_HEAD
12.9
8 CG_SELECTEDPLAYER_NAME
12.10
9 CG_SELECTEDPLAYER_LOCATION
12.11
10 CG_SELECTEDPLAYER_STATUS
12.12
11 CG_SELECTEDPLAYER_WEAPON
12.13
12 CG_SELECTEDPLAYER_POWERUP
12.14
40 CG_SELECTEDPLAYER_ARMOR
12.15
41 CG_SELECTEDPLAYER_HEALTH
12.16
13 CG_FLAGCARRIER_HEAD
12.17
14 CG_FLAGCARRIER_NAME
12.18
15 CG_FLAGCARRIER_LOCATION
12.19
16 CG_FLAGCARRIER_STATUS
12.20
17 CG_FLAGCARRIER_WEAPON
12.21
18 CG_FLAGCARRIER_POWERUP
12.22
19 CG_PLAYER_ITEM
12.23
20 CG_PLAYER_SCORE
12.24
21 CG_BLUE_FLAGHEAD
12.25
22 CG_BLUE_FLAGSTATUS
12.26
23 CG_BLUE_FLAGNAME
12.27
24 CG_RED_FLAGHEAD
12.28
25 CG_RED_FLAGSTATUS
12.29
26 CG_RED_FLAGNAME
12.30
27 CG_BLUE_SCORE
12.31
28 CG_RED_SCORE
12.32
29 CG_RED_NAME
12.33
30 CG_BLUE_NAME
12.34
31 CG_HARVESTER_SKULLS
12.35
32 CG_ONEFLAG_STATUS
12.36
33 CG_PLAYER_LOCATION
12.37
34 CG_TEAM_COLOR
12.38
35 CG_CTF_POWERUP
12.39
36 CG_AREA_POWERUP
12.40
37 CG_AREA_LAGOMETER
12.41
38 CG_PLAYER_HASFLAG
12.42
39 CG_GAME_TYPE
12.43
42 CG_PLAYER_STATUS
12.44
43 CG_FRAGGED_MSG
12.45
44 CG_PROXMINED_MSG
12.46
45 CG_AREA_FPSINFO
12.47
46 CG_AREA_SYSTEMCHAT
12.48
47 CG_AREA_CHAT
12.49
48 CG_AREA_TEAMCHAT
12.50
49 CG_GAME_STATUS
12.51
50 CG_KILLER
12.52
51 CG_PLAYER_ARMOR_ICON2D
12.53
52 CG_PLAYER_AMMO_ICON2D
12.54
53 CG_ACCURACY
12.55
54 CG_ASSISTS
12.56
55 CG_DEFEND
12.57
56 CG_EXCELLENT
12.58
57 CG_IMPRESSIVE
12.59
58 CG_PERFECT
12.60
59 CG_GAUNTLET
12.61
60 CG_SPECTATORS
12.62
61 CG_TEAMINFO
12.63
62 CG_VOICE_HEAD
12.64
63 CG_VOICE_NAME
12.65
64 CG_PLAYER_HASFLAG2D
12.66
65 CG_HARVESTER_SKULLS2D
12.67
66 CG_CAPFRAGLIMIT
12.68
67 CG_1STPLACE
12.69
68 CG_2NDPLACE
12.70
69 CG_CAPTURES
12.71
70 CG_EXTRA
12.72
71 CG_POINTSTATUS
12.73
72 CG_HEADSHOTS
13.
Values for cgame ``ownerdrawflag''
13.1
CG_SHOW_BLUE_TEAM_HAS_REDFLAG
13.2
CG_SHOW_RED_TEAM_HAS_BLUEFLAG
13.3
CG_SHOW_ANYTEAMGAME
13.4
CG_SHOW_HARVESTER
13.5
CG_SHOW_ONEFLAG
13.6
CG_SHOW_CTF
13.7
CG_SHOW_OBELISK
13.8
CG_SHOW_HEALTHCRITICAL
13.9
CG_SHOW_SINGLEPLAYER
13.10
CG_SHOW_TOURNAMENT
13.11
CG_SHOW_DURINGINCOMINGVOICE
13.12
CG_SHOW_IF_PLAYER_HAS_FLAG
13.13
CG_SHOW_LANPLAYONLY
13.14
CG_SHOW_MINED
13.15
CG_SHOW_HEALTHOK
13.16
CG_SHOW_TEAMINFO
13.17
CG_SHOW_NOTEAMINFO
13.18
CG_SHOW_OTHERTEAMHASFLAG
13.19
CG_SHOW_YOURTEAMHASENEMYFLAG
13.20
CG_SHOW_ANYNONTEAMGAME
13.21
CG_SHOW_2DONLY
14.
Values for ui ``ownerdraw''
14.1
0 UI_OWNERDRAW_BASE
14.2
1 UI_HANDICAP
14.3
2 UI_EFFECTS
14.4
3 UI_PLAYERMODEL
14.5
4 UI_CLANNAME
14.6
5 UI_CLANLOGO
14.7
6 UI_GAMETYPE
14.8
7 UI_MAPPREVIEW
14.9
8 UI_SKILL
14.10
9 UI_BLUETEAMNAME
14.11
10 UI_REDTEAMNAME
14.12
11 UI_BLUETEAM1
14.13
12 UI_BLUETEAM2
14.14
13 UI_BLUETEAM3
14.15
14 UI_BLUETEAM4
14.16
15 UI_BLUETEAM5
14.17
16 UI_REDTEAM1
14.18
17 UI_REDTEAM2
14.19
18 UI_REDTEAM3
14.20
19 UI_REDTEAM4
14.21
20 UI_REDTEAM5
14.22
21 UI_NETSOURCE
14.23
22 UI_NETMAPPREVIEW
14.24
23 UI_NETFILTER
14.25
24 UI_TIER
14.26
25 UI_OPPONENTMODEL
14.27
26 UI_TIERMAP1
14.28
27 UI_TIERMAP2
14.29
28 UI_TIERMAP3
14.30
29 UI_PLAYERLOGO
14.31
30 UI_OPPONENTLOGO
14.32
31 UI_PLAYERLOGO_METAL
14.33
32 UI_OPPONENTLOGO_METAL
14.34
33 UI_PLAYERLOGO_NAME
14.35
34 UI_OPPONENTLOGO_NAME
14.36
35 UI_TIER_MAPNAME
14.37
36 UI_TIER_GAMETYPE
14.38
37 UI_ALLMAPS_SELECTION
14.39
38 UI_OPPONENT_NAME
14.40
39 UI_VOTE_KICK
14.41
40 UI_BOTNAME
14.42
41 UI_BOTSKILL
14.43
42 UI_REDBLUE
14.44
43 UI_CROSSHAIR
14.45
44 UI_SELECTEDPLAYER
14.46
45 UI_MAPCINEMATIC
14.47
46 UI_NETGAMETYPE
14.48
47 UI_NETMAPCINEMATIC
14.49
48 UI_SERVERREFRESHDATE
14.50
49 UI_SERVERMOTD
14.51
50 UI_GLINFO
14.52
51 UI_KEYBINDSTATUS
14.53
52 UI_CLANCINEMATIC
14.54
53 UI_MAP_TIMETOBEAT
14.55
54 UI_JOINGAMETYPE
14.56
55 UI_PREVIEWCINEMATIC
14.57
56 UI_STARTMAPCINEMATIC
14.58
57 UI_MAPS_SELECTION
15.
Values for ui ``ownerdrawflag''
15.1
UI_SHOW_LEADER
15.2
UI_SHOW_NOTLEADER
15.3
UI_SHOW_FAVORITESERVERS
15.4
UI_SHOW_ANYNONTEAMGAME
15.5
UI_SHOW_ANYTEAMGAME
15.6
UI_SHOW_NEWHIGHSCORE
15.7
UI_SHOW_DEMOAVAILABLE
15.8
UI_SHOW_NEWBESTTIME
15.9
UI_SHOW_FFA
15.10
UI_SHOW_NOTFFA
15.11
UI_SHOW_NETANYNONTEAMGAME
15.12
UI_SHOW_NETANYTEAMGAME
15.13
UI_SHOW_NOTFAVORITESERVERS
16.
Values for ``uiScript''
16.1
stopRefresh
16.2
LoadDemos
16.3
LoadMods
16.4
playMovie
16.5
verifyCDKey
16.6
StartServer
16.7
updateSPMenu
16.8
resetDefaults
16.9
getCDKey
16.10
loadArenas
16.11
loadGameInfo
16.12
resetScores
16.13
RefreshServers
16.14
RefreshFilter
16.15
RunSPDemo
16.16
LoadMovies
16.17
RunMod
16.18
Quake3
16.19
closeJoin
16.20
ServerStatus
16.21
FoundPlayerServerStatus
16.22
FindPlayer
16.23
JoinServer
16.24
FoundPlayerJoinServer
16.25
Quit
16.26
Controls
16.27
Leave
16.28
ServerSort [int]
16.29
nextSkirmish
16.30
SkirmishStart
16.31
glCustom
16.32
saveControls
16.33
loadControls
16.34
clearError
16.35
UpdateFilter
16.36
closeingame
16.37
voteMap
16.38
voteKick
16.39
voteGame
16.40
voteLeader
16.41
addBot
16.42
addFavorite
16.43
deleteFavorite
16.44
createFavorite
16.45
orders [string]
16.46
voiceOrdersTeam [string]
16.47
voiceOrders [string]
16.48
update
17.
Heads-Up Display
17.1
HUD components
17.2
Loading Custom HUD
18.
GNU Free Documentation License
Next
Previous Contents