Garry's Mod

Garry's Mod

454 ratings
Fire Light
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Movie, Scenic, Realism
File Size
Posted
Updated
1.808 KB
2 Mar, 2024 @ 7:21pm
21 Mar, 2024 @ 3:43pm
9 Change Notes ( view )

Subscribe to download
Fire Light

In 2 collections by Dishings
Light Addons
8 items
Budget RTX
18 items
Description
ConVars:

Fire_Light (0-1)

Fire_Light_Players (0-1)

Fire_Light_Red (0-255)

Fire_Light_Green (0-255)

Fire_Light_Blue (0-255)

Fire_Light_Range (0-2147483647)

Convars will save.
Convars can only be changed by whoever is running the server.
Yes it works on singleplayer too lol.

Information:

This addon will create a dynamic-light whenever the hook EntityFireBullets is called, like a muzzle flash.

Works for both players and NPCs.

Works for mod weapons too.

Images taken with 255 R-G-B, 250 range.

Questions And Answers:

Why is a melee weapon creating light?
Did you know that most melee weapons actually fire bullets? It's true, usually they don't make a custom damage system and just use bullets.

Where is the brightness-mode setting?
It has been replaced with color options, you can simply set it to a darker/brighter color.

Why am I getting errors?
If you ever get an error, you can send it in the comments, and I'll fix what I can, thanks!

Other:

Similar addon: https://steamproxy.net/sharedfiles/filedetails/?id=3175942640
103 Comments
Dishings  [author] 29 Jan @ 10:11pm 
@Turbo Soggy
My best guess is that maybe the middle position is always set as if the player is crouched.
Turbo Soggy 29 Jan @ 8:03pm 
Whenever I fly and shoot a gun it definitely looks like it's coming from my feet. It's not really important though it's just something I noticed
Dishings  [author] 29 Jan @ 4:28pm 
@Turbo Soggy
It is placed where the middle of the characters position is set, the reason it isn't the weapon's position is to prevent issues if the weapon happens to not have a proper position.
Turbo Soggy 29 Jan @ 12:37pm 
It seems like the light spawns at the player's/NPC's feet. I feel like it should originate from higher up
Страшный Балбес 23 Jan @ 10:10pm 
Ok, thanks for answer
Dishings  [author] 23 Jan @ 5:41am 
@Страшный Балбес
Sorry, but I don't fix issues that are because of how other addons work, my addon uses the proper functions for it's task, if another addon doesn't correctly work with my addon then it may be due to it's usage of functions or hooks. :steamsad:
Страшный Балбес 23 Jan @ 12:25am 
fix it for mighty foot, please!:headcrab:
Dishings  [author] 21 Jan @ 11:13am 
@SARDAUKAR_23
No problem! :steamhappy:
SARDAUKAR_23 21 Jan @ 7:30am 
okay, thanks bro