A simple patch for ModernUI with HungerThirstSleepUI
Hi! I did a quick merge on the conflicting files of Moddb.com and Moddb.com. The icon colors are a bit inconsistent with the icons from ModernUI, but I'm very inexperienced with GIMP so this is all I could do.
This is my first mod, I literally just merged some script and xml files and then edited the inventory screen just enough so that the bars align. All credits go to the mod authors @bvcx and @tkcrits. If someone sends me more consistent icons, I'd be happy to update and give credit.
Installation:
Just use your favourite mod organizing tool (I use MO2) and make sure the patch is loaded after the main mods, or copy the gamedata folder into your game directory after installing both mods. If you were able to install ModernUI and HungerThirstSleepUI you should have no problem installing this.
Nice.
Thanks :)
Oh amazing work bro!
Can I use your plugin to use it in mine?
Moddb.com
Of course I will give you credits.
I spent some time trying to change the hunger, thirst and sleep bars and it was difficult to change it in the Scripts.
10/10
I'm sorry for my English😄
Thanks :) And of course!
oh thanks to you friend.
I was testing your Scripts or it was ui_inventory_16 and it crashes the game.
But I was able to fix it.
I appreciate that you let me upload your addon to put it in mine.
Greetings!
good work)
edit: actually when i activate this patch, game CTD whenever i open the inventory. error code is;
Expression : <no expression>
Function : CScriptEngine::lua_pcall_failed
File : ..\xrServerEntities\script_engine.cpp
Line : 204
Description : fatal error
Arguments : LUA error: ....l.k.e.r. - anomaly\gamedata\scripts\ui_inventory.script:1777: attempt to call field 'get_last_drink' (a nil value)
stack trace:
---
any idea?