]> Shamusworld >> Repos - jk1/blob - ui/newgame_first.menu
Move stuff into trunk in prepartion for GIT import.
[jk1] / ui / newgame_first.menu
1 //-----------------------------------------------------------------------
2 //      NEWGAME MENU
3 //
4 //      Called only from main menu. Has the transition of fields from main menu 
5 //      to new game menu
6 //
7 //-----------------------------------------------------------------------
8 {
9                                                    
10         menuDef 
11         {
12                 name                                    "newgamefirstMenu"
13                 fullScreen                              1                                               // MENU_TRUE                            
14                 rect                                    0 0 640 480                                     // Size and position of the menu
15                 visible                                 1                                               // Visible on open
16                 focusColor                              1 1 1 1                                         // Focus color for text and items
17                 descX                                   320
18                 descY                                   426
19                 descScale                               1
20                 descColor                               1 .682 0 .8
21                 descAlignment                           ITEM_ALIGN_CENTER               
22
23                 onOpen
24                 { 
25                                 play                    "sound/interface/transition.wav" 
26                                 setcvar                 g_spskill 1
27                                 setcvar                 cg_crosshairForceHint 1
28                                 setcvar                 handicap 100
29                                 setfocus                medbut
30                                 hide                    diff1
31                                 show                    diff2
32                                 hide                    diff3
33                                 hide                    diff4
34                                 setitemcolor            easybut forecolor       1 .682 0 1
35                                 setitemcolor            medbut  forecolor       1  1   1 1
36                                 setitemcolor            hardbut forecolor       1 .682 0 1
37                                 setitemcolor            vhardbut forecolor      1 .682 0 1
38                                 transition              ring    161 114 320 320 321 273 0 0 20 25
39                                 transition              vid     200 144 320 320 321 273 0 0 10 15
40                                 transition              cwin    156 154 320 240 321 273 0 0 20 25
41                                 transition              lwin    0 150 320 240 -320 150 320 240 20 25
42                                 transition              lbut    36 310 130 24 170 126 130 24 20 25
43                                 transition              lbut_u  36 293 130 24 -284 293 130 24 20 25
44                                 transition              nbut    36 212 130 24 7 126 130 24 20 25
45                                 transition              nbut_u  36 194 130 24 -284 194 130 24 20 25
46                                 transition              rwin    320 150 320 240 640 150 320 240 20 25
47                                 transition              cbut    456 212 130 24 340 126 130 24 20 25     
48                                 transition              cbut_u  448 194 146 24 768 194 146 24 20 25
49                                 transition              sbut    456 310 130 24 502 126 130 24 20 25
50                                 transition              sbut_u  456 292 130 24 776 310 130 24 20 25
51                                 //newgame stuff
52                                 //transition    but_fr          160 480 320 320 160 160 320 320 15 25
53                                 transition              easy    225 526 190 40 225 196 190 40 15 25 
54                                 transition              med     225 578 190 40 225 243 190 40 15 25
55                                 transition              hard    225 629 190 40 225 289 190 40 15 25
56                                 transition              vhard   225 680 190 40 225 335 190 40 15 25
57                                 //menu bar
58 //                              transition              lf_fr   -320 50 320 160 0 50 320 160 20 25
59                                 transition              lf_fr   -320 50 320 160 0 50 320 160 2 25
60                                 transition              rt_fr   640 50 320 160 320 50 320 160 20 25
61                                 //transition    exit            255 444 130 24 59 444 130 24 20 25
62                                 
63                                 transition              backbutton -320 444 130 24    59 444 130 24     20 25  
64                                 transition              nextbutton 834 444 130 24    455 444 130 24     20 25  
65
66                                 fadein                  newgame_title
67                                 fadein                  difficulty_background
68
69                 }
70                                                                         
71                 onESC 
72                 { 
73                         setitemcolor                    newgame_title           forecolor .549 .854 1 0
74                         setitemcolor                    difficulty_background   backcolor 0 0 .6 0.5
75                         play                            "sound/interface/esc.wav" 
76                         close                           newgamefirstMenu
77                         open                            mainMenu
78                 }
79
80
81                 //----------------------------------------------------------------------------------------------
82                 //
83                 //      MENU BACKGROUND
84                 //
85                 //----------------------------------------------------------------------------------------------
86                 itemDef 
87                 {
88                         name                            really_background
89                         group                           none
90                         style                           WINDOW_STYLE_SHADER
91                         rect                            156 154 320 240
92                         background                      "gfx/menus/main_centerblue"
93                         forecolor                       1 1 1 1
94                         visible                         1
95                         decoration
96                 }
97
98                 itemDef 
99                 {
100                         name                            vid
101                         group                           center
102                         style                           WINDOW_STYLE_SHADER
103                         rect                            200 144 256 256
104                         background                      "gfx/menus/videologo"
105                         forecolor                       1 1 1 1
106                         visible                         1
107                         decoration
108                 }
109
110                 itemDef 
111                 {
112                         name                            background_text
113                         group                           none
114                         style                           WINDOW_STYLE_SHADER
115                         rect                            0 0 160 480
116                         background                      "gfx/menus/menu_side_text"
117                         forecolor                       1 1 1 1
118                         visible                         1
119                         decoration
120                 }
121
122                 itemDef 
123                 {
124                         name                            background_text_b
125                         group                           none
126                         style                           WINDOW_STYLE_SHADER
127                         rect                            480 0 160 480
128                         background                      "gfx/menus/menu_side_text_right"
129                         forecolor                       1 1 1 1
130                         visible                         1
131                         decoration
132                 }       
133         
134                 itemDef 
135                 {
136                         name                            background
137                         group                           none
138                         style                           WINDOW_STYLE_SHADER
139                         rect                            0 0 640 480
140                         background                      "gfx/menus/menu1"
141                         forecolor                       1 1 1 1
142                         visible                         1
143                         decoration
144                 }
145
146                 itemDef 
147                 {
148                         name                            ring
149                         group                           none
150                         style                           WINDOW_STYLE_SHADER
151                         rect                            161 114 320 320
152                         background                      "gfx/menus/menu_rotate_ring_b"
153                         forecolor                       1 1 1 1
154                         visible                         1
155                         decoration
156                 }
157
158                 itemDef 
159                 {
160                         name                            cwin
161                         group                           none
162                         style                           WINDOW_STYLE_SHADER
163                         rect                            156 154 320 240
164                         background                      "gfx/menus/main_centerwindow"
165                         forecolor                       1 1 1 1
166                         visible                         1
167                         decoration
168                 }
169
170                 itemDef 
171                 {
172                         name                            lwin
173                         group                           none
174                         style                           WINDOW_STYLE_SHADER
175                         rect                            0 150 320 240
176                         background                      "gfx/menus/main_leftwindow"
177                         forecolor                       1 1 1 1
178                         visible                         1
179                         decoration
180                 }
181
182                 itemDef 
183                 {
184                         name                            rwin
185                         group                           none
186                         style                           WINDOW_STYLE_SHADER
187                         rect                            320 150 320 240
188                         background                      "gfx/menus/main_rightwindow"
189                         forecolor                       1 1 1 1
190                         visible                         1
191                         decoration
192                 }
193
194                 // The starwars logo on the top
195                 itemDef 
196                 {
197                         name                            starwars
198                         group                           none
199                         style                           WINDOW_STYLE_SHADER
200                         rect                            107 8 428 112
201                         background                      "gfx/menus/jediacademy" 
202                         forecolor                       1 1 1 1
203                         visible                         1
204                         decoration
205                 }
206
207                 
208                 //----------------------------------------------------------------------------------------------
209                 //
210                 //      TOP MENU BUTTONS
211                 //
212                 //----------------------------------------------------------------------------------------------
213
214                 // Big button "NEW"
215                 itemDef 
216                 {
217                         name                            newbutton_glow
218                         group                           none
219                         style                           WINDOW_STYLE_SHADER
220                         //rect                          36 212 130 24
221                         rect                            7 126 130 24
222                         background                      "gfx/menus/menu_buttonback"
223                         forecolor                       1 1 1 1
224                         visible                         0
225                         decoration
226                 }
227
228                 itemDef 
229                 {
230                         name                            newgamebutton_undertext
231                         group                           nbut_u
232                         style                           WINDOW_STYLE_EMPTY
233                         type                            ITEM_TYPE_BUTTON
234                         rect                            36 194 130 24
235                         text                            @MENUS_NEW
236                         font                            1
237                         textscale                       .7
238                         textaligny                      0
239                         textalign                       ITEM_ALIGN_CENTER
240                         textstyle                       3
241                         textalignx                      65
242                         forecolor                       .79 .64 .22 .2
243                         visible                         0
244                         decoration
245                 }
246
247                 itemDef 
248                 {
249                         name                            newgamebutton
250                         group                           nbut
251                         style                           WINDOW_STYLE_EMPTY
252                         type                            ITEM_TYPE_BUTTON
253                         rect                            7 126 130 24
254                         text                            @MENUS_NEW
255                         descText                        @MENUS_START_A_NEW_GAME
256                         font                            3
257                         textscale                       1.1
258                         textaligny                      0
259                         textalign                       ITEM_ALIGN_CENTER
260                         textstyle                       1
261                         textalignx                      65
262                         //forecolor                     .79 .64 .22 1
263                         forecolor                       1 1 1 1
264                         visible                         1
265
266                         mouseEnter 
267                         { 
268                                 show                    newbutton_glow
269                         }
270                         mouseExit 
271                         { 
272                                 hide                    newbutton_glow 
273                         }                 
274                 }
275
276                 // Big button "LOAD"
277                 itemDef 
278                 {
279                         name                            loadgamebutton_glow
280                         group                           none
281                         style                           WINDOW_STYLE_SHADER
282                         //rect                          36 310 130 24
283                         rect                            170 126 130 24
284                         background                      "gfx/menus/menu_buttonback"                     // Frame around button
285                         forecolor                       1 1 1 1
286                         visible                         0
287                         decoration
288                 }
289
290                 itemDef 
291                 {
292                         name                            loadgamebutton_undertext
293                         group                           lbut_u
294                         style                           WINDOW_STYLE_EMPTY
295                         type                            ITEM_TYPE_BUTTON
296                         rect                            36 293 130 24
297                         text                            @MENUS_LOAD
298                         font                            1
299                         textscale                       .7
300                         textaligny                      0
301                         textalign                       ITEM_ALIGN_CENTER
302                         textstyle                       3
303                         textalignx                      65
304                         forecolor                       .79 .64 .22 .2
305                         visible                         0
306                         decoration
307                 }
308
309                 itemDef 
310                 {
311                         name                            loadgamebutton
312                         group                           lbut
313                         text                            @MENUS_LOAD
314                         descText                        @MENUS_LOAD_A_SAVED_GAME
315                         style                           WINDOW_STYLE_EMPTY
316                         type                            ITEM_TYPE_BUTTON
317                         rect                            36 310 130 24
318                         textaligny                      0
319                         font                            3
320                         textscale                       1.1
321                         textalign                       ITEM_ALIGN_CENTER
322                         textstyle                       1
323                         textalignx                      65
324                         forecolor                       1 .682 0 1
325                         visible                         1
326
327                         mouseEnter 
328                         { 
329                                 show                    loadgamebutton_glow 
330                                 show                    loadgamebutton_undertext
331                         }
332                         mouseExit 
333                         { 
334                                 hide                    loadgamebutton_glow 
335                                 hide                    loadgamebutton_undertext
336                         }                 
337                         action 
338                         { 
339                                 play                    "sound/interface/button1.wav" 
340                                 close                   all 
341                                 open                    loadgameMenu 
342                         }
343                 }
344
345                 // Big button "CONTROLS"
346                 itemDef 
347                 {
348                         name                            controlsbutton_glow
349                         group                           none
350                         style                           WINDOW_STYLE_SHADER
351                         //rect                          441 212 160 24
352                         rect                            340 126 130 24
353                         background                      "gfx/menus/menu_buttonback"                     // Frame around button
354                         forecolor                       1 1 1 1
355                         visible                         0
356                         decoration
357                 }
358
359                 itemDef 
360                 {
361                         name                            controlsbutton_undertext
362                         group                           cbut_u
363                         style                           WINDOW_STYLE_EMPTY
364                         type                            ITEM_TYPE_BUTTON
365                         rect                            448 194 146 24
366                         text                            @MENUS_CONTROLS2
367                         font                            1
368                         textscale                       .7
369                         textaligny                      0
370                         textalign                       ITEM_ALIGN_CENTER
371                         textstyle                       3
372                         textalignx                      65
373                         forecolor                       .79 .64 .22 .2
374                         visible                         0
375                         decoration
376                 }
377
378                 itemDef {
379                         name                            controlsbutton
380                         group                           cbut
381                         text                            @MENUS_CONTROLS
382                         descText                        @MENUS_CONFIGURE_GAME_CONTROLS
383                         type                            ITEM_TYPE_BUTTON
384                         style                           WINDOW_STYLE_EMPTY
385                         rect                            456 212 130 24
386                         font                            3
387                         textscale                       1.1
388                         textaligny                      0
389                         textalign                       ITEM_ALIGN_CENTER
390                         textstyle                       1
391                         textalignx                      65
392                         backcolor                       0 0 0 0
393                         forecolor                       1 .682 0 1
394                         visible                         1
395                          
396                         mouseEnter 
397                         { 
398                                 show                    controlsbutton_glow 
399                                 show                    controlsbutton_undertext
400                         }
401                         mouseExit 
402                         { 
403                                 hide                    controlsbutton_glow 
404                                 hide                    controlsbutton_undertext
405                         }                 
406                         action 
407                         {
408                                 play                    "sound/interface/button1.wav" 
409                                 close                   all 
410                                 open                    controlsMenu 
411                         }
412                 }
413
414                 // Big button "SETUP"
415                 itemDef 
416                 {
417                         name                            setupbutton_glow
418                         group                           none
419                         style                           WINDOW_STYLE_SHADER
420                         //rect                          456 310 130 24
421                         rect                            502 126 130 24
422                         background                      "gfx/menus/menu_buttonback"                     // Frame around button
423                         forecolor                       1 1 1 1
424                         visible                         0
425                         decoration
426                 }
427
428                 itemDef 
429                 {
430                         name                            setupbutton_undertext
431                         group                           sbut_u
432                         style                           WINDOW_STYLE_EMPTY
433                         type                            ITEM_TYPE_BUTTON
434                         rect                            456 292 130 24
435                         text                            @MENUS_SETUP
436                         font                            1
437                         textscale                       .7
438                         textaligny                      0
439                         textalign                       ITEM_ALIGN_CENTER
440                         textstyle                       3
441                         textalignx                      65
442                         forecolor                       .79 .64 .22 .2
443                         visible                         0
444                         decoration
445                 }
446
447                 itemDef {
448                         name                            setupbutton
449                         group                           sbut
450                         text                            @MENUS_SETUP
451                         descText                        @MENUS_CONFIGURE_GAME_SETTINGS
452                         type                            ITEM_TYPE_BUTTON
453                         style                           WINDOW_STYLE_EMPTY
454                         rect                            456 310 130 24
455                         font                            3
456                         textscale                       1.1
457                         textaligny                      0
458                         textalign                       ITEM_ALIGN_CENTER
459                         textstyle                       1
460                         textalignx                      65
461                         backcolor                       0 0 0 0
462                         forecolor                       1 .682 0 1
463                         visible                         1
464                          
465                         mouseEnter 
466                         { 
467                                 show                    setupbutton_glow 
468                                 show                    setupbutton_undertext
469                         }
470                         mouseExit 
471                         { 
472                                 hide                    setupbutton_glow 
473                                 hide                    setupbutton_undertext
474                         }                 
475                         action 
476                         {
477                                 play                    "sound/interface/button1.wav" 
478                                 close                   all 
479                                 open                    setupMenu 
480                         }
481                 }
482
483                 //----------------------------------------------------------------------------------------------
484                 //
485                 //   NEW GAME MENU specific stuff
486                 //
487                 //----------------------------------------------------------------------------------------------                
488                 /*itemDef 
489                 {
490                         name                            button_frame
491                         group                           but_fr
492                         style                           WINDOW_STYLE_SHADER
493                         rect                            160 160 320 320
494                         background                      "gfx/menus/newgame_boxes"       
495                         forecolor                       1 1 1 1
496                         visible                         1
497                         decoration
498                 }*/
499
500                 itemDef 
501                 {
502                         name                            left_frame
503                         group                           lf_fr
504                         style                           WINDOW_STYLE_SHADER
505                         rect                            0 50 320 160
506                         background                      "gfx/menus/menu_boxes_left"     
507                         forecolor                       1 1 1 1
508                         visible                         1
509                         decoration
510                 }
511
512                 itemDef 
513                 {
514                         name                            right_frame
515                         group                           rt_fr
516                         style                           WINDOW_STYLE_SHADER
517                         rect                            320 50 320 160
518                         background                      "gfx/menus/menu_boxes_right"    
519                         forecolor                       1 1 1 1
520                         visible                         1
521                         decoration
522                 }
523
524                 // Select a skill level title
525                 itemDef 
526                 {
527                         name                            newgame_title
528                         group                           none
529                         style                           WINDOW_STYLE_SHADER
530                         background                      "gfx/menus/menu_blendbox"
531                         text                            @MENUS_SELECT_SKILL
532                         rect                            100 164 440 16
533                         font                            3
534                         textscale                       0.7
535                         textalign                       ITEM_ALIGN_CENTER               
536                         textalignx                      225
537                         textaligny                      -1      
538                         forecolor                       .549 .854 1 0
539                         visible                         1 
540                         decoration 
541                 }
542
543                 itemDef 
544                 {
545                         name                            diff1
546                         group                           none
547                         style                           WINDOW_STYLE_SHADER
548                         rect                            225 196 190 40 
549                         background                      "gfx/menus/menu_buttonback"                     // Box around difficulty 1
550                         forecolor                       1 1 1 1
551                         visible                         0 
552                         decoration
553                 }
554
555                 // EASY difficulty button
556                 itemDef 
557                 {
558                         name                            easybut
559                         group                           easy
560                         text                            EASY
561                         type                            ITEM_TYPE_BUTTON
562                         style                           WINDOW_STYLE_EMPTY
563                         font                            3
564                         textscale                       1
565                         textalign                       ITEM_ALIGN_CENTER
566                         textstyle                       3
567                         rect                            225 196 190 40 
568                         textalignx                      95
569                         textaligny                      8
570                         forecolor                       1 .682 0 1
571                         visible                         1               
572                         descText                        @MENUS_EASY_GAME_SETTINGS
573
574                         action 
575                         { 
576                                 play                    "sound/interface/button1.wav"
577                                 setcvar                 g_spskill 0
578                                 setcvar                 cg_crosshairForceHint 1
579                                 setcvar                 handicap 100
580                                 show                    diff1 
581                                 hide                    diff2
582                                 hide                    diff3
583                                 hide                    diff4
584                                 setitemcolor            easybut         forecolor        1   1  1 1
585                                 setitemcolor            medbut          forecolor        1 .682 0 1
586                                 setitemcolor            hardbut         forecolor        1 .682 0 1
587                                 setitemcolor            vhardbut        forecolor        1 .682 0 1
588                         }
589
590                 }
591
592                 itemDef 
593                 {
594                         name                            diff2
595                         group                           med
596                         style                           WINDOW_STYLE_SHADER
597                         rect                            225 243 190 40 
598                         background                      "gfx/menus/menu_buttonback"             // Box around difficulty 2
599                         forecolor                       1 1 1 1
600                         visible                         1
601                         decoration
602                 }
603
604                 // MEDIUM difficulty button
605                 itemDef 
606                 {
607                         name                            medbut
608                         group                           med
609                         text                            MEDIUM
610                         type                            ITEM_TYPE_BUTTON
611                         style                           WINDOW_STYLE_EMPTY
612                         font                            3
613                         textscale                       1
614                         rect                            225 243 190 40 
615                         textalignx                      95
616                         textaligny                      8
617                         textalign                       ITEM_ALIGN_CENTER
618                         textstyle                       3
619                         forecolor                       1 .682 0 1
620                         visible                 1
621                         descText                        @MENUS_NORMAL_GAME_SETTINGS
622
623                         action 
624                         { 
625                                 play                    "sound/interface/button1.wav"
626                                 setcvar                 g_spskill 1
627                                 setcvar                 cg_crosshairForceHint 1
628                                 setcvar                 handicap 100
629                                 hide                    diff1
630                                 show                    diff2
631                                 hide                    diff3
632                                 hide                    diff4
633                                 setitemcolor            easybut         forecolor        1 .682 0 1
634                                 setitemcolor            medbut          forecolor         1   1  1   1
635                                 setitemcolor            hardbut         forecolor        1 .682 0 1
636                                 setitemcolor            vhardbut        forecolor        1 .682 0 1
637                         }
638
639                 }
640
641                 itemDef 
642                 {
643                         name                            diff3
644                         group                           none
645                         style                           WINDOW_STYLE_SHADER
646                         rect                            225 289 190 40 
647                         background                      "gfx/menus/menu_buttonback"             // Box around difficulty 3
648                         forecolor                       1 1 1 1
649                         visible                         0
650                         decoration
651                 }
652         
653                 // HARD difficulty button
654                 itemDef 
655                 {
656                         name                            hardbut
657                         group                           hard
658                         text                            HARD
659                         font                            3
660                         textscale                       1
661                         type                            ITEM_TYPE_BUTTON
662                         style                           WINDOW_STYLE_EMPTY
663                         rect                            225 289 190 40 
664                         textalignx                      95
665                         textaligny                      8
666                         textalign                       ITEM_ALIGN_CENTER
667                         textstyle                       3
668                         forecolor                       1 .682 0 1
669                         visible                         1
670                         descText                        @MENUS_DIFFICULT_GAME_SETTINGS
671
672                         action 
673                         { 
674                                 play                    "sound/interface/button1.wav"
675                                 setcvar                 g_spskill 2
676                                 setcvar                 cg_crosshairForceHint 0
677                                 setcvar                 handicap 100
678                                 hide                    diff1
679                                 hide                    diff2
680                                 show                    diff3
681                                 hide                    diff4
682                                 setitemcolor            easybut         forecolor        1 .682 0 1
683                                 setitemcolor            medbut          forecolor        1 .682 0 1
684                                 setitemcolor            hardbut         forecolor         1   1  1 1
685                                 setitemcolor            vhardbut        forecolor       1 .682 0 1
686                         }
687
688                 }
689
690                 itemDef 
691                 {
692                         name                            diff4
693                         group                           none
694                         style                           WINDOW_STYLE_SHADER
695                         rect                            225 335 190 40 
696                         background                      "gfx/menus/menu_buttonback"                     // Box around difficulty 4
697                         forecolor                       1 1 1 1
698                         visible                         0
699                         decoration
700                 }
701         
702                 // VERY HARD difficulty button
703                 itemDef 
704                 {
705                         name                            vhardbut
706                         group                           vhard
707                         text                            "VERY HARD"
708                         font                            3
709                         textscale                       1
710                         type                            ITEM_TYPE_BUTTON
711                         style                           WINDOW_STYLE_EMPTY
712                         rect                            225 335 190 40 
713                         textalignx                      95
714                         textaligny                      8
715                         textalign                       ITEM_ALIGN_CENTER
716                         textstyle                       3
717                         forecolor                       1 .682 0 1
718                         visible                         1       
719                         descText                        @MENUS_EXTREMELY_DIFFICULT_GAME
720
721                         action 
722                         { 
723                                 play                    "sound/interface/button1.wav"
724                                 setcvar                 g_spskill 2
725                                 setcvar                 cg_crosshairForceHint 0
726                                 setcvar                 handicap 50
727                                 hide                    diff1
728                                 hide                    diff2
729                                 hide                    diff3
730                                 show                    diff4
731                                 setitemcolor            easybut         forecolor        1 .682 0 1
732                                 setitemcolor            medbut          forecolor        1 .682 0 1
733                                 setitemcolor            hardbut         forecolor        1 .682 0 1
734                                 setitemcolor            vhardbut        forecolor         1   1  1 1
735                         }
736
737                 }
738
739                 //----------------------------------------------------------------------------------------------
740                 //
741                 //      OTHER MAIN MENU BUTTONS
742                 //
743                 //----------------------------------------------------------------------------------------------
744                 // BACK button in lower left corner
745                 itemDef 
746                 {
747                         name                            backbutton_glow
748                         group                           mods
749                         style                           WINDOW_STYLE_SHADER
750                         rect                            59 444 130 24 
751                         background                      "gfx/menus/menu_buttonback"                     // Frame around button
752                         forecolor                       1 1 1 1
753                         visible                         0
754                         decoration
755                 }
756
757                 itemDef 
758                 {
759                         name                            backbutton
760                         group                           fade_buttons
761                         text                            @MENUS_BACK
762                         descText                        @MENUS_BACKTOMAIN
763                         type                            ITEM_TYPE_BUTTON
764                         style                           WINDOW_STYLE_EMPTY
765                         rect                            59 444 130 24  
766                         font                            3
767                         textscale                       1.1
768                         textalign                       ITEM_ALIGN_CENTER
769                         textstyle                       3
770                         textalignx                      65
771                         textaligny                      -1
772                         forecolor                       1 .682 0 1
773                         visible                         1
774
775                         mouseEnter 
776                         { 
777                                 show                    backbutton_glow 
778                         }
779                         mouseExit 
780                         { 
781                                 hide                    backbutton_glow 
782                         }                 
783                         action 
784                         { 
785                                 play                    "sound/interface/esc.wav" 
786                                 close                   all ; 
787                                 open                    mainMenu 
788                         }
789                 }
790                 // EXIT button in lower left corner
791                 itemDef 
792                 {
793                         name                            exitgamebutton_glow
794                         group                           mods
795                         style                           WINDOW_STYLE_SHADER
796                         rect                            255 444 130 24 
797                         background                      "gfx/menus/menu_buttonback"                     // Frame around button
798                         forecolor                       1 1 1 1
799                         visible                         0
800                         decoration
801                 }
802
803                 itemDef 
804                 {
805                         name                            exitgamebutton
806                         group                           exit
807                         text                            @MENUS_EXIT
808                         descText                        @MENUS_JEDI_KNIGHT_II
809                         type                            ITEM_TYPE_BUTTON
810                         style                           WINDOW_STYLE_EMPTY
811                         rect                            255 444 130 24 
812                         font                            3
813                         textscale                       1.1
814                         textalign                       ITEM_ALIGN_CENTER
815                         textstyle                       3
816                         textalignx                      65
817                         textaligny                      -1
818                         forecolor                       1 .682 0 1
819                         visible                         1
820
821                         mouseEnter 
822                         { 
823                                 show                    exitgamebutton_glow 
824                         }
825                         mouseExit 
826                         { 
827                                 hide                    exitgamebutton_glow 
828                         }                 
829                         action 
830                         { 
831                                 play                    "sound/weapons/saber/saberoff.mp3" 
832                                 close                   all 
833                                 open                    quitMenu 
834                         }
835                 }
836
837                 // NEXT button
838                 itemDef 
839                 {
840                         name                            next_glow
841                         group                           mods
842                         style                           WINDOW_STYLE_SHADER
843                         rect                            455 444 130 24 
844                         background                      "gfx/menus/menu_buttonback"                     // Frame around button
845                         forecolor                       1 1 1 1
846                         visible                 0
847                         decoration
848                 }
849
850                 itemDef 
851                 {
852                         name                            nextbutton
853                         group                           fade_buttons
854                         text                            "BEGIN GAME"
855                         descText                        "Start the game."
856                         type                            ITEM_TYPE_BUTTON
857                         style                           WINDOW_STYLE_EMPTY
858                         rect                            455 444 130 24 
859                         font                            3
860                         textscale                       1
861                         textalignx                      65
862                         textaligny                      -1
863                         textalign                       ITEM_ALIGN_CENTER
864                         textstyle                       3
865                         forecolor                       1 .682 0 1
866                         visible                         1
867                         action 
868                         { 
869                                 play                    "sound/interface/button1.wav"
870 //                              setcvar                 g_char_model "kyle"
871 ////NOTE: These are all from models/players/kyle/
872 ////see if *that* does it...
873 ////Dunno if this is cause of crashing...
874 ////Yep, this is it! Why???
875 ////                            setcvar                 g_char_skin_head "models/players/kyle/kyle_head"
876 ////                            setcvar                 g_char_skin_torso "models/players/kyle/kyle_torso"
877 ////                            setcvar                 g_char_skin_legs "models/players/kyle/kyle_legs"
878
879 //                              setcvar                 g_char_skin_head "kyle_head"
880 //                              setcvar                 g_char_skin_torso "kyle_torso"
881 //                              setcvar                 g_char_skin_legs "kyle_legs"
882 //                              setcvar                 g_char_color_red "255"
883 //                              setcvar                 g_char_color_green "255"
884 //                              setcvar                 g_char_color_blue "255"
885 //                              setcvar                 snd "kyle" 
886                                 close                   all 
887 //                              exec                    "cinematic 03-04A"
888                                 exec                    "exec gamestart.cfg"
889                         }
890                         mouseEnter 
891                         { 
892                                 show                    next_glow
893                         }
894                         mouseExit 
895                         { 
896                                 hide                    next_glow
897                         }                 
898                 }
899         }
900 }
901