Garry's Mod
Оцінок: 381
Fire Light
2
   
Нагородити
До улюбленого
В улюблених
Прибрати
Content Type: Addon
Addon Type: Effects
Addon Tags: Movie, Scenic, Realism
Розмір файлу
Додано
Оновлено
1.808 KB
2 берез. о 19:21
21 берез. о 15:43

Підпишіться, аби завантажити
Fire Light

В колекціях (2) автора Dishings
Light Addons
Предметів: 8
Budget RTX
Предметів: 18
Опис
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
Коментарів: 83
Dishings  [автор] 6 верес. о 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 верес. о 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 серп. о 8:29 
ok!
Dishings  [автор] 17 серп. о 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 серп. о 8:49 
couldnt you have just made the colors changeable in the options menu?
Dishings  [автор] 15 серп. о 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 серп. о 11:08 
how to make it yellow
GrassBells 9 серп. о 3:14 
it doesnt work for me and the other mods too
Dishings  [автор] 29 лип. о 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 лип. о 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?