Garry's Mod

Garry's Mod

401 hodnocení
Fire Light
2
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: Effects
Addon Tags: Movie, Scenic, Realism
Velikost souboru
Přidáno
Aktualizováno
1.808 KB
2. bře. v 19.21
21. bře. v 15.43
Poznámky ke změnám (9) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Fire Light

V 2 kolekcích od uživatele Dishings
Light Addons
8 položek
Budget RTX
18 položek
Popis
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
Počet komentářů: 83
Dishings  [autor] 6. zář. v 14.55 
@Cynix
This will for sure be a feature once I learn how to make it, many people have requested it, hopefully I can add it eventually! :)
Cynix 5. zář. v 10.48 
hey, would you be able to add a feature where you can blacklist certain weapons so they don't emit light upon use, once you learn more about modding I mean, no disrespect. Great work!
Phobos 18. srp. v 8.29 
ok!
Dishings  [autor] 17. srp. v 13.26 
@Phobos
In all honesty I am not skilled enough to do that, however once I learn more about modding I'll likely update all my light addons.
Phobos 17. srp. v 8.49 
couldnt you have just made the colors changeable in the options menu?
Dishings  [autor] 15. srp. v 22.37 
@poenguin
There are ConVar's you can use in Console to change the color, they can be found in the addon description, simply mix the colors needed to create the yellow look you're wanting.
poenguin 11. srp. v 11.08 
how to make it yellow
GrassBells 9. srp. v 3.14 
it doesnt work for me and the other mods too
Dishings  [autor] 29. čvc. v 22.55 
@The_Pulle
That is possible, but as it is right now, it is compatable with as many weapon addons as possible.
The_Pulle 20. čvc. v 9.42 
Would it be possible add an option to have the light come from the muzzle of the weapon instead of the base of the player?