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
2 months ago
2.0
5.45K
Combat

g [Done] Hide ranks in Factoriopedia

4 months ago

Hi!
Is it possible to add an option that will hide all turrets with ranks in factoriopedia? I don't know exactly with which update they appeared, but they definitely weren't there before :)
The problem is that now it has become very difficult to find the right turret icon, because there are so many of them :)

4 months ago

Hey Hoochie,

I’ve always noticed them in there in sandbox mode. I’ll have to see if there is an option to remove them , but then you wouldn’t be able to select a specific rank to place down if you wanted to.

The way the mod is setup is that each turret rank is technically a new entity.

4 months ago

Yes, I noticed that you can view any rank as a separate turret, its characteristics, and that's how I figured out that these are entities.
I suggested the option because some users might need it, and so everyone can enable the display of these ranks in the settings.
As far as I know, there is a prototype parameter that hides them in the factoriopedia: hidden_in_factoriopedia, maybe that's it :)

4 months ago
(updated 4 months ago)

Hey Hoochie, no idea why but I cannot remove the entity. I did remove the recipes from the factoriopedia so that is something (they didn't do anything anyway)!

4 months ago
(updated 4 months ago)

I experimented a bit and managed to hide all the extra turrets. Including entities.

Added the parameter hidden_in_factoriopedia = true to the types.lua file:

Line 286 - item_with_tags.hidden_in_factoriopedia = true
Line 622 - hidden_in_factoriopedia = true, (in local item)
Line 638 - hidden_in_factoriopedia = true, (in local item_with_tags)
Line 661 - hidden_in_factoriopedia = true, (in local recipe)
Line 809 - entity.hidden_in_factoriopedia = true (next to localised_name)

4 months ago

Sheesh Hoochie you better than me at this. I’ll take a look

2 months ago

Chef, hello!
In the next release, please make changes so that tower ranks are not visible in the Factoriopedia :)

2 months ago

NEVER!!!...

Just kidding, it's done :D

Sorry, I was considering if I wanted to even do this as having them show up in the Factoriopedia allows you to check the range and shooting speed per rank.

2 months ago
(updated 2 months ago)

:))) Then maybe this option will be suitable as a solution
Create a new group and subgroup, and register it for ranked turrets, let it be on a separate tab in the crafting menu.
And add a setting that either hides the group or shows it, and the user can decide whether he needs detailed statistics on turrets

Hmm... Either I'm doing something wrong, or the parameter for the group doesn't work, or rather the group isn't hidden according to some rules

2 months ago

Aha, that's how it works now :)
Here's the link - affected files:
1. locale - en - locale.cfg
2. prototypes - scripts - types.lua
3. settings.lua

https://drive.google.com/file/d/1qpaeOscX8VXXXkUtiNAF5UO4ZschDMj3/view?usp=sharing
Take a look, maybe this option will be suitable for users to choose from :)

New response