Request: Mod to boost Armor Batteries/Solar Panels

This is the place to request new mods or give ideas about what could be done.
Post Reply
Peter34
Smart Inserter
Smart Inserter
Posts: 1100
Joined: Mon Nov 10, 2014 12:44 pm
Contact:

Request: Mod to boost Armor Batteries/Solar Panels

Post by Peter34 »

Hi

As per this thread:
https://forums.factorio.com/forum/vie ... 16&t=10288

...there seems to be some consensus that the options for powering Modular Armour and Power Armor, prior to Fusion, are poor.

I'd really appreciate seeting a mod that does these three things:

1. Triples the capacity of Battery MkI from 1 kJ to 3kJ.
2. Doubles the capacity of Battery Mk II from 5 kJ to 10 kJ.
3. Increases the power generated by Armor suit Solar Panels by 50%, from 10 watt to 15 watt.

I think those are modest and reasonable changes that will improve the game, I imagine they're very simple to do for an experienced mod maker (altering the stats of existing items), and will probably prove quite popular.

Peter34
Smart Inserter
Smart Inserter
Posts: 1100
Joined: Mon Nov 10, 2014 12:44 pm
Contact:

Re: Request: Mod to boost Armor Batteries/Solar Panels

Post by Peter34 »

Anyone?

User avatar
matpmag
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Sun Apr 19, 2015 12:05 pm
Contact:

Re: Request: Mod to boost Armor Batteries/Solar Panels

Post by matpmag »

Not technically a mod but...
If you replace the file at Factorio\data\base\prototypes\equipment
in your installation folder then the game should work as requested

I'll look into making this a mod at some point :)

EDIT: Apparently we can't upload lua files to the forum :( open it in notepad etc and change it to this:

Code: Select all

