Garry's Mod

Garry's Mod

32 ratings
Battlefield-ish respawn menu
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
Updated
14.499 KB
24 Jun, 2023 @ 2:57pm
13 Jul, 2023 @ 8:29am
11 Change Notes ( view )

Subscribe to download
Battlefield-ish respawn menu

In 1 collection by ConorSNES
New Super SNES Pack
64 items
Description
About
This is an addon that gives you a dialog when a client player dies, allowing them to pick a location to respawn to.

As this addon is a tad unstable on anything other than sandbox, it will only function (soft enable itself server-side) in sandbox.

CVAR LISTING:

SERVER
  • bfres_allowselect
    "Allow/Disallow selection of spawn point using bfres window"
    Unlike similar client variable, this disables players' selected points from being used.

CLIENT
  • bfres_doshowui
    "Show the bfres UI on death"
  • bfres_uiscale
    "Scale of bfres UI relative to screen size"

Additional notes
The image captured for the world map is limited to the map design- if the map looks weird, it might be because it stores its' skybox above the level itself.

Source is available on Github ("battlefield_respawn"). Issues should be called on the repository.
13 Comments
uvarabei_2077 8 Dec, 2024 @ 6:31am 
реально работает 12 из 10 примечание но не с начала сессии а после смерти
HexStrain 30 Nov, 2023 @ 12:46pm 
I am using a map which has 3 maps in it layer by layer, no connection between them. Guess i'll try it myself and feedback you
ConorSNES  [author] 30 Nov, 2023 @ 12:44pm 
Eventually I'll do some more features for this. Thinking about a "side view" for interior-heavy maps, maybe also options for grouping spawn point clusters to make zoomed out selection easier
ConorSNES  [author] 30 Nov, 2023 @ 12:41pm 
The bird's eye view might be confusing on depth-heavy maps (e.g. places_from_your_dreams), but it should otherwise allow you to pick a spawn point fine (unless they're directly on top of each other, which is rare).
HexStrain 30 Nov, 2023 @ 11:45am 
Does this work with maps that has multiple layers?
ConorSNES  [author] 21 Nov, 2023 @ 10:38am 
I've thought of making a permadeath/configurable player death mod for a good bit of time. Never really found a mod that just hard cuts to a black screen when you die, lol
Having limited lives functionality could be another interesting thing to add
The problem is that a mod like that would mess with so much baseline stuff it's hard to gracefully implement into sandbox or other gamemodes where you're meant to respawn
The omega crazytails 20 Nov, 2023 @ 3:46pm 
Like if i setup a team deathmatch with bots i dont want to be able to spawn as much as i want i would like to set a limit for myself
The omega crazytails 20 Nov, 2023 @ 3:45pm 
Can you set spawn limits for yourself and others also been looking for a way to do this in singleplayer for myself
Dopey 6 Jul, 2023 @ 6:16am 
[ERROR] Warning! A net message (bfres_showUI) is already started! Discarding in favor of the new message! (PlayerKilled)
1. unknown - gamemodes/base/gamemode/player.lua:189
3Silmarils 29 Jun, 2023 @ 5:37pm 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental hospital, because she killed her mom and her dad. She got so bad she went to kill all the staff in the hospital so the More- government decided that best idea was to get rid of her so they set up a special room to kill her, as humane as possible but it went wrong the machine they were using went wrong. And she sat there in agony for hours until she died. Now every week on the day of her death she returns to the person that reads this letter, on a monday night at 12:00a.m. She creeps into your room and kills you slowly, by cutting you and watching you bleed to death. Now send this to ten other profiles on this one site, and she will haunt someone else who doesn't. This isn't fake. apparently, if u copy and paste this to ten comments in the next ten minutes u will have the best of your life