Garamonde Posted June 7, 2021 Share Posted June 7, 2021 (edited) Hello, so I am trying to make a meter widget akin to Woodie's Wereness meter, except it only raises when my character eats any kind of meat. After it fills, he "transforms" into a feral state with modified stats and such and the meter slowly drains when he's not eating meat at a gradual rate, similar to Wigfrid's inspiration meter. The actual problem I'm having currently is getting the meter to even show up in-game. I am using graphics and code from the wetness meter as a placeholder until I get the code working, but even after setting up the files in the (seemingly) correct folders the meter just doesn't appear in-game. My widgets folder is under scripts/widgets/inhumanitymeter.lua, while the placeholder graphics were put under Garamonde/exported/inhumanity_meter. Here are also my .LUA files for the component and widget, if that helps. If anything else is needed, please let me know! inhumanitymeter.lua inhumanity.lua Edited June 8, 2021 by Garamonde Link to comment https://forums.kleientertainment.com/forums/topic/130617-mod-help-how-to-make-a-meter-widget-appear/ Share on other sites More sharing options...
Garamonde Posted June 7, 2021 Author Share Posted June 7, 2021 I forgot to post a screenshot of my widget's graphics folder. I renamed a couple things in there, so that could be why it's not reading the graphics? Link to comment https://forums.kleientertainment.com/forums/topic/130617-mod-help-how-to-make-a-meter-widget-appear/#findComment-1466938 Share on other sites More sharing options...
Garamonde Posted June 9, 2021 Author Share Posted June 9, 2021 (edited) After getting help from poolcool2, I have some entirely new code to share so the files in the first post can be disregarded. However, we still cannot get the widget to appear in-game. I have looked into other mods that do the same thing and I even looked at Woodie's code, but we just can't figure out what it is we need. If anyone could help, I will list you in the credits of my mod! I'm making such good progress on my mod and the code is the only roadblock I'm having. Thank you! inhumanity.lua modmain.lua Edited June 9, 2021 by Garamonde Link to comment https://forums.kleientertainment.com/forums/topic/130617-mod-help-how-to-make-a-meter-widget-appear/#findComment-1467385 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now