Project Zomboid

Project Zomboid

Better Flashlights [FIXED]
42 kommentarer
KimchiStorm 1. nov. kl. 2:23 
C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\3050927523\mods\BetterFlashlights\media\scripts\BetterFlashlights_NewItems.txt / Fix "useDelta=number" smaller, and then battery in flashlights will last longer.
Vanilla file for Torch is here:
C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\media\scripts\items.txt
search for item Torch and maybe change to something smaller
cznorton2 27. sep. kl. 12:07 
does it work in multiplay
T Tree 17. juli kl. 8:14 
ok :steamhappy:
Sennyツ  [ophavsmand] 15. juli kl. 18:23 
@T Tree, either get rid of the original mod or load this after it if you're still unsure, but as stated the Original Mod is not required if you're using this mod.
T Tree 15. juli kl. 14:20 
"DOES NOT REQUIRE THE ORIGINAL MOD" does that mean i should get rid of the og mod?
elkukuu 2. apr. kl. 16:07 
BOMBOMBINI GUSINI
Keanu Reeves 13. mar. kl. 12:34 
Ah fair enough
Sennyツ  [ophavsmand] 10. mar. kl. 18:26 
@Keanu Reeves
This is a known issue that I believe has to do with possibly the base game and I do not know how to fix.
Keanu Reeves 10. mar. kl. 9:26 
i have this mod on my server but the flashlight isn't turning on when its on my belt its a vanilla belt
Ludicrous_Speed 10. jan. kl. 18:04 
So maybe it's the vanilla flashlight, or the Blackout mod adds its own flashlight but I can put the flashlights on my belt except for one type that the blackout mods trait spawns you with.
Mantismax 31. dec. 2024 kl. 20:40 
im no modder, saw comment about b42
but heres this b42 update guide...might help?
https://steamproxy.com/sharedfiles/filedetails/?id=3391657438
Sennyツ  [ophavsmand] 23. dec. 2024 kl. 6:25 
@CozyCouch

I would have no idea to do so unless someone can instruct me how but otherwise this will strictly remain for Build 41.
CozyCouch 23. dec. 2024 kl. 2:27 
Will you update to Build 42??
Jaxx - pshoooo 1. sep. 2024 kl. 17:11 
is there a possibility of preventing the Dismantle Flashlight option from coming up if you have the flashlight favorited to make it in-line with vanilla expectations?
Monsenhor 28. aug. 2024 kl. 12:47 
The gas lantern cannot be filled with gasoline even with the gas lantern and a gas can or a bottle of gasoline in the main inventory.
px... 4. aug. 2024 kl. 9:36 
@SennyツI have a lot of mods on the server, do you have any idea which mod category usually changes this? Craft? Clothing?
Sennyツ  [ophavsmand] 4. aug. 2024 kl. 8:55 
@pX It's possible it could be the belt if the belt/toolbelt is modded. I know there's a couple of modded ones that don't allow flashlights on the belt. Be sure to double check with that as well.
px... 4. aug. 2024 kl. 8:26 
Guys, I installed the mod, everything is fine, there is no error on the dedicated server, but I can't put the flashlight on my belt, can anyone help me?
Sennyツ  [ophavsmand] 23. juli 2024 kl. 16:48 
@𝐊𝐚𝐨𝐞𝐔𝐭𝐬𝐮 I can't recall if there's a mod that does it but it'll tell you what mod an item comes from. But to be more in-depth, you would have to check the mod files and check the code. But if this mod is truly the issue, I honestly wouldn't know how to fix it myself. I only uploaded this based on a code change someone had given to me before and decided to implement it to fix the "null" error the original mod gives. If you have more experience with this stuff and wish to explore it you can :cwat:
Kaoeutsu 23. juli 2024 kl. 6:03 
How can I check if another mod conflicts with the item ID?
Sennyツ  [ophavsmand] 18. juli 2024 kl. 6:13 
@Flanderigeno I have no idea, I did not create the original image.

@𝐊𝐚𝐨𝐞𝐔𝐭𝐬𝐮 This is a first I'm hearing of this. I would double check to see if maybe another mod conflicts with the item ID.

