Schall Artillery


Adds various artillery shells. Currently includes cluster artillery shell, napalm artillery shell, poison artillery shell, atomic artillery shell, mine scattering artillery shells (of various land mines). (Locale: English, Deutsch, 正體中文, 简体中文, Português Brasileiro, Español, Русский)

Content
2 years ago
0.17 - 1.1
11.8K
Combat

i [Responded] Atomic artillery shell auto-targeting (Will not implement)

2 years ago
(updated 2 years ago)

I've been trying to get the Atomic artillery shell auto-targeting to be a bit smarter, sometimes it seems to place shells a good distance apart, sometimes it shoots two shells at the same place (vanilla bug maybe?).

I saw this thread in the standalone atomic artillery shell mod discussion: https://mods.factorio.com/mod/AtomicArtillery/discussion/5f7554729685683497246bb2
I've tested the order of the projectile radius effects, and haven't found a difference between how it currently is, and moving the effect with radius = 35 to the top as suggested in that thread, the order doesn't seem to have any effect. Also, testing with that mod (which has the "fix" applied) doesn't seem to have better auto-targeting.

Regarding this, is it possible you could implement something like this mod: https://mods.factorio.com/mod/AtomicArtilleryRemote
It creates different artillery cannons for the atomic shells, so you can have a targeting remote for your atomic shells. Maybe have it as an option in startup options?
I would be happy to adapt that mod to a new one and upload it myself, but it would be better if it's supported from the base mod.

2 years ago

I've been trying to get the Atomic artillery shell auto-targeting to be a bit smarter, sometimes it seems to place shells a good distance apart, sometimes it shoots two shells at the same place (vanilla bug maybe?).

I saw this thread in the standalone atomic artillery shell mod discussion: https://mods.factorio.com/mod/AtomicArtillery/discussion/5f7554729685683497246bb2
I've tested the order of the projectile radius effects, and haven't found a difference between how it currently is, and moving the effect with radius = 35 to the top as suggested in that thread, the order doesn't seem to have any effect. Also, testing with that mod (which has the "fix" applied) doesn't seem to have better auto-targeting.

Your observation is correct. The issue comes from the vanilla game.
The artillery shell auto-targeting algorithm is hard-coded and is unknown to (most, if not all) modders. There is no way to set "proper" radius to various artillery shells in mods. So the issue happens not only to your above-mentioned mod or this mod; but global to any mods that want to do anything about artillery shells.

Regarding this, is it possible you could implement something like this mod: https://mods.factorio.com/mod/AtomicArtilleryRemote
It creates different artillery cannons for the atomic shells, so you can have a targeting remote for your atomic shells. Maybe have it as an option in startup options?
I would be happy to adapt that mod to a new one and upload it myself, but it would be better if it's supported from the base mod.

The mod you mentioned is duplicating a lot of prototypes (including artillery turret item+entity+recipe, artillery wagon item+entity+recipe, artillery flare, etc) in order to achieve such separate targeting. This may look fine if you have only the vanilla artillery shell and one atomic artillery shell.
However, this approach would require an extra set of all these prototypes for EACH type of artillery shell. Considering this mod is offering four types of new artillery shells, such approach will make the game really cumbersome. (Think of five types of artillery turrets, five types of artillery wagons...)
Therefore, this is not an elegant solution to overcome the vanilla issue, at least not with this mod.

2 years ago

The mod you mentioned is duplicating a lot of prototypes (including artillery turret item+entity+recipe, artillery wagon item+entity+recipe, artillery flare, etc) in order to achieve such separate targeting. This may look fine if you have only the vanilla artillery shell and one atomic artillery shell.
However, this approach would require an extra set of all these prototypes for EACH type of artillery shell. Considering this mod is offering four types of new artillery shells, such approach will make the game really cumbersome. (Think of five types of artillery turrets, five types of artillery wagons...)
Therefore, this is not an elegant solution to overcome the vanilla issue, at least not with this mod.

Right, but I was thinking just for the atomic artillery shell. If that doesn't sound like something you want to add to this mod, can I make a version of that mod for SchallArtillery?

2 years ago

Right, but I was thinking just for the atomic artillery shell. If that doesn't sound like something you want to add to this mod, can I make a version of that mod for SchallArtillery?

If you are planning to make it as an extension mod (which adds dependency to this mod), then feel free to go ahead. Do not even require any permission from me, for this kind of mods.
You can send me the link to your mod afterwards. I will be happy to add that to "Mods Dependencies" section in the main page, so users can know and try your work.

If you just plan to "clone" my mod and do some modifications, that would be another story...

2 years ago

Of course I want to make an "extension" mod with dependency, awesome 👍

1 year, 11 months ago

Maybe you just make an atomic shell one shot everything in radius of explosion? At least auto-targeting is going to work without wasting shells.

New response