Project Zomboid

Project Zomboid

215 ratings
Let There Be Light (B41 IWBUMS)
   
Award
Favorite
Favorited
Unfavorite
Tags: Mod
File Size
Posted
104.154 KB
15 May, 2020 @ 12:16am
1 Change Note ( view )

Subscribe to download
Let There Be Light (B41 IWBUMS)

Description
NOTE: requires B41 (IWBUMS) version of the game. Has NOT BEEN TESTED IN stable release v. 40

Right click Project Zomboid in your Steam library and hit “Properties”. Then, navigate to the betas tab and select the “iwillbackupmysave” branch from the dropdown menu.

----------------------------
What does the mod do?

The mod adds battery longevity to Flashlight, Hand Torch, and Lamp on Pillar.
Radios are untouched.

  • Flashlight battery consumption rate is now 0,00003 (default 0,0009).
  • Hand Torch battery consumption rate is now 0,00004 (default 0,0004)
  • Lamp on Pillar battery consumption rate is now 0.000001 (default is 0.00001)

FAQ
Q: The mod is not working!
A: Make sure you are playing on the B41 (IWBUMS) version of the game. Right click Project Zomboid in your Steam library and hit “Properties”. Then, navigate to the betas tab and select the “iwillbackupmysave” branch from the dropdown menu. Mod has not been tested in Stable 40 release.

FAQ
Q: Is this compatible with Flashlight on Belt?
A: No. Both mods modify the same item. Flashlight on Belt uses vanilla useDelta values. If you want to use Flashlight on Belt manually edit that mod's flashlight entry and lower the useDelta value in the "Items" text file (found in scripts folder).

FAQ
Q: Is this compatible with Better Flashlights?
A: No. However, Better Flashlights does also increase the battery-life of vanilla handheld flashlights. However, as of writing this, it doesn't seem to modify Lamp on a Post building.


Special Thanks!
To ohgodspidersno.

---------------------------------
Workshop ID: 2096940441
Mod ID: LetThereBeLight
51 Comments
✪[KING] 8 Jan @ 2:47pm 
b42?
Jedimastertobias - Napoleon 22 Nov, 2024 @ 7:44pm 
mod is in location:
C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\2096940441\mods\LetThereBeLight\media\scripts\LetThereBeLight.txt for me.

If you want to change the values to less consumption change the useDelta = <somethingSmaller> then save the file.

I think maybe the torch on belt uses vanilla consumption and might be more.
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
Memmo  [author] 7 Feb, 2023 @ 1:27am 
@LogoNegro Glad to hear that! I'll still probably update the mod at some point to use LUA functionality rather than text scripts so that the changes are less destructive and can be used with other mods more easily, but great to hear it works for you.
LoboArtico 6 Feb, 2023 @ 11:07am 
@Memmorath Thanks for you answer. The mod doesn't need any update, something did the trick:

First: I disabled al the mods,both in the main menu and in the mutipiplayer. Then restarted and enabled all againa.
Second: I replaced the battery in the already existing lamps on pillars.

After that, it's working like a charm! Thank you again! I dindn't want to be changing batteries in my backyard daily :D
Memmo  [author] 5 Feb, 2023 @ 1:28am 
@LoboNegro you'll note that this mod was released in 2020, way before multiplayer arrived, and hasn't been updated since. So the likelyhood that this is incompatible with multiplayer is high, and as of right now, I have no plans to update this yet. (Probably when update 42 releases and I start playing again).
LoboArtico 4 Feb, 2023 @ 3:24pm 
I'm a bit disoriented at this. It doesn't work, but i'm in the stable 0.41. I could find the IWBUMS option. Perhpas the mod isn't compatible with multiplayer?
Memmo  [author] 3 Feb, 2023 @ 7:51am 
@Vitrolic Wither You only need a text editor to edit this mod. Once the mod is downloaded to your computer you can edit your local copy to have whatever values you want. Your local copy is only updated if I update this mod -- which is very unlikely.

That said, if you change the use delta to plain 0, I think that should disable battery consumption, or just make it into something really low, like 0.000000000001
Vitrolic Wither 2 Feb, 2023 @ 3:30pm 
Also if I wanted just the lamp on pillar battery increase could I just edit your mod to only do that?
Vitrolic Wither 2 Feb, 2023 @ 2:25pm 
So if I wanted to edit some mod files do I need a certain program to do so? Some files I can open with a text editor and edit them but others open into a cool file viewer and can't be edited.
Memmo  [author] 14 Apr, 2022 @ 8:04am 
@MAB no, but you should probably use Better Flashlights mod anyway. It has more features and less destructive coding.

I don't think it says so in the mod description, but that mod does also increases the battery life of handheld vanilla flashlights. Not nearly as much as my mod, but still a considerable increase. The only thing it doesn't seem to modify is the Lamp on a Post building.