Desynced

Desynced

Not enough ratings
CopyFactory (Multi-building blueprints)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
12.698 KB
Oct 20, 2023 @ 9:14am
Dec 16, 2023 @ 10:16am
9 Change Notes ( view )

Subscribe to download
CopyFactory (Multi-building blueprints)

In 1 collection by sacroimper
Sacroimper's Desynced mods
11 items
Description
This mod lets you copy and paste multiple buildings at a time. And also lets you save multi-building blueprints to the Library.

Copy & Paste

For the copy and paste functionality, there are 3 types of placing the copied buildings:
  • Relative (Rel): Paste with relative links to the new entities. All registers that contain selected buildings will be updated to the new buildings.
  • Original (Orig): Paste with links to the original entities. All registers that contain entities will be preserved.
  • Reset (Reset): Paste reseting entity links (only the references between the selected entities). All registers that contain selected buildings will be empty.

The buttons are located at the bottom left of the screen when more than one unit is selected.

Library

'CopyFactory' blueprints can be stored into the Library by selecting multiple buildings, using the copy button or by importing from text (like blueprints and behaviors). Blueprints built from the Library will always keep their relative links.

Behavior Instructions

  • Place Constructions (CopyFactory): Places a construction site for each building in the CopyFactory blueprint.
  • Check CopyFactory: Checks if a construction site is part of a CopyFactory blueprint
  • Loop Constructions (CopyFactory): Performs code for all Construction sites that are part of the same multi-building blueprint as the input


Additional notes

All buildings will be built at the same time when all the constructions sites are ready. Visual register will change to green when ready, and to yellow when some unit is preventing the construction.

Compatible with Behavior Manager

Known limitations:
  • Only buildings that can be made into blueprints can be copied
  • The visuals while pasting don't match the buildings
  • No upgrade functionality
  • More than 100 buildings at a time may cause some lag or 1-2 seconds freeze while constructing the buildings. I've decided not to limit the number of buildings, but use it with responsibility.
  • Bigger factories may need some help to disband the bots from the construction sites.

Future functionality:
  • Library folders
  • ...
7 Comments
Jose Gaspar Dec 16, 2023 @ 9:48pm 
Missed this from another game I was playing. Great Mod, like how all the buildings hold off until they are all ready to be finished, no running around making sure inside ones are placed before outside ones. The repeating progress bars when complete and holding for other buildings was a little jarring, but that is only if you are watching that building.
sacroimper  [author] Dec 10, 2023 @ 3:38pm 
Updated. Now it's possible to place and loop multi-building blueprints in behaviors.
shanliang_1996 Nov 3, 2023 @ 9:03am 
wow!I used to think that c&v was only for copy component settings. Thanks:steamthumbsup:
sacroimper  [author] Nov 3, 2023 @ 1:42am 
You can copy/paste single buildings without mods. Press C while hovering a building to copy and V on an empty tile to paste.
shanliang_1996 Nov 2, 2023 @ 6:16pm 
This mod works well and very useful. Could you add a function can copy singles building? Because it is cumbersome for me to often create and name blueprints that are not commonly used
ninjja Oct 23, 2023 @ 12:09pm 
Great Mod:steamthumbsup:
sacroimper  [author] Oct 23, 2023 @ 9:51am 
Updated, CopyFactory blueprints now can be stored in the Library and shared via text.