Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/usability/data/overlays/debug.oxo @ 8004

Last change on this file since 8004 was 7935, checked in by landauf, 14 years ago
  • opening the ingame menu pauses the game, closing the ingame menu unpauses the game
  • added a text overlay to the default HUD which shows a notice if the game is paused
  • Property svn:eol-style set to native
File size: 1.9 KB
RevLine 
[5260]1<!-- DEBUG OVERLAY -->
2<OverlayGroup
3 name    = "Debug"
4 scale   = "1.0, 1.0"
5 scroll  = "0, 0"
[5325]6 visible = false
7>
[5260]8  <OverlayText
9   name     = "FPSTextCaption"
10   position = "0.03, 0.05"
11   font     = "Monofur"
12   caption  = "Frames per second:"
[5325]13   textsize = 0.03
[5260]14  />
15
16  <DebugFPSText
17   name     = "FPSText"
18   position = "0.3, 0.05"
19   font     = "Monofur"
[5325]20   textsize = 0.03
[5260]21  />
22
23  <OverlayText
24   name     = "RTRTextCaption"
25   position = "0.03, 0.09"
26   font     = "Monofur"
27   caption  = "Tick time in ms: "
[5325]28   textsize = 0.03
[5260]29  />
30
31  <DebugRTRText
32   name     = "RTRText"
33   position = "0.3, 0.09"
34   font     = "Monofur"
[5325]35   textsize = 0.03
[5260]36  />
[6417]37
[5260]38</OverlayGroup>
[5411]39
40<Template name="defaultHUD">
[5448]41  <OverlayGroup name = "defaultHUD" scale = "1, 1">
[5411]42    <ChatOverlay
43     name     = "chat"
[5572]44     position = "0.03, 0.08"
[5411]45     font     = "VeraMono"
46     caption  = ""
47     textsize = 0.025
48    />
49
[5567]50    <KillMessage
51     name     = "killmessage"
52     position = "0.5, 0.15"
53     font     = "VeraMono"
54     textsize = 0.035
55     colour   = "1.0, 1.0, 0.5, 1.0"
56     align    = "center"
57    />
58
59    <DeathMessage
60     name     = "deathmessage"
61     position = "0.5, 0.20"
62     font     = "VeraMono"
63     textsize = 0.035
64     colour   = "1.0, 0.3, 0.3, 1.0"
65     align    = "center"
66    />
67
[7935]68    <PauseNotice
69     name     = "pausenotice"
70     position = "0.5, 0.3"
71     font     = "VeraMono"
72     textsize = 0.03
73     colour   = "1.0, 1.0, 1.0, 1.0"
74     align    = "center"
75    />
76
[5567]77    <AnnounceMessage
78     name     = "announcemessage"
79     position = "0.5, 0.75"
80     font     = "VeraMono"
81     textsize = 0.05
82     colour   = "0.5, 0.5, 1.0, 1.0"
83     align    = "center"
84    />
85
[5411]86    <GametypeStatus
87     name     = "state"
88     position = "0.5, 0.85"
89     font     = "VeraMono"
90     textsize = 0.05
91     colour   = "1.0, 1.0, 0.0, 0.8"
92     align    = "center"
93    />
94  </OverlayGroup>
95</Template>
Note: See TracBrowser for help on using the repository browser.