Garry's Mod

Garry's Mod

531 ratings
Sandbox Shields
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Build, Fun
File Size
Posted
Updated
41.558 KB
May 16, 2022 @ 6:38am
Aug 13, 2024 @ 9:07am
4 Change Notes ( view )

Subscribe to download
Sandbox Shields

Description
"Sandbox Shields" is a catchy name I couldn't not use for shields that actually would work in all gamemodes.

This addon adds shields from the Draconic Base to all players when they initially spawn. The shields have 100 health, and have a five second recharge delay after taking damage. These shields are only visible when taking damage or when they recharge. In the images above where the shield is permanently on it was done through a debug command in the Draconic Base.

This addon was created merely as an example for the Draconic Base's shield functionality. If you want to know how this system works / how to use it yourself / how to make your HUD compatible with this system, then check the wiki page here for documentation: https://github.com/Vuthakral/Draconic_Base/wiki/Shield-System

This addon has the following convars:
  • sv_sandshields_enabled -- Turn the mod on/off
  • sv_sandshields_shielddelay -- How long after being hit should shields start to regenerate
  • sv_sandshields_shieldhealth -- Total HP of the shield players have
  • sv_sandshields_shieldregenamount -- Enter a number for how much health per second you want to recharge. (Default 33)

These values update for players on respawn.

If you're looking for a HUD compatible with displaying DRC Shields: https://steamcommunity.com/sharedfiles/filedetails/?id=2810649799


Everything I do is free because I can find some fun in making it, or because it helps others make fun things. If you would like to help support me financially so that I may keep doing what I do, then please consider checking out my Patreon[www.patreon.com] page. It is also tied in with my server community / servers which I host. I love doing what I do and I hope to be able to keep doing it for as long as I can.

If you need immediate help with the Draconic Base (or any of my addons), or just want to know what I'm working on or etc, then consider joining my Discord[discord.gg] server.
133 Comments
Commander Link Apr 13 @ 2:36am 
love this, its superior to the halo shields mod, and as a user of tfavox its wonderful to have my character not screaming out in pain anymore when taking shield damage!! :>

but i have one wish for change; the shield regeneration sound is too harsh, both in loudness and tone, it sounds like a big heavy lightsaber being swung. so some alternative options like a more gentle sounding shield woooop or ability to turn regen sound off would be really nice.
SleepyNotDead Mar 31 @ 12:17pm 
regen sound is too loud.
SpartanWar118 Oct 8, 2024 @ 10:37am 
Vanilla HL2 shotguns, i was hit by a combine soldier and the damage went through the shield
Vuthakral  [author] Oct 3, 2024 @ 4:53pm 
What shotgun are you using?
SpartanWar118 Oct 3, 2024 @ 3:48pm 
Are shotguns supposed to completely ignore the shield?
All the damage just goes straight to the armor & health
LegoMaster80 Sep 23, 2024 @ 2:52pm 
can there please be a way to make the regen sound less loud
7H3_HuN73R-03 Sep 20, 2024 @ 2:29pm 
i mean the grunt in the screenshots
Vuthakral  [author] Sep 20, 2024 @ 12:15pm 
The effect is not specific to any playermodel
7H3_HuN73R-03 Sep 20, 2024 @ 12:03pm 
for example any half life playermodels and css playermodels for example
Vuthakral  [author] Sep 20, 2024 @ 11:59am 
What do you even mean by globalized?