1 //-----------------------------------------------------------------------
4 // Called only from main menu. Has the transition of fields from main menu
7 //-----------------------------------------------------------------------
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
21 descAlignment ITEM_ALIGN_CENTER
25 play "sound/interface/transition.wav"
27 setcvar cg_crosshairForceHint 1
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
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
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
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
67 fadein difficulty_background
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
81 //----------------------------------------------------------------------------------------------
85 //----------------------------------------------------------------------------------------------
88 name really_background
90 style WINDOW_STYLE_SHADER
92 background "gfx/menus/main_centerblue"
102 style WINDOW_STYLE_SHADER
104 background "gfx/menus/videologo"
114 style WINDOW_STYLE_SHADER
116 background "gfx/menus/menu_side_text"
124 name background_text_b
126 style WINDOW_STYLE_SHADER
128 background "gfx/menus/menu_side_text_right"
138 style WINDOW_STYLE_SHADER
140 background "gfx/menus/menu1"
150 style WINDOW_STYLE_SHADER
152 background "gfx/menus/menu_rotate_ring_b"
162 style WINDOW_STYLE_SHADER
164 background "gfx/menus/main_centerwindow"
174 style WINDOW_STYLE_SHADER
176 background "gfx/menus/main_leftwindow"
186 style WINDOW_STYLE_SHADER
188 background "gfx/menus/main_rightwindow"
194 // The starwars logo on the top
199 style WINDOW_STYLE_SHADER
201 background "gfx/menus/jediacademy"
208 //----------------------------------------------------------------------------------------------
212 //----------------------------------------------------------------------------------------------
219 style WINDOW_STYLE_SHADER
222 background "gfx/menus/menu_buttonback"
230 name newgamebutton_undertext
232 style WINDOW_STYLE_EMPTY
233 type ITEM_TYPE_BUTTON
239 textalign ITEM_ALIGN_CENTER
242 forecolor .79 .64 .22 .2
251 style WINDOW_STYLE_EMPTY
252 type ITEM_TYPE_BUTTON
255 descText @MENUS_START_A_NEW_GAME
259 textalign ITEM_ALIGN_CENTER
262 //forecolor .79 .64 .22 1
279 name loadgamebutton_glow
281 style WINDOW_STYLE_SHADER
284 background "gfx/menus/menu_buttonback" // Frame around button
292 name loadgamebutton_undertext
294 style WINDOW_STYLE_EMPTY
295 type ITEM_TYPE_BUTTON
301 textalign ITEM_ALIGN_CENTER
304 forecolor .79 .64 .22 .2
314 descText @MENUS_LOAD_A_SAVED_GAME
315 style WINDOW_STYLE_EMPTY
316 type ITEM_TYPE_BUTTON
321 textalign ITEM_ALIGN_CENTER
329 show loadgamebutton_glow
330 show loadgamebutton_undertext
334 hide loadgamebutton_glow
335 hide loadgamebutton_undertext
339 play "sound/interface/button1.wav"
345 // Big button "CONTROLS"
348 name controlsbutton_glow
350 style WINDOW_STYLE_SHADER
351 //rect 441 212 160 24
353 background "gfx/menus/menu_buttonback" // Frame around button
361 name controlsbutton_undertext
363 style WINDOW_STYLE_EMPTY
364 type ITEM_TYPE_BUTTON
366 text @MENUS_CONTROLS2
370 textalign ITEM_ALIGN_CENTER
373 forecolor .79 .64 .22 .2
382 descText @MENUS_CONFIGURE_GAME_CONTROLS
383 type ITEM_TYPE_BUTTON
384 style WINDOW_STYLE_EMPTY
389 textalign ITEM_ALIGN_CENTER
398 show controlsbutton_glow
399 show controlsbutton_undertext
403 hide controlsbutton_glow
404 hide controlsbutton_undertext
408 play "sound/interface/button1.wav"
414 // Big button "SETUP"
417 name setupbutton_glow
419 style WINDOW_STYLE_SHADER
420 //rect 456 310 130 24
422 background "gfx/menus/menu_buttonback" // Frame around button
430 name setupbutton_undertext
432 style WINDOW_STYLE_EMPTY
433 type ITEM_TYPE_BUTTON
439 textalign ITEM_ALIGN_CENTER
442 forecolor .79 .64 .22 .2
451 descText @MENUS_CONFIGURE_GAME_SETTINGS
452 type ITEM_TYPE_BUTTON
453 style WINDOW_STYLE_EMPTY
458 textalign ITEM_ALIGN_CENTER
467 show setupbutton_glow
468 show setupbutton_undertext
472 hide setupbutton_glow
473 hide setupbutton_undertext
477 play "sound/interface/button1.wav"
483 //----------------------------------------------------------------------------------------------
485 // NEW GAME MENU specific stuff
487 //----------------------------------------------------------------------------------------------
492 style WINDOW_STYLE_SHADER
494 background "gfx/menus/newgame_boxes"
504 style WINDOW_STYLE_SHADER
506 background "gfx/menus/menu_boxes_left"
516 style WINDOW_STYLE_SHADER
518 background "gfx/menus/menu_boxes_right"
524 // Select a skill level title
529 style WINDOW_STYLE_SHADER
530 background "gfx/menus/menu_blendbox"
531 text @MENUS_SELECT_SKILL
535 textalign ITEM_ALIGN_CENTER
538 forecolor .549 .854 1 0
547 style WINDOW_STYLE_SHADER
549 background "gfx/menus/menu_buttonback" // Box around difficulty 1
555 // EASY difficulty button
561 type ITEM_TYPE_BUTTON
562 style WINDOW_STYLE_EMPTY
565 textalign ITEM_ALIGN_CENTER
572 descText @MENUS_EASY_GAME_SETTINGS
576 play "sound/interface/button1.wav"
578 setcvar cg_crosshairForceHint 1
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
596 style WINDOW_STYLE_SHADER
598 background "gfx/menus/menu_buttonback" // Box around difficulty 2
604 // MEDIUM difficulty button
610 type ITEM_TYPE_BUTTON
611 style WINDOW_STYLE_EMPTY
617 textalign ITEM_ALIGN_CENTER
621 descText @MENUS_NORMAL_GAME_SETTINGS
625 play "sound/interface/button1.wav"
627 setcvar cg_crosshairForceHint 1
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
645 style WINDOW_STYLE_SHADER
647 background "gfx/menus/menu_buttonback" // Box around difficulty 3
653 // HARD difficulty button
661 type ITEM_TYPE_BUTTON
662 style WINDOW_STYLE_EMPTY
666 textalign ITEM_ALIGN_CENTER
670 descText @MENUS_DIFFICULT_GAME_SETTINGS
674 play "sound/interface/button1.wav"
676 setcvar cg_crosshairForceHint 0
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
694 style WINDOW_STYLE_SHADER
696 background "gfx/menus/menu_buttonback" // Box around difficulty 4
702 // VERY HARD difficulty button
710 type ITEM_TYPE_BUTTON
711 style WINDOW_STYLE_EMPTY
715 textalign ITEM_ALIGN_CENTER
719 descText @MENUS_EXTREMELY_DIFFICULT_GAME
723 play "sound/interface/button1.wav"
725 setcvar cg_crosshairForceHint 0
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
739 //----------------------------------------------------------------------------------------------
741 // OTHER MAIN MENU BUTTONS
743 //----------------------------------------------------------------------------------------------
744 // BACK button in lower left corner
749 style WINDOW_STYLE_SHADER
751 background "gfx/menus/menu_buttonback" // Frame around button
762 descText @MENUS_BACKTOMAIN
763 type ITEM_TYPE_BUTTON
764 style WINDOW_STYLE_EMPTY
768 textalign ITEM_ALIGN_CENTER
785 play "sound/interface/esc.wav"
790 // EXIT button in lower left corner
793 name exitgamebutton_glow
795 style WINDOW_STYLE_SHADER
797 background "gfx/menus/menu_buttonback" // Frame around button
808 descText @MENUS_JEDI_KNIGHT_II
809 type ITEM_TYPE_BUTTON
810 style WINDOW_STYLE_EMPTY
814 textalign ITEM_ALIGN_CENTER
823 show exitgamebutton_glow
827 hide exitgamebutton_glow
831 play "sound/weapons/saber/saberoff.mp3"
842 style WINDOW_STYLE_SHADER
844 background "gfx/menus/menu_buttonback" // Frame around button
855 descText "Start the game."
856 type ITEM_TYPE_BUTTON
857 style WINDOW_STYLE_EMPTY
863 textalign ITEM_ALIGN_CENTER
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"
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"
887 // exec "cinematic 03-04A"
888 exec "exec gamestart.cfg"