Project Zomboid

Project Zomboid

Better Flashlights
183 Comments
MoonLoon 11 Jul @ 8:43am 
B42 when my good sir? The night in B42 so much darker now, we need dem large Light
五日京兆 2 Jul @ 10:34pm 
B42 when my good sir? The night in B42 so much darker now, we need dem large Light
DaVi0880 2 Jul @ 12:17am 
B42 when my good sir? The night in B42 so much darker now, we need dem large Light
xqbj9m39 20 Jun @ 4:54pm 
B42 when my good sir? The night in B42 so much darker now, we need dem large Light
B42 when my good sir? The night in B42 so much darker now, we need dem large Light
Ava J Taylor 3 Jun @ 10:11am 
B42 when my good sir? The night in B42 so much darker now, we need dem large Light:boykisserX3:
Grum 2 May @ 10:03am 
B42 when my good sir? The night in B42 so much darker now, we need dem large Light:dswilson:
Adapt 2 Mar @ 6:37pm 
B42 when my good sir? The night in B42 so much darker now, we need dem large Light :sad_seagull:
Zenith 24 Feb @ 6:48pm 
B42 when my good sir? The night in B42 so much darker now, we need dem large Light
Sleep 26 Jan @ 3:06am 
B42 when my good sir? The night in B42 so much darker now, we need dem large Light
Kolbi 18 Jan @ 9:54am 
B42 when my good sir? The night in B42 so much darker now, we need dem large Light
MysterEUK 10 Jan @ 1:42am 
"B42 when my good sir? The night in B42 so much darker now, we need dem large Light :sad_seagull:"

