home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Inne / Gry / OpenArena / missionpack / mp-pak0.pk3 / ui / endofgame.menu < prev    next >
Encoding:
Text File  |  2008-02-23  |  9.7 KB  |  587 lines

  1. /*
  2. ===========================================================================
  3. Copyright (C) 2007 Open Arena Team
  4.  
  5. This file is part of Open Arena.
  6.  
  7. Open Arena is free software; you can redistribute it
  8. and/or modify it under the terms of the GNU General Public License as
  9. published by the Free Software Foundation; either version 2 of the License,
  10. or (at your option) any later version.
  11.  
  12. Open Arena is distributed in the hope that it will be
  13. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with Open Arena; if not, write to the Free Software
  19. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  20. ===========================================================================
  21. */
  22.  
  23. #include "ui/menudef.h"
  24.  
  25. {
  26. MenuDef    {
  27.     name endOfGame
  28.     visible 0
  29.     fullscreen 1
  30.     rect 0 0 640 480
  31.     background MP_BACKGROUND
  32.     focuscolor MP_FOCUSCOLOR
  33.     onClose { uiScript updateSPMenu; }
  34.     onEsc { close endOfGame; open skirmish; }
  35.     onOpen { close ingame; }
  36.  
  37. itemDef    {
  38.     name next
  39.     text "Next"
  40.     textstyle 6
  41.     textscale .25
  42.     type ITEM_TYPE_BUTTON
  43.     rect 450 50 20 10
  44.     textalign 0
  45.     textaligny 10
  46.     forecolor MP_TEXTCOLOR
  47.     backcolor 0 0 0 0
  48.     visible 1
  49.     action { uiScript nextSkirmish; close endOfGame; close main }
  50.     }
  51.  
  52. itemDef    {
  53.     name tomain
  54.     text "Back"
  55.     textstyle 6
  56.     textscale .25
  57.     type ITEM_TYPE_BUTTON
  58.     rect 295 50 20 10
  59.     textalign 0
  60.     textaligny 10
  61.     forecolor MP_TEXTCOLOR
  62.     backcolor 0 0 0 0
  63.     visible 1
  64.     action    {
  65.         close endofgame;
  66.         open skirmish;
  67.         }
  68.     }
  69.  
  70. itemDef    {
  71.     name playagain
  72.     text "Replay"
  73.     textstyle 6
  74.     textscale .25
  75.     type ITEM_TYPE_BUTTON
  76.     rect 140 50 20 10
  77.     textalign 0
  78.     textaligny 10
  79.     forecolor MP_TEXTCOLOR
  80.     backcolor 0 0 0 0
  81.     visible 1
  82.     action {
  83.         close endofgame;
  84.         close skirmish;
  85.         uiScript skirmishStart;
  86.         }
  87.     }
  88.  
  89. itemDef    {
  90.     name title
  91.     text "SCORES"
  92.     rect 320 125 128 10
  93.     textstyle 6
  94.     textscale .5
  95.     textalign 1
  96.     textaligny 10
  97.     forecolor 1 1 1 1
  98.     backcolor 0 0 0 0
  99.     decoration
  100.     visible 1
  101.     }
  102.  
  103. itemDef    {
  104.     name mapshit
  105.     type 4
  106.     text "Map: "
  107.     cvar "ui_scoremap"
  108.     rect 270 160 128 10
  109.     textscale .2
  110.     textstyle 6
  111.     textalign 0
  112.     textaligny 10
  113.     forecolor 1 1 1 1
  114.     backcolor 0 0 0 0
  115.     decoration
  116.     visible 1
  117.     }
  118.  
  119. itemDef    {
  120.     name fraglimit
  121.     type 4
  122.     text "Frag limit: "
  123.     cvar "ui_fraglimit"
  124.     ownerdrawflag UI_SHOW_ANYNONTEAMGAME
  125.     rect 270 180 128 10
  126.     textscale .2
  127.     textstyle 6
  128.     textalign 0
  129.     textaligny 10
  130.     forecolor 1 1 1 1
  131.     backcolor 0 0 0 0
  132.     decoration
  133.     visible 1
  134.     }
  135.  
  136. itemDef    {
  137.     name caplimit
  138.     type 4
  139.     text "Capture limit: "
  140.     cvar "ui_capturelimit"
  141.     ownerdrawflag UI_SHOW_ANYTEAMGAME
  142.     rect 270 180 128 10
  143.     textscale .2
  144.     textstyle 6
  145.     textalign 0
  146.     textaligny 10
  147.     forecolor 1 1 1 1
  148.     backcolor 0 0 0 0
  149.     decoration
  150.     visible 1
  151.     }
  152.  
  153. itemDef    {
  154.     name time
  155.     text "Time to Beat: "
  156.     ownerdraw UI_MAP_TIMETOBEAT
  157.     rect 270 200 128 10
  158.     textscale .2
  159.     textstyle 6
  160.     textalign 0
  161.     textaligny 10
  162.     forecolor 1 1 1 1
  163.     backcolor 0 0 0 0
  164.     decoration
  165.     visible 1
  166.     }
  167.  
  168. itemDef    {
  169.     name skill
  170.     type 9
  171.     text "Skill: "
  172.     cvar "g_spSkill"
  173.     rect 270 220 128 10
  174.     textscale .2
  175.     textstyle 6
  176.     textalign 0
  177.     textaligny 10
  178.     forecolor 1 1 1 1
  179.     backcolor 0 0 0 0
  180.     decoration
  181.     visible 1
  182.     }
  183.  
  184. itemDef    {
  185.     name gscore
  186.     type 9
  187.     text "Map Score: "
  188.     cvar "ui_scoreTeam2"
  189.     rect 270 260 128 10
  190.     textscale .2
  191.     textstyle 6
  192.     textalign 0
  193.     textaligny 10
  194.     forecolor 1 1 1 1
  195.     backcolor 0 0 0 0
  196.     decoration
  197.     visible 1
  198.     }
  199.  
  200. itemDef    {
  201.     name gtime
  202.     type 9
  203.     text "Time: "
  204.     cvar "ui_scoreTime2"
  205.     rect 270 280 128 10
  206.     textscale .2
  207.     textstyle 6
  208.     textalign 0
  209.     textaligny 10
  210.     forecolor 1 1 1 1
  211.     backcolor 0 0 0 0
  212.     decoration
  213.     visible 1
  214.     }
  215.  
  216. itemDef    {
  217.     name bscore
  218.     type 9
  219.     text "Score: "
  220.     cvar "ui_scoreBase2"
  221.     rect 270 300 128 10
  222.     textscale .2
  223.     textstyle 6
  224.     textalign 0
  225.     textaligny 10
  226.     forecolor 1 1 1 1
  227.     backcolor 0 0 0 0
  228.     decoration
  229.     visible 1
  230.     }
  231.  
  232. itemDef    {
  233.     name tbonus
  234.     type 9
  235.     text "Time Bonus: "
  236.     cvar "ui_scoreTimeBonus2"
  237.     rect 270 320 128 10
  238.     textscale .2
  239.     textstyle 6
  240.     textalign 0
  241.     textaligny 10
  242.     forecolor 1 1 1 1
  243.     backcolor 0 0 0 0
  244.     decoration
  245.     visible 1
  246.     }
  247.  
  248. itemDef    {
  249.     name sobonus
  250.     type 9
  251.     text "Shutout Bonus: "
  252.     cvar "ui_scoreShutoutBonus2"
  253.     rect 270 340 128 10
  254.     textscale .2
  255.     textstyle 6
  256.     textalign 0
  257.     textaligny 10
  258.     forecolor 1 1 1 1
  259.     backcolor 0 0 0 0
  260.     decoration
  261.     visible 1
  262.     }
  263.  
  264. itemDef    {
  265.     name skbonus
  266.     type 9
  267.     text "Skill Bonus"
  268.     cvar "ui_scoreSkillBonus2"
  269.     rect 270 360 128 10
  270.     textscale .2
  271.     textstyle 6
  272.     textalign 0
  273.     textaligny 10
  274.     forecolor 1 1 1 1
  275.     backcolor 0 0 0 0
  276.     decoration
  277.     visible 1
  278.     }
  279.  
  280. itemDef    {
  281.     name ascore
  282.     type 9
  283.     text "Total Score: "
  284.     cvar "ui_scoreScore2"
  285.     rect 270 380 128 10
  286.     textscale .2
  287.     textstyle 6
  288.     textalign 0
  289.     textaligny 10
  290.     forecolor 1 1 1 1
  291.     backcolor 0 0 0 0
  292.     decoration
  293.     visible 1
  294.     }
  295.  
  296. itemDef    {
  297.     name newhighscoreshit
  298.     text "New High Score"
  299.     ownerdrawflag UI_SHOW_NEWHIGHSCORE
  300.     rect 320 80 128 10
  301.     textscale .3
  302.     textstyle 1
  303.     textalign 1
  304.     textaligny 10
  305.     forecolor 1 0.847 0 0.7
  306.     decoration
  307.     visible 1
  308.     }
  309.  
  310. itemDef    {
  311.     name assist
  312.     style 3
  313.     background "ui/assets/medal_assist.tga"
  314.     ownerdrawflag UI_SHOW_ANYTEAMGAME
  315.     rect 150 130 25 25
  316.     type 1
  317.     border 1
  318.     bordercolor MP_BOX_BORDER
  319.     visible 1
  320.     mouseenter { setcolor forecolor 1 1 1 1; }
  321.     mouseexit { setcolor forecolor 1 1 1 0; }
  322.     action    {
  323.         exec "play sound/feedback/assist.wav"
  324.         }
  325.     }
  326.  
  327. itemDef    {
  328.     name perfect
  329.     style 3
  330.     background "ui/assets/medal_perfect.tga"
  331.     ownerdrawflag UI_SHOW_ANYNONTEAMGAME
  332.     rect 150 130 25 25
  333.     type 1
  334.     border 1
  335.     bordercolor MP_BOX_BORDER
  336.     visible 1
  337.     action    {
  338.         exec "play sound/feedback/perfect.wav"
  339.         }
  340.     }
  341.  
  342. itemDef    {
  343.     name tsissa
  344.     type 4
  345.     style 3
  346.     background "ui/assets/medal_assist.tga"
  347.     ownerdrawflag UI_SHOW_ANYTEAMGAME
  348.     cvar "ui_scoreAssists2"
  349.     text ""
  350.     textscale .2
  351.     forecolor 1 1 1 1
  352.     textalign 1
  353.     textalignx 13
  354.     textaligny 35
  355.     rect 150 130 25 25
  356.     border 1
  357.     bordercolor MP_BOX_BORDER
  358.     visible 1
  359.     action    {
  360.         exec "play sound/feedback/assist.wav"
  361.         }
  362.     }
  363.  
  364. itemDef    {
  365.     name tcefrep
  366.     type 4
  367.     style 3
  368.     background "ui/assets/medal_perfect.tga"
  369.     ownerdrawflag UI_SHOW_ANYNONTEAMGAME
  370.     cvar "ui_scorePerfect2"
  371.     text ""
  372.     textscale .2
  373.     forecolor 1 1 1 1
  374.     textalign 1
  375.     textalignx 13
  376.     textaligny 35
  377.     rect 150 130 25 25
  378.     border 1
  379.     bordercolor MP_BOX_BORDER
  380.     visible 1
  381.     action    {
  382.         exec "play sound/feedback/perfect.wav"
  383.         }
  384.     }
  385.  
  386. itemDef    {
  387.     name accuracy
  388.     style 3
  389.     background "ui/assets/medal_accuracy.tga"
  390.     rect 150 170 25 25
  391.     type 1
  392.     border 1
  393.     bordercolor MP_BOX_BORDER
  394.     visible 1
  395.     action    {
  396.         exec "play sound/feedback/accuracy.wav"
  397.         }
  398.     }
  399.  
  400. itemDef    {
  401.     name ycarucca
  402.     type 4
  403.     style 3
  404.     background "ui/assets/medal_accuracy.tga"
  405.     rect 150 170 25 25
  406.     cvar "ui_scoreAccuracy2"
  407.     text ""
  408.     forecolor 1 1 1 1
  409.     textscale .2
  410.     textalign 1
  411.     textalignx 13
  412.     textaligny 35
  413.     border 1
  414.     bordercolor MP_BOX_BORDER
  415.     visible 1
  416.     action    {
  417.         exec "play sound/feedback/accuracy.wav"
  418.         }
  419.     }
  420.  
  421. itemDef    {
  422.     name ehxcsellent
  423.     style 3
  424.     background "ui/assets/medal_excellent.tga"
  425.     rect 150 210 25 25
  426.     type 1
  427.     border 1
  428.     bordercolor MP_BOX_BORDER
  429.     visible 1
  430.     mouseenter { setcolor forecolor 1 1 1 1; }
  431.     action    {
  432.         exec "play sound/feedback/excellent.wav"
  433.         }
  434.     }
  435.  
  436. itemDef    {
  437.     name tnellescxhe
  438.     type 4
  439.     style 3
  440.     background "ui/assets/medal_excellent.tga"
  441.     rect 150 210 25 25
  442.     cvar "ui_scoreExcellents2"
  443.     text ""
  444.     forecolor 1 1 1 1
  445.     textscale .2
  446.     textalign 1
  447.     textalignx 13
  448.     textaligny 35
  449.     border 1
  450.     bordercolor MP_BOX_BORDER
  451.     visible 1
  452.     action    {
  453.         exec "play sound/feedback/excellent.wav"
  454.         }
  455.     }
  456.  
  457. itemDef    {
  458.     name gauntlet
  459.     style 3
  460.     background "ui/assets/medal_gauntlet.tga"
  461.     rect 150 250 25 25
  462.     type 1
  463.     border 1
  464.     bordercolor MP_BOX_BORDER
  465.     visible 1
  466.     action    {
  467.         exec "play sound/feedback/gauntlet.wav"
  468.         }
  469.     }
  470.  
  471. itemDef    {
  472.     name teltnuag
  473.     type 4
  474.     style 3
  475.     background "ui/assets/medal_gauntlet.tga"
  476.     rect 150 250 25 25
  477.     cvar "ui_scoreGauntlets2"
  478.     text ""
  479.     forecolor 1 1 1 1    
  480.     textscale .2
  481.     textalign 1
  482.     textalignx 13
  483.     textaligny 35
  484.     border 1
  485.     bordercolor MP_BOX_BORDER
  486.     visible 1
  487.     action    {
  488.         exec "play sound/feedback/gauntlet.wav"
  489.         }
  490.     }
  491.  
  492. itemDef    {
  493.     name impressive
  494.     style 3
  495.     background "ui/assets/medal_impressive.tga"
  496.     rect 150 290 25 25
  497.     type 1
  498.     border 1
  499.     bordercolor MP_BOX_BORDER
  500.     visible 1
  501.     action    {
  502.         exec "play sound/feedback/impressive.wav"
  503.         }
  504.     }
  505.  
  506. itemDef    {
  507.     name evisserpmi
  508.     type 4
  509.     style 3
  510.     background "ui/assets/medal_impressive.tga"
  511.     rect 150 290 25 25
  512.     cvar "ui_scoreImpressives2"
  513.     text ""
  514.     textscale .2
  515.     forecolor 1 1 1 1
  516.     textalign 1
  517.     textalignx 13
  518.     textaligny 35
  519.     border 1
  520.     bordercolor MP_BOX_BORDER
  521.     visible 1
  522.     action    {
  523.         exec "play sound/feedback/impressive.wav"
  524.         }
  525.     }
  526.  
  527. itemDef    {
  528.     name defense
  529.     style 3
  530.     background "ui/assets/medal_defend.tga"
  531.     ownerdrawflag UI_SHOW_ANYTEAMGAME
  532.     rect 150 330 25 25
  533.     type 1
  534.     border 1
  535.     bordercolor MP_BOX_BORDER
  536.     visible 1
  537.     action    {
  538.         exec "play sound/feedback/defense.wav"
  539.         }
  540.     }
  541.  
  542. itemDef    {
  543.     name esnefed
  544.     type 4
  545.     style 3
  546.     background "ui/assets/medal_defend.tga"
  547.     ownerdrawflag UI_SHOW_ANYTEAMGAME
  548.     rect 150 330 25 25
  549.     cvar "ui_scoreDefends2"
  550.     text ""
  551.     forecolor 1 1 1 1
  552.     textscale .2
  553.     textalign 1
  554.     textalignx 13
  555.     textaligny 35
  556.     border 1
  557.     bordercolor MP_BOX_BORDER
  558.     visible 1
  559.     action    {
  560.         exec "play sound/feedback/defense.wav"
  561.         }
  562.     }
  563.  
  564. itemDef    {
  565.     name capture
  566.     type 4
  567.     style 3
  568.     background "ui/assets/medal_capture.tga"
  569.     ownerdrawflag UI_SHOW_ANYTEAMGAME
  570.     rect 150 370 25 25
  571.     cvar "ui_scoreCaptures2"
  572.     text ""
  573.     textscale .2
  574.     forecolor 1 1 1 1
  575.     textalign 1
  576.     textalignx 13
  577.     textaligny 35
  578.     border 1
  579.     bordercolor MP_BOX_BORDER
  580.     visible 1
  581.     }
  582.  
  583.  
  584. }
  585. }
  586.  
  587.