Garry's Mod

Garry's Mod

1,209 ratings
Third Person Flashlight
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Realism
File Size
Posted
Updated
6.968 KB
18 Apr, 2014 @ 10:07am
28 Jul, 2014 @ 4:16am
8 Change Notes ( view )

Subscribe to download
Third Person Flashlight

Description
[ NO LONGER SUPPORTED ]
This mod is no longer supported and/or improved by it's original author.
No bug reports or suggestions will be accepted.
Check out fixed version of this addon

New flashlight rendering system.
With this script you can see other player's flashlight. Players can create their own flashlights independently from the server!
New update provide TPF Options menu. To open it go to spawn list > Options > Player > Flashlight Settings and press the "Open options" button. Description provided for every control in options menu.
There are some new options in this menu like configuration system, appearance type field and server limits panel.
Configuration system allows you to save and restore your flashlight options instead of creating new every time.
You can create a special config file and name it "server_default" to allow all clients on the server use it as default (Checkbox "Load server defaults" MUST be enabled) or
name it "default" to use as default only on your client.
Appearance type field is responsible for how the flashlight will be rendered. Use buttons bellow the "AP" field to make your own flashlight behavior.
Also you can use "Server limits" to set highest level of FOV, Farz and Brightness sliders.
Default flashlight values is: Brightness - 255; Range limit - 750; FOV - 60, Material - effects/flashlight001, Appearance type - nnn (You can simple load "default.txt" config).

Work on: Server-side. Editable on client-side.

All flashlight controls can be modified from options menu, but you can still use these console commands instead:
tpf_enabled - enable/disable script.
tpf_ap_enabled - allow appearance types.
tpf_should_load_defaults - should load default server flashlight file.
tpf_open_menu - opens Options menu.
tpf_sv_max_farz - highest level of Farz slider.
tpf_sv_max_fov - highest level of FOV slider.
tpf_sv_max_bright - highest level of Brightness slider.
tpf_cl_* - menu convars. I recommend to use menu instead of this convars.

For developers:
This flashlight can't be disabled by function AllowFlashlight(); If you want to disable it use this:
<Player Entity>.m_bTPFDisabled = true/false;

If you like it, please, rate and leave a comment. Enjoy :)
110 Comments
BurgerFrio 4 Jun @ 9:42am 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental hospital, because she killed her mom and her dad. She got so bad she went to kill all the staff in the hospital so the More- government decided that best idea was to get rid of her so they set up a special room to kill her, as humane as possible but it went wrong the machine they were using went wrong. And she sat there in agony for hours until she died. Now every week on the day of her death she returns to the person that reads this letter, on a monday night at 12:00a.m. She creeps into your room and kills you slowly, by cutting you and watching you bleed to death. Now send this to ten other profiles on this one site, and she will haunt someone else who doesn't. This isn't fake. apparently, if u copy and paste this to ten comments in the next ten minutes u will have the best of your life. TIC TOC
OrionKenji 3 May @ 12:34pm 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental hospital, because she killed her mom and her dad. She got so bad she went to kill all the staff in the hospital so the More- government decided that best idea was to get rid of her so they set up a special room to kill her, as humane as possible but it went wrong the machine they were using went wrong. And she sat there in agony for hours until she died. Now every week on the day of her death she returns to the person that reads this letter, on a monday night at 12:00a.m. She creeps into your room and kills you slowly, by cutting you and watching you bleed to death. Now send this to ten other profiles on this one site, and she will haunt someone else who doesn't. This isn't fake. apparently, if u copy and paste this to ten comments in the next ten minutes u will have the best of your life. TIC TOC
Gordon, GORDAN! 14 Aug, 2024 @ 1:23pm 
@Raptor_Killer 01


You still deserve props for keeping it up and being honest it is not yours.
CeratoScar 27 Nov, 2023 @ 2:32pm 
this wheatley is false
Raptor_Killer 01 22 Sep, 2023 @ 5:47am 
@Neco.Arc, @jackman

i reuploaded my version too using the .gma file i had...
i hope the original returns online tho, as much as i care about preserving lost addons, i don't like having them displayed on my accound, it's like having some cind of "credit" for something i haven't done
chief 22 Sep, 2023 @ 4:05am 
i reuploaded the improved version of thirdperson flashlight
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3039329410
MaliceAndTragedy 22 Sep, 2023 @ 1:50am 
@Raptor_Killer 01 Great, now upload the addon back
Raptor_Killer 01 22 Sep, 2023 @ 12:48am 
Third person flashlight improved just disappeared...
fortunately i still had the gma in my addons folder...

what is happening to the workshop?
MaliceAndTragedy 21 Sep, 2023 @ 5:41pm 
I swear, something is happening in the workshop
20Niko10 21 Sep, 2023 @ 2:23pm 
What the hell happend to the improved version of the third person flashlight? Im guessing that either its set to private or deleted :steamsad: