Garry's Mod

Garry's Mod

353 arvostelua
Explosion Light
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Effects
Addon Tags: Movie, Scenic, Realism
Tiedostokoko
Julkaistu
Päivitetty
1.700 KB
10.3.2024 klo 3.41
19.11.2024 klo 8.25
10 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Explosion Light

2 kokoelmassa, tekijä Dishings
Light Addons
8 luomusta
Budget RTX
18 luomusta
Kuvaus
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 kommenttia
Dishings  [tekijä] 4.7. klo 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.7. klo 1.02 
It causes a glitch where the light stays after the explosion is finished.
Callsign_Ewok 3.11.2024 klo 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  [tekijä] 2.11.2024 klo 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.11.2024 klo 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.10.2024 klo 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  [tekijä] 3.9.2024 klo 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.8.2024 klo 20.53 
isn't working. no explosions have any light.
Kiri243 λ 18.4.2024 klo 5.44 
Oh i thought that command actually determines at which range the light is visible, my bad then thx
Dishings  [tekijä] 18.4.2024 klo 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.