Garry's Mod

Garry's Mod

363 betyg
Explosion Light
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Effects
Addon Tags: Movie, Scenic, Realism
Filstorlek
Lades upp
Uppdaterades
1.700 KB
10 mar, 2024 @ 3:41
19 nov, 2024 @ 8:25
10 ändringsnotiser ( visa )

Abonnera för att ladda ner
Explosion Light

I 2 samlingar av Dishings
Light Addons
8 artiklar
Budget RTX
18 artiklar
Beskrivning
ConVars:

Explosion_Light (0-1)

Explosion_Light_Red (0-255)

Explosion_Light_Green (0-255)

Explosion_Light_Blue (0-255)

Explosion_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 gives explosions a dynamic-light.

Works for both players and NPCs.

Images taken with 500 range.

Questions And Answers:

Why does it not disable for grenades when I set Explosion_Light to 0?
Grenades already create light in Garry's Mod, it's not the addon doing it.

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!
28 kommentarer
Dishings  [skapare] 4 jul @ 1:17 
@♬♫~Joe Blaze~♫♬
I'm sorry to hear that, but I haven't been able to figure out the issue... :steamsad:
Are you getting any errors that you could send here? :steamhappy:
♬♫~Joe Blaze~♫♬ 4 jul @ 1:02 
It causes a glitch where the light stays after the explosion is finished.
Callsign_Ewok 3 nov, 2024 @ 4:24 
Np figured Id mention it cause I noticed while playing a custom campaign, I am positive it wasn't due to the map cause I noticed it outside of the campaign as well. The fire light addon on the other hand even with Vfire like mentioned by you before seems to work fine however.

i think explosion replacer, HL1 Goldsrc explosion related mod setup from Voidleak might be fighting this mod maybe.
Dishings  [skapare] 2 nov, 2024 @ 9:38 
@Callsign_Ewok
That's an interesting issue, the way that I coded this addon should make it nearly impossible for errors to happen, but I see how this could be possible. If I figure out a way to solve it, I will, thanks! :steamthumbsup::steamhappy:
Callsign_Ewok 2 nov, 2024 @ 5:44 
I do like these but had to get rid of them, upon explosion a permanent lighting effect would be left behind, rather then it only staying temporarily. I was using Goldsrc HL1 explosion replacement related mod.
Callsign_Ewok 10 okt, 2024 @ 5:49 
I am wondering how these mesh with HD Goldsrc HL1 explosions mod that Voidleak made... I may test this in the future.
Dishings  [skapare] 3 sep, 2024 @ 8:12 
@Spaceman Spiff
You can check if the ConVar(s) provided in the description could be causing the issue, I also hope to make it clear that it mainly works for explosion entities which certain things might not use or rely on.
Spaceman Spiff 24 aug, 2024 @ 20:53 
isn't working. no explosions have any light.
Kiri243 λ 18 apr, 2024 @ 5:44 
Oh i thought that command actually determines at which range the light is visible, my bad then thx
Dishings  [skapare] 18 apr, 2024 @ 0:52 
@Kiri243 λ
You actually can customize the size of the light, you simply need to type Explosion_Light_Range in console, also provide the range value which can be from 0 up to 2147483647.