Description

This addons adds Dynamic HUD with Gasmask Overlays, breathing sound and visuals as well as new headlamp lighting.

Preview
Dynamic HUD Addon
Post comment Comments
trillex
trillex - - 10 comments

Really digging what you are doing with this addon.

Getting this crash when using it, though, when picking up the merc suit and equipping it:

FATAL ERROR

[error]Expression : xml_doc.NavigateToNode(path, index)
[error]Function : CUIXmlInit::InitStatic
[error]File : D:\a\OGSR-Engine\OGSR-Engine\ogsr_engine\xrGame\ui\UIXmlInit.cpp
[error]Line : 173
[error]Description : XML node not found
[error]Arguments : hud_kill_blue

[13.04.24 22:20:57.868] [38832] ***************************[ScriptCrashHandler]**********************************
[13.04.24 22:20:57.868] [38832] stack traceback:
[C]: in function 'AddCustomStatic'
... shadow of chernobyl\gamedata\scripts\dinamic_hud.script:356: in function 'setmysuithud'
... shadow of chernobyl\gamedata\scripts\dinamic_hud.script:340: in function 'helmet_hud'
... shadow of chernobyl\gamedata\scripts\dinamic_hud.script:50: in function 'update'
...shadow of chernobyl\gamedata\scripts\bind_stalker.script:371: in function <...shadow of chernobyl\gamedata\scripts\bind_stalker.script:235>
[13.04.24 22:20:57.868] [38832] Locals:
[13.04.24 22:20:57.868] [38832] userdata (*temporary) : (class CUIGameCustom): 00000222611F15E0
[13.04.24 22:20:57.868] [38832] string (*temporary) : hud_kill_blue
[13.04.24 22:20:57.868] [38832] End
[13.04.24 22:20:57.868] [38832] Locals:
[13.04.24 22:20:57.868] [38832] userdata hud : (class CUIGameCustom): 00000222611F15E0
[13.04.24 22:20:57.868] [38832] userdata actor_pos : (struct _vector3<float>): 0000022261137890
[13.04.24 22:20:57.868] [38832] End
[13.04.24 22:20:57.868] [38832] Locals:
[13.04.24 22:20:57.868] [38832] userdata helmet : (class CScriptGameObject): 000002229429E940
[13.04.24 22:20:57.868] [38832] number helmet_id : 22574.000000
[13.04.24 22:20:57.868] [38832] End
[13.04.24 22:20:57.868] [38832] Locals:
[13.04.24 22:20:57.868] [38832] number tg : 114642.000000
[13.04.24 22:20:57.868] [38832] End
[13.04.24 22:20:57.868] [38832] Locals:
[13.04.24 22:20:57.868] [38832] Userdata: self
[13.04.24 22:20:57.868] [38832] Table: self.st
[13.04.24 22:20:57.868] [38832] number self.next_restrictors_update_time : 114768.000000
[13.04.24 22:20:57.868] [38832] boolean self.weapon_hide : false
[13.04.24 22:20:57.868] [38832] boolean self.bCheckStart : false
[13.04.24 22:20:57.868] [38832] Userdata: self.weather_manager
[13.04.24 22:20:57.868] [38832] table self.weather_manager.cycles : [...]
[13.04.24 22:20:57.868] [38832] string self.weather_manager.default_cycle_id : 2
[13.04.24 22:20:57.868] [38832] number self.weather_manager.cycle_time : 0.000000
[13.04.24 22:20:57.868] [38832] table self.weather_manager.trans_times : [...]
[13.04.24 22:20:57.868] [38832] string self.weather_manager.dyn_weather : dry
[13.04.24 22:20:57.868] [38832] number self.weather_manager.next_time : 360.000000
[13.04.24 22:20:57.868] [38832] number self.weather_manager.last_time : 301.000000
[13.04.24 22:20:57.868] [38832] number self.weather_manager.next_time_idx : 8.000000
[13.04.24 22:20:57.868] [38832] userdata self.weather_manager.ini : (class CScriptIniFile): 000002225DB29100
[13.04.24 22:20:57.868] [38832] table self.weather_manager.trans_lists : [...]
[13.04.24 22:20:57.868] [38832] string self.weather_manager.lvl_suffix :
[13.04.24 22:20:57.868] [38832] number self.weather_manager.last_time_idx : 7.000000
[13.04.24 22:20:57.868] [38832] table self.weather_manager.cycle_idx : [...]
[13.04.24 22:20:57.868] [38832] number self.weather_manager.time : 346.000000
[13.04.24 22:20:57.868] [38832] string self.weather_manager.lvl_weather : cordon
[13.04.24 22:20:57.868] [38832] string self.weather_manager.cur_weather : dry
[13.04.24 22:20:57.868] [38832] Userdata: self.actor_detector
[13.04.24 22:20:57.868] [38832] number self.actor_detector.init_time : -1.000000
[13.04.24 22:20:57.868] [38832] number delta : 14.000000
[13.04.24 22:20:57.868] [38832] number time : 114642.000000
[13.04.24 22:20:57.868] [38832] End
[13.04.24 22:20:57.868] [38832] *********************************************************************************

Reply Good karma Bad karma+1 vote
DimitriVedmak Author
DimitriVedmak - - 44 comments

Hi! Dunno what happened, but when I uploaded the supposed fix to replace the initial version of the addon I have uploaded a wrong archive that did not have the fix. Should be okay now. Also there is another workaround but im not sure if it will keep the game stable. Go to: gamedata --> config --> ui --> and delete "ui_custom_msgs_16.xml" and the crash will be no more.

Reply Good karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: