Modular Turrets

by wodzu93

Adds 8 (15 counting variations) new turrets for dealing with alien menace, as well as other military-related items. Good compliment to mods that add new biter types, like Rampant or Natural Evolution.

Content
7 months ago
0.15 - 2.0
47.4K
Combat

b new version causes cannonshells to expire before hitting the cannon turret max range

8 months ago

so after this new factorio update the cannon turrets seems to not be hitting their max range with the regular cannon shell (they are fine with any other shell that doesnt have a range modifier stat)

8 months ago

https://imgur.com/a/7WtszZH
Heres an image of biters gathering inside of cannon shooting range but the shells never hit as they expire way before hitting the biters.

8 months ago
(updated 8 months ago)

I'm going to download few recent versions and test when this started happening. This might be a vanilla bug.

EDIT: Those scattergun turrets in the screenshot will kill your flamers if biters get in range - shotgun pellets do friendly fire. If you want to use them, they need to go in front of the wall.

8 months ago
(updated 8 months ago)

Found it. Since version 2.0.24, turrets receive the range buff from ammo range modifier (they didn't before). However, when turret uses target leading functionality, it causes a bug and projectiles detonate at base max turret range. This is a vanilla bug, I'll make a report on the forum. However, since Christmas is so soon, I don't expect this bug to be fixed until after New Year's. I'll publish an update to remove the range buff from the shells for a temporary fix until devs release the bugfix.

7 months ago

hey so the fix the devs have made for this issue is still in experimental 2.0.30 onwards, stable hasn't received said fix as stable is only at 2.0.28.
The current situation where i now need to downgrade the mod or go experimental could have been prevented by limiting the update to only those who were running 2.0.30 or newer

Also the shotgun turrets are fine because of combat mechanics overhaul :)

7 months ago

Oh, by bad, I forgot to bump up required Factorio version.

7 months ago

i use 2.0.32 and the issue is still there, do i have to wait for a mod update ?

7 months ago
(updated 7 months ago)

I've reuploaded version 8.0.9 of the mod to require Factorio version 2.0.30+. Please delete this mod, restart game, download it and try again. For stable 2.0.28 you need to get version 8.0.8.

I've tested it in Factorio 2.0.32 and cannon shells are behaving properly with 8.0.9. @Nymzz If after redownloading the mod shells still explode too early, please post here your mod list.

7 months ago

For Example:
Light Cannon Turret (Backline)
Minimum Range: 30.0
Range: 50.0
But Ammo Only has
Projectile Range: 27
Mods:
"base",
"elevated-rails",
"quality",
"space-age",
"aai-containers",
"aai-programmable-structures",
"aai-programmable-vehicles",
"aai-signal-transmission",
"aai-signals",
"aai-vehicles-chaingunner",
"aai-vehicles-flame-tank",
"aai-vehicles-flame-tumbler",
"aai-vehicles-hauler",
"aai-vehicles-ironclad",
"aai-vehicles-laser-tank",
"aai-vehicles-miner",
"aai-vehicles-warden",
"aai-zones",
"AfraidOfTheDark",
"Aircraft-space-age",
"alien-biomes",
"alien-biomes-graphics",
"alien-module",
"AlienSpaceScience",
"ammo-loader",
"Armored-train",
"ArtilleryShellStack",
"AutoDeconstruct",
"ballistics",
"BigBags",
"biterproof",
"bobinserters",
"bobinserters-tweak",
"Bottleneck",
"cargo-ships",
"cargo-ships-graphics",
"CleanedConcrete",
"CleanFloor",
"combat-mechanics-overhaul",
"comfortable-loader",
"ConfigUnderLengths",
"CopyPasteModules",
"DoubleFurnace",
"DoubleSpeedBelts",
"Electric Furnaces",
"equipment-gantry",
"even-distribution",
"factorissimo-2-notnotmelon",
"factoryplanner",
"far-reach",
"faster-inserters",
"FasterPavements",
"FasterStart",
"Fill4Me",
"fire-lights",
"flib",
"Flow Control",
"FluidMustFlow",
"grappling-gun",
"Gun_Turret_Alerts",
"HelicopterRevival",
"helmod",
"informatron",
"inserter-cranes-fork",
"inventory-repair",
"jetpack",
"kry-vehicle-grids",
"kry_stdlib",
"KS_Power",
"laser-walls",
"LootChestPlus",
"LootChestUPS",
"Milestones",
"mining-patch-planner",
"modular_turret_repeatables",
"ModuleInserterSimplified",
"More_Repair_Packs",
"no-wall-repair"
"NoLavaInPipes",
"oil_burner",
"ore-eraser"
"Pi-C_lib",
"Power Armor MK3",
"Productivity",
"qol_research",
"RailSignalPlanner",
"RateCalculator",
"repair-from-vehicle",
"Repair_Turret",
"RitnLib",
"robot_attrition",
"rz-consistent_underground_belts",
"scattergun_turret",
"SchallAmmoTurrets",
"SchallTankPlatoon",
"shield-generators",
"shield-projector",
"Shortcuts-ick",
"show-max-underground-distance",
"SpidertronEnhancements",
"squeak-through-2",
"tree_collision",
"UndergroundIndicatorsFixed",
"UtilizationMonitorBlargh",
"valves",
"VehicleSnap",

7 months ago

For Example:
Light Cannon Turret (Backline)
Minimum Range: 30.0
Range: 50.0
But Ammo Only has
Projectile Range: 27

Shall Tank Platoon limits cannon shell range to 27, causing the issue.

7 months ago
(updated 7 months ago)

Oh thanks for finding that out, so everything is ok with your mod, good :)

Inside the data-updates.lua of Schall Tank Platoon are the values to change the range under:
"-- Have max_range matching the tank cannon" if anyone need that info in the future.

4 months ago
(updated 4 months ago)

Hi I'm having the same issue while running the latest on both mod and base.

Example: twin light turret (frontline)
Min range: 25
Max range: 60

Ammo has projectile range 50 (standard cannon shell).
All tech researched (rocket race mode).

Many thanks

Mods:
base
aai-containers
aai-loaders
aai-programmable-vehicles
aai-signals
aai-vehicles-flame-tank
aai-vehicles-flame-tumbler
aai-vehicles-hauler
aai-vehicles-ironclad
aai-vehicles-laser-tank
aai-vehicles-miner
aai-vehicles-warden
Aircraft-space-age
armoredWall
atomic-artillery-reborn
bigger-artillery
Brighter-Lamps
BuilderBotStart
car-finder
CleanedConcrete
deep-storage-unit
EditMapSettings
factoryplanner
flib
Flow Control
fluid-memory-storage
FluidMustFlow
informatron
kry_stdlib
large-storage-tank
LargeLamp
lex-aircraft
light-overhaul
Mining_Drones
NapalmArtillery
Noxys_Trees
OmegaDrill
Power Armor MK3
modular_turret_repeatables
RailSignalPlanner
RampantFixed
RealisticDecorationCleanup
reverse-factory
RPGsystem
SA-AtomicTank
scattergun_turret
SchallRadioactiveWaste
simple-wood-liquefaction
snouz-big-accumulator
SuperTanks-1
SurvivalGear
valves
vtk-cannon-turret
vtk-deep-core-mining
Warehousing
Waterfill_v17
WipMod_TA-miners
Wood_Gasification_updated

4 months ago

Lex's Aircraft sets cannon ammo range to 50.

4 months ago

Damn! I tried to look around to find if any of those was doing that, didn't expect to be the aircraft mod. Many thanks for your help you're invaluable as usual!

New response