Garry's Mod

Garry's Mod

Sniper Glint
142 則留言
Unaverage Joe. 4 月 22 日 下午 11:26 
No idea if this addon is still updated but wgetjane discovered this a while back.

Most scoped/zoom weapons in TTT will utilize the wep.SetZoom() function, if you could check for:
wep.GetIronsights (player is ADSing),
wep.SetZoom (weapon is able to zoom in),
ply:GetFOV (weapon has high enough magification),
you can somewhat decently check if a TTT weapon has a scope.

Here's what I've used: wep.Base == "weapon_tttbase" and ( wep.GetIronsights and wep:GetIronsights() and (wep.SetZoom and ply:GetFOV() <= 20))
unlikeaboss 2024 年 12 月 24 日 上午 8:32 
is tac-rp compatable?
oneshot:) 2023 年 12 月 29 日 下午 5:10 
can you do arc9
zxssty 2023 年 12 月 27 日 上午 3:44 
does this work in single player?
Tom 2023 年 11 月 15 日 上午 3:05 
Is (GDCW) supported?
Eclipse 2023 年 10 月 11 日 上午 11:19 
TFA AT maybe?
ata47 2023 年 7 月 27 日 上午 3:16 
Whats TFA AT
Wedge 2023 年 6 月 27 日 下午 1:28 
ARC9 is pretty similar to ARCCW code wise it wouldnt be too hard for you to do
SweptThr.one  [作者] 2023 年 6 月 27 日 上午 11:17 
no
Wedge 2023 年 6 月 27 日 上午 10:19 
Does not work with ARC9, please make it work with ARC9, thanks.
sadie! <3 2023 年 5 月 27 日 下午 7:59 
Weapon base that just has all the guns prepacked in, has some nice rifles.
SweptThr.one  [作者] 2023 年 5 月 27 日 下午 7:50 
I don't know what that is
sadie! <3 2023 年 5 月 27 日 下午 7:40 
TacRP support?
SweptThr.one  [作者] 2023 年 5 月 20 日 下午 11:32 
nah i don't know, someone just told me it already had it so i just put it there. never used arccw
snail 2023 年 5 月 20 日 下午 9:17 
Hello! It mentions that ARCCW already has a Scope Glint thing, I can't seem to find it can you help me out?
JJoestar 2023 年 5 月 6 日 下午 12:20 
mw support ?
Tom 2023 年 2 月 20 日 下午 12:42 
I know its not listed , but would modern warfare sweps work?
Caçador 2023 年 2 月 4 日 下午 12:13 
the arccw base have this boy default????
BrainyPepper 2023 年 2 月 3 日 下午 6:13 
:steamhappy:
SweptThr.one  [作者] 2023 年 2 月 2 日 下午 8:22 
fixed, thank you for the report
BrainyPepper 2023 年 2 月 2 日 下午 7:44 
[Sniper Glint] lua/autorun/sh_scope_glint.lua:30: attempt to index global 'self' (a nil value)
1. v - lua/autorun/sh_scope_glint.lua:30
2. unknown - lua/includes/modules/hook.lua:96
BrainyPepper 2023 年 2 月 2 日 下午 7:44 
creates script errors when I look at a mirror
SweptThr.one  [作者] 2023 年 2 月 1 日 下午 2:46 
thanks for posting the errors you got
♬♫~Joe Blaze~♫♬ 2023 年 2 月 1 日 下午 2:43 
It creates script errors, and there's no glint, There's addon conflicts, So I removed it.
SweptThr.one  [作者] 2023 年 2 月 1 日 下午 2:18 
very descriptive
♬♫~Joe Blaze~♫♬ 2023 年 2 月 1 日 上午 5:25 
Glitchy as heck
Caçador 2023 年 1 月 13 日 下午 9:19 
:s
Caçador 2023 年 1 月 13 日 下午 9:19 
Oh ... i'm sorry bro i did'nt see it
SweptThr.one  [作者] 2023 年 1 月 13 日 下午 9:05 
because i don't have to, read the description
Caçador 2023 年 1 月 13 日 下午 8:21 
BRO WHY YOU DONT RESP ME
Caçador 2023 年 1 月 12 日 上午 3:58 
work with arccw base or arc9 base?
xlebio 2022 年 11 月 24 日 上午 4:22 
boss, get down! the enemy sniper
Joystick 2022 年 6 月 10 日 上午 12:04 
hi, can you explain, does it only work if you look towards the sun?
JJoestar 2022 年 4 月 23 日 上午 7:30 
puppy 2021 年 12 月 21 日 下午 2:06 
im pretty sure it would say
andrewthenoob10123 2021 年 11 月 12 日 上午 10:03 
is MW base supported
2021 年 10 月 15 日 下午 6:12 
huh, okay :( how can i debug this ? it could be very nice detail to my rp server.
SweptThr.one  [作者] 2021 年 10 月 15 日 下午 5:51 
oh, i'm sure it's because the base updated. again.
2021 年 10 月 15 日 下午 4:30 
i'm talking about Legacy TFA addons you made
SweptThr.one  [作者] 2021 年 10 月 15 日 下午 2:28 
i don't have an m9k tfa base
2021 年 10 月 15 日 下午 12:29 
Doesn't work with your M9K TFA base.
Cheese 2021 年 9 月 30 日 下午 3:05 
does it work with TFA base well? it doesnt seem to work that good with my friends and I on our own games
Winn 2021 年 7 月 5 日 上午 5:04 
add compatibility with MW Base?
BrainyPepper 2021 年 5 月 30 日 下午 2:00 
Could you do a mod that shows this glint whenever someone looks at you with their flashlight on? For use with third-person flashlights, of course.
Counterfeit 2021 年 4 月 2 日 上午 10:00 
It worked but even if I was on the other side of the map the glint was three times bigger than me
λ LIFE IS PAIN! λ 2021 年 1 月 22 日 下午 2:28 
act3 act3
blazphemur 2021 年 1 月 4 日 下午 5:32 
TFA AT is just the TFA Base, AT is just a tag to show the weapon comes with attachments
Richard Boderman 2020 年 9 月 20 日 上午 3:56 
does this work with TFA AT yet? or not yet?
SweptThr.one  [作者] 2020 年 9 月 2 日 上午 11:03 
god forbid we do things the right way

updated to fix, but i can't be bothered to test it right now so just let me know if it's still broken