Space Engineers

Space Engineers

Not enough ratings
Disable Vanilla Blocks - Space Engineers
By Yinxo
Disable vanilla blocks totally !!!

oaky they are not disabled.... but hidden like a monolith!!!

- Not available, to any player !!!
- Not visible
- Not buildable
- Not searchable

so in other words... its like disabled.

- no need of extra components ( like any admin components )
   
Award
Favorite
Favorited
Unfavorite
How it Works !
Well i guess the easiest way to explain waht is happening is to see some screenshots...


--------------------------------------------------------------------------------------------------
Waht to do !
As above, see the pictures, they explain everything in the easiest way !!!

Picture 1.1
This is the definitionpart of the "basic Refinery" in the file "Cubeblocks_Production.sbc"


1.1
--------------------------------------------------------------------------------------------------------------------------------

Picture 2.2
This is the added-custom "BlockVariantGroup" in the file "BlockVariantGroups.sbc
1.1
--------------------------------------------------------------------------------------------------------------------------------

Picture 2.2
This is the added-custom "BlockVariantGroup" in the file "BlockVariantGroups.sbc

2.2
Review
I've asked many modders and in forums, how to disable a vanilla block completly...

the answer were mostly, that it's not realy possible anymore, since the last bigger update.

Well I#ve tried a lot to make it work but most times i was kicked back.. since i want it perfectly disabled i did not give up, and found this solution.

if you only use <Public>false</Public> to hide the block, he's still usable and placeabl.
It's just vanishd "slightly" from the G-menu but it's still there and easy to finde, because left behind is a grey box without the icon in it.

share this for cleaner G-menues !!!

thanks Your Captain Kazur / aka Yinxo
15 Comments
FartyParty 20 Jul, 2022 @ 10:17am 
This is very nice for dedicated servers that want to limit certain blocks. Thank you!
Yinxo  [author] 5 Apr, 2020 @ 3:34am 
i'm only making my own stuff, when it comes to blocks ^^ all fine thanks
hellby-[OIG] 4 Apr, 2020 @ 7:41am 
yes, but call it with a other name or it will replace the original, and add in it only your necessary group, care if a other mod use this ...
Yinxo  [author] 4 Apr, 2020 @ 7:18am 
ohh thanks a lot :) this is a good way to have it more clean and easy for reworking!

will use it in my reworking process for my world ^^

so just need blockvariantgroup.sbc to disable blocks you don't want ^^
hellby-[OIG] 4 Apr, 2020 @ 3:45am 
without modify the BlockVariantGroups.sbc, you can use the previous version of it, in your bloc definition you can add directly BlockVariant tag

for exemple i make a windturbin x5 and x10, i put that in a folder superwindturbin_cubesblock.sbc, in the definition of one of it you add :

<BlockVariants>
<BlockVariant>
<TypeId>WindTurbine</TypeId>
<SubtypeId>LargeBlockWindTurbine</SubtypeId>
</BlockVariant>

<BlockVariant>
<TypeId>WindTurbine</TypeId>
<SubtypeId>LargeBlockWindTurbineX10</SubtypeId>
</BlockVariant>
</BlockVariants>
Yinxo  [author] 4 Apr, 2020 @ 3:00am 
When you want to add it to the wheel function, there is no way around to edit the BlockvariantGroups.sbc. add the new block like: Refinery 1, Refinery2 etc..

If you just want to replace the Block just replace the refinery in the Cubeblocks (don't change any Subtype or TypeID and its automaticly replaced and is added to Variant function.)
Yinxo  [author] 4 Apr, 2020 @ 2:57am 
well why disabling the reffinery then ? instead use the Vanilla SubtypeID and typeID and replace the refinery with your new one. theres no need of disabling a block if you just want to replace it!

only disable blocks you realy dont want to have in the game!
hellby-[OIG] 3 Apr, 2020 @ 1:35pm 
i have a question, how to do the reverse process ?
i create a new block, a new reffinerie for uranium only for exemple, how to add it to a block category without modify BlockVariantGroups.sbc to select it with the scroll wheel when a select a refinery ?
Yinxo  [author] 1 Apr, 2020 @ 11:09pm 
Perfectly thanks for the Feedback!:steamhappy: