Serious Sam: Siberian Mayhem

Serious Sam: Siberian Mayhem

Not enough ratings
Fight For Your Life (Script)
   
Award
Favorite
Favorited
Unfavorite
Game Mode: Single Player
Type: Additions
File Size
Posted
Updated
1.891 MB
15 Aug, 2023 @ 8:17am
6 Feb, 2024 @ 6:06am
5 Change Notes ( view )

Subscribe to download
Fight For Your Life (Script)

Description
This mod is unlisted since it's pretty buggy.

This mod adds "Fight For Your Life" (FFYL) mechanic from the Borderlands games. When you receive a final blow you enter a "FFYL" state and start to "bleed out". If you (or your companion drone) kill an enemy during this state you get the "Second Wind" and revive with 25 HP and 2 seconds of invulnerability (as well as losing all the armor if you had any).

This state lasts for 10 seconds, if you won't be able to kill an enemy during this time you'll die. State duration is lowered by 25% (50% in survival) each time you enter this mode. In singleplayer duration will be increased back to 10 seconds if you die, use H.E.A.R.T gadget, finish the level, or 30 seconds passes since the last "FFYL" state. In survival duration won't be increased back to normal.

While in the "FFYL" state:
- movement speed decreased by 75%
- sprint disabled
- jumping disabled
- gadget quick use disabled
- dual wielding disabled
- alt fire/aim disabled
- "use" disabled (which also includes melee finishers)
- you exit any vehicle you were riding and you can't re-enter it (including hoverboard gadget)
- each time you're damaged during a single "FFYL" state "bleed out" rate is increased by 25% (you'll die faster), next time you enter the "FFYL" state "bleed out" rate will be decreased back to the default value

This script should work on any map including survival maps as well as the NG+ but only in singleplayer!

Note that there also might be some issues on maps (or other mods) that use "ReceiveDamageScriptEvent" on player or block certain player commands, when you get the "Second Wind" all of the player commands are unblocked (because some of them are blocked during the "FFYL", e.g. jumping).

When entering "FFYL" health and armor are set to 200 each to avoid player picking up health and armor items (which will be wasted since all the armor will be lost and HP will be set to 25).
12 Comments
Nekorie  [author] 25 Jan @ 4:50am 
I'm probably not going to work on this mod anymore, sorry.
Tayzor Azul 25 Jan @ 4:04am 
Hope you can fix this in due time.
Nekorie  [author] 24 Jan @ 5:24pm 
Yes
Tayzor Azul 24 Jan @ 1:26pm 
- movement speed decreased by 75% I think this causes the stats to be messed up.
Nekorie  [author] 24 Jan @ 7:26am 
I see. Yeah this mod is quite bugged, that’s why I made it unlisted. And I’d say it’s so flawed that I can’t just make a quick fix, I’ll have to pretty much rewrite it from scratch.
Tayzor Azul 24 Jan @ 3:32am 
I also discovered that on New Game +, the stats like player speed and damage are lost when you enter FFYL and when you get Second Chance for the remaining of the level.
Tayzor Azul 27 Dec, 2024 @ 3:57am 
You can test this bug on the last level.

Try to enter FFYL at the begining and then stay alive until the open arena fight just before entering the city. You will see some enemies facing towards the beginning where you first entered FFYL.
Nekorie  [author] 26 Dec, 2024 @ 11:06am 
It just makes the player invulnerable until you get a second wind or die. It also doesn’t affect enemies, only the player puppet entity. So I’m not really sure what may cause an issue like this. I know about one issue with this mod but it’s not about enemies behaving weird.
Tayzor Azul 26 Dec, 2024 @ 9:47am 
Yes. For example I went into FFYL somewhere at the beginning of the level and then was ok till that open ended area just before entering the city. And there seems to be the place where some enemies go in the area where I last went into FFYL.
Could it be that after you revive you leave a ghost like player entity ? That could be the only thing that may cause such behavior in the enemies.
Nekorie  [author] 26 Dec, 2024 @ 8:13am 
I'm not sure how exactly something like this can happen since you don't actually die when you go into FFYL so enemies should still target you. It's especially weird if it's only on the last levels. Are you sure the problem is with this mod?