Garry's Mod

Garry's Mod

360 ratings
GlowLib
4
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
35.340 KB
30 Jun @ 12:44pm
9 Jul @ 3:22pm
43 Change Notes ( view )

Subscribe to download
GlowLib

Description

GlowLib
What does this do? : It adds glowing eyes to specific NPCs
Documentation
    GlowLib:Define("models/combine_soldier.mdl", { Position = function(self, ent) local attachmentData = ent:GetAttachment(ent:LookupAttachment("eyes")) return attachmentData.Pos end, Attachment = "eyes", Color = { [0] = Color(0, 140, 255), [1] = Color(205, 75, 0) }, ColorAlpha = 200, })
    Additional Arguments
    • GlowTexture :: string
    • CustomColor :: function( self, ent, glowCol )
    • OnInitialize :: function( self, ent, sprite )
Edit Menu : Hold C and Right Click on a model with Glowing Eye(s)
Console Commands:
  • sv_glowlib_enabled :: number ( 0 - 1 )
  • cl_glowlib_enabled :: number ( 0 - 1 )
  • cl_glowlib_dynamiclights :: number ( 0 - 1 )
Authors:
  • eon (bloodycop)
Sub-Addons

GitHub ( Source Code ) [github.com]
Map Used


No version or modification of this content is allowed to be uploaded to the workshop except under the account ID 76561198373309941, unless permitted from the user of the account of the said account ID.
Popular Discussions View All (4)
13
1 hour ago
what does this do
Biocat
1
1 hour ago
Stupid question.
nemokowek!!
2
8 Jul @ 9:37am
PINNED: Un-Official Sub-Addons and Art
eon (bloodycop)
99 Comments
dosh.ivon 4 hours ago 
Ah ok
eon (bloodycop)  [author] 4 hours ago 
Well according to github, I removed a global table that was not used.
dosh.ivon 4 hours ago 
What was added in the last update
eon (bloodycop)  [author] 15 hours ago 
This is the toughest kind of issues, can't even figure out what's happening when nothing like that is happening on your end
Svyatovrat 15 hours ago 
Someone already posted it and you said you can't reproduce it... imma try to find the source of conflict by disabling some addons, but i'm a monke, i know nothing about coding.
eon (bloodycop)  [author] 15 hours ago 
You probably have an older version of the addon, maybe it didn't update properly? I don't really know, I don't have this issue on my end.
eon (bloodycop)  [author] 15 hours ago 
Please post an issue over at this link: https://github.com/bloodycop7/glowlib/issues
Svyatovrat 15 hours ago 
For some reason, the light keeps multiplying as soon as i spawn combines in. Each second another sprite of light is added on top of one. Strange
dosh.ivon 18 hours ago 
idk why but this addon refuses to work properly for me
eon (bloodycop)  [author] 8 Jul @ 12:18pm 
You can disable it for everyone using sv_glowlib_enabled or only for yourself using cl_glowlib_enabled