Garry's Mod

Garry's Mod

259 ratings
Half Life 1 Flashlight
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Scenic
File Size
Posted
Updated
3.059 KB
6 Mar @ 7:02pm
7 Mar @ 7:59pm
5 Change Notes ( view )

Subscribe to download
Half Life 1 Flashlight

Description
ConVars:

Half_life_1_Flashlight (0-1)

Half_life_1_Flashlight_Attach_To_Entities (0-1)

Half_life_1_Flashlight_Red (0-255)

Half_life_1_Flashlight_Green (0-255)

Half_life_1_Flashlight_Blue (0-255)

Half_life_1_Flashlight_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 replaces every players flashlight with it's own system, which acts like the flashlight from Half Life 1.

Images taken with brightness-mode 10, 75 range, attach-to-entites enabled.

Questions And Answers:

Why can I not see my flashlight when looking at something / why does it stop following?
It's very likely that you're looking at an entity, just try setting Half_life_1_Flashlight_Attach_To_Entities to: 0.

Why is the light delayed?
The light is only as fast as the server allows it to be, less lag/ping = less delay, keep in mind, if the problem can't be solved you can always disable it by setting Half_life_1_Flashlight to: 0.

Why is the light changing size?
It only looks like it, some surfaces show the light differently, you can change Half_life_1_Flashlight_Range to a number that works better on the map you're playing on.

Why is the light brightness different on other maps?
It only looks like it, some maps show the light differently, you can change Half_life_1_Flashlight_Brightness_Mode to a number that works better on the map you're playing on.

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:

This already exists in Garry's Mod!
Yes it does, but this addon is more feature rich.

Other addons like this already exist!
I realized that after making this addon, but this addon is more feature rich, last checked: 2024/3/7 - Y/M/D.
63 Comments
Dork 21 Aug @ 6:59pm 
use this if you don't want the micro-second of the hl2 flashlight https://steamproxy.net/sharedfiles/filedetails/?id=3090069277&searchtext=goldsrc+flashlight
zalve 6 Aug @ 10:11pm 
this light was also used for the hl2 betas
Dishings  [author] 11 Jul @ 3:50am 
@Hiv
For simplicity, I will keep it as a dynamic light entity, but I appreciate the help!
Also, you can change the size of the light using the ConVar: Half_life_1_Flashlight_Range.
hurter 10 Jul @ 5:53am 
actually would it be possible to make it so it projects a texture to where its pointed? like a gradient texture? If you want I could help make some!
hurter 10 Jul @ 4:51am 
Can you make it so it can be bigger or smaller? Very cool addon!
Dishings  [author] 21 Jun @ 4:31pm 
@SRTENAZ
I made this myself, however I used Half Life 1 to test stuff to make it as accurate as possible.
Dishings  [author] 21 Jun @ 4:30pm 
@TheDesertRoad
Yes, that is normal.
Whats happening is: The flashlight gets detected and is replaced with the Half Life 1 flashlight.
TheDesertRoad 17 Jun @ 4:41pm 
Is it normal that for a micro-second the HL2 normal flashlight appears?
kylesartin91 16 Jun @ 8:47pm 
Barney Half Life Gaming
kylesartin91 16 Jun @ 8:46pm 
CREATED BY

Dishings
Online