Deleting invisible blocs by command line ?

Discussion in 'General Discussion' started by megs, May 26, 2022.

  1. megs

    megs Lieutenant

    Joined:
    Mar 14, 2019
    Messages:
    31
    Likes Received:
    6
    hi,
    i convert a poi to a base by changing his hearth, but there are three invisible spawner i want to erase.... how can i do this without getting blue print edit in build mode, saving it and repast it. By command line ? how?

    thanks in advance.
     
    #1
  2. japp_02

    japp_02 Commander

    Joined:
    Feb 11, 2021
    Messages:
    524
    Likes Received:
    200
    prefabinfo [Blueprint Name] -full
    to get the info about the blocks and their names, also those which are forbidden in your BP
    The prefabinfo commands work only with custom-saved blueprints, not with blueprints directly from the Workshop!

    Get your blueprint 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.
     
    #2
  3. megs

    megs Lieutenant

    Joined:
    Mar 14, 2019
    Messages:
    31
    Likes Received:
    6
    not basicaly i wanted, but do the job, thanks
     
    #3
  4. japp_02

    japp_02 Commander

    Joined:
    Feb 11, 2021
    Messages:
    524
    Likes Received:
    200
    The 'replaceblocks' command is limited, you cannot replace everything, especially not blocks that don't belong to your current type of construction for the core you've installed, vehicle or base, but you can delete the blocks.
    There are various tutorials for transforming ships into bases and vice-versa, search for them, also in youtube videos. Hopefully someone will post one here.
     
    #4

Share This Page