Weapon Bandoleer


Adds additional weapon slots via a bandoleer item. Useful for mods that add lots of weapons to the game.

2 days ago
1.1
182
Owner:
SprocketCreations
Source:
https://github.com/SprocketCreations/...
Homepage:
N/A
License:
The Unlicense (Public Domain)
Created:
16 days ago
Latest Version:
1.0.3 (2 days ago)
Factorio version:
1.1
Downloaded:
182 times

Weapon Bandoleer

Weapon Bandoleer adds a new item to facilitate the use of more than 3 guns at once. This was made with mods like Krastorio 2 and Space Exploration in mind, as those mods add numerous weapons to the game.


The Bandoleer

A bandoleer can hold 10 guns and allows you to cycle through them, or jump to any given one via hotkeys. This effectively adds more gun slots to the game via an intermediary item.

How to set up:

  1. Research the Weapon Bandoleer technology
  2. Craft a Weapon Bandoleer
  3. Right-Click the Weapon Bandoleer to open its inventory
  4. Click "Activate" in the bandoleer's interface
  5. Close the bandoleer's inventory
  6. You're done!

How to use:

  • Press "Tab" or "Control Tab" to cycle forwards or backward through the guns in the bandoleer
  • Press "Control" and any number button to quickly switch to that gun

Some things to keep in mind when using the mod:

  • The Weapon Bandoleer item must remain in your inventory
  • If you remove the bandoleer from your inventory, either intentionally or by dying, you may need to re-activate it when you retrieve it
  • The first row of the bandoleer's inventory is for guns, and the second is for ammo
  • Pair the ammo under the gun you want to use it with
  • The bandoleer will skip empty gun slots when cycling
  • If you try to shift-click guns out of the bandoleer, the game will put it in your gun bar, which may cause you to lose track of your gun.

Space Exploration Compatibilty:

This mod does not currently work with Space Exploration natively.

To bypass Space Exploration's ban on "item-with-inventory" prototypes, follow these steps:

  1. Navigate to your Factorio mods folder
  2. Unzip "space-exploration_x.x.x.zip"
  3. Navigate to "space-exploration\scripts"
  4. Open "essential.lua" in a text editor of your choice
  5. Delete line 43:

    41| if prototype.type == "item-with-inventory" then
    42| if not (prototype.name == "item-with-inventory" and prototype.inventory_size == 0) then
    43| error("Items that can contain inventories are not supported by Space Exploration. Please disable the mod that added this item: " .. prototype.name)
    44| end
    45| end

  6. Save "essential.lua"

  7. Re-zip "space-exploration_x.x.x.zip", replacing the original
  8. Make sure the mod's file structure still looks like "space-exploration_x.x.x.zip\space-exploration\<all-the-mods-files>"

You will have to do this every time you install or update Space Exploration.