
- #Scrap mechanic maps install how to#
- #Scrap mechanic maps install mod#
- #Scrap mechanic maps install code#
But to add a title and description to your block you need navigate to Gui>Language>English map. json file you can finally enter the game and see the block ingame. json files see "Block list functions" further down
#Scrap mechanic maps install how to#
physicsMaterial: You can change collision sounds and effects by changing the material type.įor more in-depth information on how to edit.Example, if your texture is 512x512 the correct tiling number would be 4. Tiling: This numbers tells the material how many blocks you can draw in a line before the texture repeats.Example: A part with a volume of 8 blocks, with the density set to 250 will weigh 2000, but will still count as light weight. 250 is light weight, 500 medium weight and 1250 is heavy weight. density: This is the volumetric weight of one block.
#Scrap mechanic maps install code#
You can get the colour code you want from the colour picker in Photoshop or a website that generate colour codes. color: This colour code tells the game what default colour your block/part will have.For example if your texture is in PNG format it must say ".png". It's important that the textures are named correctly all dif textures must end with "_dif " etc. dif/asg/nor: Is where you put in the names of your textures.UUID: Every block/part has each own specific ID called UUID, no two blocks or parts share the same uuid.Let's go through each of these functions: The text marked with yellow is where you need to change it to match your files. STEP 5: Now it's time to add the proper information in your. Now replace the text in your blocks.json file. Open the "block examples" text document and copy its contents. To make this easier we have included a text documents that you can use as a template. It should be pretty empty, you need to add the proper information to define your new block.
#Scrap mechanic maps install mod#
Since we're making a block mod open the blocks.json file. json files, one for blocks and one for parts.
