Advertisement
Guest User

maczopikczo Hud Status Bars settings

a guest
Feb 11th, 2016
1,531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 87.22 KB | None | 0 0
  1. [[[THIS PART IS Hud Status Bars - base.ini (Hud Status Bars.ini follows]]]
  2. ;=================================== Base settings for vanilla style bars ===============================
  3.  
  4.  
  5.  
  6. ; =================== General settings
  7.  
  8. ; Set how fast the hud will update (interval in seconds). Smaller number means faster update
  9. set tnoHSB.updateInterval to 0.2
  10.  
  11. ; Set whether optimalization is enabled (1). If enabled, color, text and visibility of a bar is only changed if the calculated fraction changes,
  12. ; where fraction is (val - min) / (max - min). You can still turn off optimalization for individual bars (see user guide).
  13. set tnoHSB.optimalization to 0
  14.  
  15. ; Set whether HUD Status Bars will modify the Encumbrance display in the Inventory menu, to display the correct values
  16. ; A bug in Oblivion make encumbrance display inccorectly whenever the player has any feather effects
  17. ; See http://www.uesp.net/wiki/Oblivion:Feather#Bug for details about the bug.
  18. ; Setting correct_encumbrance to a positive value corrects this bug. Set to 0 to disable the feature
  19. ; The value should be: 4 (5 if playing Nehrim) - this value is actually the weight of the playe's inventory when game starts.
  20. set tnoHSB.correct_encumbrance to 4
  21.  
  22. ; Set text to use when displaying a value as <value> <of> <max>, Default " of ", other natural choice is "/"
  23. set tnoHSB.textDivider to sv_Construct " of "
  24.  
  25. ; Enable general debug (1)
  26. set tnoHSB.debug to 0
  27.  
  28.  
  29.  
  30. ; =================== Default Status Bar settings
  31. ; Settings that apply to all status bars. They may be overridden in settings for the individual bars
  32.  
  33. ; Vertical gap between each hud bar.
  34. ; HUDdefault means using the same gap as between the three standard bars
  35. set tnoHSB.vertical_gap to HUDdefault
  36.  
  37. ; Alpha (transparency) for bars
  38. ; HUDdefault means using same alpha as for the three standard bars
  39. set tnoHSB.alpha to HUDdefault
  40.  
  41. ; Set additional vertical gap between the hud bar and an icon. A negative value will move it closer to the icon
  42. ; Only used for bars with hud_x set to HUDweapon/magic/compass/effects - Above/Below
  43. set tnoHSB.vertical_icon_gap to 6
  44.  
  45. ; Set the horizontal gap between hud bars and the icon/bar to the immediate left/right.
  46. set tnoHSB.horizontal_gap to 10
  47.  
  48. ; Set default values for text. See deatils in the user guide, under hud_<setting>
  49. set tnoHSB.textColor to HUDcolorWhite
  50. set tnoHSB.textType to HUDfontSimple
  51. set tnoHSB.textSize to 10
  52. set tnoHSB.textPos_x to HUDtxtCenter
  53. set tnoHSB.textPos_y to HUDtxtAbove
  54. set tnoHSB.textAdjust_y to 0
  55.  
  56. ; Set additional gap when using text above/below a bar. Default 3
  57. set tnoHSB.textAdditionalGap_y to 3
  58.  
  59. ; Set additional gap when using text to the left/right of a bar. Default 3
  60. set tnoHSB.textAdditionalGap_x to 3
  61.  
  62. ; Set default color, and offset if using text shadow.
  63. set tnoHSB.textShadowColor to 0 ; 0 disables default textShadow, otherwise use a color, e.g. HUDcolorBlack
  64. set tnoHSB.textShadow_x to 1
  65. set tnoHSB.textShadow_y to 1
  66.  
  67. ; Set the default size of bars, as percentage of a full-sise bar
  68. ; HUDdefault means same size as standard bars, whether they are 100% or reduced (if using DarN UI or similar)
  69. set tnoHSB.bar_size to HUDdefault
  70.  
  71. ; Set the default size of icons of type HUDbarRefIcon or HUDbarEffectIcon, as percentage of default (64x64)
  72. set tnoHSB.icon_size to 50
  73.  
  74. ; Set the default size of custom icons, as percentage of default (32x32 or other)
  75. set tnoHSB.custom_size to 100
  76.  
  77.  
  78.  
  79. ; =================== Vanilla bar adjustments
  80.  
  81. ; Set whether to hide the vanilla enemy health bar, in order to completely replace it with a health bar from HSB, by setting this to 1
  82. set tnoHSB.hide_health_bar to 1
  83.  
  84. ; Hide the vanilla sneak icon, in order to completely replace it with a sneak icon from HSB, by setting this to 1
  85. set tnoHSB.hide_sneak_icon to 1
  86.  
  87. ; Hide the vanilla status bars (healt, magicka, fatigue), in order to completely replace them with custom bars from HSB, by setting this to 1
  88. set tnoHSB.hide_status_bars to 0
  89.  
  90. ; Hide the weapon durability bar, in order to replace it by a better working durability bar, by setting this to 1
  91. set tnoHSB.hide_weapon_durability to 1
  92.  
  93.  
  94. ; Set order to position the four vanilla icons below
  95. set tnoHSB.icon_order to sv_Construct "CWML"
  96.  
  97. ; == compass
  98. ; HUDdefault means that HSB doesn't move/resize the compass
  99. set tnoHSB.hide_compass to 0
  100. set tnoHSB.compass_x to 50
  101. set tnoHSB.compass_y to HUDbarsLow
  102. set tnoHSB.compass_size to 50 ; Set value as % of full size
  103. set tnoHSB.compass_degrees to 270 ; 90-360
  104. set tnoHSB.compass_alpha_reduction to 0.2 ; The alpha (opaqueness) of markers far away is reduced by 20%
  105. set tnoHSB.compass_size_reduction to 0.4 ; The size of markers far away is reduced by 40%
  106. set tnoHSB.compass_hide_quest to 0 ; Don't hide compass quest arrow
  107. set tnoHSB.compass_color to HUDcolorRhubarb ; Color of NESW letters in Skyrim style compass,
  108. ; Color of compass body in Orb compass
  109. ; No effect otherwise
  110.  
  111. ; == Weapon icon
  112. ; HUDdefault means that HSB doesn't move/resize of the weapon icon
  113. set tnoHSB.hide_weapon to 0
  114. set tnoHSB.weapon_size to HUDdefault
  115. set tnoHSB.weapon_x to HUDdefault
  116. set tnoHSB.weapon_y to HUDdefault
  117.  
  118. ; == Magic icon
  119. ; HUDdefault means that HSB doesn't move/resize of the magic icon
  120. set tnoHSB.hide_magic to 0
  121. set tnoHSB.magic_size to HUDdefault
  122. set tnoHSB.magic_x to HUDdefault
  123. set tnoHSB.magic_y to HUDdefault
  124.  
  125. ; == Levelup icon
  126. ; HUDdefault means that HSB doesn't move/resize of the levelup icon
  127. set tnoHSB.levelup_size to HUDdefault
  128. set tnoHSB.levelup_x to HUDdefault
  129. set tnoHSB.levelup_y to HUDdefault
  130.  
  131. ; == Location text
  132. set tnoHSB.location_display to 1 ; 0: Show normal, 1: Hide completely, 2: Hide, but show as message
  133. set tnoHSB.location_x to HUDdefault ; Let it keep normal position
  134. set tnoHSB.location_y to HUDdefault
  135.  
  136.  
  137.  
  138.  
  139. ; =================== Custom bars setup
  140.  
  141. ;Set default look of centered bars. Only the skyrim look exists for now
  142. set tnoHSB.centered_fill to sv_Construct "Skyrim\centered_fill" ; Fill bar uses Skyrim\barH.dds
  143. set tnoHSB.centered_back to sv_Construct "Skyrim\centered_back" ; Background uses Skyrim\backH.dds
  144. set tnoHSB.centered_bw to 300 ; Background image size is 300x20
  145. set tnoHSB.centered_bh to 20
  146. set tnoHSB.centered_fw to 128 ; Fill bar image size is 128x20
  147. set tnoHSB.centered_fh to 20
  148. set tnoHSB.centered_fy to 0
  149. set tnoHSB.centered_fo to 8 ; Keep 8 remaining pixels when "empty"
  150.  
  151. -------------------------------------------------------------------------------------------------------
  152. [[[HERE BEGINS Hud Status Bars.ini]]]
  153.  
  154. ; ============================================================================
  155. ; =================== General settings
  156. ; Below are the general settings applicable to all bars.
  157.  
  158. ; Set how fast the hud will update (interval in seconds). Smaller number means faster update
  159. set tnoHSB.updateInterval to 0.2
  160.  
  161. ; Set whether HUD Status Bars will modify the Encumbrance display in the Inventory menu, to display the correct values
  162. ; A bug in Oblivion make encumbrance display inccorectly whenever the player has any feather effects
  163. ; See http://www.uesp.net/wiki/Oblivion:Feather#Bug for details about the bug.
  164. ; Setting correct_encumbrance to 1 corrects this bug.
  165. set tnoHSB.correct_encumbrance to 1
  166.  
  167. ; Set whether to hide the vanilla enemy health bar, in order to completely replace it with a health from HSB
  168. ; Set to 1 to hide vanilla bar, and 0 to display it
  169. set tnoHSB.hide_health_bar to 0
  170.  
  171.  
  172. ; Enable general debug (1)
  173. set tnoHSB.debug to 0
  174.  
  175.  
  176. ; =================== General Status Bar settings
  177. ; Settings that apply to all status bars. Some of them may be overridden in settings for the individual bars
  178.  
  179. ; Vertical gap between each hud bar.
  180. ; HUDdefault means using the same gap as between the three standard bars
  181. set tnoHSB.vertical_gap to HUDdefault
  182.  
  183. ; Alpha (transparency) for bars
  184. ; HUDdefault means using same alpha as for the three standard bars
  185. ; set tnoHSB.alpha to HUDdefault
  186.  
  187. ; Set additional vertical gap between the hud bar and an icon. A negative value will move it closer to the icon
  188. ; Only used for bars with hud_x set to HUDweapon/magic/compass/effects - Above/Below
  189. set tnoHSB.vertical_icon_gap to 0
  190.  
  191. ; Set the horizontal gap between hud bars and the icon/bar to the immediate left/right.
  192. set tnoHSB.horizontal_gap to 10
  193.  
  194. ; Set default values for text. See deatils in the user guide
  195. set tnoHSB.textColor to HUDcolorWhite
  196. set tnoHSB.textType to HUDfontSimple
  197. set tnoHSB.textSize to 10
  198.  
  199. ; Set additional gap when using text above/below a bar. Default 3
  200. set tnoHSB.textAdditionalGap_y to 3
  201.  
  202. ; Set additional gap when using text to the left/right of a bar. Default 3
  203. set tnoHSB.textAdditionalGap_x to 3
  204.  
  205. ; Set offset if using text shadow. Default 1 for both x and y
  206. ;set tnoHSB.textShadow_x to 1
  207. ;set tnoHSB.textShadow_y to 1
  208.  
  209. ; Set text to use when displaying a value as <value> <of> <max>, Default " of ", other natural choice is "/"
  210. set tnoHSB.textDivider to sv_Construct " of "
  211.  
  212.  
  213.  
  214. ; HUD status bars.ini
  215. ; =====================
  216. ; Version: 2.0.1
  217.  
  218.  
  219.  
  220. ; =================== General settings
  221. ; Below are the general settings applicable to all bars.
  222.  
  223. ; Set how fast the hud will update (interval in seconds). Smaller number means faster update
  224. ;set tnoHSB.updateInterval to 1
  225.  
  226. ; Enable general debug (1)
  227. ;set tnoHSB.debug to 0
  228.  
  229.  
  230. ; =================== General Status Bar settins
  231. ; Settings that apply to all status bars. Some of them may be overridden in settings for the individual bars
  232.  
  233. ; Set the vertical gap between each hud bar.
  234. ; HUDdefault means using the same gap as between the three standard bars
  235. ;set tnoHSB.vertical_gap to HUDdefault
  236.  
  237. ; Set additional vertical gap between the hud bar and an icon. A negative value will move it closer to the icon
  238. ; Only used for bars with hud_x set to HUDweapon/magic/compass/effects - Above/Below
  239. ;set tnoHSB.vertical_icon_gap to 0
  240.  
  241. ; Set the horizontal gap between hud bars and the icon/bar to the immediate left/right.
  242. ;set tnoHSB.horizontal_gap to 10
  243.  
  244. ; Set default values for text. See deatils in the user guide
  245. ;set tnoHSB.textColor to HUDcolorWhite
  246. ;set tnoHSB.textType to HUDfontSimple
  247. ;set tnoHSB.textSize to 10
  248.  
  249. ; Set additional gap when using text above/below a bar. Default 3
  250. ;set tnoHSB.textAdditionalGap_y to 3
  251.  
  252. ; Set additional gap when using text to the left/right of a bar. Default 3
  253. ;set tnoHSB.textAdditionalGap_x to 3
  254.  
  255. ; Set text to use when displaying a value as <value> <of> <max>, Default " of ", other natural choice is "/"
  256. ;set tnoHSB.textDivider to sv_Construct " of "
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266. ; =================== STATUS BARS
  267.  
  268. ; =================== Status Bar 0
  269. ; Display Health Numeric value
  270.  
  271. set tnoHSB.hud_color to sv_Construct "HudColorRed"
  272. set tnoHSB.hud_val to sv_Construct "GetActorValue Health"
  273. set tnoHSB.hud_max to sv_Construct "GetBaseActorValue Health"
  274.  
  275.  
  276.  
  277. set tnoHSB.hud_x to 12
  278. set tnoHSB.hud_y to 97
  279. set tnoHSB.hud_size to 68
  280. set tnoHSB.hud_name to sv_Construct "H: "
  281. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  282. set tnoHSB.hud_textDisplay to HUDtxtValue
  283. set tnoHSB.hud_textPos_x to HUDtxtCenter
  284. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  285. set tnoHSB.hud_textSize to 8
  286. SetStage tnoHSB 10
  287.  
  288.  
  289. ; =================== Status Bar 1
  290. ; Display Magicka Numeric value
  291.  
  292. set tnoHSB.hud_color to sv_Construct "HudColorBlue"
  293. set tnoHSB.hud_val to sv_Construct "GetActorValue Magicka"
  294. set tnoHSB.hud_max to sv_Construct "GetBaseActorValue Magicka"
  295.  
  296.  
  297.  
  298. set tnoHSB.hud_x to HUDdefault
  299. set tnoHSB.hud_y to HUDprevBarBelow
  300. set tnoHSB.hud_size to 68
  301. set tnoHSB.hud_name to sv_Construct "M: "
  302. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  303. set tnoHSB.hud_textDisplay to HUDtxtValue
  304. set tnoHSB.hud_textPos_x to HUDtxtCenter
  305. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  306. set tnoHSB.hud_textSize to 8
  307. SetStage tnoHSB 10
  308.  
  309.  
  310. ; =================== Status Bar 2
  311. ; Display Fatigue Numeric value
  312.  
  313. set tnoHSB.hud_color to sv_Construct "HudColorGreen"
  314. set tnoHSB.hud_val to sv_Construct "GetActorValue Fatigue"
  315. set tnoHSB.hud_max to sv_Construct "GetBaseActorValue Fatigue"
  316.  
  317.  
  318.  
  319. set tnoHSB.hud_x to HUDdefault
  320. set tnoHSB.hud_y to HUDprevBarBelow
  321. set tnoHSB.hud_size to 68
  322. set tnoHSB.hud_name to sv_Construct "F: "
  323. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  324. set tnoHSB.hud_textDisplay to HUDtxtValue
  325. set tnoHSB.hud_textPos_x to HUDtxtCenter
  326. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  327. set tnoHSB.hud_textSize to 8
  328. SetStage tnoHSB 10
  329.  
  330.  
  331.  
  332. ; =================== Status Bar 3
  333. ; ==== Vampire Level, displayed as text: "Vampire: 2". Hidden if not vampire.
  334.  
  335.  
  336. set tnoHSB.hud_color to sv_Construct "HUDcolorGrey*(PCVampire > 0)" ; Will be 10 (grey) if PCVampire > 0, and 0 (invisible if not)
  337. set tnoHSB.hud_val to sv_Construct "PCVampire" ; A global Oblivion variable, from 0-4 (or -1 if cured)
  338. set tnoHSB.hud_max to sv_Construct "4"
  339.  
  340. set tnoHSB.hud_x to 6
  341. set tnoHSB.hud_y to 87
  342. set tnoHSB.hud_size to 68
  343. set tnoHSB.hud_name to sv_Construct "Vampire Level: "
  344. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  345. set tnoHSB.hud_textDisplay to HUDtxtValue
  346. set tnoHSB.hud_textPos_x to HUDtxtLeft
  347. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  348. set tnoHSB.hud_textSize to 10
  349. SetStage tnoHSB 10
  350.  
  351.  
  352.  
  353. ; =================== Status Bar 4
  354. ; ==== Oblivion gates: A text field displayed during Oblivon crisis only, showing how many of the possible opened gates you have closed, displaying "Gates: 14 of 50"
  355.  
  356.  
  357. set tnoHSB.hud_color to sv_Construct "HUDcolorRed*(GetStage MQ16<100)*(OblivionCrisis>0)" ; Will be red if both checks are true, and 0 (invisible if not)
  358. set tnoHSB.hud_val to sv_Construct "GetPCMiscStat 13" ; Number of closed gates
  359. set tnoHSB.hud_max to sv_Construct "MQ00.openGates+(GetPCMiscStat 13)-MQ00.destroyedGates" ; Number of open gates at that stage
  360.  
  361. set tnoHSB.hud_x to HudDefualt
  362. set tnoHSB.hud_y to HudprevBarBelow
  363. set tnoHSB.hud_size to 68
  364. set tnoHSB.hud_name to sv_Construct "Gates: "
  365. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  366. set tnoHSB.hud_textDisplay to HUDtxtValueOfMax
  367. set tnoHSB.hud_textPos_x to HUDtxtLeft
  368. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  369. set tnoHSB.hud_textSize to 10
  370. SetStage tnoHSB 10
  371.  
  372.  
  373.  
  374.  
  375. ; =================== Status Bar 5
  376. ; Enemy Target Status Bars
  377.  
  378.  
  379. set tnoHSB.hud_color to sv_Construct "HUDcolorWhite"
  380. set tnoHSB.hud_ref to sv_Construct "hud_enemy" ; ref is last attacked enemy
  381. set tnoHSB.hud_val to sv_Construct "GetLevel" ; level of last attacked enemy
  382. set tnoHSB.hud_max to sv_Construct "100" ; Not important, since only val will be displayed as text
  383. set tnoHSB.hud_name to sv_Construct "hud_ref Level: " ; Display "<name of enemy> Level: "
  384. set tnoHSB.hud_textDisplay to HUDtxtValue ; Display level
  385. set tnoHSB.hud_x to HUDcompassCenter
  386. set tnoHSB.hud_y to HUDcompassAbove
  387. set tnoHSB.hud_textPos_x to HUDtxtCenter
  388. set tnoHSB.hud_textPos_y to HUDtxtNoBar ; Hide bar, only display text
  389. SetStage tnoHSB 10
  390.  
  391. ; === Display enemy Fatigue bar.
  392.  
  393. set tnoHSB.hud_color to sv_Construct "HUDcolorGreen"
  394. set tnoHSB.hud_val to sv_Construct "GetAV Fatigue" ; Current encumbrance
  395. set tnoHSB.hud_ref to sv_Construct "hud_enemy" ; ref is last attacked enemy
  396. set tnoHSB.hud_max to sv_Construct "GetBaseAV Fatigue" ; Normal full encumbrance
  397. set tnoHSB.hud_y to HUDprevBarAbove
  398.  
  399. set tnoHSB.hud_name to sv_Construct "Fat: "
  400. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  401. set tnoHSB.hud_textDisplay to HUDtxtValue
  402. set tnoHSB.hud_textPos_x to HUDtxtRight
  403. set tnoHSB.hud_textPos_y to HUDtxtCenter
  404. set tnoHSB.hud_textSize to 8
  405. SetStage tnoHSB 10
  406.  
  407. ; === Display enemy Encumbrance bar.
  408.  
  409. ; set tnoHSB.hud_color to sv_Construct "7" ; Yellow (7) color
  410. ; set tnoHSB.hud_ref to sv_Construct "hud_enemy" ; ref is last attacked enemy
  411. ; set tnoHSB.hud_val to sv_Construct "GetAV Encumbrance" ; Player is default reference when hud_ref is not defined.
  412. ; set tnoHSB.hud_min to sv_Construct "(GetBaseAV Encumbrance) - 4" ; Bar is at min (empty) when current encumbrance = maximum encumbrance
  413. ; set tnoHSB.hud_max to sv_Construct "0" ; Bar is at max (full) when current encumrance = 0
  414. ; set tnoHSB.hud_y to HUDprevBarAbove
  415. ; set tnoHSB.hud_name to sv_Construct "Enc: "
  416. ; set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  417. ; set tnoHSB.hud_textDisplay to HUDtxtValue
  418. ; set tnoHSB.hud_textPos_x to HUDtxtRight
  419. ; set tnoHSB.hud_textPos_y to HUDtxtCenter
  420. ; set tnoHSB.hud_textSize to 8
  421. ; SetStage tnoHSB 10
  422.  
  423. ; Display Enemy Magicka
  424.  
  425. set tnoHSB.hud_color to sv_Construct "HudColorBlue*(tnoHSB.frac>0)"
  426. set tnoHSB.hud_ref to sv_Construct "hud_enemy" ; ref is last attacked enemy
  427. set tnoHSB.hud_val to sv_Construct "GetActorValue Magicka"
  428. set tnoHSB.hud_max to sv_Construct "GetBaseActorValue Magicka"
  429. set tnoHSB.hud_y to HUDprevBarAbove
  430.  
  431. set tnoHSB.hud_name to sv_Construct "Mag: "
  432. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  433. set tnoHSB.hud_textDisplay to HUDtxtValue
  434. set tnoHSB.hud_textPos_x to HUDtxtRight
  435. set tnoHSB.hud_textPos_y to HUDtxtCenter
  436. set tnoHSB.hud_textSize to 8
  437. SetStage tnoHSB 10
  438.  
  439. ; === Display enemy Health bar
  440.  
  441. set tnoHSB.hud_ref to sv_Construct "hud_enemy"
  442. set tnoHSB.hud_tmp to sv_Construct "$GetLevel"
  443. set tnoHSB.hud_tmp_2 to sv_Construct "$IsPoisoned"
  444. set tnoHSB.hud_max to sv_Construct "$GetHealthMax"
  445. set tnoHSB.hud_val to sv_Construct "##$GetHealthCur"
  446.  
  447. ; set tnoHSB.hud_visible to sv_Construct "$GetPlayerKnowsEnemy"
  448. set tnoHSB.hud_visible_first to 1
  449. set tnoHSB.hud_color_min to HUDcolorRed
  450. set tnoHSB.hud_color_half to HUDcolorOrange
  451. set tnoHSB.hud_color_max to HUDcolorPink
  452. set tnoHSB.hud_color_low to 20
  453. set tnoHSB.hud_color_midLow to 40
  454. set tnoHSB.hud_color_midHigh to 60
  455. set tnoHSB.hud_color_high to 80
  456. set tnoHSB.hud_direction to HUDdirBoth
  457. set tnoHSB.hud_size to 68
  458. set tnoHSB.hud_x to HUDcompassCenter
  459. set tnoHSB.hud_y to HUDprevBarAbove
  460.  
  461. ; set tnoHSB.hud_speed to 1
  462. set tnoHSB.hud_fade_in to 0.25
  463. set tnoHSB.hud_fade_out to 1
  464. set tnoHSB.hud_popup_in to 0.25
  465. set tnoHSB.hud_popup_out to 1
  466. set tnoHSB.hud_popup_dirin to HUDbarsAbove
  467. set tnoHSB.hud_popup_dirout to HUDbarsAbove
  468.  
  469. set tnoHSB.hud_name to sv_Construct "$[hud_ref (Lv %%%%.0f): ]$ tnoHSB.tmp"
  470. set tnoHSB.hud_textDisplay to HUDtxtValueOfMax
  471. set tnoHSB.hud_textColor to sv_Construct "13 - 4*(tnoHSB.tmp)"
  472. set tnoHSB.hud_textShadowColor to sv_Construct "15"
  473. set tnoHSB.hud_textPos_x to HUDtxtCenter
  474. set tnoHSB.hud_textPos_y to HUDtxtAbove
  475.  
  476. set tnoHSB.hud_updateInterval to 0.1
  477.  
  478. SetStage tnoHSB 10
  479.  
  480. ; set tnoHSB.hud_color to sv_Construct "HUDcolorHealth"
  481. ; set tnoHSB.hud_val to sv_Construct "GetAV Health" ; Health of last attacked enemy
  482. ; set tnoHSB.hud_ref to sv_Construct "hud_enemy" ; ref is last attacked enemy
  483. ; set tnoHSB.hud_max to sv_Construct "tnoHSB.enemyMaxHealth" ; A special variable
  484. ; set tnoHSB.hud_y to HUDprevBarAbove ; Just below the level text
  485. ; SetStage tnoHSB 10
  486.  
  487.  
  488.  
  489.  
  490. ; =================== Status Bar 6
  491. ; Display current charge of equipped weapon. Hide bar if you don't have an enchanted weapon equipped.
  492.  
  493. set tnoHSB.hud_color to sv_Construct "HUDcolorPurple*(tnoHSB.max>0)" ; 8 (purple) if the player has an enchanted weapon equipped. 0 (bar is hidden), if not.
  494. set tnoHSB.hud_val to sv_Construct "GetEquippedCurrentCharge 16" ; Set val to current charge of player's equipped weapon
  495. set tnoHSB.hud_max to sv_Construct "GetObjectCharge hud_weapon" ; Get object charge (max charge) of the current equipped weapon
  496. set tnoHSB.hud_x to HUDweaponCenter ; Centered relative to weapon icon
  497. set tnoHSB.hud_y to HUDweaponAbove ; Right above weapon icon
  498. set tnoHSB.hud_size to HUDweaponWidth ; Same width as weapon icon
  499.  
  500. SetStage tnoHSB 10
  501.  
  502.  
  503. ; =================== Status Bar 7
  504. ; Display current Encumbrance.
  505.  
  506. set tnoHSB.hud_color to sv_Construct "7+3*(tnoHSB.frac<0.4)" ; Yellow (7) color, but orange (10) if less than 40% filled.
  507. set tnoHSB.hud_val to sv_Construct "GetAV Encumbrance" ; Player is default reference when hud_ref is not defined.
  508. set tnoHSB.hud_min to sv_Construct "(GetBaseAV Encumbrance) - 4" ; Bar is at min (empty) when current encumbrance = maximum encumbrance
  509. set tnoHSB.hud_max to sv_Construct "0" ; Bar is at max (full) when current encumrance = 0
  510. set tnoHSB.hud_x to HUDCompassRight
  511. set tnoHSB.hud_y to 94
  512.  
  513.  
  514. set tnoHSB.hud_name to sv_Construct "Enc: "
  515. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  516. set tnoHSB.hud_textDisplay to HUDtxtValueofMax
  517. set tnoHSB.hud_textPos_x to HUDtxtRight
  518. set tnoHSB.hud_textPos_y to HUDtxtCenter
  519. set tnoHSB.hud_textSize to 8
  520. SetStage tnoHSB 10
  521.  
  522.  
  523.  
  524. ; =================== Status Bar 8
  525. ; Display health of your summoned creature. Uses pink color. Bar is invisible when no creature is currently summoned
  526.  
  527. set tnoHSB.hud_color to sv_Construct "HUDcolorPink"
  528. set tnoHSB.hud_ref to sv_Construct "hud_summon"
  529. set tnoHSB.hud_val to sv_Construct "GetAV Health" ; Health of summon
  530. set tnoHSB.hud_max to sv_Construct "GetBaseAV Health" ; Base health of summon
  531. set tnoHSB.hud_x to HUDdefault
  532. set tnoHSB.hud_y to HUDprevBarAbove
  533.  
  534. set tnoHSB.hud_name to sv_Construct "Pet: "
  535. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  536. set tnoHSB.hud_textDisplay to HUDtxtValue
  537. set tnoHSB.hud_textPos_x to HUDtxtRight
  538. set tnoHSB.hud_textPos_y to HUDtxtCenter
  539. set tnoHSB.hud_textSize to 8
  540. SetStage tnoHSB 10
  541.  
  542.  
  543. ; =================== Status Bar 8a
  544. ; Display health of your summoned creature. Uses pink color. Bar is invisible when no creature is currently summoned
  545.  
  546. set tnoHSB.hud_color to sv_Construct "HUDcolorPink"
  547. set tnoHSB.hud_ref to sv_Construct "hud_summon 2"
  548. set tnoHSB.hud_val to sv_Construct "GetAV Health" ; Health of summon
  549. set tnoHSB.hud_max to sv_Construct "GetBaseAV Health" ; Base health of summon
  550. set tnoHSB.hud_x to HUDdefault
  551. set tnoHSB.hud_y to HUDprevBarAbove
  552.  
  553. set tnoHSB.hud_name to sv_Construct "Pet: "
  554. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  555. set tnoHSB.hud_textDisplay to HUDtxtValue
  556. set tnoHSB.hud_textPos_x to HUDtxtRight
  557. set tnoHSB.hud_textPos_y to HUDtxtCenter
  558. set tnoHSB.hud_textSize to 8
  559. SetStage tnoHSB 10
  560.  
  561.  
  562. ; =================== Status Bar 8b
  563. ; Display health of your summoned creature. Uses pink color. Bar is invisible when no creature is currently summoned
  564.  
  565. set tnoHSB.hud_color to sv_Construct "HUDcolorPink"
  566. set tnoHSB.hud_ref to sv_Construct "hud_summon 3"
  567. set tnoHSB.hud_val to sv_Construct "GetAV Health" ; Health of summon
  568. set tnoHSB.hud_max to sv_Construct "GetBaseAV Health" ; Base health of summon
  569. set tnoHSB.hud_x to HUDdefault
  570. set tnoHSB.hud_y to HUDprevBarAbove
  571.  
  572. set tnoHSB.hud_name to sv_Construct "Pet: "
  573. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  574. set tnoHSB.hud_textDisplay to HUDtxtValue
  575. set tnoHSB.hud_textPos_x to HUDtxtRight
  576. set tnoHSB.hud_textPos_y to HUDtxtCenter
  577. set tnoHSB.hud_textSize to 8
  578. SetStage tnoHSB 10
  579.  
  580.  
  581. ; =================== Status Bar 9
  582. ; Display health of your Mount
  583.  
  584. set tnoHSB.hud_color to sv_Construct "HUDcolorBrown"
  585. set tnoHSB.hud_ref to sv_Construct "player.GetHorse"
  586. set tnoHSB.hud_val to sv_Construct "GetAV Health" ; Health of Mount
  587. set tnoHSB.hud_max to sv_Construct "GetBaseAV Health" ; Base health of mount
  588. set tnoHSB.hud_x to HUDdefault
  589. set tnoHSB.hud_y to HUDprevBarAbove
  590.  
  591. set tnoHSB.hud_name to sv_Construct "Mount: "
  592. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  593. set tnoHSB.hud_textDisplay to HUDtxtValue
  594. set tnoHSB.hud_textPos_x to HUDtxtRight
  595. set tnoHSB.hud_textPos_y to HUDtxtCenter
  596. set tnoHSB.hud_textSize to 8
  597. SetStage tnoHSB 10
  598.  
  599.  
  600.  
  601. ; =================== Status Bar 10
  602. ; Display PC Strength
  603.  
  604. set tnoHSB.hud_color to sv_Construct "1+4*(tnoHSB.frac<1.0)"
  605. set tnoHSB.hud_val to sv_Construct "GetActorValue Strength"
  606. set tnoHSB.hud_max to sv_Construct "GetBaseActorValue Strength"
  607.  
  608. set tnoHSB.hud_x to 1
  609. set tnoHSB.hud_y to 65
  610. set tnoHSB.hud_size to 68
  611. set tnoHSB.hud_name to sv_Construct "Str: "
  612. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  613. set tnoHSB.hud_textDisplay to HUDtxtValue
  614. set tnoHSB.hud_textPos_x to HUDtxtLeft
  615. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  616. set tnoHSB.hud_textSize to 10
  617. SetStage tnoHSB 10
  618.  
  619.  
  620. ; =================== Status Bar 11
  621. ; Display PC Intelligence
  622.  
  623. set tnoHSB.hud_color to sv_Construct "1+4*(tnoHSB.frac<1.0)"
  624. set tnoHSB.hud_val to sv_Construct "GetActorValue Intelligence"
  625. set tnoHSB.hud_max to sv_Construct "GetBaseActorValue Intelligence"
  626.  
  627. set tnoHSB.hud_x to HUDdefault
  628. set tnoHSB.hud_y to HUDprevBarBelow
  629. set tnoHSB.hud_size to 68
  630. set tnoHSB.hud_name to sv_Construct "Int: "
  631. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  632. set tnoHSB.hud_textDisplay to HUDtxtValue
  633. set tnoHSB.hud_textPos_x to HUDtxtLeft
  634. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  635. set tnoHSB.hud_textSize to 10
  636. SetStage tnoHSB 10
  637.  
  638.  
  639. ; =================== Status Bar 12
  640. ; Display PC Willpower
  641.  
  642. set tnoHSB.hud_color to sv_Construct "1+4*(tnoHSB.frac<1.0)"
  643. set tnoHSB.hud_val to sv_Construct "GetActorValue Willpower"
  644. set tnoHSB.hud_max to sv_Construct "GetBaseActorValue Willpower"
  645.  
  646. set tnoHSB.hud_x to HUDdefault
  647. set tnoHSB.hud_y to HUDprevBarBelow
  648. set tnoHSB.hud_size to 68
  649. set tnoHSB.hud_name to sv_Construct "Wil: "
  650. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  651. set tnoHSB.hud_textDisplay to HUDtxtValue
  652. set tnoHSB.hud_textPos_x to HUDtxtLeft
  653. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  654. set tnoHSB.hud_textSize to 10
  655. SetStage tnoHSB 10
  656.  
  657.  
  658. ; =================== Status Bar 13
  659. ; Display PC Agility
  660.  
  661. set tnoHSB.hud_color to sv_Construct "1+4*(tnoHSB.frac<1.0)"
  662. set tnoHSB.hud_val to sv_Construct "GetActorValue Agility"
  663. set tnoHSB.hud_max to sv_Construct "GetBaseActorValue Agility"
  664.  
  665. set tnoHSB.hud_x to HUDdefault
  666. set tnoHSB.hud_y to HUDprevBarBelow
  667. set tnoHSB.hud_size to 68
  668. set tnoHSB.hud_name to sv_Construct "Agi: "
  669. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  670. set tnoHSB.hud_textDisplay to HUDtxtValue
  671. set tnoHSB.hud_textPos_x to HUDtxtLeft
  672. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  673. set tnoHSB.hud_textSize to 10
  674. SetStage tnoHSB 10
  675.  
  676. ; =================== Status Bar 14
  677. ; Display PC Speed
  678.  
  679. set tnoHSB.hud_color to sv_Construct "1+4*(tnoHSB.frac<1.0)"
  680. set tnoHSB.hud_val to sv_Construct "GetActorValue Speed"
  681. set tnoHSB.hud_max to sv_Construct "GetBaseActorValue Speed"
  682.  
  683. set tnoHSB.hud_x to HUDdefault
  684. set tnoHSB.hud_y to HUDprevBarBelow
  685. set tnoHSB.hud_size to 68
  686. set tnoHSB.hud_name to sv_Construct "Spd: "
  687. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  688. set tnoHSB.hud_textDisplay to HUDtxtValue
  689. set tnoHSB.hud_textPos_x to HUDtxtLeft
  690. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  691. set tnoHSB.hud_textSize to 10
  692. SetStage tnoHSB 10
  693.  
  694. ; =================== Status Bar 15
  695. ; Display PC Endurance
  696.  
  697. set tnoHSB.hud_color to sv_Construct "1+4*(tnoHSB.frac<1.0)"
  698. set tnoHSB.hud_val to sv_Construct "GetActorValue Endurance"
  699. set tnoHSB.hud_max to sv_Construct "GetBaseActorValue Endurance"
  700.  
  701. set tnoHSB.hud_x to HUDdefault
  702. set tnoHSB.hud_y to HUDprevBarBelow
  703. set tnoHSB.hud_size to 68
  704. set tnoHSB.hud_name to sv_Construct "End: "
  705. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  706. set tnoHSB.hud_textDisplay to HUDtxtValue
  707. set tnoHSB.hud_textPos_x to HUDtxtLeft
  708. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  709. set tnoHSB.hud_textSize to 10
  710. SetStage tnoHSB 10
  711.  
  712. ; =================== Status Bar 16
  713. ; Display PC Personality
  714.  
  715. set tnoHSB.hud_color to sv_Construct "1+4*(tnoHSB.frac<1.0)"
  716. set tnoHSB.hud_val to sv_Construct "GetActorValue Personality"
  717. set tnoHSB.hud_max to sv_Construct "GetBaseActorValue Personality"
  718.  
  719. set tnoHSB.hud_x to HUDdefault
  720. set tnoHSB.hud_y to HUDprevBarBelow
  721. set tnoHSB.hud_size to 68
  722. set tnoHSB.hud_name to sv_Construct "Per: "
  723. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  724. set tnoHSB.hud_textDisplay to HUDtxtValue
  725. set tnoHSB.hud_textPos_x to HUDtxtLeft
  726. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  727. set tnoHSB.hud_textSize to 10
  728. SetStage tnoHSB 10
  729.  
  730. ; =================== Status Bar 17
  731. ; Display PC Luck
  732.  
  733. set tnoHSB.hud_color to sv_Construct "1+4*(tnoHSB.frac<1.0)"
  734. set tnoHSB.hud_val to sv_Construct "GetActorValue Luck"
  735. set tnoHSB.hud_max to sv_Construct "GetBaseActorValue Luck"
  736.  
  737.  
  738.  
  739. set tnoHSB.hud_x to HUDdefault
  740. set tnoHSB.hud_y to HUDprevBarBelow
  741. set tnoHSB.hud_size to 68
  742. set tnoHSB.hud_name to sv_Construct "Lck: "
  743. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  744. set tnoHSB.hud_textDisplay to HUDtxtValue
  745. set tnoHSB.hud_textPos_x to HUDtxtLeft
  746. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  747. set tnoHSB.hud_textSize to 10
  748. SetStage tnoHSB 10
  749.  
  750.  
  751.  
  752.  
  753.  
  754. ; =================== Status Bar 83
  755. ; Display PC Bounty
  756.  
  757. set tnoHSB.hud_color to sv_Construct "HudColorYellow"
  758. set tnoHSB.hud_val to sv_Construct "GetActorValue Bounty"
  759.  
  760.  
  761. set tnoHSB.hud_x to HUDdefault
  762. set tnoHSB.hud_y to HUDprevBarBelow
  763. set tnoHSB.hud_size to 68
  764. set tnoHSB.hud_name to sv_Construct "Bounty: "
  765. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  766. set tnoHSB.hud_textDisplay to HUDtxtValue
  767. set tnoHSB.hud_textPos_x to HUDtxtLeft
  768. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  769. set tnoHSB.hud_textSize to 10
  770. SetStage tnoHSB 10
  771.  
  772.  
  773. ; =================== Status Bar 84
  774. ; Display PC Fame
  775.  
  776. set tnoHSB.hud_color to sv_Construct "HudColorBlue"
  777. set tnoHSB.hud_val to sv_Construct "GetActorValue Fame"
  778.  
  779.  
  780. set tnoHSB.hud_x to Huddefault
  781. set tnoHSB.hud_y to HUDprevBarBelow
  782. set tnoHSB.hud_size to 68
  783. set tnoHSB.hud_name to sv_Construct "Fame: "
  784. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  785. set tnoHSB.hud_textDisplay to HUDtxtValue
  786. set tnoHSB.hud_textPos_x to HUDtxtLeft
  787. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  788. set tnoHSB.hud_textSize to 10
  789. SetStage tnoHSB 10
  790.  
  791.  
  792.  
  793.  
  794. ; =================== Status Bar 85
  795. ; Display PC Infamy
  796.  
  797. set tnoHSB.hud_color to sv_Construct "HudColorRed"
  798. set tnoHSB.hud_val to sv_Construct "GetActorValue Infamy"
  799.  
  800.  
  801. set tnoHSB.hud_x to Huddefault
  802. set tnoHSB.hud_y to HUDprevBarBelow
  803. set tnoHSB.hud_size to 68
  804. set tnoHSB.hud_name to sv_Construct "Infamy: "
  805. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  806. set tnoHSB.hud_textDisplay to HUDtxtValue
  807. set tnoHSB.hud_textPos_x to HUDtxtLeft
  808. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  809. set tnoHSB.hud_textSize to 10
  810. SetStage tnoHSB 10
  811.  
  812.  
  813. ; =================== Status Bar 86
  814. ; Display Gold
  815.  
  816. set tnoHSB.hud_color to sv_Construct "HUDColorYellow"
  817. set tnoHSB.hud_val to sv_Construct "Player.GetItemCount F"
  818.  
  819.  
  820. set tnoHSB.hud_x to Huddefault
  821. set tnoHSB.hud_y to HUDprevBarBelow
  822. set tnoHSB.hud_size to 68
  823. set tnoHSB.hud_name to sv_Construct "Gold: "
  824. set tnoHSB.hud_textDisplay to HUDtxtValue
  825. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  826. set tnoHSB.hud_textPos_x to HUDtxtLeft
  827. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  828. set tnoHSB.hud_textSize to 10
  829. SetStage tnoHSB 10
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836. ; =================== Status Bar 18
  837. ; 24hr clock, displayed as h.mm
  838.  
  839. set tnoHSB.hud_color to sv_Construct "1"
  840. set tnoHSB.hud_val to sv_Construct "3*(GameHour - (Floor GameHour))/5 + (Floor GameHour)" ;converts decimals to minutes
  841. set tnoHSB.hud_max to sv_Construct "24"
  842. set tnoHSB.hud_name to sv_Construct " " ; No static text
  843. set tnoHSB.hud_textColor to sv_Construct "3+4*(tnoHSB.val>7 && tnoHSB.val<20)" ; Yellow (7) from 7am - 8pm, blue (3) otherwise
  844. set tnoHSB.hud_textDisplay to HUDtxtValue2 ; we want two decimal places
  845. set tnoHSB.hud_textType to HUDfontSimple
  846. set tnoHSB.hud_textSize to 16
  847. set tnoHSB.hud_x to Huddefault
  848. set tnoHSB.hud_y to HUDprevBarBelow
  849. set tnoHSB.hud_textPos_x to HUDtxtCenter
  850. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  851. set tnoHSB.hud_textSize to 10
  852. SetStage tnoHSB 10
  853.  
  854.  
  855.  
  856.  
  857. ; =================== Day/Date/Month/Year
  858.  
  859.  
  860. ; =================== Status Bar 19
  861. ; Day of Week, Date
  862.  
  863. ;Sundas
  864.  
  865. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>0 && tnoHSB.max<2)"
  866. set tnoHSB.hud_val to sv_Construct "GameDay"
  867. set tnoHSB.hud_max to sv_Construct "1+GetDayOfWeek"
  868. set tnoHSB.hud_name to sv_Construct "Sundas "
  869. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  870.  
  871. set tnoHSB.hud_textDisplay to HUDtxtValue
  872.  
  873. set tnoHSB.hud_x to HUDcompassRight
  874. set tnoHSB.hud_y to 97.5
  875. set tnoHSB.hud_textPos_x to HUDtxtCenter
  876. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  877. SetStage tnoHSB 10
  878.  
  879.  
  880.  
  881. ; =================== Status Bar 20
  882. ;Morndas
  883.  
  884. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>1 && tnoHSB.max<3)"
  885. set tnoHSB.hud_val to sv_Construct "GameDay"
  886.  
  887. set tnoHSB.hud_max to sv_Construct "1+GetDayOfWeek"
  888.  
  889. set tnoHSB.hud_name to sv_Construct "Morndas "
  890. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  891. set tnoHSB.hud_textDisplay to HUDtxtValue
  892.  
  893.  
  894.  
  895.  
  896. set tnoHSB.hud_x to HUDcompassRight
  897. set tnoHSB.hud_y to HUDprevBar
  898. set tnoHSB.hud_textPos_x to HUDtxtCenter
  899. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  900.  
  901. SetStage tnoHSB 10
  902.  
  903.  
  904.  
  905. ; =================== Status Bar 21
  906. ;Tirdas
  907.  
  908. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>2 && tnoHSB.max<4)"
  909. set tnoHSB.hud_val to sv_Construct "GameDay"
  910.  
  911. set tnoHSB.hud_max to sv_Construct "1+GetDayOfWeek"
  912.  
  913. set tnoHSB.hud_name to sv_Construct "Tirdas "
  914. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  915. set tnoHSB.hud_textDisplay to HUDtxtValue
  916.  
  917.  
  918.  
  919.  
  920. set tnoHSB.hud_x to HUDcompassRight
  921. set tnoHSB.hud_y to HUDprevBar
  922. set tnoHSB.hud_textPos_x to HUDtxtCenter
  923. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  924.  
  925. SetStage tnoHSB 10
  926.  
  927.  
  928.  
  929.  
  930. ; =================== Status Bar 22
  931. ;Middas
  932.  
  933. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>3 && tnoHSB.max<5)"
  934. set tnoHSB.hud_val to sv_Construct "GameDay"
  935.  
  936. set tnoHSB.hud_max to sv_Construct "1+GetDayOfWeek"
  937.  
  938. set tnoHSB.hud_name to sv_Construct "Middas "
  939. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  940. set tnoHSB.hud_textDisplay to HUDtxtValue
  941.  
  942.  
  943.  
  944.  
  945. set tnoHSB.hud_x to HUDcompassRight
  946. set tnoHSB.hud_y to HUDprevBar
  947. set tnoHSB.hud_textPos_x to HUDtxtCenter
  948. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  949.  
  950. SetStage tnoHSB 10
  951.  
  952.  
  953.  
  954. ; =================== Status Bar 23
  955. ;Turdas
  956.  
  957. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>4 && tnoHSB.max<6)"
  958. set tnoHSB.hud_val to sv_Construct "GameDay"
  959.  
  960. set tnoHSB.hud_max to sv_Construct "1+GetDayOfWeek"
  961.  
  962. set tnoHSB.hud_name to sv_Construct "Turdas "
  963. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  964. set tnoHSB.hud_textDisplay to HUDtxtValue
  965.  
  966.  
  967.  
  968.  
  969. set tnoHSB.hud_x to HUDcompassRight
  970. set tnoHSB.hud_y to HUDprevBar
  971. set tnoHSB.hud_textPos_x to HUDtxtCenter
  972. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  973.  
  974. SetStage tnoHSB 10
  975.  
  976.  
  977.  
  978. ; =================== Status Bar 24
  979. ;Fredas
  980.  
  981. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>5 && tnoHSB.max<7)"
  982. set tnoHSB.hud_val to sv_Construct "GameDay"
  983.  
  984. set tnoHSB.hud_max to sv_Construct "1+GetDayOfWeek"
  985.  
  986. set tnoHSB.hud_name to sv_Construct "Fredas "
  987. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  988. set tnoHSB.hud_textDisplay to HUDtxtValue
  989.  
  990.  
  991.  
  992.  
  993. set tnoHSB.hud_x to HUDcompassRight
  994. set tnoHSB.hud_y to HUDprevBar
  995. set tnoHSB.hud_textPos_x to HUDtxtCenter
  996. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  997.  
  998. SetStage tnoHSB 10
  999.  
  1000.  
  1001.  
  1002. ; =================== Status Bar 25
  1003. ;Loredas
  1004.  
  1005. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>6 && tnoHSB.max<8)"
  1006. set tnoHSB.hud_val to sv_Construct "GameDay"
  1007.  
  1008. set tnoHSB.hud_max to sv_Construct "1+GetDayOfWeek"
  1009.  
  1010. set tnoHSB.hud_name to sv_Construct "Loredas "
  1011. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  1012. set tnoHSB.hud_textDisplay to HUDtxtValue
  1013.  
  1014.  
  1015.  
  1016.  
  1017. set tnoHSB.hud_x to HUDcompassRight
  1018. set tnoHSB.hud_y to HUDprevBar
  1019. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1020. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1021.  
  1022. SetStage tnoHSB 10
  1023.  
  1024.  
  1025.  
  1026.  
  1027. ; =================== Status Bar 26
  1028. ; Month and Year
  1029.  
  1030. ;Morningstar
  1031.  
  1032. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>0 && tnoHSB.max<2)"
  1033. set tnoHSB.hud_val to sv_Construct "GameYear"
  1034. set tnoHSB.hud_max to sv_Construct "1+GameMonth"
  1035.  
  1036. set tnoHSB.hud_name to sv_Construct "Morningstar "
  1037.  
  1038. set tnoHSB.hud_textColor to sv_Construct "HUDcolorWhite"
  1039. set tnoHSB.hud_textDisplay to HUDtxtValue
  1040.  
  1041.  
  1042. set tnoHSB.hud_x to HUDcompassRight
  1043. set tnoHSB.hud_y to HUDprevBarBelow
  1044. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1045. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1046. SetStage tnoHSB 10
  1047.  
  1048.  
  1049. ; =================== Status Bar 27
  1050. ;Sun's Dawn
  1051.  
  1052. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>1 && tnoHSB.max<3)"
  1053. set tnoHSB.hud_val to sv_Construct "GameYear"
  1054. set tnoHSB.hud_max to sv_Construct "1+GameMonth"
  1055.  
  1056. set tnoHSB.hud_name to sv_Construct "Sun's Dawn "
  1057. set tnoHSB.hud_textColor to sv_Construct "HUDcolorWhite"
  1058.  
  1059. set tnoHSB.hud_textDisplay to HUDtxtValue
  1060.  
  1061.  
  1062.  
  1063. set tnoHSB.hud_x to HUDcompassRight
  1064. set tnoHSB.hud_y to HUDprevBar
  1065. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1066. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1067. SetStage tnoHSB 10
  1068.  
  1069.  
  1070. ; =================== Status Bar 28
  1071. ;First Seed
  1072.  
  1073. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>2 && tnoHSB.max<4)"
  1074. set tnoHSB.hud_val to sv_Construct "GameYear"
  1075. set tnoHSB.hud_max to sv_Construct "1+GameMonth"
  1076.  
  1077. set tnoHSB.hud_name to sv_Construct "First Seed "
  1078.  
  1079. set tnoHSB.hud_textColor to sv_Construct "HUDcolorGreen"
  1080. set tnoHSB.hud_textDisplay to HUDtxtValue
  1081.  
  1082.  
  1083. set tnoHSB.hud_x to HUDcompassRight
  1084. set tnoHSB.hud_y to HUDprevBar
  1085. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1086. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1087. SetStage tnoHSB 10
  1088.  
  1089.  
  1090. ; =================== Status Bar 29
  1091. ;Rain's Hand
  1092.  
  1093. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>3 && tnoHSB.max<5)"
  1094. set tnoHSB.hud_val to sv_Construct "GameYear"
  1095. set tnoHSB.hud_max to sv_Construct "1+GameMonth"
  1096.  
  1097. set tnoHSB.hud_name to sv_Construct "Rain's Hand "
  1098. set tnoHSB.hud_textColor to sv_Construct "HUDcolorGreen"
  1099.  
  1100. set tnoHSB.hud_textDisplay to HUDtxtValue
  1101.  
  1102.  
  1103.  
  1104. set tnoHSB.hud_x to HUDcompassRight
  1105. set tnoHSB.hud_y to HUDprevBar
  1106. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1107. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1108. SetStage tnoHSB 10
  1109.  
  1110.  
  1111. ; =================== Status Bar 30
  1112. ;Second Seed
  1113.  
  1114. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>4 && tnoHSB.max<6)"
  1115. set tnoHSB.hud_val to sv_Construct "GameYear"
  1116. set tnoHSB.hud_max to sv_Construct "1+GameMonth"
  1117.  
  1118. set tnoHSB.hud_name to sv_Construct "Second Seed "
  1119.  
  1120. set tnoHSB.hud_textColor to sv_Construct "HUDcolorGreen"
  1121. set tnoHSB.hud_textDisplay to HUDtxtValue
  1122.  
  1123.  
  1124. set tnoHSB.hud_x to HUDcompassRight
  1125. set tnoHSB.hud_y to HUDprevBar
  1126. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1127. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1128. SetStage tnoHSB 10
  1129.  
  1130.  
  1131.  
  1132. ; =================== Status Bar 31
  1133. ;Midyear
  1134.  
  1135. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>5 && tnoHSB.max<7)"
  1136. set tnoHSB.hud_val to sv_Construct "GameYear"
  1137. set tnoHSB.hud_max to sv_Construct "1+GameMonth"
  1138.  
  1139. set tnoHSB.hud_name to sv_Construct "Midyear "
  1140.  
  1141. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  1142. set tnoHSB.hud_textDisplay to HUDtxtValue
  1143.  
  1144.  
  1145. set tnoHSB.hud_x to HUDcompassRight
  1146. set tnoHSB.hud_y to HUDprevBar
  1147. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1148. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1149. SetStage tnoHSB 10
  1150.  
  1151.  
  1152.  
  1153. ; =================== Status Bar 32
  1154. ;Sun's Height
  1155.  
  1156. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>6 && tnoHSB.max<8)"
  1157. set tnoHSB.hud_val to sv_Construct "GameYear"
  1158. set tnoHSB.hud_max to sv_Construct "1+GameMonth"
  1159.  
  1160. set tnoHSB.hud_name to sv_Construct "Sun's Height "
  1161.  
  1162. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  1163. set tnoHSB.hud_textDisplay to HUDtxtValue
  1164.  
  1165.  
  1166. set tnoHSB.hud_x to HUDcompassRight
  1167. set tnoHSB.hud_y to HUDprevBar
  1168. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1169. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1170. SetStage tnoHSB 10
  1171.  
  1172.  
  1173. ; =================== Status Bar 33
  1174. ;Last Seed
  1175.  
  1176. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>7 && tnoHSB.max<9)"
  1177. set tnoHSB.hud_val to sv_Construct "GameYear"
  1178. set tnoHSB.hud_max to sv_Construct "1+GameMonth"
  1179.  
  1180. set tnoHSB.hud_name to sv_Construct "Last Seed "
  1181.  
  1182. set tnoHSB.hud_textColor to sv_Construct "HUDcolorYellow"
  1183. set tnoHSB.hud_textDisplay to HUDtxtValue
  1184.  
  1185.  
  1186. set tnoHSB.hud_x to HUDcompassRight
  1187. set tnoHSB.hud_y to HUDprevBar
  1188. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1189. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1190. SetStage tnoHSB 10
  1191.  
  1192.  
  1193.  
  1194. ; =================== Status Bar 34
  1195. ;Hearthfire
  1196.  
  1197. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>8 && tnoHSB.max<10)"
  1198. set tnoHSB.hud_val to sv_Construct "GameYear"
  1199. set tnoHSB.hud_max to sv_Construct "1+GameMonth"
  1200.  
  1201. set tnoHSB.hud_name to sv_Construct "Hearthfire "
  1202.  
  1203. set tnoHSB.hud_textColor to sv_Construct "HUDcolorOrange"
  1204. set tnoHSB.hud_textDisplay to HUDtxtValue
  1205.  
  1206.  
  1207.  
  1208. set tnoHSB.hud_x to HUDcompassRight
  1209. set tnoHSB.hud_y to HUDprevBar
  1210. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1211. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1212. SetStage tnoHSB 10
  1213.  
  1214.  
  1215. ; =================== Status Bar 35
  1216. ;Frostfall
  1217.  
  1218. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>9 && tnoHSB.max<11)"
  1219. set tnoHSB.hud_val to sv_Construct "GameYear"
  1220. set tnoHSB.hud_max to sv_Construct "1+GameMonth"
  1221.  
  1222. set tnoHSB.hud_name to sv_Construct "Frostfall "
  1223.  
  1224. set tnoHSB.hud_textColor to sv_Construct "HUDcolorOrange"
  1225. set tnoHSB.hud_textDisplay to HUDtxtValue
  1226.  
  1227.  
  1228. set tnoHSB.hud_x to HUDcompassRight
  1229. set tnoHSB.hud_y to HUDprevBar
  1230. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1231. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1232. SetStage tnoHSB 10
  1233.  
  1234.  
  1235. ; =================== Status Bar 36
  1236. ;Sun's Dusk
  1237.  
  1238. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>10 && tnoHSB.max<12)"
  1239. set tnoHSB.hud_val to sv_Construct "GameYear"
  1240. set tnoHSB.hud_max to sv_Construct "1+GameMonth"
  1241.  
  1242. set tnoHSB.hud_name to sv_Construct "Sun's Dusk "
  1243.  
  1244. set tnoHSB.hud_textColor to sv_Construct "HUDcolorOrange"
  1245. set tnoHSB.hud_textDisplay to HUDtxtValue
  1246.  
  1247.  
  1248. set tnoHSB.hud_x to HUDcompassRight
  1249. set tnoHSB.hud_y to HUDprevBar
  1250. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1251. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1252. SetStage tnoHSB 10
  1253.  
  1254.  
  1255. ; =================== Status Bar 37
  1256. ;Evening Star
  1257.  
  1258. set tnoHSB.hud_color to sv_Construct "(tnoHSB.max>11 && tnoHSB.max<13)"
  1259. set tnoHSB.hud_val to sv_Construct "GameYear"
  1260. set tnoHSB.hud_max to sv_Construct "1+GameMonth"
  1261.  
  1262. set tnoHSB.hud_name to sv_Construct "Evening Star "
  1263.  
  1264. set tnoHSB.hud_textColor to sv_Construct "HUDcolorWhite"
  1265. set tnoHSB.hud_textDisplay to HUDtxtValue
  1266.  
  1267.  
  1268. set tnoHSB.hud_x to HUDcompassRight
  1269. set tnoHSB.hud_y to HUDprevBar
  1270. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1271. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1272. SetStage tnoHSB 10
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279. ; =================== Status Bar 38
  1280. ; Display current Spell effectiveness (due to wearing armor, or mods), below the magic spell icon
  1281.  
  1282. ; set tnoHSB.hud_color to sv_Construct "HUDcolorBlue"
  1283. ; set tnoHSB.hud_val to sv_Construct "GetSpellEffectiveness"
  1284. ; set tnoHSB.hud_max to sv_Construct "1"
  1285. ; set tnoHSB.hud_min to sv_Construct ""
  1286. ; set tnoHSB.hud_debug to 0
  1287. ; set tnoHSB.hud_size to HUDmagicWidth
  1288. ; set tnoHSB.hud_x to HUDmagicCenter
  1289. ; set tnoHSB.hud_y to HUDmagicBelow
  1290. ; set tnoHSB.hud_name to sv_Construct "Eff: "
  1291. ; set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1292. ; set tnoHSB.hud_textDisplay to HUDtxtValue2
  1293. ; set tnoHSB.hud_textSize to 8
  1294. ; set tnoHSB.hud_textPos_x to HUDtxtCenter
  1295. ; set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1296. ; SetStage tnoHSB 10
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304. ;MAJOR SKILLS - Displays current text Value (Green if ok/Red if being drained). Underneath Value is Level up bar (Yellow) for skill level current progress.
  1305.  
  1306. ; =================== Status Bar 39
  1307. ; Display PC Level
  1308.  
  1309. set tnoHSB.hud_color to sv_Construct "HUDColorCyan"
  1310. set tnoHSB.hud_val to sv_Construct "Player.GetLevel"
  1311. set tnoHSB.hud_ref to sv_Construct ""
  1312.  
  1313. set tnoHSB.hud_x to 1
  1314. set tnoHSB.hud_y to 55
  1315. set tnoHSB.hud_size to 68
  1316. set tnoHSB.hud_name to sv_Construct "Level: "
  1317. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1318. set tnoHSB.hud_textDisplay to HUDtxtValue
  1319. set tnoHSB.hud_textPos_x to HUDtxtLeft
  1320. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1321. set tnoHSB.hud_textSize to 10
  1322.  
  1323.  
  1324. SetStage tnoHSB 10
  1325.  
  1326.  
  1327. ; =================== Status Bar 40
  1328. ; Display Levelup
  1329.  
  1330. set tnoHSB.hud_color to sv_Construct "HUDcolorCyan"
  1331. set tnoHSB.hud_ref to sv_Construct ""
  1332.  
  1333. set tnoHSB.hud_val to sv_Construct "GetPCMajorSkillUps"
  1334. set tnoHSB.hud_max to sv_Construct "GetGameSetting %qiLevelUpSkillCount%q"
  1335. set tnoHSB.hud_x to HUDdefault
  1336. set tnoHSB.hud_y to HUDprevBarBelow
  1337.  
  1338. set tnoHSB.hud_size to 68
  1339.  
  1340. SetStage tnoHSB 10
  1341.  
  1342.  
  1343.  
  1344.  
  1345. ; Equipped Equipment Health
  1346.  
  1347.  
  1348. ; ==== Helmet health
  1349. ; Hidden if not wielding weapon. not completely full unless repaired to 125% with expert armorer perk
  1350.  
  1351. 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)" ; Blue, yellow when below 50%,red when below 25%, Green above 100%
  1352. set tnoHSB.hud_ref to sv_Construct "Player.GetEquippedObject 1" ; helmet
  1353. set tnoHSB.hud_val to sv_Construct "Player.GetEquippedCurrentHealth 1"
  1354. set tnoHSB.hud_max to sv_Construct "1.25*(GetObjectHealth hud_ref)"
  1355. set tnoHSB.hud_name to sv_Construct "Helmet: "
  1356. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color" ; Set text color identical to (hidden) bar color
  1357. set tnoHSB.hud_textDisplay to HUDtxtValueOfMax
  1358. set tnoHSB.hud_textPos_y to HUDtxtLeft
  1359. set tnoHSB.hud_x to 95 ; Place beneath weapon icon, with same width
  1360. set tnoHSB.hud_y to 80
  1361. set tnoHSB.hud_size to 80
  1362.  
  1363. SetStage tnoHSB 10
  1364.  
  1365.  
  1366.  
  1367. ; ==== Cuirass health
  1368. ; Hidden if not wielding weapon. not completely full unless repaired to 125% with expert armorer perk
  1369.  
  1370. 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)" ; green, red when below 50%, orange above 100%
  1371. set tnoHSB.hud_ref to sv_Construct "Player.GetEquippedObject 2" ; cuirass
  1372. set tnoHSB.hud_val to sv_Construct "Player.GetEquippedCurrentHealth 2"
  1373. set tnoHSB.hud_max to sv_Construct "1.25*(GetObjectHealth hud_ref)"
  1374. set tnoHSB.hud_name to sv_Construct "Cuirass: "
  1375. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color" ; Set text color identical to (hidden) bar color
  1376. set tnoHSB.hud_textDisplay to HUDtxtValueOfMax
  1377. set tnoHSB.hud_textPos_y to HUDtxtLeft
  1378. set tnoHSB.hud_x to HUDprevBar ; Place beneath weapon icon, with same width
  1379. set tnoHSB.hud_y to HUDprevBarBelow -
  1380. set tnoHSB.hud_size to 80
  1381.  
  1382. SetStage tnoHSB 10
  1383.  
  1384.  
  1385. ; ==== Greaves health
  1386. ; Hidden if not wielding weapon. not completely full unless repaired to 125% with expert armorer perk
  1387.  
  1388. 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)" ; green, red when below 50%, orange above 100%
  1389. set tnoHSB.hud_ref to sv_Construct "Player.GetEquippedObject 3" ; Greaves
  1390. set tnoHSB.hud_val to sv_Construct "Player.GetEquippedCurrentHealth 3"
  1391. set tnoHSB.hud_max to sv_Construct "1.25*(GetObjectHealth hud_ref)"
  1392. set tnoHSB.hud_name to sv_Construct "Greaves: "
  1393. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color" ; Set text color identical to (hidden) bar color
  1394. set tnoHSB.hud_textDisplay to HUDtxtValueOfMax
  1395. set tnoHSB.hud_textPos_y to HUDtxtLeft
  1396. set tnoHSB.hud_x to HUDprevBar ; Place beneath weapon icon, with same width
  1397. set tnoHSB.hud_y to HUDprevBarBelow -
  1398. set tnoHSB.hud_size to 80
  1399.  
  1400. SetStage tnoHSB 10
  1401.  
  1402.  
  1403.  
  1404. ; ==== Gloves health
  1405. ; Hidden if not wielding weapon. not completely full unless repaired to 125% with expert armorer perk
  1406.  
  1407. 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)" ; green, red when below 50%, orange above 100%
  1408. set tnoHSB.hud_ref to sv_Construct "Player.GetEquippedObject 4" ; Gloves
  1409. set tnoHSB.hud_val to sv_Construct "Player.GetEquippedCurrentHealth 4"
  1410. set tnoHSB.hud_max to sv_Construct "1.25*(GetObjectHealth hud_ref)"
  1411. set tnoHSB.hud_name to sv_Construct "Gloves: "
  1412. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color" ; Set text color identical to (hidden) bar color
  1413. set tnoHSB.hud_textDisplay to HUDtxtValueOfMax
  1414. set tnoHSB.hud_textPos_y to HUDtxtLeft
  1415. set tnoHSB.hud_x to HUDprevBar ; Place beneath weapon icon, with same width
  1416. set tnoHSB.hud_y to HUDprevBarBelow -
  1417. set tnoHSB.hud_size to 80
  1418.  
  1419. SetStage tnoHSB 10
  1420.  
  1421.  
  1422. ; ==== Boots health
  1423. ; Hidden if not wielding weapon. not completely full unless repaired to 125% with expert armorer perk
  1424.  
  1425. 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)" ; green, red when below 50%, orange above 100%
  1426. set tnoHSB.hud_ref to sv_Construct "Player.GetEquippedObject 5" ; Boots
  1427. set tnoHSB.hud_val to sv_Construct "Player.GetEquippedCurrentHealth 5"
  1428. set tnoHSB.hud_max to sv_Construct "1.25*(GetObjectHealth hud_ref)"
  1429. set tnoHSB.hud_name to sv_Construct "Boots: "
  1430. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color" ; Set text color identical to (hidden) bar color
  1431. set tnoHSB.hud_textDisplay to HUDtxtValueOfMax
  1432. set tnoHSB.hud_textPos_y to HUDtxtLeft
  1433. set tnoHSB.hud_x to HUDprevBar ; Place beneath weapon icon, with same width
  1434. set tnoHSB.hud_y to HUDprevBarBelow -
  1435. set tnoHSB.hud_size to 80
  1436.  
  1437. SetStage tnoHSB 10
  1438.  
  1439.  
  1440. ; ==== Shield health
  1441. ; Hidden if not wielding weapon. not completely full unless repaired to 125% with expert armorer perk
  1442.  
  1443. 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)" ; Blue, yellow when below 50%,red when below 25%, Green above 100%
  1444. set tnoHSB.hud_ref to sv_Construct "Player.GetEquippedObject 13" ; Shield
  1445. set tnoHSB.hud_val to sv_Construct "Player.GetEquippedCurrentHealth 13"
  1446. set tnoHSB.hud_max to sv_Construct "1.25*(GetObjectHealth hud_ref)"
  1447. set tnoHSB.hud_name to sv_Construct "Shield: "
  1448. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color" ; Set text color identical to (hidden) bar color
  1449. set tnoHSB.hud_textDisplay to HUDtxtValueOfMax
  1450. set tnoHSB.hud_textPos_y to HUDtxtLeft
  1451. set tnoHSB.hud_x to HUDprevBar ; Place beneath weapon icon, with same width
  1452. set tnoHSB.hud_y to HUDprevBarBelow -
  1453. set tnoHSB.hud_size to 80
  1454.  
  1455. SetStage tnoHSB 10
  1456.  
  1457.  
  1458. ; ==== Weapon health
  1459. ; Hidden if not wielding weapon. not completely full unless repaired to 125% with expert armorer perk
  1460.  
  1461. 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)" ; Blue, yellow when below 50%,red when below 25%, Green above 100%
  1462. set tnoHSB.hud_ref to sv_Construct "Player.GetEquippedObject 16" ; weapon
  1463. set tnoHSB.hud_val to sv_Construct "Player.GetEquippedCurrentHealth 16"
  1464. set tnoHSB.hud_max to sv_Construct "1.25*(GetObjectHealth hud_ref)"
  1465. set tnoHSB.hud_name to sv_Construct "Weapon: "
  1466. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color" ; Set text color identical to (hidden) bar color
  1467. set tnoHSB.hud_textDisplay to HUDtxtValueOfMax
  1468. set tnoHSB.hud_textPos_y to HUDtxtLeft
  1469. set tnoHSB.hud_x to HUDprevBar ; Place beneath weapon icon, with same width
  1470. set tnoHSB.hud_y to HUDprevBarBelow -
  1471. set tnoHSB.hud_size to 80
  1472.  
  1473. SetStage tnoHSB 10
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479. ; =================== Sneak Bar
  1480. ; Display current amount of light falling on the player. The more filled the bar is the less light is falling on you.
  1481.  
  1482. set tnoHSB.hud_color to sv_Construct "HUDcolorGrey*player.IsSneaking" ; Only show when sneaking
  1483. set tnoHSB.hud_val to sv_Construct "GetActorLightAmount"
  1484. set tnoHSB.hud_min to sv_Construct "100"
  1485. set tnoHSB.hud_max to sv_Construct "0"
  1486. set tnoHSB.hud_x to 50 ; Place beneath sneak cross hair
  1487. set tnoHSB.hud_y to 53
  1488. set tnoHSB.hud_size to HUDweaponWidth ; Same width as weapon icon
  1489.  
  1490. SetStage tnoHSB 10
  1491.  
  1492.  
  1493. ; ==== Real Sleep Extended (2.5 or later)
  1494. ; set tnoHSB.hud_color to sv_Construct "5+2*(tnoHSB.frac>0.28)+4*(tnoHSB.frac>.5)-10*(tnoHSB.frac>0.75)"
  1495. ; set tnoHSB.hud_val to sv_Construct "RSE.sleepVal"
  1496. ; set tnoHSB.hud_max to sv_Construct "RSE.sleepMax"
  1497. ; set tnoHSB.hud_name to sv_Construct "Energy: "
  1498. ; set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1499. ; set tnoHSB.hud_x to 99
  1500. ; set tnoHSB.hud_y to 10.5
  1501. ; set tnoHSB.hud_textPos_y to HUDtxtLeft
  1502. ; set tnoHSB.hud_size to 80
  1503. ;
  1504. ; SetStage tnoHSB 10
  1505.  
  1506. ; ==== Real Hunger
  1507. ; set tnoHSB.hud_color to sv_Construct "5+2*(tnoHSB.frac>0.28)+4*(tnoHSB.frac>.5)-10*(tnoHSB.frac>0.75)"
  1508. ; set tnoHSB.hud_val to sv_Construct "RHLevel"
  1509. ; set tnoHSB.hud_min to sv_Construct "32" ;"RHHungerQuest.RHhungerThreshold"
  1510. ; set tnoHSB.hud_max to sv_Construct ".1"
  1511. ; set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1512. ; set tnoHSB.hud_name to sv_Construct "Hunger: "
  1513. ; set tnoHSB.hud_x to 99
  1514. ; set tnoHSB.hud_y to 8.5
  1515. ; set tnoHSB.hud_textPos_y to HUDtxtLeft
  1516. ; set tnoHSB.hud_size to 80
  1517. ; SetStage tnoHSB 10
  1518.  
  1519. ; ==== Natural Hunger for Real Time Interactions
  1520. ; set tnoHSB.hud_color to sv_Construct "5+2*(tnoHSB.frac>0.28)+4*(tnoHSB.frac>.5)-10*(tnoHSB.frac>0.75)"
  1521. ; set tnoHSB.hud_val to sv_Construct "GetGlobalValue QfStomach"
  1522. ; set tnoHSB.hud_min to sv_Construct "0"
  1523. ; set tnoHSB.hud_max to sv_Construct "2000"
  1524. ; set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1525. ; set tnoHSB.hud_name to sv_Construct "Hunger: "
  1526. ; set tnoHSB.hud_x to 99
  1527. ; set tnoHSB.hud_y to 8.5
  1528. ; set tnoHSB.hud_textPos_y to HUDtxtLeft
  1529. ; set tnoHSB.hud_size to 80
  1530. ; SetStage tnoHSB 10
  1531.  
  1532.  
  1533.  
  1534. ; =================== Disease Bar
  1535. ; Display disease status. A pink circle is displayed if you have a disease, with the number of diseases as a number
  1536.  
  1537. set tnoHSB.hud_color to sv_Construct "HUDcolorRed"
  1538. ; GetDisease is a "special function" that returns number of diseases on player
  1539. set tnoHSB.hud_ref to sv_Construct "GetDisease"
  1540. ; ref is current disease
  1541. set tnoHSB.hud_val to sv_Construct "GetDisease"
  1542. ; val is number of diseases
  1543. set tnoHSB.hud_type to HUDbarCircle
  1544. ; Use a filled circle
  1545. set tnoHSB.hud_name to sv_Construct "hud_ref: "
  1546. ; Display name of ref (the current disease)
  1547. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1548. ; Text color matches bar color
  1549. set tnoHSB.hud_textDisplay to HUDtxtValue
  1550. ; Display number of diseases
  1551. set tnoHSB.hud_x to 99
  1552. set tnoHSB.hud_y to 12.5
  1553. set tnoHSB.hud_textPos_x to HUDtxtLeft
  1554. ; Have text to the left of the bar
  1555. set tnoHSB.hud_textPos_y to HUDtxtCenter
  1556. ; ... vertically centered
  1557. set tnoHSB.hud_textAdjust_y to 3
  1558. ; ... but needs to be some pixels down to look good
  1559. set tnoHSB.hud_updateInterval to 5
  1560. ; Only update the bar every fifth second since diseases don't change frequently
  1561. SetStage tnoHSB 10
  1562. ; Init status bar 1
  1563.  
  1564.  
  1565.  
  1566. ; =================== Real Time Lockpicking
  1567. set tnoHSB.hud_color to sv_Construct "15*(tnoHSB.val>0)"
  1568. set tnoHSB.hud_val to sv_Construct "aaaMigLockpickQ.timer"
  1569. set tnoHSB.hud_min to sv_Construct "aaaMigLockpickQ.timer2"
  1570. set tnoHSB.hud_max to sv_Construct "0"
  1571. set tnoHSB.hud_x to 98
  1572. set tnoHSB.hud_y to 16.5
  1573. SetStage tnoHSB 10
  1574.  
  1575.  
  1576.  
  1577. ; =================== Hygiene Bars
  1578. ;set tnoHSB.hud_color to sv_Construct "HUDcolorWhite"
  1579. ;set tnoHSB.hud_val to sv_Construct "BPH.HUDfeet"
  1580. ;set tnoHSB.hud_max to sv_Construct "100"
  1581. ;set tnoHSB.hud_min to sv_Construct "0"
  1582. ;set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1583. ;set tnoHSB.hud_name to sv_Construct "Feet: "
  1584. ;set tnoHSB.hud_x to 98
  1585. ;set tnoHSB.hud_y to 16.5
  1586. ;set tnoHSB.hud_textPos_y to HUDtxtLeft
  1587. ;set tnoHSB.hud_size to 80
  1588. ;setStage tnoHSB 10
  1589.  
  1590. ;set tnoHSB.hud_color to sv_Construct "HUDcolorWhite"
  1591. ;set tnoHSB.hud_val to sv_Construct "BPH.HUDcalves"
  1592. ;set tnoHSB.hud_max to sv_Construct "100"
  1593. ;set tnoHSB.hud_min to sv_Construct "0"
  1594. ;set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1595. ;set tnoHSB.hud_name to sv_Construct "Calves: "
  1596. ;set tnoHSB.hud_textPos_y to HUDtxtLeft
  1597. ;set tnoHSB.hud_size to 80
  1598. ;SetStage tnoHSB 10
  1599.  
  1600. ;set tnoHSB.hud_color to sv_Construct "HUDcolorWhite"
  1601. ;set tnoHSB.hud_val to sv_Construct "BPH.HUDthighs"
  1602. ;set tnoHSB.hud_max to sv_Construct "100"
  1603. ;set tnoHSB.hud_min to sv_Construct "0"
  1604. ;set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1605. ;set tnoHSB.hud_name to sv_Construct "Thighs: "
  1606. ;set tnoHSB.hud_textPos_y to HUDtxtLeft
  1607. ;set tnoHSB.hud_size to 80
  1608. ;SetStage tnoHSB 10
  1609.  
  1610. ;set tnoHSB.hud_color to sv_Construct "HUDcolorWhite"
  1611. ;set tnoHSB.hud_val to sv_Construct "BPH.HUDtorso"
  1612. ;set tnoHSB.hud_max to sv_Construct "100"
  1613. ;set tnoHSB.hud_min to sv_Construct "0"
  1614. ;set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1615. ;set tnoHSB.hud_name to sv_Construct "Torso: "
  1616. ;set tnoHSB.hud_textPos_y to HUDtxtLeft
  1617. ;set tnoHSB.hud_size to 80
  1618. ;SetStage tnoHSB 10
  1619.  
  1620. ;set tnoHSB.hud_color to sv_Construct "HUDcolorWhite"
  1621. ;set tnoHSB.hud_val to sv_Construct "BPH.HUDarms"
  1622. ;set tnoHSB.hud_max to sv_Construct "100"
  1623. ;set tnoHSB.hud_min to sv_Construct "0"
  1624. ;set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1625. ;set tnoHSB.hud_name to sv_Construct "Arms: "
  1626. ;set tnoHSB.hud_textPos_y to HUDtxtLeft
  1627. ;set tnoHSB.hud_size to 80
  1628. ;SetStage tnoHSB 10
  1629.  
  1630. ;set tnoHSB.hud_color to sv_Construct "HUDcolorWhite"
  1631. ;set tnoHSB.hud_val to sv_Construct "BPH.HUDhead"
  1632. ;set tnoHSB.hud_max to sv_Construct "100"
  1633. ;set tnoHSB.hud_min to sv_Construct "0"
  1634. ;set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1635. ;set tnoHSB.hud_name to sv_Construct "Head: "
  1636. ;set tnoHSB.hud_textPos_y to HUDtxtLeft
  1637. ;set tnoHSB.hud_size to 80
  1638. ;SetStage tnoHSB 10
  1639.  
  1640. ;set tnoHSB.hud_color to sv_Construct "HUDcolorBlue"
  1641. ;set tnoHSB.hud_val to sv_Construct "BPH.HUDhygiene"
  1642. ;set tnoHSB.hud_max to sv_Construct "100"
  1643. ;set tnoHSB.hud_min to sv_Construct "0"
  1644. ;set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1645. ;set tnoHSB.hud_name to sv_Construct "Hygiene: "
  1646. ;set tnoHSB.hud_x to 98
  1647. ;set tnoHSB.hud_y to 16.5
  1648. ;set tnoHSB.hud_textPos_y to HUDtxtLeft
  1649. ;set tnoHSB.hud_size to 80
  1650. ;SetStage tnoHSB 10
  1651.  
  1652. ;set tnoHSB.hud_color to sv_Construct "HUDcolorBlue"
  1653. ;set tnoHSB.hud_val to sv_Construct "BPH.HUDtoilet"
  1654. ;set tnoHSB.hud_max to sv_Construct "0"
  1655. ;set tnoHSB.hud_min to sv_Construct "100"
  1656. ;set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1657. ;set tnoHSB.hud_name to sv_Construct "Toilet: "
  1658. ;set tnoHSB.hud_textPos_y to HUDtxtLeft
  1659. ;set tnoHSB.hud_size to 80
  1660. ;SetStage tnoHSB 10
  1661.  
  1662.  
  1663. ; ==== Basic Primary Needs - Sleep
  1664. set tnoHSB.hud_color to sv_Construct "5+2*(tnoHSB.frac>0.28)+4*(tnoHSB.frac>.5)-10*(tnoHSB.frac>0.75)"
  1665. set tnoHSB.hud_val to sv_Construct "BPN.HUDsleep"
  1666. set tnoHSB.hud_max to sv_Construct "0"
  1667. set tnoHSB.hud_min to sv_Construct "100"
  1668. set tnoHSB.hud_name to sv_Construct "Energy: "
  1669. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1670. set tnoHSB.hud_textDisplay to HUDtxtPercent
  1671. set tnoHSB.hud_textPos_x to HUDtxtLeft
  1672. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1673. set tnoHSB.hud_size to 80
  1674. setStage tnoHSB 10
  1675.  
  1676. ; ==== Basic Primary Needs - Hunger
  1677. set tnoHSB.hud_color to sv_Construct "5+2*(tnoHSB.frac>0.28)+4*(tnoHSB.frac>.5)-10*(tnoHSB.frac>0.75)"
  1678. set tnoHSB.hud_val to sv_Construct "BPN.HUDhunger"
  1679. set tnoHSB.hud_max to sv_Construct "0"
  1680. set tnoHSB.hud_min to sv_Construct "100"
  1681. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1682. set tnoHSB.hud_name to sv_Construct "Hunger: "
  1683. set tnoHSB.hud_textDisplay to HUDtxtPercent
  1684. set tnoHSB.hud_textPos_x to HUDtxtLeft
  1685. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1686. set tnoHSB.hud_size to 80
  1687. setStage tnoHSB 10
  1688.  
  1689. ; ==== Basic Primary Needs - Thirst
  1690. set tnoHSB.hud_color to sv_Construct "5+2*(tnoHSB.frac>0.28)+4*(tnoHSB.frac>.5)-10*(tnoHSB.frac>0.75)"
  1691. set tnoHSB.hud_val to sv_Construct "BPN.HUDthirst"
  1692. set tnoHSB.hud_max to sv_Construct "0"
  1693. set tnoHSB.hud_min to sv_Construct "100"
  1694. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1695. set tnoHSB.hud_name to sv_Construct "Thirst: "
  1696. set tnoHSB.hud_textDisplay to HUDtxtPercent
  1697. set tnoHSB.hud_textPos_x to HUDtxtLeft
  1698. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1699. set tnoHSB.hud_size to 80
  1700. setStage tnoHSB 10
  1701.  
  1702. ; ==== Basic Primary Needs - Caffeine
  1703. set tnoHSB.hud_color to sv_Construct "HUDcolorBrown"
  1704. set tnoHSB.hud_val to sv_Construct "BPN.HUDcaffeine"
  1705. set tnoHSB.hud_max to sv_Construct "100"
  1706. set tnoHSB.hud_min to sv_Construct "0"
  1707. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1708. set tnoHSB.hud_name to sv_Construct "Caffeine: "
  1709. set tnoHSB.hud_textDisplay to HUDtxtPercent
  1710. set tnoHSB.hud_textPos_x to HUDtxtLeft
  1711. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1712. set tnoHSB.hud_size to 80
  1713. setStage tnoHSB 10
  1714.  
  1715. ; ==== Basic Primary Needs - Alcohol
  1716. set tnoHSB.hud_color to sv_Construct "HUDcolorYellow"
  1717. set tnoHSB.hud_val to sv_Construct "BPN.HUDalcohol"
  1718. set tnoHSB.hud_max to sv_Construct "100"
  1719. set tnoHSB.hud_min to sv_Construct "0"
  1720. set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"
  1721. set tnoHSB.hud_name to sv_Construct "Alcohol: "
  1722. set tnoHSB.hud_textDisplay to HUDtxtPercent
  1723. set tnoHSB.hud_textPos_x to HUDtxtLeft
  1724. set tnoHSB.hud_textPos_y to HUDtxtNoBar
  1725. set tnoHSB.hud_size to 80
  1726. setStage tnoHSB 10
  1727.  
  1728.  
  1729. ; =================== RGO Wanted Days
  1730. ; Display wanted status. A "wanted" note is displayed if you are wanted for crime
  1731. ;
  1732. ; set tnoHSB.hud_color to sv_Construct "HUDcolorBlue*(GetActorValue Bounty>0)" ; Will display the note if your current status is "wanted"
  1733. ; set tnoHSB.hud_ref to sv_Construct "RenCrimeConfig.murderdays" ; ref checks if you are wanted for murder
  1734. ; set tnoHSB.hud_val to sv_Construct "RenCrimeConfig.murderdays" ; val is number of days left until conviction is lifted
  1735. ; set tnoHSB.hud_name to sv_Construct "Murder: " ; Display name of ref (current crime)
  1736. ; set tnoHSB.hud_max to sv_Construct "14"
  1737. ; set tnoHSB.hud_min to sv_Construct "0"
  1738. ; set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color" ; Set text color identical to (hidden) bar color
  1739. ; set tnoHSB.hud_textDisplay to HUDtxtValue ; Display number of days
  1740. ; set tnoHSB.hud_textPos_x to HUDtxtLeft ; Have text to the left of the bar
  1741. ; set tnoHSB.hud_textPos_y to HUDtxtNoBar ; ... replace bar
  1742. ; set tnoHSB.hud_size to 80 ; size of font
  1743. ; set tnoHSB.hud_updateInterval to 60 ; Only update the bar every minute since crime status doesn't change frequently
  1744. ; setStage tnoHSB 10 ; Init status bar 1
  1745.  
  1746.  
  1747. ; =================== Fizzle
  1748. ; ==== Spell failure chance from Fizzle, displayed above the spell icon
  1749. ; Remove the default spell effectiveness bar if using this, as Fizzle replaces that mechanism
  1750. set tnoHSB.hud_color to sv_Construct "HUDcolorBlue"
  1751. set tnoHSB.hud_val to sv_Construct "tejonFizzle.chance"
  1752. set tnoHSB.hud_max to sv_Construct "100"
  1753. set tnoHSB.hud_x to HUDmagicCenter ; Centered relative to magic icon
  1754. set tnoHSB.hud_y to HUDmagicAbove ; Right above magic icon
  1755. set tnoHSB.hud_size to HUDmagicWidth ; Same width as magic icon
  1756. SetStage tnoHSB 10
  1757.  
  1758. ; ==== Basic Primary Needs - Mouse Over
  1759. set tnoHSB.hud_ref to sv_Construct "GetFormFromMod %qBasic Primary Needs.esp%q %q070B5A%q"
  1760. set tnoHSB.hud_name to sv_Construct "hud_ref"
  1761. set tnoHSB.hud_textDisplay to HUDtxtNoValue
  1762. set tnoHSB.hud_type to HUDtxtNoBar
  1763. set tnoHSB.hud_textPos_x to HUDtxtCenter
  1764. set tnoHSB.hud_textPos_y to HUDtxtCenter
  1765. set tnoHSB.hud_y to 45
  1766. set tnoHSB.hud_x to 50
  1767. set tnoHSB.hud_textType to HUDfontKingthings
  1768. set tnoHSB.hud_textSize to 16
  1769. set tnoHSB.hud_textShadowColor to sv_Construct "HUDcolorBlack"
  1770. SetStage tnoHSB 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement