Garry's Mod

Garry's Mod

Sandbox Shields
153 Comments
Vuthakral  [author] Nov 2 @ 9:18am 
It should take effect whenever you respawn
Farrynhite Nov 1 @ 2:37pm 
I tried updating the shield regeneration values via the convar commands, but it only seems to take effect after I restart the server. Is this intentional or no?
Vuthakral  [author] Sep 9 @ 6:27pm 
These shields are just applied to all players in this addon, the shield code is from the Draconic Base. You could set up shield definitions for some kind of serverside code, maybe pick-up entities or something, that apply them to players. Draconic's wiki details how the shield system works.
Reaps Sep 9 @ 11:11am 
Is there a way to make it so each player could toggle on if they have a shield? I've been wanting to have some people on my server have shields and some not and these shields are rad
Vuthakral  [author] Aug 15 @ 11:22pm 
(also I've literally used that addon in tandem with mine in the recent past without issue)
Vuthakral  [author] Aug 15 @ 11:20pm 
I highly doubt Draconic is the source of your issue as this sounds like something is breaking the input system, which Draconic does not mess with, that said I'll still look into it to be sure.
Jdramirez165 Aug 15 @ 6:09pm 
It even broke some other stuff, like im trying to use the flashlight, but it doesn't work. I tried reloading guns, but doesn't work. I have no idea why is this conflicting with the other addon...
Jdramirez165 Aug 15 @ 6:06pm 
This addon is conflicting with the BO3 Exosuit Movement addon, which causes the latter addon to spew out console errors.

[BO3 Exosuit Movement] lua/autorun/server/sv_aewallrun.lua:133: attempt to compare nil with number
1. v - lua/autorun/server/sv_aewallrun.lua:133
2. unknown - lua/includes/modules/hook.lua:102
Vuthakral  [author] Jul 16 @ 3:10pm 
I'll look into it
Lynx Void Jul 16 @ 2:07pm 
could there be an option for the shield to only activate when you also have suit charge only?
Vuthakral  [author] Jun 26 @ 7:07am 
What branch of the game are you on, also what operating system?
Klonade Jun 26 @ 5:46am 
Shield is invisible except for some particle effects, but functions as expected. The only two addons enable on my singleplayer are Draconic Base and this addon. The console log is as follows (Shortened for Steam's Character Limit):

{Draconic Log}
Using map cycle file cfg/mapcycle.txt.
{Server info}
Attemped to precache unknown particle system "drc_halo_3_shield_deplete"!
Attemped to precache unknown particle system "drc_halo_3_shield_deplete_arcs"!
Attemped to precache unknown particle system "drc_halo_3_shield_impact_effect"!
Attemped to precache unknown particle system "drc_halo_3_shield_recharge"!
Clientside Lua startup!
{Draconic log}
Failed to load custom font file 's:\common\garrysmod\garrysmod\cache\workshop\resource\fonts\clearsans-medium.ttf'
Trying to create entities too early! (drc_shieldmodel)
{JoyStick info}
Redownloading all lightmaps

To me it seems like it is unable to find some particles and was unable to create the shield model. Any ideas on how I can fix this?
Asura Jun 23 @ 2:26pm 
damn. welp figured i'd ask. also i agree with yufeng, most mf's dont care about their addons well enough reply to people, good ♥♥♥♥.
Yufeng Jun 23 @ 7:21am 
I just wanna say THANK YOU SO MUCH Vuthakral, for staying up to date on your addon's comment sections, and going the extra mile to help anyone with issues with it. So many authors would prefer to simply not do that. Thanks :)
Vuthakral  [author] Jun 22 @ 8:31pm 
That would mean that addon is circumventing EntityTakeDamage and applying damage in a way that doesn't get passed into that hook. There is nothing anyone can do about that.
Asura Jun 22 @ 6:56pm 
could there be an option for this to act like base game armor? i use R.A.P.D *basically realistic damage* and the shield doesnt protect me at all, but armor does.
Yufeng Jun 21 @ 1:42pm 
My bad, I'm dumb.
Yufeng Jun 20 @ 9:33am 
Good to know, is there a simple tutorial for using that? I might be a little on the sped side and can't find out how to turn it on... (Yes I ran sv_sandshields_enabled 1)
Vuthakral  [author] Jun 20 @ 8:27am 
Not through this specific addon, but using Draconic's shield system in general yes
Yufeng Jun 19 @ 7:51pm 
Is it possible to have only one player in a server with a shield?
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?
7H3_HuN73R-03 Sep 20, 2024 @ 11:54am 
is the effect of the shield that appear on those playermodels exclusive of them? Can you do the same thing but globalized?
Levi Aug 14, 2024 @ 6:37pm 
Hey man is it possible to make this into a swep so that it doesnt have to be used by all players. and if so how?
dandykong May 12, 2024 @ 10:38pm 
@otacon0505 And I just made a SENT that does this. Enjoy!
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3245630548
Vuthakral  [author] May 12, 2024 @ 6:27pm 
Yes
Khaiø May 12, 2024 @ 5:25pm 
Is this compatible with any playermodel?
dandykong May 12, 2024 @ 5:11pm 
@otacon0505 Run "lua_run print(Player(1))" in the console, and keep increasing the number by one until you see your own player ID. Then run "lua_run DRC:AddOverShield(Player(x), y)" where x is the player number you found and y is the amount of overshield you want.

Someone needs to make a SENT that does this...
otacon May 2, 2024 @ 8:49pm 
How do I get overshield for this mod? I can't seem to find anything to be able to do that
ccf Apr 28, 2024 @ 12:01am 
how do i turn off the recharging sound
PYSCH0S0C14L Apr 3, 2024 @ 11:29pm 
yeah i don't have that on, at first i thought it was the first person body mod i use until it kept happening with it off
Vuthakral  [author] Apr 3, 2024 @ 9:57pm 
The shields shouldn't be casting shadows, are you sure you don't have cl_draw_own_shadow set to 1 by accident? I know some mods tend to flick that on for some reason.
PYSCH0S0C14L Apr 3, 2024 @ 1:16pm 
is there any way to fix the flashlight projecting my shadow or something? makes using the shield not fun in the dark
Mtndewsmuggler Mar 2, 2024 @ 1:29pm 
can you make it so energy shielding can be applied on NPC's? Im trying to make a sort of like HALO battle and i got spartan NPCs and covenant NPCs. The only thing im missing is the spartans need energy shields and i was just wondering if it was possible for you to do.
Orgamorsh Feb 11, 2024 @ 9:48am 
Thank you!
Vuthakral  [author] Feb 11, 2024 @ 8:48am 
I'm fine with it and Dopey said he is too
Orgamorsh Feb 10, 2024 @ 3:21pm 
Okie doki! Follow up question, I am making a addon using the shield system in draconic. Am I allowed to use the particles in sandbox shields for it? I will credit you two of course.
Vuthakral  [author] Feb 10, 2024 @ 7:36am 
I've tried implementing this several times to no success, I still try whenever I have any new ideas on how I could do it but so far none have worked.
Orgamorsh Feb 9, 2024 @ 10:37pm 
Is is possible to get the shields to flair on c-arms?
LegoMaster80 Dec 16, 2023 @ 10:52am 
how does one turn off the recharge sound or quiet it down
Vuthakral  [author] Nov 2, 2023 @ 5:44am 
Those commands would force the game to believe you are running on an NVIDIA GPU, and that the gpu is a GTX 680. I would assume that such a parameter may default your game to a lower DirectX mode whenever you launch it.
ATP-1002 Nov 2, 2023 @ 2:02am 
So it turns out this was the problem
"-force_vendor_id 0x10DE -force_device_id 0x1180"
I used this for more high quality shadows than low quality ones

I haven't encountered my Ghost ever since, removing this