⚠️ SearchlightAssault ⚠️


Adds a game map and searchlights which sweep for foes at great range, alerting you while directing adjacent turrets to snipe spotted foes. Designed to dovetail with the early-mid game, searchlights provide: - Circuit network interfaces for search & detection I/O - Incentive to automate lamp & combinator production in the early game - New tactics to assault biter bases without leap-frogging turrets!

Content
26 days ago
1.1 - 2.0
15.5K
Combat

g Lag spikes when copying entities

a month ago

When copying or cutting an entity and obtaining it as a blueprint item, the game freezes for about 4 seconds. There does not seem to be any lag when using editor mode or remote view. If you specify a file sharing service, I can also send you my save data.
This phenomenon occurred suddenly, so I don't know the specific cause, but I would be happy if it could be resolved.

a month ago
(updated a month ago)

Thanks for reporting this! I'm not able to replicate this, sending me a save file would be appreciated

a month ago

Thank you, I have identified the problem, it is with my code.

BACKGROUND INFO:
Because this mod has to use hidden entities to make much of its functionality work, and those hidden entities are not meant to be built by the player, the mod scans blueprints in your inventory to purge those hidden entities. (There's not really much of a better way to deal with this problem, since the game's logic surrounding blueprints is very complex)

Several of your blueprints in inventory are over 20 MB large, and scanning them causes lag spikes.
Putting those blueprints into a chest or the blueprint library removes the lag, since only "finalized" blueprints can be put in those places, and thus the mod doesn't need to scan them.

I will work on optimizing the logic of my mod to improve performance regarding large blueprints, and maybe see if I can come up with a system to only scan relevant blueprints. This might take some time, but I have a day off this weekend I can try to work on it.

WORK AROUND:
In the meanwhile, you can avoid the lag spikes by storing blueprints & blueprint books in your blueprint library. They can still be assigned to hot bar slots.

a month ago
(updated a month ago)

Thank you for identifying the cause. For the time being, we have decided to move everything to the Blueprint Library.
I hope the development of the new scanning system will be successful. Thank you for maintaining such a great mod!

New response