Nexusmodsaccountno2 Posted November 29, 2018 Share Posted November 29, 2018 (edited) I have made a mod that changes the way you die (basically it is a similar death mechanic to Dark Souls). To get the system working I buffed the player's health by twenty thousand extra hit points. The extra hp is to make sure the player never actually dies and triggers an auto load. The extra hp has made the system work but now I have the problem of hp not displaying correctly when the player will "die".The easiest way of correcting this would be to minus 20000 from the hp value displayed, but I have no idea where to even start. Is this possible through scripting? Do I need to edit the hud and pipboy with some other program? (I have seen mods that completely overhaul the look of the pipboy so it seems possible.) Edited November 29, 2018 by Nexusmodsaccountno2 Link to comment Share on other sites More sharing options...
Nexusmodsaccountno2 Posted December 2, 2018 Author Share Posted December 2, 2018 Ok looks like this one might be a tough ask. Not surprised that this might be something out of my league. If anyone has an answer for this feel free to post but for now I will work around the issue from another angle and see how it plays out. Might actually make the mod better... Link to comment Share on other sites More sharing options...
dubiousintent Posted December 2, 2018 Share Posted December 2, 2018 Reworking the HUD to display just your one adjusted stat seems not only "not appealing" to most people, but also counter-productive. There are multiple HUD mods. At issue is just how you are saving your adjusted HP value, and what value is used by the HUD display. If you avoid them being the same, there should be no need to adjust the HUD. To determine the value as used by the HUD display, you need to examine the XML files used to display the HUD. They are located under the "Data\Menus" folder tree. (I suspect you need ".\Main\hud_main_menu.xml", but the '<rect name="HP_Wrap">' section only refers to '<copy src="child(HitPoints)" trait="height" />'. Not clear to me what variable is providing "HitPoints".) Not many modders are versed in XML, and there is not much documentation available on it for FNV. What little has been found is in the "> XML" entry under the "Miscellaneous" section of the wiki "Getting started creating mods using GECK" article. The only mod creator active in HUD work at the moment I am aware of is Axonis. -Dubious- Link to comment Share on other sites More sharing options...
Recommended Posts