home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2004 September / GSSH0904CD2.iso / Doom3 / MapsSolo / TriteBreedindFacility / TriteBreedindFacility.exe / kiltron1.pk4 / guis / kiltron1 / kiltron1_teleporter_exit.gui < prev    next >
Text File  |  2004-08-23  |  10KB  |  397 lines

  1. windowDef Desktop
  2. {
  3.     comment    "gui_parms 1-3 are the access code. Use a unique number for each, no repeated numbers.\n\ngui_parm4 is the name of the item inside. gui_parm5 is the locker number, which defaults to 009 if left blank. Trigger to show unlocked animation if you want to open it externally instead of from the keypad."
  4.     rect    0 ,0 ,640 ,480
  5.     background    "guis/assets/cpuserver/bg.tga"
  6.     matcolor    0,0,0,1
  7.     visible    1
  8.  
  9.     onTrigger {
  10.         if ("Desktop::unlocked" == 0) { 
  11.             resetTime "Unlock" "0" ;
  12.         }
  13.     }
  14.  
  15.     windowDef Logo1
  16.     {
  17.         rect    5,47,630,422
  18.         visible    1
  19.         background    "guis/assets/common/mlogo"
  20.         matcolor    0.4, 0, 0, 0.6
  21.     }
  22.     windowDef BGHexGrid
  23.     {
  24.         rect    5,5,630,470
  25.         visible    1
  26.         background    "gui/common/hexgrid"
  27.         matcolor    1,0.5,0.5,0.07
  28.         matscalex    9
  29.         matscaley    9
  30.     }
  31.     windowDef Bglow1
  32.     {
  33.         rect    0,0,-640,480
  34.         background    "guis/assets/cpuserver/bglow.tga"
  35.         visible    1
  36.         matcolor    0.4, 0.5, 0.4, 0.1
  37.     }
  38.     windowDef Logo2
  39.     {
  40.         rect    192,102,258,165
  41.         visible    1
  42.         background    "guis/assets/common/mlogo"
  43.         matcolor    0.8, 0.7, 0.7,0
  44.     }
  45.     windowDef Bglow
  46.     {
  47.         rect    0,0,-640,480
  48.         background    "guis/assets/cpuserver/bglow.tga"
  49.         visible    0
  50.         matcolor    0.2, 0.6, 0.2, pdfullfade [ time * .0008 ]/6
  51.     }
  52.     windowDef Bglow2
  53.     {
  54.         rect    0,0,-640,480
  55.         background    "guis/assets/cpuserver/bglow.tga"
  56.         visible    1
  57.         matcolor    0.6, 0.3, 0.2, pdfullfade [ time * .001 ]/5
  58.     }
  59.     windowDef StatusArea
  60.     {
  61.         rect    1,6,631,87
  62.         visible    1
  63.         windowDef SourceText
  64.         {
  65.             rect    64,18,602,44
  66.             visible    1
  67.             forecolor    1,1,1,0.8
  68.             text    "TELEPORTER READY"
  69.             textscale    0.77
  70.             font    "fonts/micro"
  71.         }
  72.         windowDef bar1Right
  73.         {
  74.             rect    600,3,32,32
  75.             visible    1
  76.             background    "guis/assets/common/titlebar_corner"
  77.             matcolor    0.8, 0.7, 0.7,0.3
  78.         }
  79.         windowDef bar1Mid
  80.         {
  81.             rect    59,3,541,32
  82.             visible    1
  83.             background    "guis/assets/common/titlebar_mid"
  84.             matcolor    0.8, 0.7, 0.7,0.3
  85.         }
  86.         windowDef bar1Left
  87.         {
  88.             rect    2,3,-57,32
  89.             visible    1
  90.             background    "guis/assets/common/titlebar_corner"
  91.             matcolor    0.8, 0.7, 0.7,0.3
  92.         }
  93.         windowDef bar2Right
  94.         {
  95.             rect    601,57,32,-32
  96.             visible    1
  97.             background    "guis/assets/common/titlebar_corner"
  98.             matcolor    0.8, 0.7, 0.7,0.3
  99.         }
  100.         windowDef bar2Mid
  101.         {
  102.             rect    58,57,543,32
  103.             visible    1
  104.             background    "guis/assets/common/titlebar_mid"
  105.             matcolor    0.8, 0.7, 0.7,0.3
  106.         }
  107.         windowDef bar2Left
  108.         {
  109.             rect    1,57,-57,-32
  110.             visible    1
  111.             background    "guis/assets/common/titlebar_corner"
  112.             matcolor    0.8, 0.7, 0.7,0.3
  113.         }
  114.     }
  115.     windowDef Contents
  116.     {
  117.         rect    0,96,640,290
  118.         visible    1
  119.  
  120.         onAction {
  121.             set    "cmd" "activate ; play guisounds_connect3" ;
  122.             resetTime "Unlock" "0" ;
  123.             set "noevents" "1" ;
  124.         }
  125.  
  126.         windowDef ContentsText1
  127.         {
  128.             rect    51,16,537,70
  129.             text    "TELEPORTING"
  130.             textscale    0.85
  131.             textalign    1
  132.             forecolor    0.5,1,0.8,0
  133.             visible    1
  134.             font    "fonts/micro"
  135.         }
  136.         windowDef ContentsText
  137.         {
  138.             rect    51,39,537,239
  139.             text    "ACTIVATE TELEPORT DEVICE"
  140.             textscale    1.2
  141.             textalign    1
  142.             forecolor    1,0.2,0,0.8
  143.             visible    1
  144.             font    "fonts/micro"
  145.         }
  146.         windowDef Contentsbg
  147.         {
  148.             rect    33,6,575,277
  149.             visible    1
  150.             background    "guis/assets/cpuserver/bgWhite3"
  151.             matcolor    0.4,0,0,0.3
  152.         }
  153.         windowDef Contentscorner1
  154.         {
  155.             rect    46,5,82,-30
  156.             visible    1
  157.             background    "guis/assets/common/1pxborder_cornersm"
  158.             matcolor    1,1,1,0.5
  159.         }
  160.         windowDef Contentscorner2
  161.         {
  162.             rect    513,5,-82,-30
  163.             visible    1
  164.             background    "guis/assets/common/1pxborder_cornersm"
  165.             matcolor    1,1,1,0.5
  166.         }
  167.         windowDef Contentscorner3
  168.         {
  169.             rect    46,253,82,30
  170.             visible    1
  171.             background    "guis/assets/common/1pxborder_cornersm"
  172.             matcolor    1,1,1,0.5
  173.         }
  174.         windowDef Contentscorner4
  175.         {
  176.             rect    513,253,-82,30
  177.             visible    1
  178.             background    "guis/assets/common/1pxborder_cornersm"
  179.             matcolor    1,1,1,0.5
  180.         }
  181.         windowDef ContentsBottom
  182.         {
  183.             rect    128,255,385,30
  184.             visible    1
  185.             background    "guis/assets/common/1pxborder_horiz"
  186.             matcolor    1,1,1,0.5
  187.         }
  188.         windowDef ContentsRight
  189.         {
  190.             rect    513,35,-82,-218
  191.             visible    1
  192.             background    "guis/assets/common/1pxborder_vert"
  193.             matcolor    1,1,1,0.5
  194.         }
  195.         windowDef ContentsLeft
  196.         {
  197.             rect    46,35,82,-218
  198.             visible    1
  199.             background    "guis/assets/common/1pxborder_vert"
  200.             matcolor    1,1,1,0.5
  201.         }
  202.         windowDef ContentsTop
  203.         {
  204.             rect    128,3,385,-30
  205.             visible    1
  206.             background    "guis/assets/common/1pxborder_horiz"
  207.             matcolor    1,1,1,0.5
  208.         }
  209.     }
  210.     windowDef StatusBar
  211.     {
  212.         rect    0,379,640,120
  213.         visible    1
  214.         windowDef Statusbar1Mid
  215.         {
  216.             rect    59,7,522,32
  217.             visible    1
  218.             background    "guis/assets/common/titlebar_mid"
  219.             matcolor    0.8, 0.7, 0.7,0.3
  220.         }
  221.         windowDef Statusbar1Left
  222.         {
  223.             rect    2,7,-57,32
  224.             visible    1
  225.             background    "guis/assets/common/titlebar_corner"
  226.             matcolor    0.8, 0.7, 0.7,0.3
  227.         }
  228.         windowDef Statusbar1Right
  229.         {
  230.             rect    581,7,57,32
  231.             visible    1
  232.             background    "guis/assets/common/titlebar_corner"
  233.             matcolor    0.8, 0.7, 0.7,0.3
  234.         }
  235.         windowDef Statusbar2Mid
  236.         {
  237.             rect    58,67,522,32
  238.             visible    1
  239.             background    "guis/assets/common/titlebar_mid"
  240.             matcolor    0.8, 0.7, 0.7,0.3
  241.         }
  242.         windowDef Statusbar2Right
  243.         {
  244.             rect    580,67,57,-32
  245.             visible    1
  246.             background    "guis/assets/common/titlebar_corner"
  247.             matcolor    0.8, 0.7, 0.7,0.3
  248.         }
  249.         windowDef Statusbar2Left
  250.         {
  251.             rect    1,67,-57,-32
  252.             visible    1
  253.             background    "guis/assets/common/titlebar_corner"
  254.             matcolor    0.8, 0.7, 0.7,0.3
  255.         }
  256.         windowDef StatusText
  257.         {
  258.             rect    1,16,638,100
  259.             text    "NOT ACTIVE"
  260.             textscale    1
  261.             textalign    1
  262.             forecolor    1,0.01,0.01,0.7
  263.             visible    1
  264.             font    "fonts/micro"
  265.         }
  266.         windowDef Statusbar3Right
  267.         {
  268.             rect    587,27,-48,52
  269.             visible    1
  270.             background    "guis/assets/common/titlebar_edge"
  271.             matcolor    1, 0.2, 0,0.3
  272.         }
  273.         windowDef Statusbar3Mid2
  274.         {
  275.             rect    452,27,135,52
  276.             visible    1
  277.             background    "guis/assets/common/titlebar_mid"
  278.             matcolor    1, 0.2, 0,0.3
  279.         }
  280.         windowDef Statusbar3Left
  281.         {
  282.             rect    5,27,48,52
  283.             visible    1
  284.             background    "guis/assets/common/titlebar_edge"
  285.             matcolor    1, 0.2, 0,0.3
  286.         }
  287.         windowDef Statusbar3Mid1
  288.         {
  289.             rect    53,27,135,52
  290.             visible    1
  291.             background    "guis/assets/common/titlebar_mid"
  292.             matcolor    1, 0.2, 0,0.3
  293.         }
  294.     }
  295.     windowDef Unlock
  296.     {
  297.         matcolor    0, 0, 0, 0
  298.         notime    1
  299.         visible    0
  300.  
  301.         onTime 0 {
  302.             set "Contents::noevents" "1" ;
  303.             set "bglow2::visible" "0" ;
  304.             set "bglow::visible" "1" ;
  305.             transition "ContentsText::forecolor" "1 0.2 0 0.8" "1 0.2 0 0" "250" ;
  306.             transition "Logo1::matcolor" "0.4 0 0 0.6" "0.1 0.5 0.4 0.5" "500" ;
  307.             transition "Contents::rect" "0 96 640 290" "0 272 640 93" "500" "0.4" "0.5" ;
  308.             transition "Contentsbg::matcolor" "0.4 0 0 0.3" "0.2 0.4 0.3 0.3" "500" ;
  309.             transition "StatusText::forecolor" "1 0.01 0.01 0.7" "1 0.01 0.01 0" "500" ;
  310.             transition "StatusBar3Mid1::rect" "53 27 135 52" "53 27 87 52" "500" "0.4" "0.5" ;
  311.             transition "StatusBar3Mid2::rect" "452 27 135 52" "499 27 88 52" "500" "0.4" "0.5" ;
  312.             transition "StatusBar3Mid1::matcolor" "1 0.2 0 0.3" "0.6 0.8 0.7 0.3" "500" ;
  313.             transition "StatusBar3Mid2::matcolor" "1 0.2 0 0.3" "0.6 0.8 0.7 0.3" "500" ;
  314.             transition "StatusBar3Left::matcolor" "1 0.2 0 0.3" "0.6 0.8 0.7 0.3" "500" ;
  315.             transition "StatusBar3Right::matcolor" "1 0.2 0 0.3" "0.6 0.8 0.7 0.3" "500" ;
  316.             
  317.             transition "Bar1Right::matcolor" "0.8 0.7 0.7 0.3" "0.7 0.8 0.85 0.3" "500" ;
  318.             transition "bar1Mid::matcolor" "0.8 0.7 0.7 0.3" "0.7 0.8 0.85 0.3" "500" ;
  319.             transition "bar1Left::matcolor" "0.8 0.7 0.7 0.3" "0.7 0.8 0.85 0.3" "500" ;            
  320.             transition "bar2Right::matcolor" "0.8 0.7 0.7 0.3" "0.7 0.8 0.85 0.3" "500" ;
  321.             transition "bar2Mid::matcolor" "0.8 0.7 0.7 0.3" "0.7 0.8 0.85 0.3" "500" ;
  322.             transition "bar2Left::matcolor" "0.8 0.7 0.7 0.3" "0.7 0.8 0.85 0.3" "500" ;
  323.             
  324.             transition "ContentsBG::rect" "33 6 575 277" "33 6 575 80" "500" "0.4" "0.5" ;
  325.             transition "Contentscorner3::rect" "46 253 82 30" "46 58 82 30" "500" "0.4" "0.5" ;
  326.             transition "Contentscorner4::rect" "513 253 -82 30" "513 58 -82 30" "500" "0.4" "0.5" ;
  327.             transition "ContentsBottom::rect" "128 255 385 30" "128 60 385 30" "500" "0.4" "0.5" ;
  328.             transition "ContentsRight::rect" "513 35 -82 -218" "513 35 -82 -23" "500" "0.4" "0.5" ;
  329.             transition "ContentsLeft::rect" "46 35 82 -218" "46 35 82 -23" "500" "0.4" "0.5" ;
  330.         }
  331.  
  332.         onTime 400 {
  333.             transition "Logo2::matcolor" "1 1 1 1" "0.6 1 0.8 0.9" "300" ;
  334.         }
  335.  
  336.         onTime 500 {
  337.             transition "Statusbar2Left::matcolor" "1 1 1 0.5" "0.7 0.8 0.85 0.3" "400" ;
  338.             transition "Statusbar2Mid::matcolor" "1 1 1 0.5" "0.7 0.8 0.85 0.3" "400" ;
  339.             transition "Statusbar2Right::matcolor" "1 1 1 0.5" "0.7 0.8 0.85 0.3" "400" ;            
  340.             
  341.             transition "Statusbar1Left::matcolor" "1 1 1 0.5" "0.7 0.8 0.85 0.3" "400" ;
  342.             transition "Statusbar1Mid::matcolor" "1 1 1 0.5" "0.7 0.8 0.85 0.3" "400" ;
  343.             transition "Statusbar1Right::matcolor" "1 1 1 0.5" "0.7 0.8 0.85 0.3" "400" ;
  344.         }
  345.  
  346.         onTime 550 {
  347.             transition "ContentsText1::forecolor" "0.6 1 0.8 0" "0.6 1 0.8 0.6" "400" ;
  348.             set "StatusText::text" "ACTIVE" ;
  349.             transition "StatusText::forecolor" "1 1 1 0.8" "0.6 1 0.8 0.6" "400" ;
  350.         }
  351.  
  352.     }
  353.     windowDef Static
  354.     {
  355.         rect    -9,-10,-660,500
  356.         visible    1
  357.         background    "gui/static"
  358.         matcolor    1, 1, 1, pdhalffade[ time * 0.001 ] / 15
  359.     }
  360.     windowDef Outerglow
  361.     {
  362.         rect    0 ,0 ,-640 ,480
  363.         background    "guis/assets/common/outerglow"
  364.         matcolor    1 ,1 ,1 , pdflick [ time * .0025 ] / 6
  365.         visible    1
  366.     }
  367.     windowDef Outershadow
  368.     {
  369.         rect    0 ,0 ,-640 ,480
  370.         background    "guis/assets/common/outershadow"
  371.         matcolor    1 ,1 ,1 ,1
  372.         visible    1
  373.     }
  374.     windowDef Addhighlight
  375.     {
  376.         rect    0 ,0 ,-640 ,480
  377.         background    "gui/addhighlight"
  378.         matcolor    0.5 ,0.4 ,0.15 ,1
  379.         visible    1
  380.     }
  381.     windowDef scanlines1
  382.     {
  383.         rect    0,0,640,480
  384.         matcolor    0.1,0.1,0.1,1
  385.         background    "gui/test/gui_scanlines5"
  386.         visible    1
  387.         matscaley    2
  388.     }
  389.     windowDef Dirt
  390.     {
  391.         rect    0 ,0 ,-640 ,480
  392.         matcolor    1, 1, 1 ,0.3
  393.         visible    1
  394.         background    "guis/assets/common/dirt3"
  395.         noevents    1
  396.     }
  397. }