Basic Artillery


Adds a form of artillery that is considerably worse, but available much earlier. Less accurate, less damaging, generally less useful; but also less costly and less hassle to obtain. It won't save you from yourself if you leave setting up your defenses too long, but it might save you a headache if you can successfully crank out a handful of grey flasks between biter attacks.

Content
8 days ago
2.0
1.78K
Trains Combat

i Add a setting for the ranges

9 days ago

I want to tweak these basic artillery ranges (manual and auto). I have a mod to match the two ranges, but it does not apply to this mod, so a setting would let me simulate this.

9 days ago
(updated 9 days ago)

Right now it just copies all of the data from the vanilla turrets and then tweaks it. I should be able to make it inherit any other mods' changes to the vanilla artillery (replacement sounds, range alterations, etc) if I just move that copying later into the data stage (i.e. it copies the data after the other mods have changed it). That'd address your problem, right?

9 days ago

Yes, I think. Here is the mod I'm talking about: https://mods.factorio.com/mod/artillery-equality

9 days ago

Yeah, it looks like juggling the order it loads about a bit should fix your issue. I'll have a play about and push an update if it works.

9 days ago

Just letting you know, I've now pushed that update, so your mod manager should be able to update it in a few minutes

8 days ago
(updated 8 days ago)

I'm testing it out and it does not work. Firstly, I get this message: https://imgur.com/a/qN7N3UK

Secondly, the distances only increased and do not match what they are supposed to be: https://imgur.com/a/Ep3xT4M

Here my save file: https://drive.google.com/file/d/1aXlM5w3kn6tcPc8v-oa1rL1mz4nsBxr6/view?usp=sharing

8 days ago
(updated 8 days ago)

The migration message is just a side effect of moving the gun prototype later into the data stage - you don't need to worry about it, it's not an item you'll ever be able to obtain outside of the editor. The recycling recipe is something automatically generated by Quality for every item in the game, the only difference is now the gun prototype is added after Quality generates those recipes, so it isn't able to generate one for the gun prototype. It doesn't matter anyway since the prototype isn't craftable, it's just there to tell the turret and wagon how to behave. (The name is just because I followed the vanilla Factorio naming convention and it calls the artillery gun prototype "artillery-wagon-cannon" for some reason, it's not talking about the actual artillery wagon.)

The distances are more interesting.

  • The automatic distance is exactly what I'd expect: it's the automatic range of the vanilla artillery, multiplied by the 0.8 multiplier basic artillery uses. If that's too short for your needs you can change it in the mod settings, anywhere between 0.5 and 1 (i.e. half of vanilla range and full vanilla range).

  • The manual distance is way, way higher than it should be, and I'm not sure why. I suppose I'll have to look into exactly how that mod you're using works, though it should be said that it's intended to apply to vanilla artillery only (pretty explicitly in the name, actually) so it might not be making changes in a way that I'm able to interact with properly in my mod without making a specific edge case specifically for this mod. If it comes down to it I'll probably end up doing that but I'd prefer to have it work more generically if possible.

8 days ago

Thank you for your explanations. Sincerely, I can live with that, I don't think I will ever use the manual mode. So, if it's too cumbersome, don't worry about it.

8 days ago

Funny you should say that. I actually just found the cause of the problem and pushed an update to fix it - it was fairly trivial in the end, just a value in the turret/wagon itself rather than the gun prototype. I just had the basic turrets copy that value at the end of the data stage (i.e. after every other mod has already made its changes to the vanilla artillery) and now it works fine. Give it a couple of minutes to show up in-game (you're looking for version 1.8.0) and you should be all set.

8 days ago

I confirm that it's working !! Thanks !

New response