Electric Buffs

7 days to die electric buffs, 7 days to die electricity
1

This mod allows you to increase or decrease selective electrical power attributes to match your own specifications.

The current settings provide 400% of default values across multiple settings for generators, batteries, and solar. You can manually change this to decrease or increase default settings to provide a greater or more leisurely challenge. Ti2xGr was manually editing these values for his Geek Gaming server and this just formalises those actions into a mod.

What do they all mean? Some are clear and others are more complex. Here are some images to show the clearer ones.

This is the impact of changing OutputPerStack for the battery bank. A level 6 battery changes from 50w to 200w giving a total of 1200w output.

MaxPower appears to impact the total capacity. Default was 400w even though Tier 6 x 6 maxed out at 300w. Maybe this prepared for a future buff or mod?

A single Tier 6 battery shows 200w output potential.

7 days to die electric buffs additional screenshot 1

And this reduces to reflect the lower Tier battery with a Tier 5 providing 183w.

7 days to die electric buffs additional screenshot 2

Solar power for a Tier 6 solar panel shows a proportional increase from 30w to 120w. Here is the solar bank loaded with 4 x Tier 6 and 2 x Tier 5 solar panels to give 698w out of a potential of 720w ‘MaxPower’ setting if they were all Tier 6.

7 days to die electric buffs additional screenshot 3

The generator has ‘MaxFuel’ of 4000 as the image shows. Each engine ‘OutputPerStack’ is set to 400 but we can calculate this provides 200w per engine. This does not match the format for batteries and solar panels.

7 days to die electric buffs additional screenshot 4

Generator

As for ‘OutputPerFuel’. This is probably linked to a formula of usage over time.

As for ‘MaxPower’. This may well also be linked to total overall output capacity over time.

Battery Bank

As for ‘InputPerTick’, ‘ChargePerInput’, and ‘OutputPerCharge’, in game these allow the batteries to recharge faster and hold their charge longer. He does not know the calculations for this. An old Wiki post offers the following calculation for default values.

Battery Usage

While turned on the battery bank will consume durability from batteries in its slots starting with the top left. These batteries will lose durability at a rate of 4 points per minute per watt. So if your battery bank was producing 45W of power it would use 4*45 = 180 durability per minute.

minutes_of_charge = durability_of_battery / (4*power_usage)

Charging

While charging it will consume 5w from the alternate power source (so to charge a battery bank you need system_power_cost+5w). While powered, it will regenerate durability in the battery inside, independent of quality, at a rate of 6 points per second. Batteries are charged in the sequence right to left, bottom to top. A 600 quality battery has 6000 durability so it would take about 16 minutes and 40 seconds to charge making the maximum time taken to fully recharge a battery bank 100 minutes.

If the above values are still relevant, this mod increases these 4 fold. He saw these calculations in the XML files some time ago but couldn’t find them after scanning again and can offer no further clarification. If any other community users can offer further clarification, it would be helpful.

blocks.xml

<Config>

<!--Generator-->
<set xpath="/blocks/block[@name='generatorbank']/property[@name='MaxFuel']/@value">4000</set> <!-- X4 of default - Total amount of fuel the generator can hold -->
<set xpath="/blocks/block[@name='generatorbank']/property[@name='OutputPerFuel']/@value">45000</set> <!-- X4 of default-->
<set xpath="/blocks/block[@name='generatorbank']/property[@name='MaxPower']/@value">49000</set> <!-- X4 of default-->
<set xpath="/blocks/block[@name='generatorbank']/property[@name='OutputPerStack']/@value">400</set> <!-- X4 of default - Maximum power output of a single engine -->

<!--Solar Bank-->
<set xpath="/blocks/block[@name='solarbank']/property[@name='OutputPerStack']/@value">120</set> <!-- X4 of default - Maximum power output of a Lvl 6 solar cell -->
<set xpath="/blocks/block[@name='solarbank']/property[@name='MaxPower']/@value">720</set> <!-- X4 of default - Maximum combined output of all solar cells -->

<!--Battery Bank-->
<set xpath="/blocks/block[@name='batterybank']/property[@name='MaxPower']/@value">1600</set> <!-- X4 of default - Maximum combined output of all batteries -->
<set xpath="/blocks/block[@name='batterybank']/property[@name='InputPerTick']/@value">20</set> <!-- X4 of default-->
<set xpath="/blocks/block[@name='batterybank']/property[@name='ChargePerInput']/@value">4</set> <!-- X4 of default-->
<set xpath="/blocks/block[@name='batterybank']/property[@name='OutputPerStack']/@value">200</set> <!-- X4 of default - Maximum power output of a Lvl 6 battery -->
<set xpath="/blocks/block[@name='batterybank']/property[@name='OutputPerCharge']/@value">360</set> <!-- X4 of default-->

</Config>

Download

The forum topic of the mod is here.

Credits: Arramus

Share this mod with your friends:

Leave a Reply

Your email address will not be published. Required fields are marked *