Garry's Mod

Garry's Mod

996 个评价
IFL - CLIENTSIDE Improved Flashlight
3
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 写实
文件大小
发表于
更新日期
22.575 KB
2 月 4 日 下午 9:18
2 月 21 日 上午 1:32
5 项改动说明 ( 查看 )

订阅以下载
IFL - CLIENTSIDE Improved Flashlight

描述
A fully clientside improved flashlight system.

Built around singleplayer.

Allows you to fully customize the flashlight, attach it to your weapon (first and third person!) and enable aesthetics like flickering and chances for the flashlight to turn off when taking damage.

Pretty optimized and its made work with many different weapons and situations. Also has a cool sway effect when not attached to weapon in first person.

Also respects mp_flashlight ConVar!





----------------------------------------------------------------

ConVars:

IFL_flashlight 1/0 - Enable/Disable IFL flashlight.
IFL_flashlight_flicker 1/0 - Enable/Disable flashlight flickering effects.
IFL_flashlight_weapon 1/0 Use weapon (worldmodel and viewmodel) muzzle attachment for flashlight, if available.
IFL_flashlight_color (R G B) Set flashlight color, seperated by spaces.
IFL_flashlight_brightness (VALUE) - Set flashlight brightness.
IFL_flashlight_fov (VALUE) - Set flashlight fov.
IFL_flashlight_texture (NAME) - Sets flashlight texture.
IFL_flashlight_farz (VALUE) - Set flashlight farz (distance).
IFL_flashlight_nearz (VALUE) - Set flashlight nearz (cutoff). This is helpful for self shadowing on PM’s or weapons.
IFL_flashlight_swayfactor (VALUE) - Set flashlight sway factor (how fast it sways).
IFL_flashlight_ondamage 1/0 - Sets if flashlight should have a chance to turn off on damage.
IFL_flashlight_sprite 1/0 - Sets if flashlight (if IFL_flashlight_weapon 1) should draw a sprite.
IFL_flashlight_pushback 1/0 - Sets if flashlight should be pushed backwards near a wall.

IFL_flashlight_flicker_freq (VALUE) - Sets how rare flickering is.
IFL_flashlight_flicker_int (VALUE) - Sets how intense flickering is.

IFL_flashlight_Blacklist_Add (Path/MODELNAME.mdl) - Adds model to blacklist.
IFL_flashlight_Blacklist_Remove (Path/MODELNAME.mdl) - Removes model from blacklist.

IFL_GetWorldModel - Gets players worldmodel name (thirdperson).
IFL_GetViewModel - Gets players viewmodel name (firstperson).

----------------------------------------------------------------

This was my favorite addon to make so far- enjoy!

If a weapon has incorrect attachment angles or shouldn’t attach (some crowbar replacements do this) then you can blacklist them using the commands above!

Possible future updates planned:

-Multiplayer support
171 条留言
Mafi 1 小时以前 
I love how this looks so much, do you know if this has vr support?
kit 11 月 5 日 上午 12:56 
plz add multiplayer support:steamsad:
divi zion 11 月 1 日 上午 9:21 
Doesnt work with fading wounds fix by zippy.
Sonojump 10 月 29 日 下午 4:27 
how useeeeeeeeeeeeee
T0mmyAngelo 10 月 24 日 上午 3:26 
doesnt lag my pc for some reason xd
Mr.Patate 10 月 20 日 上午 8:21 
idk why but your light mods don't work well with the volumetric mods, everytime i use them together it just does a huge fps drop of like 1 fps
T0mmyAngelo 10 月 17 日 上午 7:27 
i found the issue sorry for commenting again but i know the problem it happens when you basically open the menu (Q) it breaks BUT after running its back hope this help!
T0mmyAngelo 10 月 17 日 上午 7:18 
Hey dev! so i got it fixed so its not working with some weapons like ARC9 but i fixed it! by restarting gm and going to a other map this usually happens when first starting gm_construct i will appericate it if you fix this! also this wasnt working cuz i was using a bodycam lol
T0mmyAngelo 10 月 17 日 上午 3:29 
the flashlight keeps going up help