Garry's Mod

Garry's Mod

124 ratings
Dynamic Flashlight Fix
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Realism
File Size
Posted
6.844 KB
4 Feb @ 12:42pm
1 Change Note ( view )

Subscribe to download
Dynamic Flashlight Fix

In 2 collections by Arcius
功能插件
210 items
My Script Addon
14 items
Description
Original: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2558917151

Only tested on x86-64 branch

What Change
keep flashlight when standing close a wall
allow use in vehicle
keep flashlight on when you respawn

New Client Convars
df_flashlight_offset: Change flashlight emission position. Not recommended to set a high value
df_flashlight_offset_vehicle: Same as above, but use it in vehicle. Recommended to keep the default value (0)
5 Comments
Arcius  [author] 8 Feb @ 2:10am 
make sure "df_flashlight_shadow_self" has been set to 0 and df_flashlight_offset > 10.
if still not work, check your other addon , this addon may not compatible with other flashlight addon
Trooper_025 7 Feb @ 9:20pm 
unfortunately, flashlight still disappears in wall (i am on x86-64 branch)
Arcius  [author] 7 Feb @ 8:26pm 
github can not be accessed in my region. anyway if you don't like this , i will delete it
Riggs 7 Feb @ 9:40am 
could've at least made a pr on github rather than to straight reupload my work without any given consent.
Jiyū to anzen 6 Feb @ 1:44am 
Fixed all the things I was annoyed with- thanks for this!