Serious Sam Fusion 2017 (beta)

Serious Sam Fusion 2017 (beta)

Health bars and Damage numbers
98 Comments
SiberianIceBomb 3 May @ 10:29am 
Hmmm... I don't see a point of putting an health and armor hud icons over yourself like over your own character like Sam, but cool nonethless
Lankycide 4 Dec, 2021 @ 4:58am 
@NSKuber:
Oh! Whoops. Yeah, restarting and trying the commands again works. Thanks for the help. xD
NSKuber  [author] 4 Dec, 2021 @ 2:45am 
This didn't work precisely because you entered these two commands in this order.
You should have just used "globals.EnablePlayerHealthBars(2)", but when you first entered "globals.EnablePlayerHealthBars=2", you have overwritten the function in that variable and thus it couldn't be called anymore.

Start the game again and use "globals.EnablePlayerHealthBars(2)" again, it will work.
Lankycide 3 Dec, 2021 @ 12:46pm 
Hello again. So I've recently gotten back into Fusion, and I've tried disabling the health bar above my own head in third person, and I typed the command both as "globals.EnablePlayerHealthBars=2" and as "globals.EnablePlayerHealthBars(2)" as you instructed, and neither seem to work.
The first reports no issue but doesn't work, and the second prints a Lua error. I'm not sure why this happens, and any help would be greatly appreciated. Kind regards. :)
NSKuber  [author] 2 Nov, 2021 @ 11:29am 
Maybe. Maybe not.
Shockwave 29 Oct, 2021 @ 10:27pm 
So is this what inspired croteam to use this in SS4?
NSKuber  [author] 28 Aug, 2021 @ 10:18pm 
You have to write it like this:
globals.EnablePlayerHealthBars(2)
as a function call, not as an assignment.
IAmSympathy 27 Aug, 2021 @ 1:18pm 
I also have the same problem as SCP Book. Even if I type globals.EnablePlayerHealthBars=2, it still shows the health bar over my character in third person
NSKuber  [author] 3 Nov, 2020 @ 1:42am 
Hm, that makes sense, I don't remember if there is a function to detect boss, however. I will check.
LOL DUDE 2 Nov, 2020 @ 7:57pm 
Great mod! However, do you think you could add an option to hide overhead health bars for bosses that already have health bars displayed on the player's HUD?
o'night 14 Oct, 2020 @ 7:26am 
yeah nope, oops!
NSKuber  [author] 14 Oct, 2020 @ 7:21am 
Are you... sure you are commenting on the right mod page?
NSKuber  [author] 18 Apr, 2020 @ 7:53am 
Hey, @SCP Book, I have tried and I don't seem to be able to reproduce the issue - all the settings are changing properly. I also deleted the config file, works after that. Did you still have issues after our last conversation?
NSKuber  [author] 15 Jan, 2020 @ 12:23am 
Hm, thanks for the heads up, will check it out!
Lankycide 14 Jan, 2020 @ 6:07pm 
After doing some testing, I found that damage numbers are also stuck at Cumulative, but damage number colour is still changeable.
Lankycide 14 Jan, 2020 @ 5:48pm 
NSKuber, still doing amazing work and readily helping out answering questions. Thank you! :D

I noticed a small issue today, not sure what's causing it, but regardless of Player Health Bar setting, the floating Health/Armour bar is always above me in 3rd person, getting in the way of the crosshair. I had the Lua error thing, followed the instructions in the description, and now it works without errors, but the globals.DamageBarStatus() says that it's always set to player health bars for all players, even if I try and change it. Any help?
NSKuber  [author] 27 Dec, 2019 @ 8:50pm 
That's technically not a HUD mod - Sam HUD is pretty weakly customizable (and requires replacing stuff), so this one (as well as Custom Weapon Management menu, which also works in VR) does its thing inside actual game 3D space using models.
Hiki 27 Dec, 2019 @ 8:46pm 
Appreciate it, i sometimes feel dumb asking if a mod will work in VR but when its a hud mod its unclear since the huds are so different between flat and VR
NSKuber  [author] 27 Dec, 2019 @ 8:45pm 
Yeah it does. And no problem, it's not obvious whenever certain mod would work in VR or not.
Hiki 27 Dec, 2019 @ 7:08pm 
New to serious sam modding, forgive me if this is a dumb question but this functions in VR as well right?
NSKuber  [author] 30 Aug, 2019 @ 4:20am 
The mod just received a significant optimization update, which also switches default values of monster health bars and damage numbers to 2.
GrechHerald 10 Feb, 2019 @ 2:07am 
got some troubles, can't remember how to change the parameters using the commands
Riba4ok13 11 Jul, 2018 @ 1:23am 
Когда играл в карту forbidden genesis, я заметил, что у нового врага, который атакует всех, не показывает полоску хп сверху и дамаг... Возможно это из-за того, что он атакует всех ( кроме своих ). Это поправимо?
NSKuber  [author] 2 Feb, 2018 @ 6:51pm 
That's not my script, and definitely not related to this mod. I'll ask other scripting modders.
PootisMayo 2 Feb, 2018 @ 10:22am 
Lua error> [Content/SeriousSam3/Scripts/CustomWorldScripts/MathMisc.lua]:74: attempt to call global 'DestroyRandomNumberGenerator' (a nil value)

This is something I got just today. Will you fix soon?
BlueCat 10 Jan, 2018 @ 4:23am 
Doesn't sound like an easy task, so you decide what to do.
NSKuber  [author] 8 Jan, 2018 @ 6:53pm 
Script can't tell if an arbitrary enemy is a boss or not, so the best I can do is try to manually list all TFE, TSE and BFE bosses and disable bars for them.
BlueCat 8 Jan, 2018 @ 11:06am 
Can you make a feature that disables the bars of any (custom) enemy that uses the in-game boss bar?

It's not really annoying, but it is kinda weird to see ugh-zan have two bars at the same time :)
NSKuber  [author] 5 Nov, 2017 @ 5:33am 
Sure, type
globals.EnableDamageNumbers(0)
in console.
Serafettin 5 Nov, 2017 @ 4:50am 
is it possible to remove the damage numbers?
NSKuber  [author] 4 Nov, 2017 @ 9:31am 
I mean, not showing bars at full health.
NSKuber  [author] 4 Nov, 2017 @ 9:31am 
This is already implemented.
globals.EnableMonsterHealthBars(2)
is the command you're looking for.
FAB 4 Nov, 2017 @ 9:08am 
Would be nice if the mod did not show health bars of enemies with full health, would make the mod less of a mess graphicaly. Would also be nice that the numbers pop up higher over the enemies models.
Tayzor Azul 14 Sep, 2017 @ 10:45am 
it worked :) Funny
NSKuber  [author] 14 Sep, 2017 @ 9:19am 
Here are your problems: in both logs I see you type

globals.EnablePlayerHealthBars=1

before using correct command. By doing this, you overwrite function
globals.EnablePlayerHealthBars()
with number 1, so after you did this you won't be able to use the function for the rest of playsession.

Solution: restart game and use commands properly.
NSKuber  [author] 14 Sep, 2017 @ 8:32am 
That's interesting, but I asked for a full log of a session, if you would be so kind.
Tayzor Azul 14 Sep, 2017 @ 7:29am 
When I put this command globals.EnablePlayerHealthBars(0)
I get the following mesage.
[string "globals.EnablePlayerHealthBars(0)"]:1: in main chunk
NSKuber  [author] 14 Sep, 2017 @ 3:59am 
Hm, could you please post your log ("Serious Sam Fusion 2017/Content/Logs/Sam2017_Unrestricted.log") to pastebin.com and link here?
Tayzor Azul 14 Sep, 2017 @ 3:22am 
Deleted it. Same thing the Healh bar on my model is still there if set to 0 or 2
NSKuber  [author] 11 Sep, 2017 @ 1:52am 
Neither error nor any confirmation message? Huh, strange.
Anyway, try deleting "Serious Sam Fusion 2017/Content/Config/DMGNumbers.txt" file.
Tayzor Azul 11 Sep, 2017 @ 1:29am 
I get nothing. The other commands work fine and give me an message on what it did.
NSKuber  [author] 10 Sep, 2017 @ 6:49pm 
globals.EnablePlayerHealthBars(0)
is correct.
Do you get any answer from console when typing this?
Tayzor Azul 10 Sep, 2017 @ 2:58pm 
Something is wrong with the globals.EnablePlayerHealthBars command.
I tryed globals.EnablePlayerHealthBars(0) , globals.EnablePlayerHealthBars=0 , globals.EnablePlayerHealthBars=(0) but the health bar still stays there....
Moose 2 Sep, 2017 @ 2:40pm 
Thanks a lot! I've only recently started modding SSF and so far this is my favourite workshop package.
NSKuber  [author] 2 Sep, 2017 @ 12:17am 
As suggested by TheMooseIsLoose, added alternative mode for monster health bars, where monster health bar isn't shown while monster is at full health. Enabled by following command in console:
globals.EnableMonsterHealthBars(2)
Moose 30 Aug, 2017 @ 11:10am 
Very nice. I would suggest having HP bars on monsters disabled if monster health is 100%.
Lankycide 26 Aug, 2017 @ 2:25am 
Ah, okay. No problem, and thanks again. I'll be crash-testing it soon enough! :)
NSKuber  [author] 26 Aug, 2017 @ 2:24am 
I don't know about your crashes, I just discovered this one accidentaly today morning, I hope it didn't cause much trouble to other players. Sirian Warship present on the level was causig it, so maybe crashes were present on other BFE levels that have it.
Lankycide 26 Aug, 2017 @ 2:19am 
Oh, cool! The crashing thing that I talked about a while back was fixed. It was an issue with Summer in Cairo specifically? That's odd, since my game crashed regardless of level. Either way, thanks for the fix! :D This mod is truly epic.