data:extend(
{
  {
    type = "night-vision-equipment",
    name = "night-vision-equipment",
    sprite = 
    {
      filename = "__base__/graphics/equipment/night-vision-equipment.png",
      width = 96,
      height = 64,
      priority = "medium"
    },
    shape =
    {
      width = 3,
      height = 2,
      type = "full"
    },
    energy_source =
    {
      type = "electric",
      buffer_capacity = "120J",
      input_flow_limit = "240W",
      usage_priority = "primary-input"
    },
    energy_input = "10W",
    tint = {r = 0, g = 0.1, b = 0, a = 0.2}
  },
  {
    type = "energy-shield-equipment",
    name = "energy-shield-equipment",
    sprite = 
    {
      filename = "__base__/graphics/equipment/energy-shield-equipment.png",
      width = 64,
      height = 64,
      priority = "medium"
    },
    shape =
    {
      width = 2,
      height = 2,
      type = "full"
    },
    max_shield_value = 50,
    energy_source =
    {
      type = "electric",
      buffer_capacity = "120J",
      input_flow_limit = "240W",
      usage_priority = "primary-input"
    },
    energy_per_shield = "20J"
  },
  {
    type = "energy-shield-equipment",
    name = "energy-shield-mk2-equipment",
    sprite = 
    {
      filename = "__base__/graphics/equipment/energy-shield-mk2-equipment.png",
      width = 64,
      height = 64,
      priority = "medium"
    },
    shape =
    {
      width = 2,
      height = 2,
      type = "full"
    },
    max_shield_value = 150,
    energy_source =
    {
      type = "electric",
      buffer_capacity = "180J",
      input_flow_limit = "360W",
      usage_priority = "primary-input"
    },
    energy_per_shield = "30J"
  },
  {
    type = "battery-equipment",
    name = "battery-equipment",
    sprite = 
    {
      filename = "__base__/graphics/equipment/battery-equipment.png",
      width = 32,
      height = 64,
      priority = "medium"
    },
    shape =
    {
      width = 1,
      height = 2,
      type = "full"
    },
    energy_source =
    {
      type = "electric",
      buffer_capacity = "1KJ",
      input_flow_limit = "10KW",
      output_flow_limit = "10KW",
      usage_priority = "terciary"
    }
  },
  {
    type = "battery-equipment",
    name = "battery-mk2-equipment",
    sprite = 
    {
      filename = "__base__/graphics/equipment/battery-mk2-equipment.png",
      width = 32,
      height = 64,
      priority = "medium"
    },
    shape =
    {
      width = 1,
      height = 2,
      type = "full"
    },
    energy_source =
    {
      type = "electric",
      buffer_capacity = "5KJ",
      input_flow_limit = "50KW",
      output_flow_limit = "50KW",
      usage_priority = "terciary"
    }
  },
  {
    type = "solar-panel-equipment",
    name = "solar-panel-equipment",
    sprite = 
    {
      filename = "__base__/graphics/equipment/solar-panel-equipment.png",
      width = 32,
      height = 32,
      priority = "medium"
    },
    shape =
    {
      width = 1,
      height = 1,
      type = "full"
    },
    energy_source =
    {
      type = "electric",
      usage_priority = "primary-output"
    },
    power = "10W"
  },
  {
    type = "generator-equipment",
    name = "fusion-reactor-equipment",
    sprite = 
    {
      filename = "__base__/graphics/equipment/fusion-reactor-equipment.png",
      width = 128,
      height = 128,
      priority = "medium"
    },
    shape =
    {
      width = 4,
      height = 4,
      type = "full"
    },
    energy_source =
    {
      type = "electric",
      usage_priority = "primary-output"
    },
    power = "750W"
  },
  {
    type = "active-defense-equipment",
    name = "basic-laser-defense-equipment",
    sprite = 
    {
      filename = "__base__/graphics/equipment/basic-laser-defense-equipment.png",
      width = 64,
      height = 96,
      priority = "medium"
    },
    shape =
    {
      width = 2,
      height = 3,
      type = "full"
    },
    energy_source =
    {
      type = "electric",
      usage_priority = "secondary-input",
      buffer_capacity = "101J"
    },
    attack_parameters =
    {
      ammo_category = "electric",
      cooldown = 20,
      damage_modifier = 1,
      projectile_center = {0, 0},
      projectile_creation_distance = 0.6,
      range = 15,
      sound =
      {
        {
          filename = "__base__/sound/laser.ogg",
          volume = 0.4
        }
      },
      ammo_type =
      {
        type = "projectile",
        category = "electric",
        energy_consumption = "100J",
        projectile = "laser",
        speed = 1,
        action = 
        {
          {
            type = "direct",
            action_delivery =
            {
              {
                type = "projectile",
                projectile = "laser",
                starting_speed = 0.28
              }
            }
          }
        }
      }
    },
    automatic = true
  },
  {
    type = "active-defense-equipment",
    name = "basic-electric-discharge-defense-equipment",
    ability_icon =
    {
      filename = "__base__/graphics/equipment/basic-electric-discharge-defense-equipment-ability.png",
      width = 32,
      height = 32,
      priority = "medium"
    },
    sprite = 
    {
      filename = "__base__/graphics/equipment/basic-electric-discharge-defense-equipment.png",
      width = 96,
      height = 96,
      priority = "medium"
    },
    shape =
    {
      width = 3,
      height = 3,
      type = "full"
    },
    energy_source =
    {
      type = "electric",
      usage_priority = "secondary-input",
      buffer_capacity = "4040J"
    },
    attack_parameters =
    {
      ammo_category = "electric",
      damage_modifier = 3,
      cooldown = 150,
      projectile_center = {0, 0},
      projectile_creation_distance = 0.6,
      range = 10,
      sound =
      {
        {
          filename = "__base__/sound/laser.ogg",
          volume = 0.4
        }
      },
      ammo_type =
      {
        type = "projectile",
        category = "electric",
        energy_consumption = "2KJ",
        speed = 1,
        action = 
        {
          {
            type = "area",
            perimeter = 10,
            force = "enemy",
            action_delivery =
            {
              {
                type = "projectile",
                projectile = "blue-laser",
                starting_speed = 0.28
              }
            }
          }
        }
      },
    },
    automatic = false
  },
  {
    type = "movement-bonus-equipment",
    name = "basic-exoskeleton-equipment",
    sprite = 
    {
      filename = "__base__/graphics/equipment/basic-exoskeleton-equipment.png",
      width = 64,
      height = 128,
      priority = "medium"
    },
    shape =
    {
      width = 2,
      height = 4,
      type = "full"
    },
    energy_source =
    {
      type = "electric",
      usage_priority = "secondary-input"
    },
    energy_consumption = "200W",
    movement_bonus = 0.3
  }
}
)

Peter34
Smart Inserter
Smart Inserter
Posts: 1100
Joined: Mon Nov 10, 2014 12:44 pm
Contact:

Re: Request: Mod to boost Armor Batteries/Solar Panels

Post by Peter34 »

The problem is, I'm not really comfortable hacking the game files in the non-mod folders, and also I'd mainly like this to work in MP games. So I hope you'll make the mod!

User avatar
matpmag
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Sun Apr 19, 2015 12:05 pm
Contact:

Re: Request: Mod to boost Armor Batteries/Solar Panels

Post by matpmag »

:D Success!!!
Here it is:
PreFusion_0.1.0.zip
(717 Bytes) Downloaded 157 times

User avatar
matpmag
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Sun Apr 19, 2015 12:05 pm
Contact:

Re: Request: Mod to boost Armor Batteries/Solar Panels

Post by matpmag »

New forum thread! :)

[0.11.X] PreFusion

Peter34
Smart Inserter
Smart Inserter
Posts: 1100
Joined: Mon Nov 10, 2014 12:44 pm
Contact:

Re: Request: Mod to boost Armor Batteries/Solar Panels

Post by Peter34 »

Thanks, dude!

Post Reply

Return to “Ideas and Requests For Mods”