ingameForceHelp.menu 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. //--------------------------------------------------------------
  2. //
  3. // ERROR MENU
  4. //
  5. // Displays error messages
  6. //
  7. //--------------------------------------------------------------
  8. {
  9. menuDef
  10. {
  11. name "ingameForceHelp"
  12. visible 0
  13. fullscreen 0
  14. rect 140 70 350 375
  15. focusColor 1 1 1 1
  16. style WINDOW_STYLE_FILLED
  17. border 1
  18. popup
  19. outOfBoundsClick
  20. descX 240
  21. descY 425
  22. descScale 1
  23. descColor 1 .682 0 .8
  24. itemDef
  25. {
  26. name window
  27. rect 0 0 350 375
  28. style WINDOW_STYLE_FILLED
  29. backcolor .015 .015 .229 1
  30. forecolor 0 0 0 1
  31. border 1
  32. bordercolor .388 .396 .925 1
  33. bordersize 5
  34. visible 1
  35. decoration
  36. }
  37. itemDef
  38. {
  39. name instruction_title
  40. group inst_stuff
  41. type ITEM_TYPE_TEXT
  42. rect 0 25 350 18
  43. text @MENUS_HELP
  44. font 2
  45. forecolor .549 .854 1 1
  46. textscale 1
  47. textalign ITEM_ALIGN_CENTER
  48. textalignx 175
  49. visible 1
  50. decoration
  51. }
  52. itemDef
  53. {
  54. name instruction_text
  55. group inst_stuff
  56. type ITEM_TYPE_TEXTSCROLL
  57. rect 25 80 300 250
  58. text @MENUS_FORCE_UPGRADE_HELP
  59. font 4
  60. forecolor 1 1 1 1
  61. textscale 1.0
  62. textalign ITEM_ALIGN_LEFT
  63. visible 1
  64. decoration autowrapped
  65. textaligny 0
  66. lineHeight 13
  67. }
  68. itemDef
  69. {
  70. name button_glow
  71. group none
  72. style WINDOW_STYLE_SHADER
  73. rect 0 0 0 0
  74. background "gfx/menus/menu_buttonback"
  75. forecolor 1 1 1 1
  76. visible 0
  77. decoration
  78. }
  79. //--------------------------------------------------------------------------------
  80. // BUTTON
  81. //--------------------------------------------------------------------------------
  82. itemDef
  83. {
  84. name inst_done_button
  85. group inst_stuff
  86. style WINDOW_STYLE_EMPTY
  87. type ITEM_TYPE_BUTTON
  88. rect 0 315 350 18
  89. text @MENUS_OKAY
  90. descText @MENUS_HELP_DESC
  91. font 3
  92. textscale 1
  93. textaligny 0
  94. textalign ITEM_ALIGN_CENTER
  95. textstyle 1
  96. textalignx 175
  97. forecolor 1 .682 0 1
  98. visible 1
  99. mouseEnter
  100. {
  101. show button_glow
  102. setitemrect button_glow 230 384 170 30
  103. }
  104. mouseExit
  105. {
  106. hide button_glow
  107. }
  108. action
  109. {
  110. play "sound/misc/nomenu.wav"
  111. close ingameForceHelp
  112. // open ingameForceSelect
  113. }
  114. }
  115. }
  116. }