]> icculus.org git repositories - divverent/nexuiz.git/blob - menu/options.menu
Initial revision
[divverent/nexuiz.git] / menu / options.menu
1 /*
2 Property of Alientrap
3
4 Option menus
5 */
6 // side panel
7 {
8         type    ITEM_WINDOW
9         name    opt_panel
10         parent  options
11         origin  "200 145"
12 }
13 {
14         type    ITEM_WINDOW
15         name    opt_frame
16         parent  opt_panel
17         origin  "400 30"
18 }
19 // side panel entries
20 {
21         type    ITEM_TEXTBUTTON
22         name    opt_panel_game
23         parent  opt_panel
24         text    "Game"
25         pos             "0 0"
26 }
27 {
28         type    ITEM_TEXTBUTTON
29         name    opt_panel_controls
30         parent  opt_panel
31         text    "Controls"
32         pos             "0 15"
33         action  nex_cntrl
34 }{
35         type    ITEM_TEXTBUTTON
36         name    opt_panel_sound
37         parent  opt_panel
38         text    "Sound"
39         pos             "0 30"
40         action  nex_snd
41 }
42 {
43         type    ITEM_TEXTBUTTON
44         name    opt_panel_effects
45         parent  opt_panel
46         text    "Effects"
47         pos             "0 45"
48 }
49 {
50         type    ITEM_TEXTBUTTON
51         name    opt_panel_colctrl
52         parent  opt_panel
53         text    "Color Control"
54         pos             "0 60"
55         action  nex_cc
56 }
57 // sub windows
58 {
59         type    ITEM_WINDOW
60         name    options_empty
61         parent  opt_frame
62         reinit  nex_makeselfonlyvisible
63 }
64 // game
65 {
66         type    ITEM_WINDOW
67         name    options_game
68         parent  opt_frame
69 }
70 // sound
71 {
72         type    ITEM_WINDOW
73         name    options_sound
74         parent  opt_frame
75 }
76 //controls
77 {
78         type    ITEM_WINDOW
79         name    options_control
80         parent  opt_frame
81 }
82 {
83         type    ITEM_WINDOW
84         name    options_cc
85         parent  opt_frame
86 }
87 //////
88 // CD Music Volume
89 ////
90 // Menu Button
91 {
92         type            ITEM_TEXTBUTTON
93         name            options_sound_cdvolume_text
94         parent          options_sound
95         text            "CD Music Volume"
96         pos                     "0 0 0"
97         //font_size     "10 10 0"
98         alignment       16              // TEXT_ALIGN_LEFTPOS
99         flag            256             // FLAG_AUTOSETCLICK
100         key                     nex_redirect_key        // redirects input to the child
101         reinit          nex_snd_cd_init
102         refresh         nex_snd_cd_init
103 }
104 // Slider
105 {
106         type            ITEM_SLIDER
107         name            options_sound_cdvolume_slider
108         parent          options_sound_cdvolume_text
109         pos                     "10 0 0"
110         size            "100 8 0"
111         //size          "100 10 0"
112         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
113         cvarname        "bgmvolume"
114         cvartype        4               // CVAR_STEP
115         min_value       0
116         max_value       1
117         step            0.1
118         init            nex_cvar_slider
119 }
120 // Text
121 {
122         type            ITEM_TEXT
123         name            options_sound_cdvolume_slidertext
124         parent          options_sound_cdvolume_text
125         link            options_sound_cdvolume_slider
126         pos                     "120 0 0"
127         //font_size "10 10 0"
128         maxlen          4
129         init            nex_slidertext
130 }
131 //////
132 // Sound Volume
133 ////
134 // Menu Button
135 {
136         type            ITEM_TEXTBUTTON
137         name            options_sound_svolume_text
138         parent          options_sound
139         text            "Sound Volume"
140         pos                     "0 15 0"
141         //font_size     "10 10 0"
142         alignment       16              // TEXT_ALIGN_LEFTPOS
143         flag            256             // FLAG_AUTOSETCLICK
144         key                     nex_redirect_key        // redirects input to the child
145         refresh         nex_snd_snd_init
146 }
147 // Slider
148 {
149         type            ITEM_SLIDER
150         name            options_sound_svolume_slider
151         parent          options_sound_svolume_text
152         pos                     "10 15 0"
153         size            "100 8 0"
154         //size          "100 10 0"
155         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
156         cvarname        "volume"
157         cvartype        4               // CVAR_STEP
158         min_value       0
159         max_value       1
160         step            0.1
161         init            nex_cvar_slider
162 }
163 // Text
164 {
165         type            ITEM_TEXT
166         name            options_sound_svolume_slidertext
167         parent          options_sound_svolume_text
168         link            options_sound_svolume_slider
169         pos                     "120 15 0"
170         //font_size "10 10 0"
171         maxlen          4
172         init            nex_slidertext
173 }
174 //////
175 // Ambient Volume
176 ////
177 // Menu Button
178 {
179         type            ITEM_TEXTBUTTON
180         name            options_sound_avolume_text
181         parent          options_sound
182         text            "Ambient Volume"
183         pos                     "0 30 0"
184         //font_size     "10 10 0"
185         alignment       16              // TEXT_ALIGN_LEFTPOS
186         flag            256             // FLAG_AUTOSETCLICK
187         key                     nex_redirect_key        // redirects input to the child
188         refresh         nex_snd_snd_init
189 }
190 // Slider
191 {
192         type            ITEM_SLIDER
193         name            options_sound_avolume_slider
194         parent          options_sound_avolume_text
195         pos                     "10 30 0"
196         size            "100 8 0"
197         //size          "100 10 0"
198         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
199         cvarname        "snd_staticvolume"
200         cvartype        4               // CVAR_STEP
201         min_value       0
202         max_value       1
203         step            0.1
204         init            nex_cvar_slider
205 }
206 // Text
207 {
208         type            ITEM_TEXT
209         name            options_sound_avolume_slidertext
210         parent          options_sound_avolume_text
211         link            options_sound_avolume_slider
212         pos                     "120 30 0"
213         //font_size "10 10 0"
214         maxlen          4
215         init            nex_slidertext
216 }
217
218 // color control
219 {
220         type    ITEM_TEXTBUTTON
221         name    options_cc_reset
222         parent  options_cc
223         text    "Reset to defaults"
224         pos             "0 0"
225         alignment       16
226         action  nex_cc_reset
227 }
228 //////
229 // Hardware Gamma Control
230 ////
231 // Text
232 {
233         type    ITEM_TEXTBUTTON
234         name            options_cc_hwgamma_text
235         parent          options_cc
236         text            "Hardware Gamma Control"
237         pos                     "0 15 0"
238         //font_size     "10 10 0"
239         alignment       16              // TEXT_ALIGN_RIGHTPOS
240         flag            256             // FLAG_AUTOSETCLICK
241         key                     nex_redirect_key
242         reinit          nex_cc_check_hwgamma
243 }
244 // Switch
245 {
246         type    ITEM_TEXTSWITCH
247         name            options_cc_hwgamma_switch
248         parent          options_cc_hwgamma_text
249         pos                     "10 15 0"
250         //font_size     "10 10 0"
251         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
252         text            "'Off''On'"
253         cvarname        "v_hwgamma"
254         cvartype        1               // CVAR_INT
255         reinit          nex_cvar_slider // can use it also here
256 }
257 //////
258 // Gamma
259 ////
260 // Menu Button
261 {
262         type            ITEM_TEXTBUTTON
263         name            options_cc_gamma_text
264         parent          options_cc
265         text            "Gamma"
266         pos                     "0 30 0"
267         //font_size     "10 10 0"
268         alignment       16              // TEXT_ALIGN_LEFTPOS
269         flag            256             // FLAG_AUTOSETCLICK
270         key                     nex_redirect_key        // redirects input to the child
271         refresh         nex_cc_check_gamma
272 }
273 // Slider
274 {
275         type            ITEM_SLIDER
276         name            options_cc_gamma_slider
277         parent          options_cc_gamma_text
278         pos                     "10 30 0"
279         size            "100 10 0"
280         //size          "100 10 0"
281         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
282         cvarname        "v_gamma"
283         cvartype        4               // CVAR_STEP
284         min_value       1
285         max_value       5
286         step            0.125
287         init            nex_cvar_slider
288         action          nex_cc_ncolor_enable
289 }
290 // Text
291 {
292         type            ITEM_TEXT
293         name            options_cc_gamma_slidertext
294         parent          options_cc_gamma_text
295         link            options_cc_gamma_slider
296         pos                     "120 30 0"
297         //font_size "10 10 0"
298         maxlen          4
299         init            nex_slidertext
300 }
301 //////
302 // Contrast
303 ////
304 // Menu Button
305 {
306         type            ITEM_TEXTBUTTON
307         name            options_cc_contrast_text
308         parent          options_cc
309         text            "Contrast"
310         pos                     "0 45 0"
311         //font_size     "10 10 0"
312         alignment       16              // TEXT_ALIGN_LEFTPOS
313         flag            256             // FLAG_AUTOSETCLICK
314         key                     nex_redirect_key        // redirects input to the child
315         refresh         nex_cc_check_ncolor_enable
316 }
317 // Slider
318 {
319         type            ITEM_SLIDER
320         name            options_cc_contrast_slider
321         parent          options_cc_contrast_text
322         pos                     "10 45 0"
323         size            "100 8 0"
324         //size          "100 10 0"
325         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
326         cvarname        "v_contrast"
327         cvartype        4               // CVAR_STEP
328         min_value       1
329         max_value       5
330         step            0.125
331         init            nex_cvar_slider
332         action          nex_cc_ncolor_enable
333 }
334 // Text
335 {
336         type            ITEM_TEXT
337         name            options_cc_contrast_slidertext
338         parent          options_cc_contrast_text
339         link            options_cc_contrast_slider
340         pos                     "120 45 0"
341         //font_size "10 10 0"
342         maxlen          4
343         init            nex_slidertext
344 }
345 //////
346 // Brightness
347 ////
348 // Menu Button
349 {
350         type            ITEM_TEXTBUTTON
351         name            options_cc_brightness_text
352         parent          options_cc
353         text            "Brightness"
354         pos                     "0 60 0"
355         //font_size     "10 10 0"
356         alignment       16              // TEXT_ALIGN_LEFTPOS
357         flag            256             // FLAG_AUTOSETCLICK
358         key                     nex_redirect_key        // redirects input to the child
359         refresh         nex_cc_check_ncolor_enable
360 }
361 // Slider
362 {
363         type            ITEM_SLIDER
364         name            options_cc_brightness_slider
365         parent          options_cc_brightness_text
366         pos                     "10 60 0"
367         size            "100 8 0"
368         //size          "100 10 0"
369         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
370         cvarname        "v_brightness"
371         cvartype        4               // CVAR_STEP
372         min_value       0
373         max_value       0.8
374         step            0.05
375         init            nex_cvar_slider
376         action          nex_cc_ncolor_enable
377 }
378 // Text
379 {
380         type            ITEM_TEXT
381         name            options_cc_brightness_slidertext
382         parent          options_cc_brightness_text
383         link            options_cc_brightness_slider
384         pos                     "120 60 0"
385         //font_size "10 10 0"
386         maxlen          4
387         init            nex_slidertext
388 }
389 //////
390 // Color Level Controls
391 ////
392 // Text
393 {
394         type    ITEM_TEXTBUTTON
395         name            options_cc_color_level_controls_text
396         parent          options_cc
397         text            "Color Level Controls"
398         pos                     "0 75 0"
399         //font_size     "10 10 0"
400         alignment       16              // TEXT_ALIGN_RIGHTPOS
401         flag            256             // FLAG_AUTOSETCLICK
402         key                     nex_redirect_key
403 }
404 // Switch
405 {
406         type    ITEM_TEXTSWITCH
407         name            options_cc_color_level_controls_switch
408         parent          options_cc_color_level_controls_text
409         pos                     "10 75 0"
410         //font_size     "10 10 0"
411         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
412         text            "'Off''On'"
413         cvarname        "v_color_enable"
414         cvartype        1               // CVAR_INT
415         reinit          nex_cvar_slider // can use it also here
416 }
417 //////
418 // Black: Red
419 ////
420 // Menu Button
421 {
422         type            ITEM_TEXTBUTTON
423         name            options_cc_black_red_text
424         parent          options_cc
425         text            "Black: Red  "
426         pos                     "0 90 0"
427         //font_size     "10 10 0"
428         alignment       16              // TEXT_ALIGN_LEFTPOS
429         flag            256             // FLAG_AUTOSETCLICK
430         key                     nex_redirect_key        // redirects input to the child
431         refresh         nex_cc_check_color_enable
432 }
433 // Slider
434 {
435         type            ITEM_SLIDER
436         name            options_cc_black_red_slider
437         parent          options_cc_black_red_text
438         pos                     "10 90 0"
439         size            "100 8 0"
440         //size          "100 10 0"
441         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
442         cvarname        "v_color_black_r"
443         cvartype        4               // CVAR_STEP
444         min_value       0
445         max_value       0.80
446         step            0.125
447         init            nex_cvar_slider
448         action          nex_cc_color_enable
449 }
450 // Text
451 {
452         type            ITEM_TEXT
453         name            options_cc_black_red_slidertext
454         parent          options_cc_black_red_text
455         link            options_cc_black_red_slider
456         pos                     "120 90 0"
457         //font_size "10 10 0"
458         maxlen          4
459         init            nex_slidertext
460 }
461 //////
462 // Black: Green
463 ////
464 // Menu Button
465 {
466         type            ITEM_TEXTBUTTON
467         name            options_cc_black_green_text
468         parent          options_cc
469         text            "Black: Green"
470         pos                     "0 105 0"
471         //font_size     "10 10 0"
472         alignment       16              // TEXT_ALIGN_LEFTPOS
473         flag            256             // FLAG_AUTOSETCLICK
474         key                     nex_redirect_key        // redirects input to the child
475         refresh         nex_cc_check_color_enable
476 }
477 // Slider
478 {
479         type            ITEM_SLIDER
480         name            options_cc_black_green_slider
481         parent          options_cc_black_green_text
482         pos                     "10 105 0"
483         size            "100 8 0"
484         //size          "100 10 0"
485         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
486         cvarname        "v_color_black_g"
487         cvartype        4               // CVAR_STEO
488         min_value       0
489         max_value       0.80
490         step            0.125
491         init            nex_cvar_slider
492         action          nex_cc_color_enable
493 }
494 // Text
495 {
496         type            ITEM_TEXT
497         name            options_cc_black_green_slidertext
498         parent          options_cc_black_green_text
499         link            options_cc_black_green_slider
500         pos                     "120 105 0"
501         //font_size "10 10 0"
502         maxlen          4
503         init            nex_slidertext
504 }
505 //////
506 // Black: Blue
507 ////
508 // Menu Button
509 {
510         type            ITEM_TEXTBUTTON
511         name            options_cc_black_blue_text
512         parent          options_cc
513         text            "Black: Blue "
514         pos                     "0 120 0"
515         //font_size     "10 10 0"
516         alignment       16              // TEXT_ALIGN_LEFTPOS
517         flag            256             // FLAG_AUTOSETCLICK
518         key                     nex_redirect_key        // redirects input to the child
519         refresh         nex_cc_check_color_enable
520 }
521 // Slider
522 {
523         type            ITEM_SLIDER
524         name            options_cc_black_blue_slider
525         parent          options_cc_black_blue_text
526         pos                     "10 120 0"
527         size            "100 8 0"
528         //size          "100 10 0"
529         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
530         cvarname        "v_color_black_b"
531         cvartype        4               // CVAR_STEP
532         min_value       0
533         max_value       0.80
534         step            0.125
535         init            nex_cvar_slider
536         action          nex_cc_color_enable
537 }
538 // Text
539 {
540         type            ITEM_TEXT
541         name            options_cc_black_blue_slidertext
542         parent          options_cc_black_blue_text
543         link            options_cc_black_blue_slider
544         pos                     "120 120 0"
545         //font_size "10 10 0"
546         maxlen          4
547         init            nex_slidertext
548 }
549 //////
550 // Black: Grey
551 ////
552 // Menu Button
553 {
554         type            ITEM_TEXTBUTTON
555         name            options_cc_black_grey_text
556         parent          options_cc
557         text            "Black: Grey "
558         pos                     "0 135 0"
559         //font_size     "10 10 0"
560         alignment       16              // TEXT_ALIGN_LEFTPOS
561         flag            256             // FLAG_AUTOSETCLICK
562         key                     nex_redirect_key        // redirects input to the child
563         refresh         nex_cc_check_color_enable
564 }
565 // Slider
566 {
567         type            ITEM_SLIDER
568         name            options_cc_black_grey_slider
569         parent          options_cc_black_grey_text
570         pos                     "10 135 0"
571         size            "100 8 0"
572         //size          "100 10 0"
573         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
574         cvarname        "v_color_black"
575         cvartype        1               // CVAR_INT
576         min_value       0
577         max_value       0.8
578         step            0.125
579         init            nex_cc_grey
580         action          nex_cc_color_enable
581 }
582 // Text
583 {
584         type            ITEM_TEXT
585         name            options_cc_black_grey_slidertext
586         parent          options_cc_black_grey_text
587         link            options_cc_black_grey_slider
588         pos                     "120 135 0"
589         //font_size "10 10 0"
590         maxlen          4
591         init            nex_slidertext
592 }
593 //////
594 // Grey: Red
595 ////
596 // Menu Button
597 {
598         type            ITEM_TEXTBUTTON
599         name            options_cc_grey_red_text
600         parent          options_cc
601         text            "Grey: Red  "
602         pos                     "0 150 0"
603         //font_size     "10 10 0"
604         alignment       16              // TEXT_ALIGN_LEFTPOS
605         flag            256             // FLAG_AUTOSETCLICK
606         key                     nex_redirect_key        // redirects input to the child
607         refresh         nex_cc_check_grey
608 }
609 // Slider
610 {
611         type            ITEM_SLIDER
612         name            options_cc_grey_red_slider
613         parent          options_cc_grey_red_text
614         pos                     "10 150 0"
615         size            "100 8 0"
616         //size          "100 10 0"
617         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
618         cvarname        "v_color_grey_r"
619         cvartype        4               // CVAR_STEP
620         min_value       0
621         max_value       0.80
622         step            0.125
623         init            nex_cvar_slider
624         action          nex_cc_color_enable
625 }
626 // Text
627 {
628         type            ITEM_TEXT
629         name            options_cc_grey_red_slidertext
630         parent          options_cc_grey_red_text
631         link            options_cc_grey_red_slider
632         pos                     "120 150 0"
633         //font_size "10 10 0"
634         maxlen          4
635         init            nex_slidertext
636 }
637 //////
638 // Grey: Green
639 ////
640 // Menu Button
641 {
642         type            ITEM_TEXTBUTTON
643         name            options_cc_grey_green_text
644         parent          options_cc
645         text            "Grey: Green"
646         pos                     "0 165 0"
647         //font_size     "10 10 0"
648         alignment       16              // TEXT_ALIGN_LEFTPOS
649         flag            256             // FLAG_AUTOSETCLICK
650         key                     nex_redirect_key        // redirects input to the child
651         refresh         nex_cc_check_grey
652 }
653 // Slider
654 {
655         type            ITEM_SLIDER
656         name            options_cc_grey_green_slider
657         parent          options_cc_grey_green_text
658         pos                     "10 165 0"
659         size            "100 8 0"
660         //size          "100 10 0"
661         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
662         cvarname        "v_color_grey_g"
663         cvartype        4               // CVAR_STEO
664         min_value       0
665         max_value       0.80
666         step            0.125
667         init            nex_cvar_slider
668         action          nex_cc_color_enable
669 }
670 // Text
671 {
672         type            ITEM_TEXT
673         name            options_cc_grey_green_slidertext
674         parent          options_cc_grey_green_text
675         link            options_cc_grey_green_slider
676         pos                     "120 165 0"
677         //font_size "10 10 0"
678         maxlen          4
679         init            nex_slidertext
680 }
681 //////
682 // Grey: Blue
683 ////
684 // Menu Button
685 {
686         type            ITEM_TEXTBUTTON
687         name            options_cc_grey_blue_text
688         parent          options_cc
689         text            "Grey: Blue "
690         pos                     "0 180 0"
691         //font_size     "10 10 0"
692         alignment       16              // TEXT_ALIGN_LEFTPOS
693         flag            256             // FLAG_AUTOSETCLICK
694         key                     nex_redirect_key        // redirects input to the child
695         refresh         nex_cc_check_grey
696 }
697 // Slider
698 {
699         type            ITEM_SLIDER
700         name            options_cc_grey_blue_slider
701         parent          options_cc_grey_blue_text
702         pos                     "10 180 0"
703         size            "100 8 0"
704         //size          "100 10 0"
705         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
706         cvarname        "v_color_grey_b"
707         cvartype        4               // CVAR_STEP
708         min_value       0
709         max_value       0.80
710         step            0.125
711         init            nex_cvar_slider
712         action          nex_cc_color_enable
713 }
714 // Text
715 {
716         type            ITEM_TEXT
717         name            options_cc_grey_blue_slidertext
718         parent          options_cc_grey_blue_text
719         link            options_cc_grey_blue_slider
720         pos                     "120 180 0"
721         //font_size "10 10 0"
722         maxlen          4
723         init            nex_slidertext
724 }
725 //////
726 // Grey: Grey
727 ////
728 // Menu Button
729 {
730         type            ITEM_TEXTBUTTON
731         name            options_cc_grey_grey_text
732         parent          options_cc
733         text            "Grey: Grey "
734         pos                     "0 195 0"
735         //font_size     "10 10 0"
736         alignment       16              // TEXT_ALIGN_LEFTPOS
737         flag            256             // FLAG_AUTOSETCLICK
738         key                     nex_redirect_key        // redirects input to the child
739         refresh         nex_cc_check_grey
740 }
741 // Slider
742 {
743         type            ITEM_SLIDER
744         name            options_cc_grey_grey_slider
745         parent          options_cc_grey_grey_text
746         pos                     "10 195 0"
747         size            "100 8 0"
748         //size          "100 10 0"
749         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
750         cvarname        "v_color_grey"
751         cvartype        1               // CVAR_INT
752         min_value       0
753         max_value       0.8
754         step            0.125
755         init            nex_cc_grey
756         action          nex_cc_color_enable
757 }
758 // Text
759 {
760         type            ITEM_TEXT
761         name            options_cc_grey_grey_slidertext
762         parent          options_cc_grey_grey_text
763         link            options_cc_grey_grey_slider
764         pos                     "120 195 0"
765         //font_size "10 10 0"
766         maxlen          4
767         init            nex_slidertext
768 }
769 //////
770 // White: Red
771 ////
772 // Menu Button
773 {
774         type            ITEM_TEXTBUTTON
775         name            options_cc_white_red_text
776         parent          options_cc
777         text            "White: Red  "
778         pos                     "0 210 0"
779         //font_size     "10 10 0"
780         alignment       16              // TEXT_ALIGN_LEFTPOS
781         flag            256             // FLAG_AUTOSETCLICK
782         key                     nex_redirect_key        // redirects input to the child
783         refresh         nex_cc_check_color_enable
784 }
785 // Slider
786 {
787         type            ITEM_SLIDER
788         name            options_cc_white_red_slider
789         parent          options_cc_white_red_text
790         pos                     "10 210 0"
791         size            "100 8 0"
792         //size          "100 10 0"
793         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
794         cvarname        "v_color_white_r"
795         cvartype        4               // CVAR_STEP
796         min_value       0
797         max_value       0.80
798         step            0.125
799         init            nex_cvar_slider
800         action          nex_cc_color_enable
801 }
802 // Text
803 {
804         type            ITEM_TEXT
805         name            options_cc_white_red_slidertext
806         parent          options_cc_white_red_text
807         link            options_cc_white_red_slider
808         pos                     "120 210 0"
809         //font_size "10 10 0"
810         maxlen          4
811         init            nex_slidertext
812 }
813 //////
814 // White: Green
815 ////
816 // Menu Button
817 {
818         type            ITEM_TEXTBUTTON
819         name            options_cc_white_green_text
820         parent          options_cc
821         text            "White: Green"
822         pos                     "0 225 0"
823         //font_size     "10 10 0"
824         alignment       16              // TEXT_ALIGN_LEFTPOS
825         flag            256             // FLAG_AUTOSETCLICK
826         key                     nex_redirect_key        // redirects input to the child
827         refresh         nex_cc_check_color_enable
828 }
829 // Slider
830 {
831         type            ITEM_SLIDER
832         name            options_cc_white_green_slider
833         parent          options_cc_white_green_text
834         pos                     "10 225 0"
835         size            "100 8 0"
836         //size          "100 10 0"
837         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
838         cvarname        "v_color_white_g"
839         cvartype        4               // CVAR_STEO
840         min_value       0
841         max_value       0.80
842         step            0.125
843         init            nex_cvar_slider
844         action          nex_cc_color_enable
845 }
846 // Text
847 {
848         type            ITEM_TEXT
849         name            options_cc_white_green_slidertext
850         parent          options_cc_white_green_text
851         link            options_cc_white_green_slider
852         pos                     "120 225 0"
853         //font_size "10 10 0"
854         maxlen          4
855         init            nex_slidertext
856 }
857 //////
858 // White: Blue
859 ////
860 // Menu Button
861 {
862         type            ITEM_TEXTBUTTON
863         name            options_cc_white_blue_text
864         parent          options_cc
865         text            "White: Blue "
866         pos                     "0 240 0"
867         //font_size     "10 10 0"
868         alignment       16              // TEXT_ALIGN_LEFTPOS
869         flag            256             // FLAG_AUTOSETCLICK
870         key                     nex_redirect_key        // redirects input to the child
871         refresh         nex_cc_check_color_enable
872 }
873 // Slider
874 {
875         type            ITEM_SLIDER
876         name            options_cc_white_blue_slider
877         parent          options_cc_white_blue_text
878         pos                     "10 240 0"
879         size            "100 8 0"
880         //size          "100 10 0"
881         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
882         cvarname        "v_color_white_b"
883         cvartype        4               // CVAR_STEP
884         min_value       0
885         max_value       0.80
886         step            0.125
887         init            nex_cvar_slider
888         action          nex_cc_color_enable
889 }
890 // Text
891 {
892         type            ITEM_TEXT
893         name            options_cc_white_blue_slidertext
894         parent          options_cc_white_blue_text
895         link            options_cc_white_blue_slider
896         pos                     "120 240 0"
897         //font_size "10 10 0"
898         maxlen          4
899         init            nex_slidertext
900 }
901 //////
902 // White: Grey
903 ////
904 // Menu Button
905 {
906         type            ITEM_TEXTBUTTON
907         name            options_cc_white_grey_text
908         parent          options_cc
909         text            "White: Grey "
910         pos                     "0 255 0"
911         //font_size     "10 10 0"
912         alignment       16              // TEXT_ALIGN_LEFTPOS
913         flag            256             // FLAG_AUTOSETCLICK
914         key                     nex_redirect_key        // redirects input to the child
915         refresh         nex_cc_check_color_enable
916 }
917 // Slider
918 {
919         type            ITEM_SLIDER
920         name            options_cc_white_grey_slider
921         parent          options_cc_white_grey_text
922         pos                     "10 255 0"
923         size            "100 8 0"
924         //size          "100 10 0"
925         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
926         cvarname        "v_color_white"
927         cvartype        1               // CVAR_INT
928         min_value       0
929         max_value       0.8
930         step            0.125
931         init            nex_cc_grey
932         action          nex_cc_color_enable
933 }
934 // Text
935 {
936         type            ITEM_TEXT
937         name            options_cc_white_grey_slidertext
938         parent          options_cc_white_grey_text
939         link            options_cc_white_grey_slider
940         pos                     "120 255 0"
941         //font_size "10 10 0"
942         maxlen          4
943         init            nex_slidertext
944 }
945 // dither pattern
946 {
947         type            ITEM_PICTURE
948         name            options_cc_pattern_pic
949         parent          options_cc
950         picture         "gfx/m_cc_pattern"
951         pos                     "-243.75 270"
952         //size          "487.5 137.5"
953         size            "501.76 143.36"
954 }
955 // control menu
956 // we use a special type called CONTROL_KEY
957 // which uses the fields :
958 // name         has to be unique
959 // text         description
960 // link         command, e.g. "+attack"
961 // template
962 {
963         type            ITEM_TEXTBUTTON
964         name            control_desc_template
965         //parent                options_control
966         text            "Template Desc"
967         pos                     "0 15"
968         alignment       16              // TEXT_ALIGN_RIGHT
969         flag            256             // FLAG_AUTOSETCLICK
970         refresh         nex_con_update_keys
971         action          nex_con_action_key
972         key                     nex_con_key
973 }
974 {
975         type            ITEM_TEXT
976         name            control_key_template
977         //parent                options_control
978         pos                     "100    15"
979         alignment   1
980 }
981 // state message - "Press a key or mouse button to set the new bind", etc.
982 {
983         type            ITEM_TEXTSWITCH
984         name            options_control_statemsg1
985         parent          options_control
986         text            "'[Enter] Assign a new binding''Press the desired key'"
987         pos                     "-100 -40"
988         size            "200    0"
989         font_size       "11 11"
990         alignment       1
991 }
992 {
993         type            ITEM_TEXTSWITCH
994         name            options_control_statemsg2
995         parent          options_control
996         text            "'[Del] Remove all bindings''[Escape] to abort'"
997         pos                     "-100 -25"
998         size            "200    0"
999         font_size       "11 11"
1000         alignment       1
1001 }
1002 {
1003         type            CONTROL_KEY
1004         name            key_forward
1005         text            "Move forward"
1006         link            "+forward"
1007 }
1008 {
1009         type            CONTROL_KEY
1010         name            key_back
1011         text            "Move back"
1012         link            "+back"
1013 }
1014 {
1015         type            CONTROL_KEY
1016         name            key_moveright
1017         text            "Move right"
1018         link            "+moveright"
1019 }
1020 {
1021         type            CONTROL_KEY
1022         name            key_moveleft
1023         text            "Move left"
1024         link            "+moveleft"
1025 }
1026 {
1027         type            CONTROL_KEY
1028         name            key_attack
1029         text            "Fire Weapon"
1030         link            "+attack"
1031 }
1032 {
1033         type            CONTROL_KEY
1034         name            key_SecondaryAttack
1035         text            "Secondary Attack"
1036         link            "+button3"
1037 }
1038 {
1039         type            CONTROL_KEY
1040         name            key_jump
1041         text            "Jump"
1042         link            "+jump"
1043 }
1044 {
1045         type            CONTROL_KEY
1046         name            key_crouch
1047         text            "Crouch"
1048         link            "+shift"
1049 }
1050 {
1051         type            CONTROL_KEY
1052         name            key_weapnext
1053         text            "Next Weapon"
1054         link            "weapnext"
1055 }
1056 {
1057         type            CONTROL_KEY
1058         name            key_weapprev
1059         text            "Prev Weapon"
1060         link            "weapprev"
1061 }
1062 {
1063         type            CONTROL_KEY
1064         name            key_showscores
1065         text            "Show Scores"
1066         link            "+showscores"
1067 }
1068 {
1069         type            CONTROL_KEY
1070         name            key_weapon1
1071         text            "Select Laser"
1072         link            "impulse 1"
1073 }
1074 {
1075         type            CONTROL_KEY
1076         name            key_weapon2
1077         text            "Select Uzi"
1078         link            "impulse 2"
1079 }
1080 {
1081         type            CONTROL_KEY
1082         name            key_weapon3
1083         text            "Select Shotgun"
1084         link            "impulse 3"
1085 }
1086 {
1087         type            CONTROL_KEY
1088         name            key_weapon4
1089         text            "Select Grenade"
1090         link            "impulse 4"
1091 }
1092 {
1093         type            CONTROL_KEY
1094         name            key_weapon5
1095         text            "Select Electro"
1096         link            "impulse 5"
1097 }
1098 {
1099         type            CONTROL_KEY
1100         name            key_weapon6
1101         text            "Select Crylink"
1102         link            "impulse 6"
1103 }
1104 {
1105         type            CONTROL_KEY
1106         name            key_weapon7
1107         text            "Select Nexgun"
1108         link            "impulse 7"
1109 }
1110 {
1111         type            CONTROL_KEY
1112         name            key_weapon8
1113         text            "Select Hagar"
1114         link            "impulse 8"
1115 }
1116 {
1117         type            CONTROL_KEY
1118         name            key_weapon9
1119         text            "Select Rocket"
1120         link            "impulse 9"
1121 }