Garry's Mod

Garry's Mod

43 ratings
Better Respawn
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
18.689 KB
31 Aug, 2024 @ 12:52pm
8 Jun @ 4:04am
9 Change Notes ( view )

Subscribe to download
Better Respawn

In 2 collections by Arcius
功能插件
210 items
My Script Addon
14 items
Description
Better Respawn - Respawn at death point and give player respawn protect

test on x86-64 branch

Features:
- Respawn at death point
- Respawn protect
- Remove death sound
- Remove red death screen
- Keep player corpse after respawn
- Restore player weapons after respawn

how to turn off?
use "brs_remove_death_screen 0" to disable "Remove red death screen" feature
use "brs_sv_remove_death_sound 0" to disable "Remove death sound" feature
use "brs_sv_respawn_at_death_point 0" to disable "Respawn at death point" feature
use "brs_sv_protect_enable 0" to disable "Respawn protect" feature
use "brs_sv_keep_corpse 0" to disable "Keep player corpse" feature
use "brs_sv_restore_weapon 0" to disable "Restore player weapons" feature

more console command (0/1 = 0 disable, 1 enable):
brs_sv_respawn_at_death_point_admin: (0/1) default 0. allow admin player respawn at their death point.
- turn this to 1 and turn "brs_sv_respawn_at_death_point" to 0 mean only admin player can respawn at death point.

brs_sv_restore_weapon_after_protect: (0/1) default 0. restore player weapon after "spawn protect" end, this means player doesn't have weapons during "spawn protect"

brs_sv_protect_on_first_spawn: (0/1) default 0. also give "respawn protect" when player join the map
brs_sv_protect_time: default 6. "respawn protect" will last for (x) seconds. min = 1, max = 60
brs_sv_protect_notify_time: default 3. notify player at last (x) seconds
brs_sv_protect_notify_enable: (0/1) default 1. enable or disable notify
brs_sv_protect_material: Material override during spawn protect. Set "" mean not override material.
- default material is "models/props_combine/tprings_globe", and there has some other materials
-- models/weapons/w_smg1/smg_crosshair
-- models/props_combine/portalball001_sheet
-- models/props_combine/stasisshield_sheet
-- models/alyx/emptool_glow
-- models/wireframe

brs_sv_infinite_jump_during_protect: (0/1) default 0. player can jump in the air during "spawn protect", infinite times. This will be useful when you fall off a cliff and die.
Hold "+duck" bind key (ctrl by default) and respawn, you will not respawn at death point.

brs_sv_refresh_weapon: (0/1) default 0. Refresh weapon when player spawn from map transition. I use it for myself and for single-player campaigns, don't know if it works in multiplayer.
brs_sv_refresh_weapon_delay: default 3. Refresh delay

brs_sv_keep_corpse: default 1.
- 0 disable
- 1 enable. corpse doesn't collide with players/vehicles
- 2 enable. alternative. corpse doesn't collide with players/props
brs_sv_keep_corpse_amount: default 1. Max corpse pre player. default 1. 0 mean unlimited
brs_sv_keep_corpse_time: default 120. Corpse exist time. default 120. 0 mean always exist
brs_sv_keep_corpse_clean_all: Clean all corpses that this mod created
22 Comments
Arcius  [author] 14 Jun @ 1:33pm 
default 6. min = 1, max = 60. use console command "brs_sv_protect_time" to change it
Badger Monkey 14 Jun @ 12:51pm 
How does it work and how long does it last for?
Arcius  [author] 8 Jun @ 4:17am 
只在单人模式测试过,没测试多人游戏兼容性
Arcius  [author] 8 Jun @ 4:08am 
@ray1123
更新了,按住+duck绑定的按键(默认Ctrl)不放,复活时就不会重生在原地了
ray1123 7 Jun @ 10:12pm 
我掉到地图的下面了,一复活就死
Arcius  [author] 2 Jun @ 8:42am 
@notfod
brs_sv_protect_notify_enable 0
notfod 1 Jun @ 10:22pm 
可不可以加个移除提示的选项因为真的很烦
Arcius  [author] 10 May @ 5:59pm 
实在不行可以先把 brs_sv_protect_material 设置为空的,这样就不会覆盖玩家模型材质
小皮卡丘 (端游迷) 10 May @ 5:58pm 
感谢解答,谢谢您Thanks♪(・ω・)ノ
Arcius  [author] 10 May @ 5:57pm 
是单人还是多人?看下是不是有其他插件冲突了,我自己用着打战役图没出现过这个问题。
看一下重生的无敌保护是不是正常关闭了,如果正常关闭了说明是插件冲突问题,因为这两是写一块的,如果没有那可能就是定时器出问题了