home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / ui / hud_compass.urc < prev    next >
Encoding:
Text File  |  2002-10-21  |  3.3 KB  |  150 lines

  1. menu "hud_compass" 128 128 NONE 1
  2. bgcolor 0 0 0 0
  3. fgcolor 1 1 1 1
  4. align left top
  5. virtualres 1
  6. scalecvar ui_compass_scale
  7.  
  8. //==================================================
  9. // Compass Base
  10.  
  11. resource
  12. Label
  13. {
  14. name "compassbase"
  15. rect 0 0 128 128
  16. fgcolor 1.00 1.00 1.00 1.00
  17. bgcolor 0.50 0.50 0.50 0.00
  18. borderstyle "NONE"
  19. shader textures/hud/compassback
  20. }
  21.  
  22. resource
  23. Label
  24. {
  25. name "compassface"
  26. rect 0 0 128 128
  27. fgcolor 1.00 1.00 1.00 1.00
  28. bgcolor 0.50 0.50 0.50 0.00
  29. borderstyle "NONE"
  30. statbar compass
  31. playerstat 16 // north direction
  32. statbar_shader textures/hud/compassface
  33. }
  34.  
  35. //==================================================
  36. // Damage Indicator
  37.  
  38. resource
  39. Label
  40. {
  41. name "compassbase"
  42. rect 0 0 128 128
  43. fgcolor 1.00 1.00 1.00 1.00
  44. bgcolor 0.50 0.50 0.50 0.00
  45. borderstyle "NONE"
  46. //shader textures/hud/compassback
  47. //statbar spinner 0 360
  48. //statbar_endangles 0 360
  49. statbar headingspinner 0 3600
  50. statbar_endangles -180 180
  51. playerstat 29 // damage direction
  52. //statbar_shader textures/hud/compasspain
  53. statbar_shader textures/hud/compasspainblank
  54. statbar_shader_flash textures/hud/compasspain
  55. }
  56.  
  57. //==================================================
  58. // Objective Direction
  59.  
  60. resource
  61. Label
  62. {
  63. name "objarrow"
  64. //rect 18 42 92 64 // this makes it match the compass base
  65. //rect 18 32 92 64 // this makes it match the compass top
  66. //rect 15.5 14 100 100 // this makes it match the compass top
  67. rect 0 0 128 128
  68. fgcolor 1.00 1.00 1.00 1.00
  69. bgcolor 0.00 0.00 0.00 0.00
  70. borderstyle "NONE"
  71. playerstat 19 // objective center
  72. //statbar needle 0 360
  73. //statbar_needlewidth 5.5
  74. //statbar rotator 0 3600
  75. statbar spinner 0 3600
  76. //statbar_endangles 0 3600
  77. //statbar_rotatorsize 3.5 2
  78. //statbar_rotatorsize 2.5 2.5
  79. statbar_endangles -180 180
  80. //statbar_shader textures/hud/compassobjball
  81. statbar_shader textures/hud/compassobjarrow
  82. }
  83.  
  84. resource
  85. Label
  86. {
  87. name "firstobjball"
  88. //rect 18 42 92 64 // this makes it match the compass base
  89. //rect 18 32 92 64 // this makes it match the compass top
  90. rect 15.5 14 100 100 // this makes it match the compass top
  91. fgcolor 1.00 1.00 1.00 1.00
  92. bgcolor 0.00 0.00 0.00 0.00
  93. borderstyle "NONE"
  94. playerstat 17 // objective leftball
  95. //statbar needle 0 360
  96. //statbar_needlewidth 5.5
  97. statbar rotator 0 3600
  98. //statbar_rotatorsize 3.5 2
  99. statbar_rotatorsize 2.5 2.5
  100. statbar_endangles -180 180
  101. statbar_shader textures/hud/compassobjball
  102. }
  103.  
  104. resource
  105. Label
  106. {
  107. name "secondobjball"
  108. //rect 18 42 92 64 // this makes it match the compass base
  109. //rect 18 32 92 64 // this makes it match the compass top
  110. rect 15.5 14 100 100 // this makes it match the compass top
  111. fgcolor 1.00 1.00 1.00 1.00
  112. bgcolor 0.00 0.00 0.00 0.00
  113. borderstyle "NONE"
  114. playerstat 18 // objective rightball
  115. //statbar needle 0 360
  116. //statbar_needlewidth 5.5
  117. statbar rotator 0 3600
  118. //statbar_rotatorsize 3.5 2
  119. statbar_rotatorsize 2.5 2.5
  120. statbar_endangles -180 180
  121. statbar_shader textures/hud/compassobjball
  122. }
  123.  
  124. //==================================================
  125. // Compass Needle
  126.  
  127. resource
  128. Label
  129. {
  130. name "Default"
  131. rect 0 0 128 128
  132. fgcolor 1.00 1.00 1.00 1.00
  133. bgcolor 0.50 0.50 0.50 0.00
  134. borderstyle "NONE"
  135. shader textures/hud/compassneedle
  136. }
  137.  
  138. //==================================================
  139.  
  140. resource
  141. Radar
  142. {
  143. rect 16 16 96 96
  144. fgcolor 1.00 1.00 1.00 1.00
  145. bgcolor 0.00 0.00 0.00 0.00
  146. borderstyle "NONE"
  147. }
  148.  
  149. end.
  150.