Weapons and Equipment Expanded


Customizable Mod that adds in different new items or changes that can all be toggled on or off. Adds 3 new weapons - Assault Rifle - LMG - HMG adds 10 new equipment's, a single and double variant of the following Machine Gun, Shotgun, Rocket Launcher, Cannon, Railgun Rebalances movement speed reduction when shooting to make different weapons feel different.

Content
2 months ago
2.0
1.49K
Combat Armor

b Cannot load mod

2 months ago

Failed to load mods: Error in assignID: item with name 'pwe-railgun' does not exist.

Source: personal-turret-no-magazine-equipment-railgun (active-defense-equipment).
You should probably check that it exists before modifying it.

2 months ago

sorry that was because I assume that you did not have space age enabled and the railguns are tied to it, they were supposed to be disabled when space age was not present but instead I messed it up and it threw an error. it is fixed now

2 months ago

I downloaded the newest version, but I'm still seeing the error.
I am not playing with Space Age, but I am playing with Space Exploration

2 months ago

Alright, I’m sorry about that, I’ll look into it and get a solid fix on it tomorrow morning

2 months ago

After investigating it I can confirm the issue lies with Space Exploration as the mod loads perfectly fine by itself without any mods or without space age and everything in it works as intended. I do not have plans right now to patch in support and I will list Space Exploration as a incompatibility.

23 days ago
(updated 23 days ago)

It sounds like the issue comes from the mod getting confused by the Railgun in SE, maybe just try renaming the Railgun in your mod or something
Or alternatively you could split the mod up into the individual turrets

7 days ago

A lot of mods are overengineered. By recklessly copying and generating references, you indeed get incompatibilities like this. If you write code with future robustness in mind, this happens less.

For example, when space exploration is installed, it tries to construct a "personal-turret-se-railgun-ammo-equipment-railgun" and gives an error, probably because it finds the word "railgun" in the data structure for Space Exploration?
This is not a problem with Space Exploration, any mod that adds 'railgun'-related content will be the same. You can of course just mark the other mods as "incompatible", but I think that is a weak solution.
Would you be interested in refactoring your code so it just generates stuff within the scope of the mod and doesn't take data from other mods? That would be much more clean.

7 days ago

Alternatively placing all railgun related content in their own category would work

7 days ago

I have deleted all referenced to the 'railgun', and the mod loads fine, proving that this is not due to space exploration.

Also, I get an unrecoverable error involving "tungsten-rounds-magazine", what even is that? That's nothing vanilla or space age.

7 days ago

Also, in testing it appears that no ammo is being consumed from the equipments

New response