HeroTurrets_Redux


Turrets are built using salvaged self-learning AI tech from your ship allowing them to get deadlier with practice. Extends turrets via ranking system based on kills. Turrets are generated and are not limited to vanilla turrets, identifiable by overlaid rank insignia. Rank buffs individual turrets.

Content
a day ago
2.0
2.15K
Combat

b [Fixed] __HeroTurretRedux__/prototypes/scripts/types.lua:499: bad argument

a month ago

Hi!
HeroTurretRedux/prototypes/scripts/types.lua:499: bad argument #1 of 3 to 'insert' (table expected, got nil)
stack traceback:
[C]: in function 'insert'
HeroTurretRedux/prototypes/scripts/types.lua:499: in function 'local_create_turret'
HeroTurretRedux/prototypes/scripts/types.lua:734: in function 'local_create_turrets'
HeroTurretRedux/prototypes/scripts/types.lua:747: in main chunk
[C]: in function 'require'
HeroTurretRedux/data-final-fixes.lua:6: in main chunk

a month ago

Thanks!

Are you running any other mods?

a month ago
(updated a month ago)

Yes, there are a lot of other mods. There are probably 5-7 other mods with turrets.
Do you think there is a conflict with other mods?

a month ago
(updated a month ago)

For sure. It seems one of the other mods is adding a weapon that it can’t add the level badge to.

I’ll add a fix for that to skip those for now. Will be later this afternoon .

If you could list any weapon mods you have added that would help me out! ( besides Rampant Arsenal)

a month ago
(updated a month ago)

It turned out to be a little more :)
This is without weapons, just everything related to turrets.

  1. https://mods.factorio.com/mod/flamethrower-wagon - adds a flamethrower wagon
  2. https://mods.factorio.com/mod/James-Train-Mod - adds artillery wagon levels and electric artillery wagons
  3. https://mods.factorio.com/mod/electric-trains - adds an artillery wagon
  4. https://mods.factorio.com/mod/Armored-train - adds different turrets that can be placed on the train platform.
  5. https://mods.factorio.com/mod/scattergun_turret - adds modular turrets
  6. https://mods.factorio.com/mod/Repair_Turret - adds a repair turret
  7. https://mods.factorio.com/mod/vtk-cannon-turret - adds multiple turrets
  8. https://mods.factorio.com/mod/LR_Turret_Redux - adds a long range turret
  9. https://mods.factorio.com/mod/ch-concentrated-solar - adds a solar turret
  10. https://mods.factorio.com/mod/ShockTurret3 - adds a shock turret
  11. https://mods.factorio.com/mod/naval-turrets - adds many different turrets
a month ago

Thank you so much! This is one of my favorite mods for Factorio and I’m glad to see others try and use it.

This helps me a lot. I’ll get it fixed ASAP.

a month ago

Discovered the issue. The concentrated Solar was the problem... I'm going to have to add an exception to skip this mod as it just doesn't work even when it can be a hero turret. Something to do with the solar panels.

a month ago

It's really cool of you that you found the problem and are fixing it.
Thank you for your promptness! Today you are my hero :)))))

a month ago
(updated a month ago)

Just pushed the new build. LMK if that fixes it for you! Again, the Concentrated solar turret is not going to be a hero turret. It just functions too differently from other turrets, but the mod should be fine with the hero turret mod.

Thanks for downloading!

New response