@404 As stated in the description, you do not need the original mod because this is essentially the original mod + fix so I wouldn't recommend running them together as it could give you conflicts. As for Authentic Z and Noir's attachments, I have ran a server with them before including this mod and it works together just fine.
Δ404 18. juli 2024 kl. 3:04 
Is this still compatible with mods that are compatible with the original Better Flashlights? Like Authentic Z and Noir's Attachments?
Kaoeutsu 15. juli 2024 kl. 15:37 
if you try to remove all batteries from the toy flashlight, it gives you infinite batteries
Flanderigeno 30. juni 2024 kl. 2:37 
where find the mining helmet on the game ??
Ġedryht of Wōden 11. juni 2024 kl. 2:32 
Does this work with Flashlight indicator?
SPONGE 30. mar. 2024 kl. 20:08 
Thank you :D
Sennyツ  [ophavsmand] 30. mar. 2024 kl. 19:29 
@SPONGE
Just only use this mod. This mod already includes the original + the fixed code.
You do not need the original mod.
SPONGE 30. mar. 2024 kl. 18:01 
@Sennyツ Should I use the original mod "Better Flashlights" to use this mod? Or just use this mod to play PZ.
thecarvalhogamer 8. mar. 2024 kl. 16:54 
thanks
>) 28. feb. 2024 kl. 21:51 
@Sennyツ I see, I do know now that is a vanilla thing, too bad there's no rendering for flashlights on belts and helmets yet, thank you for your time and anwser, good fix of a good mod!
Sennyツ  [ophavsmand] 28. feb. 2024 kl. 6:02 
@>) By the game itself, you can see other people's lights and your light can be shown to others if your flashlight is in your left/right hand. You cannot see someone's light if they're enabling the flashlight from their inventory/quickslot. Hopefully that's something that will be fixed/adjusted in B42.
>) 27. feb. 2024 kl. 23:37 
I have a stupid question actually: I noticed that other players can't see the light of my hand-crank flashlight, but I can see the light of their torches which are from this mod. So is this like a vanilla thing or did this mod do something about this practicular problem?
Sennyツ  [ophavsmand] 19. feb. 2024 kl. 18:00 
@Rubber Ducky If you're talking about the original mod, you might as well just use this one as the original mod is already included with only a certain section of code changed.

@everyone else I just barely saw the reccomendation for the code change to run more optimal and I plan to implement it sometime this week. Thank you :cwat:
Rubber Ducky 19. feb. 2024 kl. 7:54 
can i just swap between the mods? does this work with better batteries (also throwing a weird error tbh)?
Kuree 28. jan. 2024 kl. 9:00 
Has the code structure been improved to run more optimally?
Sennyツ  [ophavsmand] 24. jan. 2024 kl. 17:15 
@『 』 Because it already contains the original mod but with the fix.

@Inferno You can only see other people's light's if they're held in your characters hand and not by hotkey if I recall.
Inferno 24. jan. 2024 kl. 14:36 
Is light synchronized in multiplayer now?
『 』 22. dec. 2023 kl. 21:33 
@Sennyツ Just wanted to reply to let you know that simply unsubscribing from the original Better Flashlight mod and then Subbing to yours worked with no issues.
아요Ayo 11. nov. 2023 kl. 9:56 
The error has stopped. Thank you so much
Ethan Oliver Ralph 22. okt. 2023 kl. 9:14 
mmmmm, spaghetti code
Sennyツ  [ophavsmand] 15. okt. 2023 kl. 8:43 
They use the exact same files as the original mod but with the change added to fix the error. In theory it should be okay since the item ID's should be the same but I'm not sure due to the information coming from a different mod.

If you're not too sure, I'd make a backup of your world currently and try to swap it to see if it'll be fine doing so. If you're able to test that for me I could mention that it's safe to do so.
Tatsuya 15. okt. 2023 kl. 1:18 
What if I remove the original mod and install this one, will I be able to keep my flashlights or do I have to find/spawn them?