Empyrion - Galactic Survival

Empyrion - Galactic Survival

Dragonmede Jan 4, 2023 @ 4:45am
Forbidden Block Removal
Is there an easy way to clear Forbidden Blocks from outdated BP's so that I can update and use them?
Originally posted by japp_02:
I have made notes about this, I hope this helps you:

--------------------------------------------------------
Remove or replace forbidden blocks, or replace regular blocks with other ones
Some blueprints from existing legacy ships or bases may contain so called 'forbidden blocks' that will forbid you to build the blueprint with the factory. Still you can spawn the BP with the sbp command. The Blueprint will appear in a red name and you get the message about forbidden blocks. Do the following to purge all hidden blocks from your BP and make it a regular BP:

First, type in the command

prefabinfo [Blueprint Name] -full

to get the info about the blocks and their names, also those which are forbidden in your BP. If your blueprint name has more than 1 word, use its name in single quotations, like

MyBlueprint > 1 word, enter as is
'MyBlueprint 123' > 2 words separated with space, use single quotations.

IMPORTANT:
The prefabinfo commands work only with custom-saved blueprints, not with blueprints directly from the Workshop!

Second, Now that you know the name of the forbidden blocks, spawn your BP with the sbp command and get its ID with the di command. Let's say the ID is 7195. Let's also say that the forbidden blocks are called MarkerBlock.

Now, enter the command

replaceblocks 7195 MarkerBlock empty

This will simply delete all MarkerBlocks in your BP and turn your blueprint from a red name in the list into a regular name which now can be used in the factory during game.

The 'replaceblocks' command can also be used to replace any regular block with another as long as you know the block names as they appear in the prefabinfo xxx -full command. The command is:

replaceblocks <entityid> <source blockname> <target blockname> <optional: index name>

----------------------------------------------------------------------------
< >
Showing 1-2 of 2 comments
The author of this thread has indicated that this post answers the original topic.
japp_02 Jan 4, 2023 @ 5:18am 
2
I have made notes about this, I hope this helps you:

--------------------------------------------------------
Remove or replace forbidden blocks, or replace regular blocks with other ones
Some blueprints from existing legacy ships or bases may contain so called 'forbidden blocks' that will forbid you to build the blueprint with the factory. Still you can spawn the BP with the sbp command. The Blueprint will appear in a red name and you get the message about forbidden blocks. Do the following to purge all hidden blocks from your BP and make it a regular BP:

First, type in the command

prefabinfo [Blueprint Name] -full

to get the info about the blocks and their names, also those which are forbidden in your BP. If your blueprint name has more than 1 word, use its name in single quotations, like

MyBlueprint > 1 word, enter as is
'MyBlueprint 123' > 2 words separated with space, use single quotations.

IMPORTANT:
The prefabinfo commands work only with custom-saved blueprints, not with blueprints directly from the Workshop!

Second, Now that you know the name of the forbidden blocks, spawn your BP with the sbp command and get its ID with the di command. Let's say the ID is 7195. Let's also say that the forbidden blocks are called MarkerBlock.

Now, enter the command

replaceblocks 7195 MarkerBlock empty

This will simply delete all MarkerBlocks in your BP and turn your blueprint from a red name in the list into a regular name which now can be used in the factory during game.

The 'replaceblocks' command can also be used to replace any regular block with another as long as you know the block names as they appear in the prefabinfo xxx -full command. The command is:

replaceblocks <entityid> <source blockname> <target blockname> <optional: index name>

----------------------------------------------------------------------------
Dragonmede Jan 4, 2023 @ 6:55am 
Thank you for this. I tried searching the forum and the guides, and could not find much on the topic. I have some older 1.6 BP's I want to update, and apparently some of the Base & CV bps have SV blocks mixed in. Probably some Block I.D.s have changed over time. This will be a big help.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jan 4, 2023 @ 4:45am
Posts: 2