We need dem 50k lumen lights
Quilava 28 Dec, 2024 @ 5:31am 
B42 when my good sir? The night in B42 so much darker now, we need dem large Light :sad_seagull:
SDgamer 21 Dec, 2024 @ 8:15pm 
the modder still around or tough luck?
󠀡󠀡󠀡󠀡󠀡󠀡 20 Dec, 2024 @ 3:14am 
I need :((((
PhuongTC 18 Dec, 2024 @ 5:36am 
i need mod u b42 huhu
Czaritsa 13 Dec, 2024 @ 5:12am 
FYI - There is a mod, still updated (As of Dec 2024) called "Better Flashlights Fixed."
You do not need this one to use "fixed."
chef 5 Dec, 2024 @ 10:43pm 
i am unable to attach my flashlight on my belt. i also have authenticz on? should i load this first before authenticz?
FirewallDaProto (She/Her) 24 Oct, 2024 @ 5:32pm 
add compatibility for rechargeable batteries?
chaiira <3 20 Oct, 2024 @ 3:19am 
Hi! I'd gladly translate this mod into spanish
Stray 23 Aug, 2024 @ 10:19pm 
Permission to add this on my Mod pack. Thank you.
Coby 19 Aug, 2024 @ 3:46am 
anyone knows what makes the vanilla flashlight look downwards on the belt?
Lupine ˚ʚ♡ɞ˚ 7 Aug, 2024 @ 9:22am 
This does work with Shine Together, I recognize that emergency flashlight, I have equipped to my guy, and I look over at my husbands screen, and he can see my light as well. Thank you :)
px... 4 Aug, 2024 @ 8:07am 
Anyone with null error on dedicated server? Does anyone know how to solve it?
Consagradu 21 Jun, 2024 @ 8:59am 
I would like to translate the mod to PTBR, would it be possible?
Ġedryht of Wōden 11 Jun, 2024 @ 2:32am 
Does this work with Flashlight indicator?
Ichinin 3 Jun, 2024 @ 3:45am 
Love the military flashlights. Fills the entire view with bright light.

Tested with Build 41.78 + MP.
Zenith 30 May, 2024 @ 11:21pm 
Would love a way to change the light bulb color.
Using a red bulb in winter to stop giving myself snow blindness would be great
YungSneed 22 May, 2024 @ 3:02am 
cant put hand torch on belt :gaper:
PACK RAT 22 May, 2024 @ 3:00am 
can you make it go on your belt i dont like to go into my inventory every time i want to use a hotkey
Vladmirangel 25 Apr, 2024 @ 11:08am 
http://prntscr.com/Turr28XcFenB spiffo light seems to be a way too large? this is considering its described as a cheap flashlight
Ocular 9 Dec, 2023 @ 9:30am 
I've tried the fix @Sennyツ made and can confirm it fixes the errors.

Use the fixed version linked below instead.
flesov 2 Dec, 2023 @ 9:00am 
errors
Kanarek 21 Oct, 2023 @ 11:42am 
Emergency Flashlight is very useful. I like it. I play solo and don't mind that it feels powerful or maybe even OP. Just don't nerf it, please!
Sennyツ 14 Oct, 2023 @ 12:30pm 
I decided to make a patch for this mod with @Teufelsstern 's fix suggestion and now the error shouldn't show anymore:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3050927523
Cortec 13 Oct, 2023 @ 3:56am 
Does noir backpacks attachment not support the army flashlight?
Teufelsstern 28 Sep, 2023 @ 2:26pm 
You can fix one of the main errors yourself.

Change the function "local function Adjust(Name, Property, Value)" in BetterFlashLights_Adjust.lua to:

local function Adjust(Name, Property, Value)
Item = ScriptManager.instance:getItem(Name)
if Item then
Item:DoParam(Property.." = "..Value)
else
print("Error: No item found with name " .. Name)
end
end
Zaimov 13 Sep, 2023 @ 6:10am 
errors
🌴 Zunder 🌴 15 Aug, 2023 @ 6:12am 
Hello, here is the translation in French

GitHub translation Files in French [github.com]

Very important: it is imperative to save files in ANSI format so that special characters, such as 'é', are correctly displayed in-game.
Thank you.
✿Ciel✿ 9 Aug, 2023 @ 12:07pm 
ERRORS still good mod tho
Yngir 8 Aug, 2023 @ 7:02am 
errors
Veno-Mousse 7 Aug, 2023 @ 9:49am 
which small flashlight gives the largest light radius besides the big ones? thanks in advance for the answers :D
mohitmaximusroy 6 Aug, 2023 @ 6:51pm 
hi, i know this is not a major issue but there is mod called common sense and it has a flashlight which for some reason doesn't attach on belt.
Bernardo0802 4 Aug, 2023 @ 10:59am 
Errormgnifier keeps showing this error in my server too, but it seams to be working normal

`attempted index: DoParam of non-table: null
function: Adjust -- file: BetterFlashlights_Adjust.lua line # 17 | MOD: Better Flashlights
function: BetterFlashlights_Adjust.lua -- file: BetterFlashlights_Adjust.lua line # 22 | MOD: Better Flashlights
java.lang.RuntimeException: attempted index: DoParam of non-table: null
PANE 1 Aug, 2023 @ 2:27am 
Mod works fine in my server but errormgnifier gives back this error, no idea what it means

`attempted index: DoParam of non-table: null
function: Adjust -- file: BetterFlashlights_Adjust.lua line # 17 | MOD: Better Flashlights
function: BetterFlashlights_Adjust.lua -- file: BetterFlashlights_Adjust.lua line # 22 | MOD: Better Flashlights
java.lang.RuntimeException: attempted index: DoParam of non-table: null
BALATRO BALATREZ 12 Jul, 2023 @ 4:18pm 
authentic z no work :(!!!!!
G-t01l3t. 1 Jul, 2023 @ 1:18pm 
Last year Sep 11, @Enobdercas wrote "I don't plan to update the mod anytime soon." but it's been some time since "soon", so perhaps he's back :spiffo:
Tchernobill 1 Jul, 2023 @ 2:48am 
see discussion here , you're not alone.
Tchernobill 1 Jul, 2023 @ 2:27am 
@enobdercas major issue with overwriting Vanilla "Item" global symbol. (set it local instead, in all your mods)
BetterFlashlights_Adjust.lua line 16 redefines Item global lua symbol. replace with :
[code]local Item = ScriptManager.instance:getItem(Name)[/code]
And do the same everywhere (in all your mods) you redefined "Item" global symbol.

Item is the global symbol used as key for all Item java class meta data for lua uses.

As a general rule of thumbs, do not use global variables when you can avoid it.

Have fun out there :spiffo:
Mr TKBear 30 Jun, 2023 @ 9:00am 
In MP we find that if the flashlight is on my belt others do not see the light, but if I equip it on my hand they see it.