]> icculus.org git repositories - divverent/nexuiz.git/blob - normal.menu
b2495dd639e8128f79104733b2eeee1f29f38f83
[divverent/nexuiz.git] / normal.menu
1 // Property of Alientrap
2 //
3 // Normal main menu
4 Item Task_Job WelcomeSound
5 {
6         target  "announcer/welcometonexuiz.wav"
7         reinit  Nex_Action_PlaySoundOnce
8 }
9 Item Window Normal
10 {
11         key     Nex_Global_Key
12         size    '1024 768'
13
14         Derive Rect Modulate
15         {
16                 color           '0.6 0.6 0.7'
17                 drawFlag        [DrawFlagModulate]
18         }
19         Derive Rect AddLevel
20         {
21                 color           '0.3 0.3 0.3'
22                 drawFlag        [DrawFlagAdditive]
23         }
24         Derive Picture NexuizLogo
25         {
26                 picture         "gfx/m_background"
27                 pos             '0 0'
28                 size            '1024 768'
29                 alpha           0.5
30
31 Ignore
32 {
33                 Item Effect_Float AlphaPulse
34                 {
35                         targetFloat      alpha
36                         startFloat       0.8
37                         endFloat         0.4
38                         time             '2 2 -1'
39                         interpolForward  FX_SquareInterpolation
40                         interpolBackward FX_SquareInterpolation
41                 }
42                 Item Effect_Vector ColorPulse
43                 {
44                         targetVector    color
45                         startVector     "0 0 0"
46                         endVector       "0.1 0 0.05"
47                         time            '2 2 -1'
48                         interpolForward FX_SquareInterpolation
49                         interpolBackward FX_SquareInterpolation
50                 }
51 }
52         }
53
54         // Include the main menu as first sub window
55         #include "menu/main.menu"
56
57         Item Task_Job PanelReinit
58         {
59                 // this is a automation init function (dont change this to reinit!)
60                 init    Nex_Action_SetLinkOnReinit
61                 target  "Panel::NexuizLogo"
62         }
63         Item Reference Panel
64         {
65                 pos     '62 127'
66                 size    '938 650'
67
68                 // The first thing you should see is our cool logo!
69                 Derive Picture NexuizLogo
70                 {
71                         picture "gfx/m_strength"
72                         pos     '100 30'
73                         size    '700 600'
74                 }
75         }
76
77 // global floating windows
78 #include "menu/credits.menu"
79 #include "menu/messagebox.menu"
80 #include "menu/quit.menu"
81 }
82
83
84
85