Advertisement
QuestSolver

HUD status bars,ini (for HSBE)

Dec 28th, 2016
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.35 KB | None | 0 0
  1. ; HUD status bars.ini
  2. ; =====================
  3. ;
  4. ; Version: 5.3.2
  5. ; Author: Ole Boe / TheNiceOne
  6. ;
  7. ; =================== Individual HUD status bars Settings for vanilla style
  8.  
  9. ; To use a status bar, edit the lines for the bar the following way:
  10. ; * tnoHSB.hud_color: Bar color. Can be either a number, a script variable or a function. If the result is 0, the entire bar is hidden.
  11. ; * tnoHSB.hud_val: A script variable or function that calculates the value that is displayed in the bar
  12. ; * tnoHSB.hud_max: Set the max threshold for val that makes the bar full. Either a number, a script variable or a function.
  13. ; SetStage tnoHSB 10 Creates the bar. Must be the last line for each bar
  14.  
  15. ; There are also more advanced settings to use, but the three above are the only three mandatory for each bar.
  16. ; The advanced settings are described in the user guide, and some of them used in the settings for Status bars below
  17. ; There are many examples at the bottom of this file. Just copy / paste to use them - but remove the at ; the start of the lines.
  18.  
  19.  
  20.  
  21. ; ==== Display current Weapon charge. Color is cyan, but changes gradually as charge get lower.
  22.  
  23. set tnoHSB.hud_color to sv_Construct "HUDcolorCyan"
  24. set tnoHSB.hud_val to sv_Construct "##P$GetWeaponChargeCur" ;Set val to current charge of player's equipped weapon
  25. set tnoHSB.hud_max to sv_Construct "P$GetWeaponChargeMax" ;Get object charge (max charge) of the current equipped weapon
  26. set tnoHSB.hud_type to HUDbarVertical
  27. set tnoHSB.hud_direction to HUDdirTop
  28. set tnoHSB.hud_visible to sv_Construct "Player.IsInCombat || Player.IsWeaponOut || tnoHSB.bFunctionKeyPressed || (tnoHSB.frac <= 0.50)"
  29. set tnoHSB.hud_visible_time to 10
  30. ;set tnoHSB.hud_blink to sv_construct "0.5#0.25 * (tnoHSB.frac <= 0.30)"
  31. set tnoHSB.hud_fade_in to 1
  32. set tnoHSB.hud_fade_out to 1
  33. set tnoHSB.hud_popup_in to 1
  34. set tnoHSB.hud_popup_out to 1
  35. set tnoHSB.hud_popup_dirin to HUDbarsBelow
  36. set tnoHSB.hud_popup_dirout to HUDbarsBelow
  37. set tnoHSB.hud_x to 0
  38. set tnoHSB.hud_y to 45
  39. set tnoHSB.hud_size to 150
  40. set tnoHSB.hud_textDisplay to HUDtxtNoValue
  41.  
  42. SetStage tnoHSB 10
  43.  
  44.  
  45.  
  46. ;===Summon ======= Up to 3 summon at same time
  47. ; Display health of summon 1
  48. set tnoHSB.hud_ref to sv_Construct "hud_summon 1"
  49. set tnoHSB.hud_type to HUDbarRefIcon
  50. set tnoHSB.hud_x to 72
  51. set tnoHSB.hud_y to 10
  52. set tnoHSB.hud_fade_in to 0.25
  53. set tnoHSB.hud_fade_out to 1
  54. set tnoHSB.hud_popup_in to 0.25
  55. set tnoHSB.hud_popup_out to 1
  56. set tnoHSB.hud_popup_dirin to HUDbarsRight
  57. set tnoHSB.hud_popup_dirout to HUDbarsRight
  58. set tnoHSB.hud_updateInterval to 0.25
  59.  
  60. setStage tnoHSB 10
  61.  
  62. set tnoHSB.hud_ref to sv_Construct "hud_summon 1"
  63. set tnoHSB.hud_val to sv_Construct "##$GetHealthCur"
  64. set tnoHSB.hud_max to sv_Construct "$GetHealthMax2"
  65. set tnoHSB.hud_type to HUDbarSmall
  66. set tnoHSB.hud_color_min to HUDcolorRed
  67. set tnoHSB.hud_color_max to HUDcolorGreen
  68. set tnoHSB.hud_size to 124
  69. set tnoHSB.hud_x to HUDprevBarLeft
  70. set tnoHSB.hud_y to HUDprevBar
  71. set tnoHSB.hud_y_adjust to 3
  72. set tnoHSB.hud_fade_in to 0.25
  73. set tnoHSB.hud_fade_out to 1
  74. set tnoHSB.hud_popup_in to 0.25
  75. set tnoHSB.hud_popup_out to 1
  76. set tnoHSB.hud_popup_dirin to HUDbarsRight
  77. set tnoHSB.hud_popup_dirout to HUDbarsRight
  78. set tnoHSB.hud_name to sv_Construct "hud_ref"
  79. set tnoHSB.hud_textColor to sv_Construct "7"
  80. set tnoHSB.hud_textShadowColor to sv_Construct "15"
  81. set tnoHSB.hud_textPos_x to HUDtxtRight
  82. set tnoHSB.hud_textPos_y to HUDtxtBelow
  83. set tnoHSB.hud_textAdjust_y to 6
  84. set tnoHSB.hud_updateInterval to 0.25
  85.  
  86. setStage tnoHSB 10
  87.  
  88.  
  89. ; Display health of summon 2
  90. set tnoHSB.hud_ref to sv_Construct "hud_summon 2"
  91. set tnoHSB.hud_type to HUDbarRefIcon
  92. set tnoHSB.hud_x to 72
  93. set tnoHSB.hud_y to 16
  94. set tnoHSB.hud_fade_in to 0.25
  95. set tnoHSB.hud_fade_out to 1
  96. set tnoHSB.hud_popup_in to 0.25
  97. set tnoHSB.hud_popup_out to 1
  98. set tnoHSB.hud_popup_dirin to HUDbarsRight
  99. set tnoHSB.hud_popup_dirout to HUDbarsRight
  100. set tnoHSB.hud_updateInterval to 0.25
  101.  
  102. setStage tnoHSB 10
  103.  
  104. set tnoHSB.hud_ref to sv_Construct "hud_summon 2"
  105. set tnoHSB.hud_val to sv_Construct "##$GetHealthCur"
  106. set tnoHSB.hud_max to sv_Construct "$GetHealthMax2"
  107. set tnoHSB.hud_type to HUDbarSmall
  108. set tnoHSB.hud_color_min to HUDcolorRed
  109. set tnoHSB.hud_color_max to HUDcolorGreen
  110. set tnoHSB.hud_size to 124
  111. set tnoHSB.hud_x to HUDprevBarLeft
  112. set tnoHSB.hud_y to HUDprevBar
  113. set tnoHSB.hud_y_adjust to 3
  114. set tnoHSB.hud_fade_in to 0.25
  115. set tnoHSB.hud_fade_out to 1
  116. set tnoHSB.hud_popup_in to 0.25
  117. set tnoHSB.hud_popup_out to 1
  118. set tnoHSB.hud_popup_dirin to HUDbarsRight
  119. set tnoHSB.hud_popup_dirout to HUDbarsRight
  120. set tnoHSB.hud_name to sv_Construct "hud_ref"
  121. set tnoHSB.hud_textColor to sv_Construct "7"
  122. set tnoHSB.hud_textShadowColor to sv_Construct "15"
  123. set tnoHSB.hud_textPos_x to HUDtxtRight
  124. set tnoHSB.hud_textPos_y to HUDtxtBelow
  125. set tnoHSB.hud_textAdjust_y to 6
  126. set tnoHSB.hud_updateInterval to 0.25
  127.  
  128. setStage tnoHSB 10
  129.  
  130. ; Display health of summon 3
  131. set tnoHSB.hud_ref to sv_Construct "hud_summon 3"
  132. set tnoHSB.hud_type to HUDbarRefIcon
  133. set tnoHSB.hud_x to 72
  134. set tnoHSB.hud_y to 22
  135. set tnoHSB.hud_fade_in to 0.25
  136. set tnoHSB.hud_fade_out to 1
  137. set tnoHSB.hud_popup_in to 0.25
  138. set tnoHSB.hud_popup_out to 1
  139. set tnoHSB.hud_popup_dirin to HUDbarsRight
  140. set tnoHSB.hud_popup_dirout to HUDbarsRight
  141. set tnoHSB.hud_updateInterval to 0.25
  142.  
  143. setStage tnoHSB 10
  144.  
  145. set tnoHSB.hud_ref to sv_Construct "hud_summon 3"
  146. set tnoHSB.hud_val to sv_Construct "##$GetHealthCur"
  147. set tnoHSB.hud_max to sv_Construct "$GetHealthMax2"
  148. set tnoHSB.hud_type to HUDbarSmall
  149. set tnoHSB.hud_color_min to HUDcolorRed
  150. set tnoHSB.hud_color_max to HUDcolorGreen
  151. set tnoHSB.hud_size to 124
  152. set tnoHSB.hud_x to HUDprevBarLeft
  153. set tnoHSB.hud_y to HUDprevBar
  154. set tnoHSB.hud_y_adjust to 3
  155. set tnoHSB.hud_fade_in to 0.25
  156. set tnoHSB.hud_fade_out to 1
  157. set tnoHSB.hud_popup_in to 0.25
  158. set tnoHSB.hud_popup_out to 1
  159. set tnoHSB.hud_popup_dirin to HUDbarsRight
  160. set tnoHSB.hud_popup_dirout to HUDbarsRight
  161. set tnoHSB.hud_name to sv_Construct "hud_ref"
  162. set tnoHSB.hud_textColor to sv_Construct "7"
  163. set tnoHSB.hud_textShadowColor to sv_Construct "15"
  164. set tnoHSB.hud_textPos_x to HUDtxtRight
  165. set tnoHSB.hud_textPos_y to HUDtxtBelow
  166. set tnoHSB.hud_textAdjust_y to 6
  167. set tnoHSB.hud_updateInterval to 0.25
  168.  
  169. setStage tnoHSB 10
  170.  
  171.  
  172.  
  173. ; ==== Followers ==========Up to 4 =================================
  174. ; Display health of follower 0
  175. set tnoHSB.hud_ref to sv_Construct "GetNthFollower 0"
  176. set tnoHSB.hud_type to 1
  177. set tnoHSB.hud_custom to sv_Construct "Misc\talk"
  178. set tnoHSB.hud_x to 99
  179. set tnoHSB.hud_y to 28
  180. ;set tnoHSB.hud_y_adjust to -48
  181. set tnoHSB.hud_fade_in to 0.25
  182. set tnoHSB.hud_fade_out to 1
  183. set tnoHSB.hud_popup_in to 0.25
  184. set tnoHSB.hud_popup_out to 1
  185. set tnoHSB.hud_popup_dirin to HUDbarsBelow
  186. set tnoHSB.hud_popup_dirout to HUDbarsBelow
  187. set tnoHSB.hud_updateInterval to 1
  188.  
  189. setStage tnoHSB 10
  190.  
  191. set tnoHSB.hud_ref to sv_Construct "GetNthFollower 0"
  192. set tnoHSB.hud_val to sv_Construct "##$GetHealthCur"
  193. set tnoHSB.hud_max to sv_Construct "$GetHealthMax"
  194. set tnoHSB.hud_type to HUDbarSmall
  195. set tnoHSB.hud_color_min to HUDcolorRed
  196. set tnoHSB.hud_color_max to HUDcolorGreen
  197. set tnoHSB.hud_size to 124
  198. set tnoHSB.hud_x to 99
  199. set tnoHSB.hud_y to HUDprevBarBelow
  200. set tnoHSB.hud_y_adjust to 3
  201. set tnoHSB.hud_fade_in to 0.25
  202. set tnoHSB.hud_fade_out to 1
  203. set tnoHSB.hud_popup_in to 0.25
  204. set tnoHSB.hud_popup_out to 1
  205. set tnoHSB.hud_popup_dirin to HUDbarsBelow
  206. set tnoHSB.hud_popup_dirout to HUDbarsBelow
  207. set tnoHSB.hud_name to sv_Construct "hud_ref"
  208. set tnoHSB.hud_textColor to sv_Construct "7"
  209. set tnoHSB.hud_textShadowColor to sv_Construct "15"
  210. set tnoHSB.hud_textPos_x to HUDtxtRight
  211. set tnoHSB.hud_textPos_y to HUDtxtBelow
  212. set tnoHSB.hud_textAdjust_y to 6
  213. set tnoHSB.hud_updateInterval to 1
  214.  
  215. setStage tnoHSB 10
  216.  
  217. ; Display health of follower 1
  218. set tnoHSB.hud_ref to sv_Construct "GetNthFollower 1"
  219. set tnoHSB.hud_type to 1
  220. set tnoHSB.hud_custom to sv_Construct "Misc\talk"
  221. set tnoHSB.hud_x to 99
  222. set tnoHSB.hud_y to HUDprevBarBelow
  223. ;set tnoHSB.hud_y_adjust to -48
  224. set tnoHSB.hud_fade_in to 0.25
  225. set tnoHSB.hud_fade_out to 1
  226. set tnoHSB.hud_popup_in to 0.25
  227. set tnoHSB.hud_popup_out to 1
  228. set tnoHSB.hud_popup_dirin to HUDbarsRight
  229. set tnoHSB.hud_popup_dirout to HUDbarsRight
  230. set tnoHSB.hud_updateInterval to 1
  231.  
  232. setStage tnoHSB 10
  233.  
  234. set tnoHSB.hud_ref to sv_Construct "GetNthFollower 1"
  235. set tnoHSB.hud_val to sv_Construct "##$GetHealthCur"
  236. set tnoHSB.hud_max to sv_Construct "$GetHealthMax"
  237. set tnoHSB.hud_type to HUDbarSmall
  238. set tnoHSB.hud_color_min to HUDcolorRed
  239. set tnoHSB.hud_color_max to HUDcolorGreen
  240. set tnoHSB.hud_size to 124
  241. set tnoHSB.hud_x to 99
  242. set tnoHSB.hud_y to HUDprevBarBelow
  243. set tnoHSB.hud_y_adjust to 3
  244. set tnoHSB.hud_fade_in to 0.25
  245. set tnoHSB.hud_fade_out to 1
  246. set tnoHSB.hud_popup_in to 0.25
  247. set tnoHSB.hud_popup_out to 1
  248. set tnoHSB.hud_popup_dirin to HUDbarsBelow
  249. set tnoHSB.hud_popup_dirout to HUDbarsBelow
  250. set tnoHSB.hud_name to sv_Construct "hud_ref"
  251. set tnoHSB.hud_textColor to sv_Construct "7"
  252. set tnoHSB.hud_textShadowColor to sv_Construct "15"
  253. set tnoHSB.hud_textPos_x to HUDtxtRight
  254. set tnoHSB.hud_textPos_y to HUDtxtBelow
  255. set tnoHSB.hud_textAdjust_y to 6
  256. set tnoHSB.hud_updateInterval to 1
  257.  
  258. setStage tnoHSB 10
  259.  
  260. ; Display health of follower 2
  261. set tnoHSB.hud_ref to sv_Construct "GetNthFollower 2"
  262. set tnoHSB.hud_type to 1
  263. set tnoHSB.hud_custom to sv_Construct "Misc\talk"
  264. set tnoHSB.hud_x to 99
  265. set tnoHSB.hud_y to HUDprevBarBelow
  266. ;set tnoHSB.hud_y_adjust to -48
  267. set tnoHSB.hud_fade_in to 0.25
  268. set tnoHSB.hud_fade_out to 1
  269. set tnoHSB.hud_popup_in to 0.25
  270. set tnoHSB.hud_popup_out to 1
  271. set tnoHSB.hud_popup_dirin to HUDbarsRight
  272. set tnoHSB.hud_popup_dirout to HUDbarsRight
  273. set tnoHSB.hud_updateInterval to 1
  274.  
  275. setStage tnoHSB 10
  276.  
  277. set tnoHSB.hud_ref to sv_Construct "GetNthFollower 2"
  278. set tnoHSB.hud_val to sv_Construct "##$GetHealthCur"
  279. set tnoHSB.hud_max to sv_Construct "$GetHealthMax"
  280. set tnoHSB.hud_type to HUDbarSmall
  281. set tnoHSB.hud_color_min to HUDcolorRed
  282. set tnoHSB.hud_color_max to HUDcolorGreen
  283. set tnoHSB.hud_size to 124
  284. set tnoHSB.hud_x to 99
  285. set tnoHSB.hud_y to HUDprevBarBelow
  286. set tnoHSB.hud_y_adjust to 3
  287. set tnoHSB.hud_fade_in to 0.25
  288. set tnoHSB.hud_fade_out to 1
  289. set tnoHSB.hud_popup_in to 0.25
  290. set tnoHSB.hud_popup_out to 1
  291. set tnoHSB.hud_popup_dirin to HUDbarsBelow
  292. set tnoHSB.hud_popup_dirout to HUDbarsBelow
  293. set tnoHSB.hud_name to sv_Construct "hud_ref"
  294. set tnoHSB.hud_textColor to sv_Construct "7"
  295. set tnoHSB.hud_textShadowColor to sv_Construct "15"
  296. set tnoHSB.hud_textPos_x to HUDtxtRight
  297. set tnoHSB.hud_textPos_y to HUDtxtBelow
  298. set tnoHSB.hud_textAdjust_y to 6
  299. set tnoHSB.hud_updateInterval to 1
  300.  
  301. setStage tnoHSB 10
  302.  
  303. ; Display health of follower 3
  304. set tnoHSB.hud_ref to sv_Construct "GetNthFollower 3"
  305. set tnoHSB.hud_type to 1
  306. set tnoHSB.hud_custom to sv_Construct "Misc\talk"
  307. set tnoHSB.hud_x to 99
  308. set tnoHSB.hud_y to HUDprevBarBelow
  309. ;set tnoHSB.hud_y_adjust to -48
  310. set tnoHSB.hud_fade_in to 0.25
  311. set tnoHSB.hud_fade_out to 1
  312. set tnoHSB.hud_popup_in to 0.25
  313. set tnoHSB.hud_popup_out to 1
  314. set tnoHSB.hud_popup_dirin to HUDbarsBelow
  315. set tnoHSB.hud_popup_dirout to HUDbarsBelow
  316. set tnoHSB.hud_updateInterval to 1
  317.  
  318. setStage tnoHSB 10
  319.  
  320. set tnoHSB.hud_ref to sv_Construct "GetNthFollower 3"
  321. set tnoHSB.hud_val to sv_Construct "##$GetHealthCur"
  322. set tnoHSB.hud_max to sv_Construct "$GetHealthMax"
  323. set tnoHSB.hud_type to HUDbarSmall
  324. set tnoHSB.hud_color_min to HUDcolorRed
  325. set tnoHSB.hud_color_max to HUDcolorGreen
  326. set tnoHSB.hud_size to 124
  327. set tnoHSB.hud_x to 99
  328. set tnoHSB.hud_y to HUDprevBar
  329. set tnoHSB.hud_y_adjust to 3
  330. set tnoHSB.hud_fade_in to 0.25
  331. set tnoHSB.hud_fade_out to 1
  332. set tnoHSB.hud_popup_in to 0.25
  333. set tnoHSB.hud_popup_out to 1
  334. set tnoHSB.hud_popup_dirin to HUDbarsBelow
  335. set tnoHSB.hud_popup_dirout to HUDbarsBelow
  336. set tnoHSB.hud_name to sv_Construct "hud_ref"
  337. set tnoHSB.hud_textColor to sv_Construct "7"
  338. set tnoHSB.hud_textShadowColor to sv_Construct "15"
  339. set tnoHSB.hud_textPos_x to HUDtxtRight
  340. set tnoHSB.hud_textPos_y to HUDtxtBelow
  341. set tnoHSB.hud_textAdjust_y to 6
  342. set tnoHSB.hud_updateInterval to 1
  343.  
  344. setStage tnoHSB 10
  345.  
  346.  
  347.  
  348. ; ==== Icon displaying the currently equipped boots, with its health in %. The icon turns red as the health drops.
  349. ;set tnoHSB.hud_visible_on to sv_Construct "$GetQuestKeyPressed"
  350. ;set tnoHSB.hud_visible_time to 10
  351.  
  352. set tnoHSB.hud_ref to sv_Construct "P$GetEquippedObject 5" ; 5 = boots
  353. set tnoHSB.hud_val to sv_Construct "##P$GetObjectHealth"
  354. set tnoHSB.hud_tmp to sv_Construct "(Player.GetAV Armorer) >= 75"
  355. set tnoHSB.hud_max to sv_Construct "(1+0.25*tnoHSB.tmp)*(GetObjectHealth hud_ref)" ; When max is zero (no armored boots equipped), the bar is hidden
  356. set tnoHSB.hud_color_max to HUDcolorGreen ; Green (unchanged) color when full health
  357. set tnoHSB.hud_color_min to HUDcolorRed ; Red when no health, the color will gradually change between the two
  358. set tnoHSB.hud_type to HUDbarRefIcon ; Display the icon of the current ref
  359. set tnoHSB.hud_textSize to 10
  360. set tnoHSB.hud_textDisplay to HUDtxtPercent ; Display value in % (of max)
  361. set tnoHSB.hud_textPos_x to HUDtxtLeft ; Put text to the left of icon showing item
  362. set tnoHSB.hud_textPos_y to HUDtxtCenter
  363.  
  364. set tnoHSB.hud_x to 99 ; Place beneath weapon icon, with same width
  365. set tnoHSB.hud_y to 92
  366. ;set tnoHSB.hud_size to 80
  367.  
  368. SetStage tnoHSB 10
  369.  
  370.  
  371.  
  372. ; ==== Icon displaying the currently equipped greaves, with its health in %. The icon turns red as the health drops.
  373. ;set tnoHSB.hud_visible_on to sv_Construct "$GetQuestKeyPressed"
  374. ;set tnoHSB.hud_visible_time to 10
  375.  
  376. set tnoHSB.hud_ref to sv_Construct "P$GetEquippedObject 3" ; 3 = greaves
  377. set tnoHSB.hud_val to sv_Construct "##P$GetObjectHealth"
  378. set tnoHSB.hud_tmp to sv_Construct "(Player.GetAV Armorer) >= 75"
  379. set tnoHSB.hud_max to sv_Construct "(1+0.25*tnoHSB.tmp)*(GetObjectHealth hud_ref)" ; When max is zero (no armored greaves equipped), the bar is hidden
  380. set tnoHSB.hud_color_max to HUDcolorGreen ; Green (unchanged) color when full health
  381. set tnoHSB.hud_color_min to HUDcolorRed ; Red when no health, the color will gradually change between the two
  382. set tnoHSB.hud_type to HUDbarRefIcon ; Display the icon of the current ref
  383. set tnoHSB.hud_textSize to 10
  384. set tnoHSB.hud_textDisplay to HUDtxtPercent ; Display value in % (of max)
  385. set tnoHSB.hud_textPos_x to HUDtxtLeft ; Put text to the left of icon showing item
  386. set tnoHSB.hud_textPos_y to HUDtxtCenter
  387. set tnoHSB.hud_y to HUDprevBarAbove
  388.  
  389.  
  390. SetStage tnoHSB 10
  391.  
  392. ; ==== Icon displaying the currently equipped gloves, with its health in %. The icon turns red as the health drops.
  393. ;set tnoHSB.hud_visible_on to sv_Construct "$GetQuestKeyPressed"
  394. ;set tnoHSB.hud_visible_time to 10
  395.  
  396. set tnoHSB.hud_ref to sv_Construct "P$GetEquippedObject 4" ; 4 = gloves
  397. set tnoHSB.hud_val to sv_Construct "##P$GetObjectHealth"
  398. set tnoHSB.hud_tmp to sv_Construct "(Player.GetAV Armorer) >= 75"
  399. set tnoHSB.hud_max to sv_Construct "(1+0.25*tnoHSB.tmp)*(GetObjectHealth hud_ref)" ; When max is zero (no armored gloves equipped), the bar is hidden
  400. set tnoHSB.hud_color_max to HUDcolorGreen ; Green (unchanged) color when full health
  401. set tnoHSB.hud_color_min to HUDcolorRed ; Red when no health, the color will gradually change between the two
  402. set tnoHSB.hud_type to HUDbarRefIcon ; Display the icon of the current ref
  403. set tnoHSB.hud_textSize to 10
  404. set tnoHSB.hud_textDisplay to HUDtxtPercent ; Display value in % (of max)
  405. set tnoHSB.hud_textPos_x to HUDtxtLeft ; Put text to the left of icon showing item
  406. set tnoHSB.hud_textPos_y to HUDtxtCenter
  407. set tnoHSB.hud_y to HUDprevBarAbove
  408.  
  409. SetStage tnoHSB 10
  410.  
  411. ; ==== Icon displaying the currently equipped cuirass, with its health in %. The icon turns red as the health drops.
  412. ;set tnoHSB.hud_visible_on to sv_Construct "$GetQuestKeyPressed"
  413. ;set tnoHSB.hud_visible_time to 10
  414.  
  415. set tnoHSB.hud_ref to sv_Construct "P$GetEquippedObject " ; 2 = cuirass
  416. set tnoHSB.hud_val to sv_Construct "##P$GetObjectHealth"
  417. set tnoHSB.hud_tmp to sv_Construct "(Player.GetAV Armorer) >= 75"
  418. set tnoHSB.hud_max to sv_Construct "(1+0.25*tnoHSB.tmp)*(GetObjectHealth hud_ref)" ; When max is zero (no armored gloves equipped), the bar is hidden
  419. set tnoHSB.hud_color_max to HUDcolorGreen ; Green (unchanged) color when full health
  420. set tnoHSB.hud_color_min to HUDcolorRed ; Red when no health, the color will gradually change between the two
  421. set tnoHSB.hud_type to HUDbarRefIcon ; Display the icon of the current ref
  422. set tnoHSB.hud_textSize to 10
  423. set tnoHSB.hud_textDisplay to HUDtxtPercent ; Display value in % (of max)
  424. set tnoHSB.hud_textPos_x to HUDtxtLeft ; Put text to the left of icon showing item
  425. set tnoHSB.hud_textPos_y to HUDtxtCenter
  426. set tnoHSB.hud_y to HUDprevBarAbove
  427.  
  428. SetStage tnoHSB 10
  429.  
  430. ; ==== Icon displaying the currently equipped helmet, with its health in %. The icon turns red as the health drops.
  431. ;set tnoHSB.hud_visible_on to sv_Construct "$GetQuestKeyPressed"
  432. ;set tnoHSB.hud_visible_time to 10
  433.  
  434. set tnoHSB.hud_ref to sv_Construct "P$GetEquippedObject 1" ; 1 = helmet
  435. set tnoHSB.hud_val to sv_Construct "##P$GetObjectHealth"
  436. set tnoHSB.hud_temp to sv_Construct "(Player.GetAV Armorer) >= 75"
  437. set tnoHSB.hud_max to sv_Construct "(1+0.25*tnoHSB.tmp)*(GetObjectHealth hud_ref)" ; When max is zero (no armored helmet equipped), the bar is hidden
  438. set tnoHSB.hud_color_max to HUDcolorGreen ; Green (unchanged) color when full health
  439. set tnoHSB.hud_color_min to HUDcolorRed ; Red when no health, the color will gradually change between the two
  440. set tnoHSB.hud_type to HUDbarRefIcon ; Display the icon of the current ref
  441. set tnoHSB.hud_textSize to 10
  442. set tnoHSB.hud_textDisplay to HUDtxtPercent ; Display value in % (of max)
  443. set tnoHSB.hud_textPos_x to HUDtxtLeft ; Put the text to the right of the icon
  444. set tnoHSB.hud_textPos_y to HUDtxtCenter
  445. set tnoHSB.hud_y to HUDprevBarAbove
  446.  
  447. SetStage tnoHSB 10
  448.  
  449. ; ==== Icon displaying the currently equipped weapon, with its health in %. The icon turns red as the health drops.
  450. ;set tnoHSB.hud_visible_on to sv_Construct "$GetQuestKeyPressed"
  451. ;set tnoHSB.hud_visible_time to 10
  452.  
  453. set tnoHSB.hud_Ref to sv_Construct "P$GetWeapon"
  454. set tnoHSB.hud_val to sv_Construct "##P$GetWeaponHealthCur"
  455. set tnoHSB.hud_max to sv_Construct "P$GetWeaponHealthMaxArmorer"
  456. set tnoHSB.hud_color_max to HUDcolorGreen ; Green (unchanged) color when full health
  457. set tnoHSB.hud_color_min to HUDcolorRed ; Red when no health, the color will gradually change between the two
  458. set tnoHSB.hud_type to HUDbarRefIcon ; Display the icon of the current ref
  459. set tnoHSB.hud_textSize to 10
  460. set tnoHSB.hud_textDisplay to HUDtxtPercent ; Display value in % (of max)
  461. set tnoHSB.hud_textPos_x to HUDtxtLeft ; Put the text to the right of the icon
  462. set tnoHSB.hud_textPos_y to HUDtxtCenter
  463. set tnoHSB.hud_y to HUDprevBarAbove
  464.  
  465. SetStage tnoHSB 10
  466.  
  467.  
  468. ; ==== Display current charge of equipped weapon above weapon icon. Hide bar if you don't have an enchanted weapon equipped.
  469. ;set tnoHSB.hud_visible_on to sv_Construct "$GetQuestKeyPressed"
  470. ;set tnoHSB.hud_visible_time to 10
  471.  
  472.  
  473. set tnoHSB.hud_type to HUDbarSmall
  474. set tnoHSB.hud_visible to sv_Construct "tnoHSB.val > 0" ; Only visible if max is non-zero,e.g if it has enchantment
  475. set tnoHSB.hud_color to sv_Construct "HUDcolorCyan" ; Yellow color
  476. set tnoHSB.hud_val to sv_Construct "P$GetWeaponChargeCur" ; Set val to current charge of player's equipped weapon
  477. set tnoHSB.hud_max to sv_Construct "P$GetWeaponChargeMax" ; Get object charge of the current equipped weapon
  478. set tnoHSB.hud_x to HUDprevBar
  479. set tnoHSB.hud_y to HUDprevBarBelow
  480. set tnoHSB.hud_size to HUDweaponWidth ; Same width as weapon icon
  481.  
  482. SetStage tnoHSB 10
  483.  
  484.  
  485. ;==== Shield / Offhand weapon
  486. ; Display icon of equipped shield. Hide bar if you don't have a shield equipped
  487.  
  488. set tnoHSB.hud_Ref to sv_Construct "P$GetShield"
  489. set tnoHSB.hud_visible to sv_Construct "P$IsShieldOut"
  490. set tnoHSB.hud_val to sv_Construct "##P$GetShieldHealthCur"
  491. set tnoHSB.hud_max to sv_Construct "P$GetShieldHealthMaxArmorer" ; When max is zero (no weapon equipped), the bar is hidden
  492. set tnoHSB.hud_color_max to HUDcolorGreen ; Green (unchanged) color when full health
  493. set tnoHSB.hud_color_min to HUDcolorRed ; Red when no health, the color will gradually change between the two
  494. set tnoHSB.hud_type to HUDbarRefIcon ; Display the icon of the current ref
  495. set tnoHSB.hud_textSize to 10
  496. set tnoHSB.hud_textDisplay to HUDtxtPercent ; Display value in % (of max)
  497. set tnoHSB.hud_textPos_x to HUDtxtLeft ; Put the text to the right of the icon
  498. set tnoHSB.hud_textPos_y to HUDtxtCenter
  499.  
  500. SetStage tnoHSB 10
  501.  
  502. ; ==== Shield / Offhand weapon health displayed below icon. Hidden if not wielding shield/offhand weapon.
  503.  
  504. set tnoHSB.hud_type to HUDbarSmall
  505. set tnoHSB.hud_visible to sv_Construct "P$IsShieldOut"
  506. set tnoHSB.hud_color to sv_Construct "5*(tnoHSB.max>0)+2*(tnoHSB.frac>0.37)+4*(tnoHSB.frac>.6)-10*(tnoHSB.frac>0.81)"
  507. set tnoHSB.hud_val to sv_Construct "##PGetGetShieldHealthCur"
  508. set tnoHSB.hud_max to sv_Construct "P$GetShieldHealthMaxArmorer"
  509. set tnoHSB.hud_x to 99
  510. set tnoHSB.hud_y to HUDprevBarAbove + ;HUDmagicBelow
  511. set tnoHSB.hud_size to HUDweaponWidth
  512. SetStage tnoHSB 10
  513.  
  514.  
  515. ; === Torch
  516. ; Display remaining time of equipped torch. Hide bar if you don't have a torch equipped (or it doesn't show in your hands).
  517.  
  518. set tnoHSB.hud_color to sv_Construct "14-12*(tnoHSB.frac>0.28)+3*(tnoHSB.frac>.5)+5*(tnoHSB.frac>0.75)"
  519. set tnoHSB.hud_val to sv_Construct "##P$GetTorchTimeLeft"
  520. set tnoHSB.hud_max to sv_Construct "P$GetTorchTimeMax"
  521. set tnoHSB.hud_visible to sv_Construct "Player.IsTorchOut || tnoHSB.bFunctionKeyPressed"
  522. set tnoHSB.hud_visible_time to 10
  523. set tnoHSB.hud_blink to sv_construct "0.5#0.25 * (tnoHSB.frac <= 0.30)"
  524. set tnoHSB.hud_fade_in to 1
  525. set tnoHSB.hud_fade_out to 1
  526. set tnoHSB.hud_popup_in to 1
  527. set tnoHSB.hud_popup_out to 1
  528.  
  529. set tnoHSB.hud_type to HUDbarVertical
  530. set tnoHSB.hud_direction to HUDdirTop
  531. set tnoHSB.hud_x to 100
  532. set tnoHSB.hud_y to 45
  533. set tnoHSB.hud_size to 150
  534.  
  535. SetStage tnoHSB 10
  536.  
  537.  
  538.  
  539.  
  540.  
  541. ;==============================================Information placed around compass
  542. ; ==== Display disease status. Display name and icon of the last received disease, and number of diseases. Hidden if having no diseases - moved to right side of compass
  543.  
  544. set tnoHSB.hud_ref to sv_Construct "GetDisease" ; ref is current disease
  545. set tnoHSB.hud_val to sv_Construct "GetDisease" ; val is number of diseases
  546. set tnoHSB.hud_type to HUDtxtNoBar ; Use the disease's icon: HUDbarRefIcon - all icon look the same so it is off with HUDtxtNoBar
  547. set tnoHSB.hud_name to sv_Construct "hud_ref: " ; Display name of ref (the current disease)
  548. set tnoHSB.hud_textColor to sv_Construct "10 - 5 * (tnoHSB.val >= 2)" ; First disease will be shown in orange, next in red
  549. set tnoHSB.hud_textDisplay to HUDtxtValue ; Display number of diseases
  550. set tnoHSB.hud_fade_in to 1
  551. set tnoHSB.hud_fade_out to 1
  552. set tnoHSB.hud_popup_in to 1
  553. set tnoHSB.hud_popup_out to 1
  554. set tnoHSB.hud_popup_dirin to HUDbarsBelow
  555. set tnoHSB.hud_popup_dirout to HUDbarsBelow
  556. set tnoHSB.hud_textPos_x to HUDtxtCenter ; Have text to the below icon
  557. set tnoHSB.hud_textPos_y to HUDtxtBelow
  558. set tnoHSB.hud_textSize to 12
  559. set tnoHSB.hud_size to 60
  560. set tnoHSB.hud_x to 50
  561. set tnoHSB.hud_y to 2
  562.  
  563. SetStage tnoHSB 10
  564.  
  565.  
  566. ; ==== A text field displayed during Oblivon crisis only, showing how many of the possible opened gates you have closed, displaying "Gates: 14 of 50"
  567. set tnoHSB.hud_color to sv_Construct "HUDcolorRed*(GetStage MQ16<100)*(OblivionCrisis>0)"
  568. set tnoHSB.hud_val to sv_Construct "GetPCMiscStat 13"
  569. set tnoHSB.hud_max to sv_Construct "MQ00.openGates+(GetPCMiscStat 13)-MQ00.destroyedGates"
  570. ;set tnoHSB.hud_name to sv_Construct "Gates: "
  571. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  572. set tnoHSB.hud_textDisplay to HUDtxtValueOfMax
  573. set tnoHSB.hud_custom to sv_Construct "Misc\Gate"
  574. set tnoHSB.hud_updateInterval to 2
  575. set tnoHSB.hud_size to 60 ; Resize to 60% of the native icon size
  576. set tnoHSB.hud_textSize to 10
  577. set tnoHSB.hud_type to 1 ;Only 1 state, icon doesn't change
  578. set tnoHSB.hud_custom_w to 32
  579. set tnoHSB.hud_custom_h to 32
  580. set tnoHSB.hud_custom_color to HUDcolorSpecial
  581. set tnoHSB.hud_textPos_x to HUDtxtCenter
  582. set tnoHSB.hud_textPos_y to HUDtxtAbove
  583. set tnoHSB.hud_textAdjust_x to 10
  584. set tnoHSB.hud_fade_in to 0.25
  585. set tnoHSB.hud_fade_out to 1
  586. set tnoHSB.hud_popup_in to 0.25
  587. set tnoHSB.hud_popup_out to 1
  588. set tnoHSB.hud_popup_dirin to HUDbarsRight
  589. set tnoHSB.hud_popup_dirout to HUDbarsRight
  590. set tnoHSB.hud_x to HUDcompassRight
  591. set tnoHSB.hud_y to HUDcompassLow
  592.  
  593. SetStage tnoHSB 10
  594.  
  595.  
  596.  
  597. ; ==== Gold - status infor with icon
  598. set tnoHSB.hud_visible_on to sv_Construct "tnoHSB.bFunctionKeyPressed"
  599. set tnoHSB.hud_visible_time to 10
  600. set tnoHSB.hud_val to sv_Construct "##$GetGold"
  601. set tnoHSB.hud_custom to sv_Construct "Misc\gold"
  602. set tnoHSB.hud_size to sv_Construct 50
  603. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  604. set tnoHSB.hud_textDisplay to HUDtxtValue
  605. set tnoHSB.hud_size to 60
  606. set tnoHSB.hud_textPos_x to HUDtxtCenter
  607. set tnoHSB.hud_textPos_y to HUDtxtAbove
  608. set tnoHSB.hud_fade_in to 0.25
  609. set tnoHSB.hud_fade_out to 1
  610. set tnoHSB.hud_popup_in to 0.25
  611. set tnoHSB.hud_popup_out to 1
  612. set tnoHSB.hud_popup_dirin to HUDbarsLeft
  613. set tnoHSB.hud_popup_dirout to HUDbarsLeft
  614. set tnoHSB.hud_x to HUDcompassLeft
  615. set tnoHSB.hud_y to HUDcompassLow
  616.  
  617. SetStage tnoHSB 10
  618.  
  619.  
  620.  
  621. ; ==== Inventory - Lockpicks
  622. set tnoHSB.hud_visible_on to sv_Construct "tnoHSB.bFunctionKeyPressed"
  623. set tnoHSB.hud_visible_time to 10
  624. set tnoHSB.hud_val to sv_Construct "##$GetLockpicks"
  625. set tnoHSB.hud_max to "50000"
  626. set tnoHSB.hud_custom to sv_Construct "Misc\lock"
  627. set tnoHSB.hud_size to sv_Construct 40
  628. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  629. set tnoHSB.hud_textDisplay to HUDtxtValue
  630. set tnoHSB.hud_size to 60
  631. set tnoHSB.hud_textPos_x to HUDtxtCenter
  632. set tnoHSB.hud_textPos_y to HUDtxtAbove
  633. set tnoHSB.hud_fade_in to 0.25
  634. set tnoHSB.hud_fade_out to 1
  635. set tnoHSB.hud_popup_in to 0.25
  636. set tnoHSB.hud_popup_out to 1
  637. set tnoHSB.hud_popup_dirin to HUDbarsLeft
  638. set tnoHSB.hud_popup_dirout to HUDbarsLeft
  639. set tnoHSB.hud_x to 40
  640. set tnoHSB.hud_y to HUDcompassLow
  641.  
  642. SetStage tnoHSB 10
  643.  
  644. ; === Inventory - Repair Hammers
  645. set tnoHSB.hud_visible_on to sv_Construct "tnoHSB.bFunctionKeyPressed"
  646. set tnoHSB.hud_visible_time to 10
  647. set tnoHSB.hud_val to sv_Construct "##$GetRepairHammers"
  648. set tnoHSB.hud_max to "50000"
  649. set tnoHSB.hud_custom to sv_Construct "Misc\health"
  650. set tnoHSB.hud_size to sv_Construct 40
  651. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  652. set tnoHSB.hud_textDisplay to HUDtxtValue
  653. set tnoHSB.hud_size to 60
  654. set tnoHSB.hud_textPos_x to HUDtxtCenter
  655. set tnoHSB.hud_textPos_y to HUDtxtAbove
  656. set tnoHSB.hud_fade_in to 0.25
  657. set tnoHSB.hud_fade_out to 1
  658. set tnoHSB.hud_popup_in to 0.25
  659. set tnoHSB.hud_popup_out to 1
  660. set tnoHSB.hud_popup_dirin to HUDbarsLeft
  661. set tnoHSB.hud_popup_dirout to HUDbarsLeft
  662. set tnoHSB.hud_x to 38
  663. set tnoHSB.hud_y to HUDcompassLow
  664.  
  665. SetStage tnoHSB 10
  666.  
  667. ; === Inventory - Varla Stone (which can recharge all enchanted weapon at once in inventory)
  668. set tnoHSB.hud_visible_on to sv_Construct "tnoHSB.bFunctionKeyPressed"
  669. set tnoHSB.hud_visible_time to 10
  670. set tnoHSB.hud_val to sv_Construct "##$GetVarlaStones"
  671. set tnoHSB.hud_max to "50000"
  672. set tnoHSB.hud_custom to sv_Construct "Misc\charge"
  673. set tnoHSB.hud_size to sv_Construct 40
  674. set tnoHSB.hud_textColor to sv_Construct "HUDcolorCyan"
  675. set tnoHSB.hud_textDisplay to HUDtxtValue
  676. set tnoHSB.hud_size to 60
  677. set tnoHSB.hud_textPos_x to HUDtxtCenter
  678. set tnoHSB.hud_textPos_y to HUDtxtAbove
  679. set tnoHSB.hud_fade_in to 0.25
  680. set tnoHSB.hud_fade_out to 1
  681. set tnoHSB.hud_popup_in to 0.25
  682. set tnoHSB.hud_popup_out to 1
  683. set tnoHSB.hud_popup_dirin to HUDbarsLeft
  684. set tnoHSB.hud_popup_dirout to HUDbarsLeft
  685. set tnoHSB.hud_x to 14
  686. set tnoHSB.hud_y to HUDcompassLow
  687.  
  688. SetStage tnoHSB 10
  689.  
  690.  
  691. ; ==== Grouped info about defensive (AR are related to spells with Shield) and magical effectivness.
  692. ; ==== AR (same as in journal)
  693. set tnoHSB.hud_visible_on to sv_Construct "tnoHSB.bFunctionKeyPressed"
  694. set tnoHSB.hud_visible_time to 10
  695. set tnoHSB.hud_max to sv_Construct "100"
  696. set tnoHSB.hud_val to sv_Construct "##$GetArmorRating"
  697. set tnoHSB.hud_custom to sv_Construct "Misc\armor"
  698. set tnoHSB.hud_size to sv_Construct 40
  699. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  700. set tnoHSB.hud_textDisplay to HUDtxtValue
  701. set tnoHSB.hud_size to 60
  702. set tnoHSB.hud_textPos_x to HUDtxtCenter
  703. set tnoHSB.hud_textPos_y to HUDtxtAbove
  704. set tnoHSB.hud_fade_in to 0.25
  705. set tnoHSB.hud_fade_out to 1
  706. set tnoHSB.hud_popup_in to 0.25
  707. set tnoHSB.hud_popup_out to 1
  708. set tnoHSB.hud_popup_dirin to HUDbarsLeft
  709. set tnoHSB.hud_popup_dirout to HUDbarsLeft
  710. set tnoHSB.hud_x to 16
  711. set tnoHSB.hud_y to HUDcompassLow
  712.  
  713. SetStage tnoHSB 10
  714.  
  715.  
  716. ; ==== Spell effiency (shown in journal)
  717. set tnoHSB.hud_visible_on to sv_Construct "tnoHSB.bFunctionKeyPressed"
  718. set tnoHSB.hud_visible_time to 10
  719. set tnoHSB.hud_val to sv_Construct "##P$GetSpellEffectiveness"
  720. set tnoHSB.hud_max to sv_Construct "1"
  721. set tnoHSB.hud_custom to sv_Construct "Misc\flash"
  722. set tnoHSB.hud_size to sv_Construct 40
  723. set tnoHSB.hud_textColor to sv_Construct "HUDcolorCyan"
  724. set tnoHSB.hud_textDisplay to HUDtxtPercent
  725. set tnoHSB.hud_size to 60
  726. set tnoHSB.hud_textPos_x to HUDtxtCenter
  727. set tnoHSB.hud_textPos_y to HUDtxtAbove
  728. set tnoHSB.hud_fade_in to 0.25
  729. set tnoHSB.hud_fade_out to 1
  730. set tnoHSB.hud_popup_in to 0.25
  731. set tnoHSB.hud_popup_out to 1
  732. set tnoHSB.hud_popup_dirin to HUDbarsLeft
  733. set tnoHSB.hud_popup_dirout to HUDbarsLeft
  734. set tnoHSB.hud_x to 12
  735. set tnoHSB.hud_y to HUDcompassLow
  736.  
  737. SetStage tnoHSB 10
  738.  
  739.  
  740.  
  741. ; ==== All weapon changes will show text in left corner about what weapon is active, ammunition (arrow type) and poision status for a short duration.
  742. ; ==== Inventory -
  743. set tnoHSB.hud_visible_on to sv_Construct "tnoHSB.bFunctionKeyPressed || Player.IsWeaponOut"
  744. set tnoHSB.hud_visible_time to 10
  745. set tnoHSB.hud_ref to sv_Construct "$GetAmmo"
  746. set tnoHSB.hud_val to sv_Construct "$GetAttackDamage"
  747. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  748. set tnoHSB.hud_name to sv_Construct "hud_ref Damage: "
  749. set tnoHSB.hud_type to HUDtxtNoBar
  750. set tnoHSB.hud_textDisplay to HUDtxtValue
  751. set tnoHSB.hud_textPos_x to sv_Construct HUDtxtRight
  752. set tnoHSB.hud_textPos_y to sv_Construct HUDtxtCenter
  753. set tnoHSB.hud_fade_in to 0.25
  754. set tnoHSB.hud_fade_out to 1
  755. set tnoHSB.hud_popup_in to 0.25
  756. set tnoHSB.hud_popup_out to 1
  757. set tnoHSB.hud_popup_dirin to HUDbarsLeft
  758. set tnoHSB.hud_popup_dirout to HUDbarsLeft
  759. set tnoHSB.hud_x to 0
  760. set tnoHSB.hud_y to HUDcompassLow
  761.  
  762. SetStage tnoHSB 10
  763.  
  764.  
  765. ; ==== Inventory -
  766. set tnoHSB.hud_visible_on to sv_Construct "tnoHSB.bFunctionKeyPressed || Player.IsWeaponOut"
  767. set tnoHSB.hud_visible_time to 10
  768. set tnoHSB.hud_ref to sv_Construct "$GetWeaponPoison"
  769. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  770. set tnoHSB.hud_name to sv_Construct "hud_ref "
  771. set tnoHSB.hud_type to HUDtxtNoBar
  772. set tnoHSB.hud_textDisplay to HUDtxtNoValue
  773. set tnoHSB.hud_textPos_x to sv_Construct HUDtxtRight
  774. set tnoHSB.hud_textPos_y to sv_Construct HUDtxtCenter
  775. set tnoHSB.hud_fade_in to 0.25
  776. set tnoHSB.hud_fade_out to 1
  777. set tnoHSB.hud_popup_in to 0.25
  778. set tnoHSB.hud_popup_out to 1
  779. set tnoHSB.hud_popup_dirin to HUDbarsLeft
  780. set tnoHSB.hud_popup_dirout to HUDbarsLeft
  781. set tnoHSB.hud_x to 0
  782. set tnoHSB.hud_y to HUDprevBarAbove
  783.  
  784. SetStage tnoHSB 10
  785.  
  786.  
  787. ; ==== Inventory -
  788. set tnoHSB.hud_visible_on to sv_Construct "tnoHSB.bFunctionKeyPressed || Player.IsWeaponOut"
  789. set tnoHSB.hud_visible_time to 10
  790. set tnoHSB.hud_ref to sv_Construct "$GetWeaponFists"
  791. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  792. set tnoHSB.hud_name to sv_Construct "hud_ref "
  793. set tnoHSB.hud_type to HUDtxtNoBar
  794. set tnoHSB.hud_textDisplay to HUDtxtNoValue
  795. set tnoHSB.hud_textPos_x to sv_Construct HUDtxtRight
  796. set tnoHSB.hud_textPos_y to sv_Construct HUDtxtCenter
  797. set tnoHSB.hud_fade_in to 0.25
  798. set tnoHSB.hud_fade_out to 1
  799. set tnoHSB.hud_popup_in to 0.25
  800. set tnoHSB.hud_popup_out to 1
  801. set tnoHSB.hud_popup_dirin to HUDbarsLeft
  802. set tnoHSB.hud_popup_dirout to HUDbarsLeft
  803. set tnoHSB.hud_x to 0
  804. set tnoHSB.hud_y to HUDprevBarAbove
  805.  
  806. SetStage tnoHSB 10
  807.  
  808.  
  809.  
  810.  
  811. ; ===========================================================================
  812.  
  813. ; ====ENEMY HUD BARS
  814.  
  815. ; ===Enemy bars======================================
  816. ; Custom enemy fatigue bar.
  817. set tnoHSB.hud_ref to sv_Construct "hud_enemy"
  818. set tnoHSB.hud_val to sv_Construct "##$GetFatigueCur"
  819. set tnoHSB.hud_max to sv_Construct "$GetFatigueMax"
  820. set tnoHSB.hud_visible to sv_Construct "$GetPlayerKnowsEnemy"
  821. set tnoHSB.hud_color_min to HUDcolorLime
  822. set tnoHSB.hud_color_max to HUDcolorGreen
  823. set tnoHSB.hud_size to 200
  824. set tnoHSB.hud_x to 50
  825. set tnoHSB.hud_y to HUDcompassAbove
  826. set tnoHSB.hud_textDisplay to HUDtxtValue
  827. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  828. set tnoHSB.hud_textShadowColor to sv_Construct "HUDcolorBlack"
  829. set tnoHSB.hud_textSize to 10
  830. set tnoHSB.hud_textPos_x to HUDtxtRight
  831. set tnoHSB.hud_textPos_y to HUDtxtCenter
  832. set tnoHSB.hud_updateInterval to 0.2
  833.  
  834. SetStage tnoHSB 10
  835.  
  836.  
  837. ; Custom enemy magic bar.
  838. set tnoHSB.hud_ref to sv_Construct "hud_enemy"
  839. set tnoHSB.hud_val to sv_Construct "##$GetMagickaCur"
  840. set tnoHSB.hud_max to sv_Construct "$GetMagickaMax"
  841. set tnoHSB.hud_visible to sv_Construct "$GetPlayerKnowsEnemy"
  842. set tnoHSB.hud_color_min to HUDcolorCyan
  843. set tnoHSB.hud_color_max to HUDcolorBlue
  844. set tnoHSB.hud_size to 200
  845. set tnoHSB.hud_x to 50
  846. set tnoHSB.hud_y to HUDprevBarAbove
  847. set tnoHSB.hud_textDisplay to HUDtxtValue
  848. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  849. set tnoHSB.hud_textShadowColor to sv_Construct "HUDcolorBlack"
  850. set tnoHSB.hud_textSize to 10
  851. set tnoHSB.hud_textPos_x to HUDtxtRight
  852. set tnoHSB.hud_textPos_y to HUDtxtCenter
  853. set tnoHSB.hud_updateInterval to 0.2
  854.  
  855. SetStage tnoHSB 10
  856.  
  857. ; Custom enemy health bar.
  858. set tnoHSB.hud_ref to sv_Construct "hud_enemy"
  859. set tnoHSB.hud_val to sv_Construct "##$GetHealthCur"
  860. set tnoHSB.hud_max to sv_Construct "$GetHealthMax"
  861. set tnoHSB.hud_visible to sv_Construct "$GetPlayerKnowsEnemy"
  862. set tnoHSB.hud_color_min to HUDcolorPink
  863. set tnoHSB.hud_color_max to HUDcolorRed
  864. set tnoHSB.hud_size to 200
  865. set tnoHSB.hud_x to 50
  866. set tnoHSB.hud_y to HUDprevBarAbove
  867. set tnoHSB.hud_textDisplay to HUDtxtValue
  868. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  869. set tnoHSB.hud_textShadowColor to sv_Construct "HUDcolorBlack"
  870. set tnoHSB.hud_textShadow_x to 3
  871. set tnoHSB.hud_textShadow_y to 3
  872. set tnoHSB.hud_textSize to 12
  873. set tnoHSB.hud_textPos_x to HUDtxtRight
  874. set tnoHSB.hud_textPos_y to HUDtxtCenter
  875. set tnoHSB.hud_updateInterval to 0.2
  876.  
  877. SetStage tnoHSB 10
  878.  
  879.  
  880.  
  881. ; ==== A "bar", displaying name and level of current enemy, displayed just above the enemy health bar, if added just below one of the above enemy health bars in the ini file
  882.  
  883. set tnoHSB.hud_ref to sv_Construct "hud_enemy" ; ref is last attacked enemy
  884. set tnoHSB.hud_tmp to sv_Construct "$GetSoulLevel"
  885. set tnoHSB.hud_val to sv_Construct "##$GetLevel" ; level of last attacked enemy
  886. set tnoHSB.hud_max to sv_Construct "100" ; Not important, since only val will be displayed as text
  887. set tnoHSB.hud_type to HUDtxtNoBar ; Hide bar, only display text
  888. set tnoHSB.hud_name to sv_Construct "$[Soul size %%%%.0f hud_ref: ]$ tnoHSB.tmp" ; Display "<name of enemy>: "
  889. set tnoHSB.hud_textDisplay to HUDtxtValue ; Display level
  890. set tnoHSB.hud_textPos_x to HUDtxtCenter ; Center text
  891. Set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  892. set tnoHSB.hud_x to 50 ; X pos 50 = centered
  893. set tnoHSB.hud_y to HUDprevBarAbove
  894. set tnoHSB.hud_textSize to 14
  895.  
  896.  
  897. setStage tnoHSB 10
  898.  
  899. ; ==== An alternative sneak icon for non-immersionists :)
  900. ; Transparency goes from transparent in low light to opaque in much light, and is yellow (7) when not detected and red (5) when detected
  901. set tnoHSB.hud_visible to sv_Construct "P$IsSneaking" ; Only visible when sneaking
  902. set tnoHSB.hud_color to sv_Construct "7-2*tnoHSB.tmp" ; Yellow, but red if discovered
  903. set tnoHSB.hud_val to sv_Construct "$GetActorLightAmount"
  904. set tnoHSB.hud_tmp to sv_Construct "(mqGetMenuGlobalFloatValue %qhudreticle_sneak\user8%q 1006) > 50" ; Value read from the "real" sneak icon
  905. set tnoHSB.hud_max to sv_Construct "100"
  906. set tnoHSB.hud_type to 1 ; Icon doesn't change
  907. set tnoHSB.hud_custom to sv_Construct "Misc\sneak_eye"
  908. set tnoHSB.hud_custom_w to 64 ; Icon base size
  909. set tnoHSB.hud_custom_h to 50
  910. set tnoHSB.hud_size to HUDmagicWidth ; Width equal to the spell icon
  911. set tnoHSB.hud_alpha to HUDdefault ; Max alpha is same as your other bars
  912. set tnoHSB.hud_alpha_min to 50 ; Min alpha is 50 of 255
  913. set tnoHSB.hud_alpha_inv to 0 ; Lowest alpha when no light
  914. set tnoHSB.hud_alpha_vis to 100 ; Reach max when in 100% light
  915. set tnoHSB.hud_x to 50
  916. set tnoHSB.hud_y to HUDprevBarAbove
  917.  
  918. SetStage tnoHSB 10
  919.  
  920.  
  921. ; Target info at crosshair
  922. set tnoHSB.hud_ref to sv_Construct "$GetCrosshairActor"
  923. set tnoHSB.hud_tmp to sv_Construct "$GetLevel"
  924. set tnoHSB.hud_val to sv_Construct "##$GetHealthCur"
  925. set tnoHSB.hud_max to sv_Construct "$GetHealthMax"
  926. set tnoHSB.hud_updateInterval to 0.6
  927. set tnoHSB.hud_x to 50
  928. set tnoHSB.hud_y to 49
  929. set tnoHSB.hud_name to sv_Construct "$[Level %%%%.0f: ]$ tnoHSB.tmp"
  930. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  931. set tnoHSB.hud_textShadowColor to sv_Construct "HUDcolorBlack"
  932. set tnoHSB.hud_textDisplay to HUDtxtValueOfMax
  933. set tnoHSB.hud_textPos_x to HUDtxtCenter
  934. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  935. set tnoHSB.hud_textAdjust_y to 81
  936. set tnoHSB.hud_updateInterval to 0.2
  937.  
  938. setStage tnoHSB 10
  939.  
  940. ; ===================================================================================
  941. ; ==== Bounty (only displayed if having a bounty)
  942. set tnoHSB.hud_color to sv_Construct "tnoHSB.val > 0" ; Will 1 (visible) if having a bounty, and 0 (invisible) if not
  943. set tnoHSB.hud_val to sv_Construct "GetActorValue Bounty"
  944. set tnoHSB.hud_name to sv_Construct "Bounty: "
  945. set tnoHSB.hud_textColor to sv_Construct "HUDcolorRed"
  946. set tnoHSB.hud_textDisplay to HUDtxtValue
  947. set tnoHSB.hud_textSize to 14
  948. set tnoHSB.hud_textPos_x to HUDtxtRight
  949. set tnoHSB.hud_x to 83 ; Align with info from MiniMap's left side
  950. set tnoHSB.hud_y to HUDcompassLow
  951. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  952. set tnoHSB.hud_textPos_x to HUDtxtLeft
  953. set tnoHSB.hud_fade_in to 0.25
  954. set tnoHSB.hud_fade_out to 1
  955. set tnoHSB.hud_popup_in to 0.25
  956. set tnoHSB.hud_popup_out to 1
  957. set tnoHSB.hud_popup_dirin to HUDbarsRight
  958. set tnoHSB.hud_popup_dirout to HUDbarsRight
  959.  
  960. SetStage tnoHSB 10
  961.  
  962.  
  963. ; ==== Shivering Isles Bounty
  964. set tnoHSB.hud_color to sv_Construct "(tnoHSB.val > 0)*GetPlayerInSEWorld" ; Will 1 (visible) if having a bounty and in SI
  965. set tnoHSB.hud_val to sv_Construct "GetActorValue ShiveringIslesBounty"
  966. set tnoHSB.hud_name to sv_Construct "SI Bounty: "
  967. set tnoHSB.hud_textColor to sv_Construct "HUDcolorRed"
  968. set tnoHSB.hud_textDisplay to HUDtxtValue
  969. set tnoHSB.hud_textSize to 14
  970. set tnoHSB.hud_x to HUDprevBar ; Same place as first bounty
  971. set tnoHSB.hud_y to HUDprevBarAbove
  972. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  973. set tnoHSB.hud_textPos_x to HUDtxtLeft
  974. set tnoHSB.hud_fade_in to 0.25
  975. set tnoHSB.hud_fade_out to 1
  976. set tnoHSB.hud_popup_in to 0.25
  977. set tnoHSB.hud_popup_out to 1
  978. set tnoHSB.hud_popup_dirin to HUDbarsRight
  979. set tnoHSB.hud_popup_dirout to HUDbarsRight
  980.  
  981. SetStage tnoHSB 10
  982.  
  983.  
  984. ;==================End of information around Compass
  985.  
  986.  
  987.  
  988.  
  989. ; ==== ICONS that are useful to see for stealth. Chameleons show efficienty (%), Invisibility (only status: active), Light (show range in feet), Detect Life Range (show range in feet).
  990. ; ==== Chameleon status - pos. right below XP bar.
  991. ; ==== Invis status
  992. ; Display invis status, hidden if 0
  993. set tnoHSB.hud_val to sv_Construct "##GetAV Invisibility"
  994. set tnoHSB.hud_max to sv_Construct "1" ; 1=on or 0=off
  995. set tnoHSB.hud_type to HUDbarEffectIcon ; Display the effect icon
  996. set tnoHSB.hud_spell_effect to sv_Construct "INVI" ; Effect code for Invisible
  997. set tnoHSB.hud_visible to sv_Construct "tnoHSB.val > 0"
  998. set tnoHSB.hud_x to 50
  999. set tnoHSB.hud_y to 7
  1000.  
  1001. SetStage tnoHSB 10
  1002.  
  1003.  
  1004. ; Display the chameleon percentage, hidden if 0
  1005. set tnoHSB.hud_val to sv_Construct "##GetAV Chameleon"
  1006. set tnoHSB.hud_max to sv_Construct "100" ; 100 is max for all resists
  1007. set tnoHSB.hud_type to HUDbarEffectIcon ; Display the effect icon
  1008. set tnoHSB.hud_spell_effect to sv_Construct "CHML" ; Effect code for Chameleon
  1009. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  1010. set tnoHSB.hud_textDisplay to HUDtxtPercent ; Display as percent of max
  1011. set tnoHSB.hud_textSize to 12
  1012. set tnoHSB.hud_textPos_x to HUDtxtRight
  1013. set tnoHSB.hud_textPos_y to HUDtxtCenter
  1014. set tnoHSB.hud_visible to sv_Construct "tnoHSB.val > 0"
  1015. set tnoHSB.hud_x to HUDCompassLeft
  1016. set tnoHSB.hud_y to 7
  1017. SetStage tnoHSB 10
  1018.  
  1019.  
  1020. ; Display Detect Life Range, hidden if 0
  1021. set tnoHSB.hud_val to sv_Construct "P$GetAVDetectLife"
  1022. set tnoHSB.hud_type to HUDbarEffectIcon ; Display the effect icon
  1023. set tnoHSB.hud_spell_effect to sv_Construct "DTCT" ; Effect code for Chameleon
  1024. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  1025. set tnoHSB.hud_textDisplay to HUDtxtValue ; Display value
  1026. set tnoHSB.hud_name to sv_Construct "Feet: "
  1027. set tnoHSB.hud_textSize to 12
  1028. set tnoHSB.hud_textPos_x to HUDtxtLeft
  1029. set tnoHSB.hud_textPos_y to HUDtxtCenter
  1030. set tnoHSB.hud_visible to sv_Construct "tnoHSB.val > 0"
  1031. set tnoHSB.hud_x to HUDcompassRight
  1032. set tnoHSB.hud_y to 7
  1033. SetStage tnoHSB 10
  1034.  
  1035.  
  1036. ; Display Paralyz effect, hidden if 0
  1037. set tnoHSB.hud_val to sv_Construct "##P$GetAVParalized"
  1038. set tnoHSB.hud_type to HUDbarEffectIcon ; Display the effect icon
  1039. set tnoHSB.hud_spell_effect to sv_Construct "PARA" ; Effect code for Chameleon
  1040. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  1041. set tnoHSB.hud_visible to sv_Construct "tnoHSB.val > 0"
  1042. set tnoHSB.hud_x to 47
  1043. set tnoHSB.hud_y to 47
  1044.  
  1045. SetStage tnoHSB 10
  1046.  
  1047. ; Display Silenced effect, hidden if 0
  1048. set tnoHSB.hud_val to sv_Construct "##P$GetAVSilenced"
  1049. set tnoHSB.hud_type to HUDbarEffectIcon ; Display the effect icon
  1050. set tnoHSB.hud_spell_effect to sv_Construct "SLNC" ; Effect code for Chameleon
  1051. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  1052. set tnoHSB.hud_visible to sv_Construct "tnoHSB.val > 0"
  1053. set tnoHSB.hud_x to 53
  1054. set tnoHSB.hud_y to 47
  1055.  
  1056. SetStage tnoHSB 10
  1057.  
  1058.  
  1059.  
  1060. ; ==== Oblivion XP bar - Show a XP Bar in same position as compass, but in the upper part of screen.
  1061. ; Large bar above compass shows xp and color change depending on value of ObXP's RestedXP.
  1062. ; Remember to set progressDisplayBar to 0 in Oblivion XP Settings.ini - Only text
  1063. set tnoHSB.hud_visible_on to sv_Construct "tnoHSB.bFunctionKeyPressed || tnoHSB.frac>=1"
  1064. set tnoHSB.hud_visible_time to 10
  1065. set tnoHSB.hud_color to sv_Construct "7 - 6*(tnoHSB.frac>=1) + 3*(tnoHSB.frac<1 && ObXPMain.RestedXP>0)" ;yellow, but green if ready to levelup and orange if rested
  1066. set tnoHSB.hud_val to sv_Construct "ObXPMain.currentXP"
  1067. set tnoHSB.hud_max to sv_Construct "ObXPMain.neededXP"
  1068. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1069. set tnoHSB.hud_size to 200
  1070. set tnoHSB.hud_x to 50
  1071. set tnoHSB.hud_y to 0
  1072.  
  1073. SetStage tnoHSB 10
  1074.  
  1075.  
  1076.  
  1077.  
  1078. ; ==== Oblivion XP progress text:
  1079. ; Text label shows exact values for xp, and text changes color depending on value of ObXP's RestedXP.
  1080. ; Remember to set progressDisplayBar to 0 in Oblivion XP Settings.ini - Only text
  1081. set tnoHSB.hud_visible_on to sv_Construct "tnoHSB.bFunctionKeyPressed || tnoHSB.frac>=1"
  1082. set tnoHSB.hud_visible_time to 10
  1083. set tnoHSB.hud_color to sv_Construct "7 - 6*(tnoHSb.frac>=1) + 3*(tnoHSb.frac<1 && ObXPMain.RestedXP>0)" ;yellow, but green if ready to levelup and orange if rested
  1084. set tnoHSB.hud_val to sv_Construct "ObXPMain.currentXP"
  1085. set tnoHSB.hud_max to sv_Construct "ObXPMain.neededXP"
  1086. set tnoHSB.hud_name to sv_Construct "XP: " ; Static text. Remove this and the two next lines if you don't want the text
  1087. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color" ; Color matches bar color
  1088. set tnoHSB.hud_textType to HUDfontKingthings
  1089. set tnoHSB.hud_textSize to 12
  1090. set tnoHSB.hud_textDisplay to HUDtxtValueOfMax ; Display as value of max
  1091. set tnoHSB.hud_type to HUDtxtNoBar
  1092. set tnoHSB.hud_textPos_x to HUDtxtRight
  1093. set tnoHSB.hud_textPos_y to HUDtxtCenter
  1094. set tnoHSB.hud_x to 60
  1095. set tnoHSB.hud_y to 1
  1096.  
  1097. SetStage tnoHSB 10
  1098.  
  1099.  
  1100.  
  1101. ; ==== Level - Show Text for level
  1102. set tnoHSB.hud_visible_on to sv_Construct "tnoHSB.bFunctionKeyPressed || tnoHSB.frac>=1"
  1103. set tnoHSB.hud_visible_time to 10
  1104. set tnoHSB.hud_color to sv_Construct "2+8*(tnoHSB.frac>.1)-3*(tnoHSB.frac>.15)+4*(tnoHSB.frac>.25)-10*(tnoHSB.frac>.35)+3*(tnoHSB.frac>.45)-1*(tnoHSB.frac>.6)"
  1105. set tnoHSB.hud_val to sv_Construct "#P$GetLevel"
  1106. set tnoHSB.hud_min to sv_Construct "1"
  1107. set tnoHSB.hud_max to sv_Construct "100"
  1108. set tnoHSB.hud_type to HUDtxtNoBar
  1109. set tnoHSB.hud_name to sv_Construct "Level: "
  1110. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1111. set tnoHSB.hud_textDisplay to HUDtxtValue
  1112. set tnoHSB.hud_textPos_x to HUDtxtRight
  1113. set tnoHSB.hud_textPos_y to HUDtxtCenter
  1114. set tnoHSB.hud_x to 40
  1115. set tnoHSB.hud_y to 0
  1116. set tnoHSB.hud_textType to HUDfontKingthings
  1117. set tnoHSB.hud_textSize to 14
  1118.  
  1119. SetStage tnoHSB 10
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128. ;==================================================Information positioned left side to Mini Map.
  1129.  
  1130.  
  1131.  
  1132.  
  1133. ; ==== 24hr clock (real time in Windows), displayed as hh.mm
  1134. set tnoHSB.hud_visible_on to sv_Construct "$GetQuestKeyPressed"
  1135. set tnoHSB.hud_visible_time to 30
  1136. set tnoHSB.hud_tmp to sv_Construct "Floor RealHour" ; Temporary variable holding the number of whole hours since midnight
  1137. set tnoHSB.hud_val to sv_Construct "3*(RealHour - tnoHSB.tmp)/5 + tnoHSB.tmp" ; converts decimals to minutes
  1138. set tnoHSB.hud_max to sv_Construct "24"
  1139. set tnoHSB.hud_name to sv_Construct "#0[0:(tnoHSB.val<10)]" ; Adds a leading 0 if time is < 10hr
  1140. set tnoHSB.hud_textColor to sv_Construct "3+4*(tnoHSB.tmp>=7 && tnoHSB.tmp<20)" ; Yellow (7) from 7am - 8pm, blue (3) otherwise
  1141. set tnoHSB.hud_textDisplay to HUDtxtValue2 ; we want two decimal places
  1142. set tnoHSB.hud_textPos_x to HUDtxtRight
  1143. set tnoHSB.hud_type to HUDtxtNoBar ; Hide bar, only display text
  1144. set tnoHSB.hud_textSize to 14
  1145. set tnoHSB.hud_x to 78
  1146. set tnoHSB.hud_y to 3
  1147.  
  1148. SetStage tnoHSB 10
  1149.  
  1150.  
  1151.  
  1152. ; ==== 12hr clock, displayed as h.mm am/pm
  1153. set tnoHSB.hud_visible_on to sv_Construct "$GetQuestKeyPressed"
  1154. set tnoHSB.hud_visible_time to 30
  1155. set tnoHSB.hud_tmp to sv_Construct "Floor GameHour" ; Temporary variable holding the number of whole hours since midnight
  1156. set tnoHSB.hud_val to sv_Construct "3*(GameHour - tnoHSB.tmp)/5 + tnoHSB.tmp - 12*(tnoHSB.tmp>=13) + 12*(tnoHSB.tmp<1)" ; essentially makes hud_val a 12 hr clock
  1157. set tnoHSB.hud_max to sv_Construct "24"
  1158. set tnoHSB.hud_name to sv_Construct " " ; No text before time
  1159. set tnoHSB.hud_name_2 to sv_Construct " #ampm[(tnoHSB.tmp>=12)*2:2]" ; One space, + am if GameHour < 12, or pm if GameHour >= 12
  1160. set tnoHSB.hud_textColor to sv_Construct "3+4*(tnoHSB.tmp>=7 && tnoHSB.tmp<20)" ; Yellow (7) from 7am - 8pm, blue (3) otherwise
  1161. set tnoHSB.hud_textDisplay to HUDtxtValue2 ; we want two decimal places
  1162. set tnoHSB.hud_textPos_x to HUDtxtRight
  1163. set tnoHSB.hud_textPos_y to HUDtxtNoBar ; Hide bar, only display text
  1164. set tnoHSB.hud_textSize to 14
  1165. set tnoHSB.hud_y to HUDprevBarBelow
  1166.  
  1167. SetStage tnoHSB 10
  1168.  
  1169.  
  1170.  
  1171. ; === Day of the week and Date, ex: Morndas 5
  1172. set tnoHSB.hud_visible_on to sv_Construct "$GetQuestKeyPressed"
  1173. set tnoHSB.hud_visible_time to 30
  1174. set tnoHSB.hud_tmp to sv_Construct "$GetDayOfWeek"
  1175. set tnoHSB.hud_val to sv_Construct "$GameDay"
  1176. set tnoHSB.hud_name to sv_Construct "#Sundas MorndasTirdas Middas Turdas Fredas Loredas[7*tnoHSB.tmp:7 ] "
  1177. set tnoHSB.hud_textColor to Sv_Construct "HUDcolorOrange"
  1178. set tnoHSB.hud_type to HUDtxtNoBar
  1179. set tnoHSB.hud_textPos_x to HUDtxtRight
  1180. set tnoHSB.hud_y to HUDprevBarBelow
  1181.  
  1182. SetStage tnoHSB 10
  1183.  
  1184.  
  1185. ; === Month and year, ex: Frost Fall 436. Colored by season (winter: white, spring: green, summer:yellow, fall:orange)
  1186. set tnoHSB.hud_visible_on to sv_Construct "$GetQuestKeyPressed"
  1187. set tnoHSB.hud_visible_time to 30
  1188. set tnoHSB.hud_textColor to sv_Construct "13-12*(tnoHSB.tmp>1)+6*(tnoHSB.tmp>4)+3*(tnoHSB.tmp>7)+3*(tnoHSB.tmp>10)"
  1189. set tnoHSB.hud_tmp to sv_Construct "$GameMonth"
  1190. set tnoHSB.hud_val to sv_Construct "GameYear"
  1191. set tnoHSB.hud_name to sv_Construct "#Morningstar Sun's Dawn First Seed Rain's Hand Second Seed Mid-Year Sun's HeightLast Seed Heartfire Frost Fall Sun's Dusk Evening Star[12*tnoHSB.tmp:12 ] "
  1192. set tnoHSB.hud_type to HUDtxtNoBar
  1193. set tnoHSB.hud_textPos_x to HUDtxtRight
  1194. set tnoHSB.hud_y to HUDprevBarBelow
  1195.  
  1196. SetStage tnoHSB 10
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203. ; =============================================Left side in between UI messages and XP bar on top screen
  1204. ; ==== Player Fame
  1205. ; Color is not needed since only text is displayed
  1206. set tnoHSB.hud_val to sv_Construct "##$GetPlayerFame"
  1207. set tnoHSB.hud_name to sv_Construct "Beneficial Reputation: "
  1208. set tnoHSB.hud_textColor to sv_Construct "HUDcolorGreen"
  1209. set tnoHSB.hud_type to HUDtxtNoBar
  1210. set tnoHSB.hud_visible to sv_Construct "tnoHSB.bFunctionKeyPressed && (Player.IsWeaponOut || Player.IsInCombat)"
  1211. set tnoHSB.hud_visible_time to sv_Construct 15
  1212. set tnoHSB.hud_x to 25
  1213. set tnoHSB.hud_y to 0
  1214. set tnoHSB.hud_fade_in to 0.25
  1215. set tnoHSB.hud_fade_out to 1
  1216. set tnoHSB.hud_popup_in to 0.25
  1217. set tnoHSB.hud_popup_out to 1
  1218. set tnoHSB.hud_popup_dirin to HUDbarsRight
  1219. set tnoHSB.hud_popup_dirout to HUDbarsRight
  1220.  
  1221. SetStage tnoHSB 10
  1222.  
  1223.  
  1224. ; ==== Player Infamy
  1225. set tnoHSB.hud_val to sv_Construct "##$GetPlayerInfamy"
  1226. set tnoHSB.hud_name to sv_Construct "Malovent Reputation: "
  1227. set tnoHSB.hud_textColor to sv_Construct "HUDcolorRed"
  1228. set tnoHSB.hud_type to HUDtxtNoBar
  1229. set tnoHSB.hud_visible to sv_Construct "tnoHSB.bFunctionKeyPressed && (Player.IsWeaponOut || Player.IsInCombat)"
  1230. set tnoHSB.hud_visible_time to sv_Construct 15
  1231. set tnoHSB.hud_x to 25
  1232. set tnoHSB.hud_y to HUDprevBarBelow
  1233. set tnoHSB.hud_fade_in to 0.25
  1234. set tnoHSB.hud_fade_out to 1
  1235. set tnoHSB.hud_popup_in to 0.25
  1236. set tnoHSB.hud_popup_out to 1
  1237. set tnoHSB.hud_popup_dirin to HUDbarsRight
  1238. set tnoHSB.hud_popup_dirout to HUDbarsRight
  1239. SetStage tnoHSB 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement