Serious Sam Fusion 2017 (beta)

Serious Sam Fusion 2017 (beta)

Health bars and Damage numbers
98 kommentarer
SiberianIceBomb 3. maj kl. 10:29 
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 kl. 4:58 
@NSKuber:
Oh! Whoops. Yeah, restarting and trying the commands again works. Thanks for the help. xD
NSKuber  [ophavsmand] 4. dec. 2021 kl. 2:45 
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 kl. 12:46 
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  [ophavsmand] 2. nov. 2021 kl. 11:29 
Maybe. Maybe not.
Shockwave 29. okt. 2021 kl. 22:27 
So is this what inspired croteam to use this in SS4?
NSKuber  [ophavsmand] 28. aug. 2021 kl. 22:18 
You have to write it like this:
globals.EnablePlayerHealthBars(2)
as a function call, not as an assignment.
IAmSympathy 27. aug. 2021 kl. 13:18 
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  [ophavsmand] 3. nov. 2020 kl. 1:42 
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 kl. 19:57 
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. okt. 2020 kl. 7:26 
yeah nope, oops!
NSKuber  [ophavsmand] 14. okt. 2020 kl. 7:21 
Are you... sure you are commenting on the right mod page?
NSKuber  [ophavsmand] 18. apr. 2020 kl. 7:53 
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  [ophavsmand] 15. jan. 2020 kl. 0:23 
Hm, thanks for the heads up, will check it out!
Lankycide 14. jan. 2020 kl. 18:07 
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 kl. 17:48 
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  [ophavsmand] 27. dec. 2019 kl. 20:50 
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 kl. 20:46 
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  [ophavsmand] 27. dec. 2019 kl. 20:45 
Yeah it does. And no problem, it's not obvious whenever certain mod would work in VR or not.
Hiki 27. dec. 2019 kl. 19:08 
New to serious sam modding, forgive me if this is a dumb question but this functions in VR as well right?
NSKuber  [ophavsmand] 30. aug. 2019 kl. 4:20 
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 kl. 2:07 
got some troubles, can't remember how to change the parameters using the commands
Riba4ok13 11. juli 2018 kl. 1:23 
Когда играл в карту forbidden genesis, я заметил, что у нового врага, который атакует всех, не показывает полоску хп сверху и дамаг... Возможно это из-за того, что он атакует всех ( кроме своих ). Это поправимо?
NSKuber  [ophavsmand] 2. feb. 2018 kl. 18:51 
That's not my script, and definitely not related to this mod. I'll ask other scripting modders.
PootisMayo 2. feb. 2018 kl. 10:22 
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 kl. 4:23 
Doesn't sound like an easy task, so you decide what to do.
NSKuber  [ophavsmand] 8. jan. 2018 kl. 18:53 
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 kl. 11:06 
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  [ophavsmand] 5. nov. 2017 kl. 5:33 
Sure, type
globals.EnableDamageNumbers(0)
in console.
Serafettin 5. nov. 2017 kl. 4:50 
is it possible to remove the damage numbers?
NSKuber  [ophavsmand] 4. nov. 2017 kl. 9:31 
I mean, not showing bars at full health.
NSKuber  [ophavsmand] 4. nov. 2017 kl. 9:31 
This is already implemented.
globals.EnableMonsterHealthBars(2)
is the command you're looking for.
FAB 4. nov. 2017 kl. 9:08 
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 kl. 10:45 
it worked :) Funny
NSKuber  [ophavsmand] 14. sep. 2017 kl. 9:19 
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  [ophavsmand] 14. sep. 2017 kl. 8:32 
That's interesting, but I asked for a full log of a session, if you would be so kind.
Tayzor Azul 14. sep. 2017 kl. 7:29 
When I put this command globals.EnablePlayerHealthBars(0)
I get the following mesage.
[string "globals.EnablePlayerHealthBars(0)"]:1: in main chunk
NSKuber  [ophavsmand] 14. sep. 2017 kl. 3:59 
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 kl. 3:22 
Deleted it. Same thing the Healh bar on my model is still there if set to 0 or 2
NSKuber  [ophavsmand] 11. sep. 2017 kl. 1:52 
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 kl. 1:29 
I get nothing. The other commands work fine and give me an message on what it did.
NSKuber  [ophavsmand] 10. sep. 2017 kl. 18:49 
globals.EnablePlayerHealthBars(0)
is correct.
Do you get any answer from console when typing this?
Tayzor Azul 10. sep. 2017 kl. 14:58 
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 kl. 14:40 
Thanks a lot! I've only recently started modding SSF and so far this is my favourite workshop package.
NSKuber  [ophavsmand] 2. sep. 2017 kl. 0:17 
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 kl. 11:10 
Very nice. I would suggest having HP bars on monsters disabled if monster health is 100%.
Lankycide 26. aug. 2017 kl. 2:25 
Ah, okay. No problem, and thanks again. I'll be crash-testing it soon enough! :)
NSKuber  [ophavsmand] 26. aug. 2017 kl. 2:24 
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 kl. 2:19 
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.