Garry's Mod

Garry's Mod

1,969 평점
Dynamic Flashlight
3
2
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Effects
Addon Tags: Movie, Scenic, Realism
파일 크기
게시일
업데이트일
7.243 KB
2021년 7월 27일 오후 12시 02분
2024년 10월 1일 오후 2시 15분
업데이트 노트 18개 (보기)

다운로드 위해 구독하기
Dynamic Flashlight

Christmas Riggs님의 1 모음집
Realism Pack
아이템 120개
설명
Dynamic Flashlight
Dynamic Flashlight is a tool designed to enhance the original flashlight from Garry's Mod or the Half-Life 2 base engine, making it fully dynamic. This upgrade allows the flashlight to emit light that glows from the player's position and projects textures, casting realistic shadows on objects. This feature can significantly improve the realism in videos and enhance the atmosphere in roleplay servers, offering users a more immersive and visually appealing experience. Whether for cinematic purposes or gameplay, Dynamic Flashlight provides a versatile and powerful lighting solution.

Customize-ability
The system offers several console commands for customization, with potential for more in future updates. Here are some console commands for clients and servers:
Client Convars
  • df_flashlight_shadow | Enable/Disable shadows of the dynamic flashlight system.
  • df_flashlight_shadow_self | Enable/Disable shadows of the dynamic flashlight system for yourself.
  • df_flashlight_fov | Set the field of view of the dynamic flashlight system.
  • df_flashlight_distance | Set the distance of the dynamic flashlight system.
  • df_flashlight_texture | Set the texture of the dynamic flashlight system.
  • df_flashlight_sound | Set the sound of the dynamic flashlight system.
Server Convars
  • df_flashlight | Enable/Disable the dynamic flashlight system.

For developers
Including developer support! This system allows developers for gamemodes or addons to restrict the flashlight from being used or activated or even drawn. Here are some notable hooks:
Client Hooks
  • ShouldDrawShadows
  • ShouldDrawFlashlight
Server Hooks
  • PlayerCanSwitchFlashlight

You can view the GitHub repository here[github.com] and extract it to your gamemode for modifications.

Known bugs
Make sure the shadow setting in your Garry's Mod settings is set to maximum to see the shadows if enabled.

Contact
If you wish to contact me, then join my discord here[minerva-servers.com].

Sponsored by Minerva Servers
Minerva Servers[minerva-servers.com] is an online Garry's Mod community that hosts a wide range of servers for its dedicated player base. The community's main attraction is its Half-Life 2 Roleplay scene, which draws players interested in immersive roleplaying experiences. Founded on October 12, 2022, by Riggs and some of his friends, Minerva Servers originally started as a server focusing on SCP Roleplay. It later branched out to include the Half-Life 2 Roleplay scene, which has since become its core feature. Over time, it has expanded significantly and become a prominent and well-respected name in the Garry's Mod community. The community continues to grow, offering various servers and activities to engage and entertain its members.
인기 토론 모두 보기(4)
0
2024년 7월 31일 오전 11시 32분
How is this different from the default flashlight?
Tiny Desk Engineer
댓글 261
Dat Epik Duk 2024년 12월 9일 오후 8시 40분 
Does this work with the '[VMAnip] Flashlight' add-on?
unit 3561 2024년 12월 6일 오후 5시 16분 
wow very very very awsome i love it:steamthumbsup:
Анчоус 2024년 12월 6일 오전 9시 21분 
govno
finnzillia 2024년 11월 20일 오후 2시 33분 
It doesn't work, how do you make it work?
Saturn's Ring 2024년 10월 25일 오후 4시 05분 
@Maj. Problem, you can use the Flashlights with Lightspill addon to copy a texture path and then use the df_flashlight_texture command to assign one. That addon also has recommended settings in the description for flashlight FOV you can set here which I suggest using.
Svollen Sphinktor 2024년 9월 30일 오후 7시 15분 
You can change the distance of the flashlight with commands in description. please just read the fine print.
HAL9000 2024년 9월 11일 오전 4시 23분 
agree
Sophia 2024년 9월 6일 오후 3시 09분 
This flashlight makes it difficult to see at close ranges.
Flappy Flipperflapper 2024년 9월 4일 오후 7시 59분 
light is clipping through the walls when your're like 5 feet away from them.
Emerald 2024년 8월 11일 오후 1시 39분 
Just to note
This mod, as well as other Flashlight mods that changes how Flashlights work, tend to break Pill Packs that require the flashlight keybind