home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 87 / CDMM87_1.ISO / Sidrial / data1.cab / Program_Files / sidrial0.pk3 / ui / ingame_options.menu < prev    next >
Encoding:
Text File  |  2002-01-13  |  6.2 KB  |  294 lines

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ SETUP MENU \\
  5.  
  6. menuDef {
  7.         name "ingame_configoptions"
  8.         visible 0
  9.         fullscreen 0
  10.         //background "blank"
  11.         rect 186 60 454 420
  12.         focusColor 1 1 1 1
  13.         style 1
  14.         border 1
  15.     onOpen {
  16.         play "sound/UI/menu1.wav" ;    
  17.     }
  18.     onEsc { close ingame_configoptions ; close ingame_confignav ; open ingame_main }
  19. itemDef {
  20.           name options                
  21.         group grpOptions
  22.         text "Crosshair:"
  23.         rect 227 43 20 20
  24.         ownerdraw UI_CROSSHAIR
  25.           textalign ITEM_ALIGN_RIGHT
  26.           textalignx 0 
  27.           textaligny 20
  28.         textscale .25        
  29.           forecolor .66 1 0 1
  30.           visible 1 
  31.         mouseEnter { show message_click; setitemcolor crosshair forecolor 1 1 1 1; }
  32.         mouseExit { hide message_click; setitemcolor crosshair forecolor .66 1 0 1; }
  33.   }
  34.     itemDef {
  35.               name options
  36.         group grpOptions
  37.               type ITEM_TYPE_YESNO
  38.         text "Marks On Walls:"
  39.         cvar "cg_marks"
  40.         rect 99 65 256 15
  41.               textalign ITEM_ALIGN_RIGHT
  42.               textalignx 128
  43.               textaligny 12
  44.         textscale .25
  45.               forecolor .66 1 0 1
  46.               visible 1 
  47.             mouseenter { show yesno_message; }
  48.             mouseexit { hide yesno_message; }
  49.             }
  50.     itemDef {
  51.               name options
  52.         group grpOptions
  53.               type ITEM_TYPE_YESNO
  54.         text "Dynamic Lights:"
  55.         cvar "r_dynamiclight"
  56.         rect 99 80 256 15
  57.               textalign ITEM_ALIGN_RIGHT
  58.               textalignx 128
  59.               textaligny 12
  60.         textscale .25
  61.               forecolor .66 1 0 1
  62.               visible 1 
  63.             mouseenter { show yesno_message; }
  64.             mouseexit { hide yesno_message; }
  65.             }
  66.  
  67.     itemDef {
  68.               name options
  69.         group grpOptions
  70.               type ITEM_TYPE_YESNO
  71.         text "Identify Target:"
  72.         cvar "cg_drawCrosshairNames"
  73.         rect 99 95 256 15
  74.               textalign ITEM_ALIGN_RIGHT
  75.               textalignx 128
  76.               textaligny 12
  77.         textscale .25
  78.               forecolor .66 1 0 1
  79.               visible 1 
  80.             mouseenter { show yesno_message; }
  81.             mouseexit { hide yesno_message; }
  82.             }
  83.  
  84.     itemDef {
  85.               name options
  86.         group grpOptions
  87.               type ITEM_TYPE_YESNO
  88.         text "Draw Gun:"
  89.         cvar "cg_drawGun"
  90.         rect 99 110 256 15
  91.               textalign ITEM_ALIGN_RIGHT
  92.               textalignx 128
  93.               textaligny 12
  94.         textscale .25
  95.               forecolor .66 1 0 1
  96.               visible 1 
  97.             mouseenter { show yesno_message; }
  98.             mouseexit { hide yesno_message; }
  99.             }
  100.  
  101.     itemDef {
  102.               name options
  103.         group grpOptions
  104.               type ITEM_TYPE_YESNO
  105.         text "Low Quality Sky:"
  106.         cvar "r_fastsky"
  107.         rect 99 125 256 15
  108.               textalign ITEM_ALIGN_RIGHT
  109.               textalignx 128
  110.               textaligny 12
  111.         textscale .25
  112.               forecolor .66 1 0 1
  113.               visible 1 
  114.             mouseenter { show yesno_message; }
  115.             mouseexit { hide yesno_message; }
  116.             }
  117.  
  118.     itemDef {
  119.               name options
  120.         group grpOptions
  121.               type ITEM_TYPE_YESNO
  122.         text "Sync Every Frame:"
  123.         cvar "weapon 5"
  124.         rect 99 140 256 15
  125.               textalign ITEM_ALIGN_RIGHT
  126.               textalignx 128
  127.               textaligny 12
  128.         textscale .25
  129.               forecolor .66 1 0 1
  130.               visible 1 
  131.             mouseenter { show yesno_message; }
  132.             mouseexit { hide yesno_message; }
  133.             }
  134.     
  135.     itemDef {
  136.               name options
  137.         group grpOptions
  138.               type ITEM_TYPE_YESNO
  139.         text "Force Player Models:"
  140.         cvar "cg_forceModel"
  141.         rect 99 155 256 15
  142.               textalign ITEM_ALIGN_RIGHT
  143.               textalignx 128
  144.               textaligny 12
  145.         textscale .25
  146.               forecolor .66 1 0 1
  147.               visible 1 
  148.             mouseenter { show yesno_message; }
  149.             mouseexit { hide yesno_message; }
  150.             }
  151.     itemDef {
  152.               name options
  153.         group grpOptions
  154.               type ITEM_TYPE_YESNO
  155.         text "Auto Download:"
  156.         cvar "cl_allowDownload"
  157.         rect 99 170 256 15
  158.               textalign ITEM_ALIGN_RIGHT
  159.               textalignx 128
  160.               textaligny 12
  161.         textscale .25
  162.               forecolor .66 1 0 1
  163.               visible 1 
  164.             mouseenter { show yesno_message; }
  165.             mouseexit { hide yesno_message; }
  166.             }
  167.     itemDef {
  168.               name options
  169.         group grpOptions
  170.               type ITEM_TYPE_YESNO
  171.         text "Show Time:"
  172.         cvar "cg_drawTimer"
  173.         rect 99 185 256 15
  174.               textalign ITEM_ALIGN_RIGHT
  175.               textalignx 128
  176.               textaligny 12
  177.         textscale .25
  178.               forecolor .66 1 0 1
  179.               visible 1 
  180.             mouseenter { show yesno_message; }
  181.             mouseexit { hide yesno_message; }
  182.             }
  183.     itemDef {
  184.               name options
  185.         group grpOptions
  186.               type ITEM_TYPE_YESNO
  187.         text "Simple Items:"
  188.         cvar "cg_simpleItems"
  189.         rect 99 200 256 15
  190.               textalign ITEM_ALIGN_RIGHT
  191.               textalignx 128
  192.               textaligny 12
  193.         textscale .25
  194.               forecolor .66 1 0 1
  195.               visible 1 
  196.             mouseenter { show yesno_message; }
  197.             mouseexit { hide yesno_message; }
  198.             }
  199.     itemDef {
  200.               name options
  201.         group grpOptions
  202.               type ITEM_TYPE_YESNO
  203.         text "Simple Hud:"
  204.         cvar "sidc_simplehud"
  205.         rect 99 215 256 15
  206.               textalign ITEM_ALIGN_RIGHT
  207.               textalignx 128
  208.               textaligny 12
  209.         textscale .25
  210.               forecolor .66 1 0 1
  211.               visible 1 
  212.             mouseenter { show yesno_message; }
  213.             mouseexit { hide yesno_message; }
  214.                }
  215.     itemDef {
  216.               name options
  217.         group grpOptions
  218.               type ITEM_TYPE_YESNO
  219.         text "Voice Alerts:"
  220.         cvar "sidc_voice_warnings"
  221.         rect 99 230 256 15
  222.               textalign ITEM_ALIGN_RIGHT
  223.               textalignx 128
  224.               textaligny 12
  225.         textscale .25
  226.               forecolor .66 1 0 1
  227.               visible 1 
  228.             mouseenter { show yesno_message; }
  229.             mouseexit { hide yesno_message; }
  230.             }
  231.     itemDef {
  232.           name options
  233.         group grpOptions
  234.           type ITEM_TYPE_SLIDER
  235.         text "HUD Opacity:"
  236.         cvarfloat "sidc_hud_opacity" 1 0 1
  237.         rect 99 245 256 15
  238.           textalign ITEM_ALIGN_RIGHT
  239.           textalignx 128
  240.           textaligny 12
  241.         textscale .25        
  242.           forecolor .66 1 0 1
  243.           visible 1 
  244.         mouseenter { show slider_message; }
  245.         mouseexit { hide slider_message; }
  246.         }
  247.  
  248. //Messages 
  249. itemDef {
  250.     name message_click
  251.     group grpmessage
  252.     style 0 
  253.     rect 134 360 128 30 
  254.     textstyle 6
  255.     textalign 1
  256.     textstyle 1
  257.     textalignx 0
  258.     textaligny 25
  259.     textscale .3
  260.     text "Click to Toggle Option"
  261.     forecolor 1 1 1 1
  262.     decoration 
  263.     visible 0
  264.     }
  265. itemDef {
  266.     name yesno_message
  267.     rect 134 360 128 30 
  268.     text "Select the Item to Toggle to Yes or No"      
  269.     forecolor 1 1 1 1
  270.     textscale .3
  271.     textstyle 6
  272.     textalignx 1
  273.     textalign 1
  274.     textaligny 25
  275.     visible 0
  276.        decoration 
  277.     }
  278. itemDef {
  279.     name message_edit
  280.     style 0
  281.     rect 320 420 128 30
  282.     text "Click to Edit Field"      
  283.     forecolor 1 1 1 1
  284.     textstyle 6
  285.     textscale .3
  286.     textalignx 1
  287.     textalign 1
  288.     textaligny 25
  289.     visible 0
  290.        decoration 
  291.     }
  292.  
  293. }
  294.