Project Zomboid

Project Zomboid

Let There Be Light (B41 IWBUMS)
51 comentários
✪[KING] 8 de jan. às 14:47 
b42?
Jedimastertobias - Napoleon 22 nov. 2024 às 19:44 
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  [autor] 7 fev. 2023 às 1:27 
@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 fev. 2023 às 11:07 
@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  [autor] 5 fev. 2023 às 1:28 
@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 fev. 2023 às 15:24 
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  [autor] 3 fev. 2023 às 7:51 
@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 fev. 2023 às 15:30 
Also if I wanted just the lamp on pillar battery increase could I just edit your mod to only do that?
Vitrolic Wither 2 fev. 2023 às 14:25 
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  [autor] 14 abr. 2022 às 8:04 
@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.
MAB 14 abr. 2022 às 7:22 
dose this work with "Better Flashlights" mod ?
Memmo  [autor] 13 mar. 2022 às 5:56 
@buffy Thanks for the tip, I'll take a look at the api.
buffy 13 mar. 2022 às 1:43 
This could become compatible with other flashy lighty mods if you use itemtweaker api to set the usedelta rather than overwriting the base items! <3
Memmo  [autor] 3 fev. 2022 às 3:25 
@Rimean I just checked the code for Flashlight on Belt, and yeah sure, it doesn't add new items, but it modifies the exact same file as my mod does. My mod modifies the useDelta value of the vanilla flashlight; Flashlight on Belt uses the vanilla value. The mods are incompatible because they modify the same file. If you want to use Flashlight on Belt, just manually modify the useDelta. Flashlight vanilla value is 0.0009, my modded value is 0,00003. The lower the number, the longer the battery lasts.

Also, just a heads up, the way Flashlight on Belt is made is very destructive, as he has included in his files EVERY OTHER item as well. His mod affects dish cloths, needles, baking trays, bowls, every other item in the game. So if you ever use a mod which affects needles or bowls, Flashlight on Belt will overwrite those (depending on your load order, of course).
rimean 2 fev. 2022 às 1:16 
Flashlight on belt affects vanilla flashlight, it does not add new ones.
Balalaika 29 jan. 2022 às 5:01 
is this updated for MP?
Memmo  [autor] 26 jan. 2022 às 13:40 
I'm going to guess that "Flashlight on Belt" is a different item from the vanilla flashlight, and this mod modifies only the vanilla items. The duration of a flashlight's battery is an attribute that is inherent to the item itself, rather than the battery placed in the flashlight. Since this mod doesn't touch the item "Flashlight on Belt" there is no extended battery duration.

You could probably very easily edit that mod yourself to give the belt flashlight extended duration by modifing that item's UseDelta value.
Falkon 26 jan. 2022 às 8:45 
For some reason this isnt compatible with "Flashlight on belt" what a shame :(
rimean 25 jan. 2022 às 21:33 
IS there any chance that you would make this mod compatible with mod that allows you to put flashlight on belt?
i hope that i'm not asking for too much!
Great mod btw
Memmo  [autor] 19 jan. 2022 às 8:42 
@AndyLoco I find it highly unlikely that this mod would mess with car batteries, as I don't have that issue, and second, this mod modifies only three specific items (HandTorch, Torch, and basic Battery).
Falkon 19 jan. 2022 às 8:10 
Hey, could it be that this mod has a problem with car batteries? Since I put this mod on my server car batteries remains on 100% but in reality they are not 100%, they can be 0% and the car wont start and you dont know what is happening, It took me a while to realise it was the batteries.
rat 23 nov. 2021 às 7:45 
If you can find me a flashlight battery that lasts you six days non stop, I'll subscribe to this mod.
Flash 8 out. 2021 às 19:03 
A lot of Souls mods causes conflicts with other mods. @Commander Kai disable exploring time
Commander Kai 3 out. 2021 às 12:24 
I'm not sure why this mod isn't working. I'm on 41.53, and I added a battery at 4 AM...only for it to be dead 6 hours later.

I am in a heavily modded game, but I can't think of another mod that would cause incompatibilities. Maybe Soul's Exploring Time?
Memmo  [autor] 26 set. 2021 às 8:12 
@axelroadman Probably. I tried to achieve that initially but couldn't figure out where that data was stored, so no luck there.
axelroadman 26 set. 2021 às 2:48 
Is it possible to make wall and table lamps also work on batteries for a long time?
Chivers S'Jet 1 ago. 2021 às 0:19 
Does this work on 41.50 ? (not 51 and not IWBUMS)
Memmo  [autor] 27 jul. 2021 às 6:54 
@CSI48 no, but you can modify the mod's files to achieve something like that quite easily. Just change the UseDelta value to something very low, such as 0.000000001 and you'll get near infinite battery.
CSI48 27 jul. 2021 às 6:41 
Is there a version that uses NO battery that can just stay on forever ?
The Ninth Pawn 25 mai. 2021 às 1:31 
@Memmorath maybe you can look at the 'connect radio to grid' mod from MrRAT, he made grid-powered radio's
Workshop ID: 2001719506
Memmo  [autor] 7 mai. 2021 às 7:10 
@KingLouie that's a very good idea, but unfortunately beyond my modding skills.
KingLouie 7 mai. 2021 às 7:05 
Oh nice mod, the battery life was a bit too short for my taste. :D
Would it be possible to make the pillar Lamps connect to the generator power grid? I've seen a mod do something like that, but it seems to be abandoned for a long time now.
Memmo  [autor] 4 mai. 2021 às 8:13 
@Ryu Shouldn't be.
Ryu 4 mai. 2021 às 4:10 
Any problems with adding this mod mid-playthrough?
Memmo  [autor] 1 dez. 2020 às 7:04 
3 different options would be 3 different mods, so that's not gonna work.
If you want to change the values you can do so yourself by editing the text file in the mod.
Michał 1 dez. 2020 às 6:29 
Why does the flashlight use 30 times less battery, and the Hand torch and Lamp on Pillar 10 times less battery? The modification causes that the Big Flashlight consumes less battery than a small flashlight. I am asking to make three lower consumption options for all batteries: 2x less, 5x less and 10 times less. Best regards.
Memmo  [autor] 12 nov. 2020 às 10:21 
@Zhmur only base game items: Flashlight, Hand Torch, and Lamp on Pillar, as the battery duration is determined by the items themselves, not actual batteries.
Mr Zhmur 12 nov. 2020 às 9:35 
@Memmorath is that real add this flashlight too?
https://steamoss.com/sharedfiles/filedetails/?id=2041993851
Nefaerion 18 ago. 2020 às 23:01 
Ty, I might toy around with this. :)
Memmo  [autor] 18 ago. 2020 às 6:58 
@Nefaerion Very easy. There is only one text file in the mod. Change the UseDelta to whatever you want. The lower the number the longer the battery lasts. Do keep in mind the default values I've provided in the mod description.
Nefaerion 18 ago. 2020 às 3:45 
Question, how easy would it be for someone to edit / tweak the effects of your mod to their own liking if they were to DL it? And could you detail that if at all possible? I do feel battery consumption is a bit much, but I do agree that this seems a bit extreme of a buff, to me anyway.
Higgins 26 mai. 2020 às 11:11 
@Nebula
How can you possibly cheat in a single player game?

@Memmorath
Thank you for this. :)
epic 18 mai. 2020 às 10:23 
Thank you! This mod makes for more sense than the actual battery life currently in the game. You could easily keep a flashright running a few days before it died.
Memmo  [autor] 15 mai. 2020 às 7:15 
@Nebula Right, I changed the mod description for you and instead of using percentages (which were based on the number value changes moreso than actual in-game time), I'll use the actual values that might not really mean anything to anyone. Enjoy :)
Memmo  [autor] 15 mai. 2020 às 6:10 
@Nebula I don't think so, no. It's a mod that adds longevity to three items based on personal preferences. If you don't like the mod no one is asking you to use it.
Nebula 15 mai. 2020 às 6:09 
Your mod extends battery life too much. This is not good.
Nebula 15 mai. 2020 às 6:06 
Your mod is cheat.
Memmo  [autor] 15 mai. 2020 às 6:04 
@Nebula Well, if there are cheat codes that extend Flashlight battery duration that's cool, but I fail to see what your point is..?
Nebula 15 mai. 2020 às 6:04 
very long flashlight operating time ... 2900%. really? This is a lot. Therefore cheating.
Memmo  [autor] 15 mai. 2020 às 3:25 
@Nebula What cheat?