Garry's Mod

Garry's Mod

77 ratings
(BUGGY) Pupil reaction to light recreation (LUA ONLY)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Roleplay, Realism
File Size
Posted
878.000 B
26 Mar, 2024 @ 8:22pm
1 Change Note ( view )

Subscribe to download
(BUGGY) Pupil reaction to light recreation (LUA ONLY)

Description
aw crap, pupils only react if they have the same eye materials as the player.
if you have gman playermodel, all gman models work but if you play as another model, gman pupils don't react, they just stay the same shape.

I'm not a coder. I don't know how to edit code so it works for every player.



This mod recreates the lua code seen in TIMON_Z1535's video. the code seen in the video doesn't work and needed line 14 to be swaped after line 16.
This mod doesn't replace the eye materials.
This mod only tracks local player position and not the model's own.
33 Comments
Whynotll83  [author] 27 Jun @ 3:12pm 
had to google what nippy meant.
Dick Biggims 27 Jun @ 3:07pm 
add testicle retraction when its nippy out
Male_02 15 Jan @ 4:50pm 
too realistic?
HIMORI-K 19 Dec, 2024 @ 12:26pm 
the thumbnail got me cackling like a hyena im sorry
Whynotll83  [author] 20 May, 2024 @ 1:33pm 
@GreatStuffGary
eyerefract.
GreatStuffGary 20 May, 2024 @ 11:50am 
Is this for Eyes or EyeRefract ?
Transexual 31 Mar, 2024 @ 12:49pm 
does this work with ragdolls or is it only for playermodels?? any answer?
Nephrite Harmony 31 Mar, 2024 @ 12:38pm 
this has potential to be used in tandem with drug mods, very interesting
That goose you can't understand 31 Mar, 2024 @ 4:57am 
This realism done gon' too far 😭
googlyboi135 30 Mar, 2024 @ 8:27pm 
ultra realism mfs when their game doesnt emulate real life down to every atom :steamsad: :steamskull: