Project Zomboid

Project Zomboid

67 ratings
CustomizableGenerator
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
159.316 KB
Aug 18, 2023 @ 11:15am
Sep 3, 2023 @ 4:55am
5 Change Notes ( view )

Subscribe to download
CustomizableGenerator

Description
Note
If you installed this mod before Sep 3rd, you need to re-execute the installation process again after updating the mod, otherwise it may cause the new functions won't work.

Function
Support sandbox configuration, applied to all generators.

  • Radius, 1-100, the original version is 20.
  • Floor distance, 0-8, the original version is 3, 0 means it only takes effect on the current floor. Explanation: For example, if the ground or first floor is level=0, in the original version, if the generator was placed on the 5th floor (level=4), then the range is from the 2nd floor (level=1) to the 8th floor (level=7), and there is no electricity on the ground.
  • Max fuel amount, 10-1000, the original version is 100. You can see the current fuel amount on the generator information panel, for example, set the max fuel amount to 200, and it will display 200% after full fuel.
  • Considering for realism, the setting is not allowed to be too large. In the future, generators with large settings will be supported in other ways.

Installation (very important)
Since this need to modify system functions, unlike general mods, the installation of this mod requires the following operations.

If you don't know how to find the root directory of Project Zomboid, on Steam click on the LIBRARY -> right click on the Project Zomboid -> Properties -> Installed Files -> Browse to open the root directory of the Project Zomboid, such as D:\Steam\steamapps\common\ProjectZombid or E:\SteamLibrary\steamapps\common\ProjectZombid (if you have moved the game to E drive), then the directory before steamapps is the Steam root directory, For example, D:\Steam or E:\SteamLibrary.

How to install
  • Close the Project Zomboid
  • Subscribe to this mod
  • Wait for mod download completely
  • Open the ${Steam root directory}\steamapps\workshop\content\108600\3022147060\mods\GreaterRangeGenerator
  • Copy the zombie folder
  • Open the ${Steam root directory}\steamapps\common\ProjectZombid
  • Paste and choose to overwrite or replace the file, and files named IsoGenerator.class and IsoChunk.class and more will be overwritten
  • Start the Project Zomboid
  • Enable the mod and start the game

How to uninstall
You can choose to back up the zombie folder before installation, or follow the steps below.
  • On Steam, click on the LIBRARY -> right click on the Project Zomboid ->Properties -> Installed Files -> Verify integrity of game files
  • Unsubscribe the mod
This method will re-download files that were overwritten during the installation process. Note that if other mods are also installed by the similar method, this uninstallation method may cause them to uninstall together, you can choose to back up the zombie folder to uninstall in this case.

Support mode
  • Passed the test in 41.78 single player.
  • Passed the test in 41.78 multiplayer.
  • Support adding this mod to new or existing save.

Compatibility with other mods

Update
  • version 0.0.5 was updated on Sep 3rd.
    • Fix the issue: real radius is smaller than radius in sandbox configuration.
    • Maximum of Radius in sandbox config 60 -> 100.
    • Maximum of Max fuel amount in sandbox config 400 -> 1000.
    • Support Czech. Thanks for @MeNameDanny's help.
    • There will be a warning when Java and Lua versions are inconsistent because of no re-installation.
      Note: This update needs to re-execute the installation method.
  • version 0.0.3 was updated on Sep 2nd.
    • Add version check to avoid updating the mod from 0.0.1 to 0.0.2 without re-installation cause error.
  • version 0.0.2 was updated on August 27th.
    • Support sandbox configuration, applied to all generators.
      • Radius, 1-60, the original version is 20.
      • Floor distance, 0-8, the original version is 3, 0 means it only takes effect on the current floor.
      • Max fuel amount, 10-400, the original version is 100. You can see the current fuel amount on the generator information panel, for example, set the max fuel amount to 200, and it will display 200% after full fuel.
      • Considering for realism, the setting is not allowed to be too large. In the future, generators with large settings will be supported in other ways.
    • Add 2 ways to modify generator settings.
      • Call generator:setRadius, generator:setLevelDistance, generator:setMaxFuel to modify current generator settings without affecting other generators.
      • Call generator:setDefaultRadius, generator:setDefaultLevelDistance, generator:setDefaultMaxFuel to modify settings of all generators.
      Note: This update needs to re-execute the installation method, and since I add some lua scripts, you need to start the game after enabling the mod. It is recommended to re-read the above installation method.
  • version 0.0.1 was released on August 19th.
    • Larger range generators, applied to all generators.
      • Radius 20 -> 40.
      • Floor distance 3 -> 5.

Workshop ID: 3022147060
Mod ID: GreaterRangeGenerator
77 Comments
Geronimo Aug 19 @ 6:44pm 
how to remove this mod it always comes back no matter how you remove it
继续盗 再来再来 Aug 6 @ 3:40am 
然而这个mod貌似现在并不生效了,不只是什么原因
łysakurwa69 -13 May 19 @ 2:23pm 
can i make generators dont decay with this mod?
SoldierSniper Apr 24 @ 10:16am 
Please update
Only Farms Feb 22 @ 10:08pm 
Please update
yamanth Feb 2 @ 7:46am 
I have same issue like @leonx132...
Message is also displayed on many other things like sinks etc.
I tryed to reinstall it, I tryed to change settings but nothing solve issues :(
And also the czech language is broken, the files are saved in UTF-8 but they must be for full compatibility with diacritics saved in ANSI. Please repair it...
求更新
leon Dec 30, 2024 @ 5:10pm 
need to reinstall customizableGenarator constantly displayed, i have a dedicated host
Anach Aug 2, 2024 @ 5:03am 
Use a program called Jonesoft Generic Mod Enabler (JSGME), for PZ and many other titles. It's perfect for this sort of installation, and extremely simple.

The quick way to have compatibility with Visible Generator Range. In the VGR mod, for Solar, just change line #a13 of ISAStatusWindow_patch.lua, and for standard generators, change line #5 in ISGeneratorInfoWindow_Patch.lua, from -

This:
local generatorRange = 20

To this:
local generatorRange = SandboxVars.CustomizableGenerator.Radius

Which will take the setting directly from the custom range in sandbox settings.
ja1ex May 21, 2024 @ 6:52am 
大大知道linux应该如何安装这个mod吗? linux的僵毁根目录下没有zombie这个文件夹