Desynced

Desynced

28 ratings
CopyFactory (Multi-building blueprints)
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
14.258 KB
Oct 20, 2023 @ 9:14am
Mar 10 @ 10:51am
11 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

For any comment or bug report check this mod channel in the Official Desynced Discord[discord.com]

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
  • ...
18 Comments
crashfly May 24 @ 7:28pm 
it looks like the "copy" function for multiple buildings is not working at this time in the experimental version. additionally, saved factory blueprints do not get reconnected which may be caused by the buildings being completed individually instead of all together.

not sure if you are even supporting the experimental branch, but i thought you should know.
crashfly Mar 14 @ 5:53pm 
outside of the previous request, the "nanobot firewall" does not actually protect the unit from the virus in the latest version. my units going past a 'glitched bot' still got infected. irony is that most of my base {buildings and all} got infected that way. fyi
crashfly Mar 13 @ 6:56pm 
a small request if possible, can you add folders to file the prints in. i have several versions of each factory depending on how far into the game i am. a basic "starter" factory and then later with better buildings i have an "upgraded" factory.

however the main issue with this is that these are just one long list. it would be convenient to file into folders like the behaviors and single building blueprints.
crashfly Mar 10 @ 4:25pm 
awesome.
thank you for that update. this mod truly is a necessary mod for this game.
it makes doing "replays" so much more convenient. :steamthumbsup:
ManaTheGentlefox Mar 10 @ 1:20pm 
Thank you so much, this really should be vanilla feature
sacroimper  [author] Mar 10 @ 10:59am 
One of the reasons to have the "building disabled" feature was just what you are trying to do. I've pushed an update to fix this behavior. Now you should be able to build a blueprint if all not-unlocked buildings are disabled.

Thanks for spoting this out.
crashfly Mar 9 @ 10:35am 
so i have a problem with being able to place copies of factories that have a single building that has not been researched yet {larger storage at the end}. i have gone into the blueprint and disabled that building, but i still cannot place the blueprint. is this by design? and if it is, can the option to delete a building from a blueprint so it can be added to the mod?
sacroimper  [author] Jul 18, 2024 @ 12:20am 
You may need to join the Desynced Discord first: https://discord.gg/vJzMxBTFFP
pidoux75 Jul 17, 2024 @ 10:37am 
Hello, I've tried your link but apprently it doesn't work.
sacroimper  [author] Jun 29, 2024 @ 8:03pm 
Hi, I'm trying to reproduce the error but its working as expected in my case. With multi-building paste it shoud be doing the same checks as normal C/V, but for all the buildings. Is it possible that one of the buildings cannot be placed for a different reason?

If you can place all the individual buildings in their respective places with C/V, could you share with me your save, blueprint and coordinate? It would be better in the official Desynced Discord ( https://discord.com/channels/426249804981600259/1164970384848851015 ).