home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 87 / CDMM87_1.ISO / Sidrial / data1.cab / Program_Files / sidrial0.pk3 / ui / item_popups.menu < prev    next >
Encoding:
Text File  |  2002-01-14  |  7.1 KB  |  379 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.  
  10.             fadeClamp .5                // sets the fadeup alpha
  11.             fadeCycle .0001                    // how often fade happens in milliseconds
  12.             fadeAmount .01                    // amount to adjust alpha per cycle
  13.  
  14.             shadowColor 0.1 0.1 0.1 0.25            // shadow color
  15.       }
  16.  
  17. \\ Item Help Message Popup MENU \\
  18. // Modchip item helpy message
  19. menuDef {
  20.        name "si_inventory_modchip_blaster"
  21.        visible 0
  22.        fullscreen 0
  23.        rect 190 60 362 192
  24.     outOfBoundsClick            // this closes the window if it gets a click out of the rectangle
  25.        focusColor 1 1 1 1
  26.        style 1
  27.     onOpen { play "sound/ui/popup_open.wav"; }
  28. onESC { close si_inventory_modchip_blaster }
  29. //Background
  30.     itemDef {
  31.         name window2
  32.            rect 2 12 360 150
  33.         style 1
  34.         backcolor 0 0 0 .5
  35.         visible 1
  36.         decoration
  37.     }
  38.     itemDef {
  39.         name window
  40.            rect 2 12 360 150
  41.         style 1
  42.         backcolor .66 1 0 .35
  43.         forecolor 0 0 0 1
  44.         border 1
  45.         bordercolor .66 1 0 1
  46.         visible 1
  47.         decoration
  48.     }
  49. //Title
  50.     itemDef {
  51.         name title
  52.         rect 25 30 200 15
  53.         style 0
  54.         text "^3Blaster Mod Chip^7"
  55.         forecolor 1 1 1 1
  56.         textstyle 6
  57.         textalign 0
  58.         textalignx 0
  59.         textaligny 10
  60.         textscale .375
  61.         visible 1
  62.         decoration
  63.         }
  64. //Helpy Message
  65.     itemDef {
  66.         name helpymessage
  67.         rect 25 50 320 175
  68.         style 0
  69.         autowrapped
  70.         text "This chip will modify the Blaster to enable flight capabilities.\nUse the ^5Jetpack^7 key (defaults to ^5Mouse2^7) to activate it."
  71.         forecolor 1 1 1 1
  72.         textstyle 6
  73.         textalign 0
  74.         textalignx 0
  75.         textaligny 15
  76.         textscale .25
  77.         visible 1
  78.         decoration
  79.         }
  80.     itemDef {
  81.         name escmessage
  82.         rect 325 130 150 175
  83.         style 0
  84.         autowrapped
  85.         text "Press ^5Esc^7 to Close"
  86.         forecolor 1 1 1 1
  87.         textstyle 6
  88.         textalign 2
  89.         textalignx 0
  90.         textaligny 15
  91.         textscale .25
  92.         visible 1
  93.         decoration
  94.         }
  95. //Corners    
  96. itemDef {
  97.           name corners    
  98.         style 3
  99.           rect 0 10 40 40
  100.          background "ui/sidrial/Popup/ULCorner.tga"
  101.         backcolor 0 0 0 0
  102.           forecolor 1 1 1 1
  103.           visible 1
  104.         decoration    
  105.     }
  106. itemDef {
  107.           name corners    
  108.         style 3
  109.           rect 325 10 40 40
  110.          background "ui/sidrial/Popup/URCorner.tga"
  111.         backcolor 0 0 0 0
  112.           forecolor 1 1 1 1
  113.           visible 1
  114.         decoration    
  115.     }
  116. itemDef {
  117.           name corners    
  118.         style 3
  119.           rect 0 125 40 40
  120.          background "ui/sidrial/Popup/BLCorner.tga"
  121.         backcolor 0 0 0 0
  122.           forecolor 1 1 1 1
  123.           visible 1
  124.         decoration    
  125.     }
  126. itemDef {
  127.           name corners    
  128.         style 3
  129.           rect 325 125 40 40
  130.          background "ui/sidrial/Popup/BRCorner.tga"
  131.         backcolor 0 0 0 0
  132.           forecolor 1 1 1 1
  133.           visible 1
  134.         decoration    
  135.     }
  136.  
  137. }
  138.  
  139. //Menu for adisis map helpy message
  140. menuDef {
  141.        name "si_inventory_adisis_map"
  142.        visible 0
  143.        fullscreen 0
  144.        rect 190 42 362 192
  145.     outOfBoundsClick            // this closes the window if it gets a click out of the rectangle
  146.        focusColor 1 1 1 1
  147.        style 1
  148.     onOpen { play "sound/ui/popup_open.wav"; }
  149. //Background
  150.     itemDef {
  151.         name window2
  152.            rect 2 2 360 195
  153.         style 1
  154.         backcolor 0 0 0 .5
  155.         visible 1
  156.         decoration
  157.     }
  158.     itemDef {
  159.         name window
  160.            rect 2 2 360 195
  161.         style 1
  162.         backcolor .66 1 0 .35
  163.         forecolor 0 0 0 1
  164.         border 1
  165.         bordercolor .66 1 0 1
  166.         visible 1
  167.         decoration
  168.     }
  169. //Title
  170.     itemDef {
  171.         name title
  172.         rect 25 20 200 15
  173.         style 0
  174.         text "^3Data Sphere^7"
  175.         forecolor 1 1 1 1
  176.         textstyle 6
  177.         textalign 0
  178.         textalignx 0
  179.         textaligny 10
  180.         textscale .375
  181.         visible 1
  182.         decoration
  183.         }
  184. //Helpy Message
  185.     itemDef {
  186.         name helpymessage
  187.         rect 25 40 320 175
  188.         style 0
  189.         autowrapped
  190.         text "This sphere contains valuable blueprints and other important intelligence that will help the Rebel cause.\n- Press the ^5Tab^7 key to see the blueprints and your location highlighted.\n- The bottom right of the HUD will now also display the name of your current location."
  191.         forecolor 1 1 1 1
  192.         textstyle 6
  193.         textalign 0
  194.         textalignx 0
  195.         textaligny 15
  196.         textscale .25
  197.         visible 1
  198.         decoration
  199.         }
  200.     itemDef {
  201.         name escmessage
  202.         rect 340 170 150 175
  203.         style 0
  204.         autowrapped
  205.         text "Press ^5Esc^7 to Close"
  206.         forecolor 1 1 1 1
  207.         textstyle 6
  208.         textalign 2
  209.         textalignx 0
  210.         textaligny 15
  211.         textscale .25
  212.         visible 1
  213.         decoration
  214.         }
  215. //Corners    
  216. itemDef {
  217.           name corners    
  218.         style 3
  219.           rect 0 0 40 40
  220.          background "ui/sidrial/Popup/ULCorner.tga"
  221.         backcolor 0 0 0 0
  222.           forecolor 1 1 1 1
  223.           visible 1
  224.         decoration    
  225.     }
  226. itemDef {
  227.           name corners    
  228.         style 3
  229.           rect 325 0 40 40
  230.          background "ui/sidrial/Popup/URCorner.tga"
  231.         backcolor 0 0 0 0
  232.           forecolor 1 1 1 1
  233.           visible 1
  234.         decoration    
  235.     }
  236. itemDef {
  237.           name corners    
  238.         style 3
  239.           rect 0 160 40 40
  240.          background "ui/sidrial/Popup/BLCorner.tga"
  241.         backcolor 0 0 0 0
  242.           forecolor 1 1 1 1
  243.           visible 1
  244.         decoration    
  245.     }
  246. itemDef {
  247.           name corners    
  248.         style 3
  249.           rect 325 160 40 40
  250.          background "ui/sidrial/Popup/BRCorner.tga"
  251.         backcolor 0 0 0 0
  252.           forecolor 1 1 1 1
  253.           visible 1
  254.         decoration    
  255.     }
  256. }
  257.  
  258.  
  259. //Menu for adisis map helpy message
  260. menuDef {
  261.        name "si_sidrial_energystation"
  262.        visible 0
  263.        fullscreen 0
  264.        rect 190 42 362 192
  265.     outOfBoundsClick            // this closes the window if it gets a click out of the rectangle
  266.        focusColor 1 1 1 1
  267.        style 1
  268.     onOpen { play "sound/ui/popup_open.wav"; }
  269. //Background
  270.     itemDef {
  271.         name window2
  272.            rect 2 2 360 195
  273.         style 1
  274.         backcolor 0 0 0 .5
  275.         visible 1
  276.         decoration
  277.     }
  278.     itemDef {
  279.         name window
  280.            rect 2 2 360 195
  281.         style 1
  282.         backcolor .66 1 0 .35
  283.         forecolor 0 0 0 1
  284.         border 1
  285.         bordercolor .66 1 0 1
  286.         visible 1
  287.         decoration
  288.     }
  289. //Title
  290.     itemDef {
  291.         name title
  292.         rect 25 20 200 15
  293.         style 0
  294.         text "^3Armor Energy Station^7"
  295.         forecolor 1 1 1 1
  296.         textstyle 6
  297.         textalign 0
  298.         textalignx 0
  299.         textaligny 10
  300.         textscale .375
  301.         visible 1
  302.         decoration
  303.         }
  304. //Helpy Message
  305.     itemDef {
  306.         name helpymessage
  307.         rect 25 40 320 175
  308.         style 0
  309.         autowrapped
  310.         text "These stations recharge your armor to a max of 100 points. They take time to charge and your enemies can hear the charging stations at work so beware.\n\nWalk closer to activate it."
  311.         forecolor 1 1 1 1
  312.         textstyle 6
  313.         textalign 0
  314.         textalignx 0
  315.         textaligny 15
  316.         textscale .25
  317.         visible 1
  318.         decoration
  319.         }
  320.     itemDef {
  321.         name escmessage
  322.         rect 340 170 150 175
  323.         style 0
  324.         autowrapped
  325.         text "Press ^5Esc^7 to Close"
  326.         forecolor 1 1 1 1
  327.         textstyle 6
  328.         textalign 2
  329.         textalignx 0
  330.         textaligny 15
  331.         textscale .25
  332.         visible 1
  333.         decoration
  334.         }
  335. //Corners    
  336. itemDef {
  337.           name corners    
  338.         style 3
  339.           rect 0 0 40 40
  340.          background "ui/sidrial/Popup/ULCorner.tga"
  341.         backcolor 0 0 0 0
  342.           forecolor 1 1 1 1
  343.           visible 1
  344.         decoration    
  345.     }
  346. itemDef {
  347.           name corners    
  348.         style 3
  349.           rect 325 0 40 40
  350.          background "ui/sidrial/Popup/URCorner.tga"
  351.         backcolor 0 0 0 0
  352.           forecolor 1 1 1 1
  353.           visible 1
  354.         decoration    
  355.     }
  356. itemDef {
  357.           name corners    
  358.         style 3
  359.           rect 0 160 40 40
  360.          background "ui/sidrial/Popup/BLCorner.tga"
  361.         backcolor 0 0 0 0
  362.           forecolor 1 1 1 1
  363.           visible 1
  364.         decoration    
  365.     }
  366. itemDef {
  367.           name corners    
  368.         style 3
  369.           rect 325 160 40 40
  370.          background "ui/sidrial/Popup/BRCorner.tga"
  371.         backcolor 0 0 0 0
  372.           forecolor 1 1 1 1
  373.           visible 1
  374.         decoration    
  375.     }
  376. }
  377.  
  378. }
  379.