-
Active Member
Modified MonsterHealthBarPlugin
I mentioned this a few months ago in the previous forum, but it's not on this forum yet. I have issues with reading small text and need to do the following three things:
Increase the text size in MonsterHealthBarPlugin
Remove the decimal point in the plugin
Remove the K, M, B, T and use the whole number in the plugin
Can someone help me with the creation of this modified plugin?
Any takers on a 2.6.0 modified version of the plugin?
Last edited by Vern1701; 07-16-2017 at 12:31 AM.
-
Active Member
I added the current patch version, not the date. Any pros at making modified plugins?
-
Savvy ? 🐒
You can change the font size with this snippet inside a customize (like in PluginEnablerDisabler)
PHP Code:
Hud.RunOnPlugin<TopMonsterHealthBarPlugin>(plugin => {
plugin.MonsterHitpointsFont = Hud.Render.CreateFont("tahoma", 12, 255, 255, 255, 255, true, false, true);
plugin.MonsterEffectsFont = Hud.Render.CreateFont("tahoma", 12, 255, 40, 200, 40, true, false, 128, 0, 0, 0, true);
});
Other points can't be done without modifying base plugin (and i'll not do that ;p)
-
Post Thanks / Like - 1 Thanks
Vern1701 (1 members gave Thanks to JackCeparou for this useful post)
-
Active Member
-
Member
Vern, I'll PM you something.
-
Post Thanks / Like - 1 Thanks
Vern1701 (1 members gave Thanks to Styckz for this useful post)
-
Active Member
-
Member
Let me know if that works for you once you are able to test it.
-
Active Member
It works, but I have to tweak the BG to show/mimic the health bar. Otherwise, it's what I was looking for.