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

  1. #include "ui/menudef.h"
  2.  
  3. {
  4.   assetGlobalDef {
  5.         font "fonts/font" 16                // font
  6.         smallFont "fonts/smallfont" 12                // font
  7.         bigFont "fonts/bigfont" 20                // font
  8.         cursor "ui/assets/3_cursor3"            // cursor    
  9.         gradientBar "ui/sidrial/hilight.tga"    // gradient bar
  10.     
  11.  
  12.        fadeClamp 2.0                    // sets the fadeup alpha
  13.        fadeCycle 4                    // how often fade happens in milliseconds
  14.        fadeAmount 2                    // amount to adjust alpha per cycle
  15.  
  16.         shadowColor 0.1 0.1 0.1 0.25            // shadow color
  17.       }
  18.                                
  19. menuDef {
  20.         name "exit"
  21.         style 3
  22.         background "ui/sidrial/endgame_bottom.tga"
  23.         fullScreen MENU_TRUE 
  24.         rect 0 0 640 480                // Size and position of the menu
  25.         visible MENU_TRUE                // Visible on open
  26.         focusColor 1 1 1 1            // Menu focus color for text and items
  27.         onOpen { 
  28.             setitemcolor fadebox backcolor 0 0 0 1 ;
  29.             play "sound/UI/menu1.wav" ;
  30.             playlooped "music/SidrialMusic_ui.wav" ;
  31.             fadeout fadebox ;
  32.             fadein quit;
  33.             transition credits 0 360 640 480 0 -800 640 480 50 1000;
  34.             uiScript stopRefresh ;
  35.         }
  36.     onEsc { uiScript "quit" }
  37. itemDef {
  38.     name credits
  39.     rect 0 0 640 480
  40.       wrapped
  41.     text "A Fountainhead Entertainment Production\r\r\rProduced and Directed by\rKATHERINE ANNA KANG\r\rOriginal Story by\rKATHERINE ANNA KANG\r\rAdditional Production by\rROWAN CRAWFORD\rMATTHEW C. ROSS\r\rProgramming by\rJAH RAPHAEL\r\rProduction Design by\rROWAN CRAWFORD\rMICHAEL MELLOR\r\rSet Design by\rLLOYD MORRIS\r\rVisual Effects by\rMATTHEW C. ROSS\rFREDERICK D. WHITLARK\rJAH RAPHAEL\r\rSound Effects by\rMATTHEW C. ROSS\r\rMusic by\rPRESTON COOKSEY\r\rAdditional Programming by\rBRETT ESTABROOK\r\rProduction Assistants\rANDREW CAMPBELL\rSAMUEL FRANKLIN\r\rSpecial thanks to the Quake III Arena mod community\rand the film makers of Machinima striving to make a difference."
  42.     textstyle 6
  43.     textalign 1       
  44.     textscale .3
  45.     textalignx 320
  46.     textaligny 0
  47.     visible 0
  48.     forecolor 1 1 1 1
  49.     decoration
  50. }
  51.  
  52. itemDef {
  53.       name bottom                    // Box for fading in menus
  54.       style WINDOW_STYLE_FILLED
  55.     background "ui/sidrial/fadebox.tga"
  56.     forecolor 0 0 0 1
  57.     backcolor 0 0 0 1
  58.     rect 0 430 640 55
  59.       visible 1 
  60.     decoration
  61. }
  62. itemDef {
  63.       name bottom                    // Box for fading in menus
  64.       style 3
  65.     background "ui/sidrial/endgame_top.tga"
  66.     forecolor 1 1 1 1
  67.     backcolor 1 1 1 1
  68.     rect 0 0 640 480
  69.       visible 1 
  70.     decoration
  71. }
  72. itemDef {
  73.     name clicknewhere
  74.     group quit
  75.     rect 0 0 640 480
  76.     type 1
  77.       text ""
  78.     textstyle 6
  79.     style WINDOW_STYLE_EMPTY
  80.     textalign 1       
  81.     textscale .25
  82.     textalignx 65
  83.     textaligny 17
  84.     visible 1
  85.     forecolor 0 0 0 0
  86.     action { play "sound/UI/menu1.wav" close exit; uiScript "quit"; }
  87.     }
  88.  
  89.  
  90.  
  91. /*
  92. //Button
  93. itemDef {
  94.     name exitbar
  95.     style WINDOW_STYLE_FILLED
  96.     rect 255 420 131 26
  97.     backcolor .66 1 0 .7  
  98.     visible 0 
  99.     action { play "sound/UI/menu1.wav" ; close exit; uiScript "quit"; }
  100. }
  101. itemDef {
  102.     name quit
  103.     group quit
  104.     style 3
  105.     rect 240 416 34 34
  106.     background "ui/sidrial/sub/brace.tga"
  107.     backcolor 0 0 0 0
  108.        forecolor 1 1 1 1
  109.        visible 0
  110.     decoration    
  111.     action { play "sound/UI/menu1.wav" ; close exit; uiScript "quit"; }
  112. }
  113. itemDef {
  114.     name quit
  115.     group quit
  116.     style 3
  117.     rect 370 416 34 34 
  118.     background "ui/sidrial/sub/brace_right.tga"
  119.     backcolor 0 0 0 0
  120.        forecolor 1 1 1 1
  121.        visible 0
  122.     decoration    
  123.     action { play "sound/UI/menu1.wav" ; close exit; uiScript "quit"; }
  124. }
  125. itemDef {
  126.     name quit
  127.     group quit
  128.     rect 255 420 131 26
  129.     type 1
  130.       text "Click to Exit"
  131.     textstyle 6
  132.     style WINDOW_STYLE_FILLED
  133.     textalign 1       
  134.     textscale .25
  135.     textalignx 65
  136.     textaligny 17
  137.     visible 0
  138.     forecolor .66 1 0 1
  139.     action { play "sound/UI/menu1.wav" ; close exit; uiScript "quit"; }
  140.     mouseEnter { transition exitbar 255 433 131 0 255 420 131 26 20 5 } 
  141.     mouseExit { transition exitbar 255 420 131 26 255 433 131 0 20 5} 
  142.     }
  143. */
  144. itemDef {
  145.       name fadebox                    // Box for fading in menus
  146.       style WINDOW_STYLE_FILLED
  147.     background "ui/sidrial/fadebox.tga"
  148.     forecolor 0 0 0 1
  149.     backcolor 0 0 0 1
  150.     rect 0 0 640 480
  151.       visible 1 
  152.     decoration
  153. }
  154.  
  155.  
  156.         
  157.   }
  158.  
  159. }