Garry's Mod

Garry's Mod

750 avaliações
Sniper Glint
3
2
   
Premiar
+ favoritos
Nos favoritos
- favoritos
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Realism
Tamanho
Publicado em
Atualizado em
3.496 KB
24/abr./2020 às 21:32
2/fev./2023 às 20:21
4 notas de atualização ( ver )

Inscreva-se para baixar
Sniper Glint

Em 1 coleção de SweptThr.one
SweptThrone Catalogue
135 itens
Descrição
See where you're about to get sniped from.



Tired of dying to snipers you can't even see? Tired of your super serious military roleplay server not being realistic enough? Sniper Glint can fix that!

Sniper Glint is a very simple addon that adds a scope glint effect to most common weapons. Just install it on your server or game, and it's ready to go!

While this addon works out-of-the-box, you may find some things that don't quite look exactly how you want to. I've tried to include some ConVars to help you tweak it to your heart's content.
sv_st_glint_mindist - Minimum distance the glint will be drawn. Requires restart. Default 400
sv_st_glint_maxsize - Maximum size of the glint. Default 1000
sv_st_glint_minsize - Minimum size of the glint. Default 0
sv_st_glint_sizedivisor - An arbitrary value controlling how big the glint is. Lower makes it bigger. Default 75000

Support summary:
✔️ TFA Base - Supported if the weapon is scoped, but also works generally as long as the right mouse button is held.
✔️ M9K Base - Supported if the weapon is scoped.
✔️ FA:S2 Base - Supported if the weapon has a scope by default. Attached scopes will not work.
✔️ CW2.0 Base - Supported if the weapon has a scope by default. Attached scopes will not work.
✔️ Any other base - Supported if SWEP.CustomShouldGlint is true and SWEP:CustomGlintFunc() returns true.
➖ ArcCW - Included by default, so if you use this addon with it, this won't do anything.
❌ TTT Base - Unsupported because there's no way to tell the difference between a scoped and non-scoped weapon.
❌ ACT3/ASTW/ArcVR/Arc9/Arc10/etc. Base - Not supported
❌ HL2 Crossbow - Not supported
❌ TFA AT - Not supported
❌ MW Base - Not supported

I made this because I took a week off and wanted to do something.

This should work in all gamemodes as long as the base is supported.

[discord.gg]
[forums.sweptthr.one]

Credits:
Me - All of the code
140 comentário(s)
oneshotfan231 29/dez./2023 às 17:10 
can you do arc9
zxssty 27/dez./2023 às 3:44 
does this work in single player?
Dr Evil 15/nov./2023 às 3:05 
Is (GDCW) supported?
inugget2 11/out./2023 às 11:19 
TFA AT maybe?
ata47 27/jul./2023 às 3:16 
Whats TFA AT
Wedge 27/jun./2023 às 13:28 
ARC9 is pretty similar to ARCCW code wise it wouldnt be too hard for you to do
SweptThr.one  [autor(a)] 27/jun./2023 às 11:17 
no
Wedge 27/jun./2023 às 10:19 
Does not work with ARC9, please make it work with ARC9, thanks.
s_callahan 27/mai./2023 às 19:59 
Weapon base that just has all the guns prepacked in, has some nice rifles.
SweptThr.one  [autor(a)] 27/mai./2023 às 19:50 
I don't know what that is