All translations
From Vintage Story Wiki
Enter a message name below to show all available translations.
Found one translation.
Name | Current message text |
---|---|
h English (en) | If an asset wishes to use a certain shape or texture, then it must specify this within its json file. Replace your current itemtype json with the following:<syntaxhighlight lang="json"> { "code": "simplewand", "creativeinventory": { "general": [ "*" ] }, "texture": { "base": "item/simplewand" }, "shape": { "base": "item/simplewand" } } </syntaxhighlight>Two new properties have been added - ''texture'' and ''shape.'' Remember that the shape is a 3D representation of our item, and the texture is a 2D image that is mapped onto our shape, and we should include both to ensure our item is rendered correctly. It may seem confusing that both the texture and shape values appear to be the same, but the game looks for these in different places. To find shapes, the game automatically looks in the mod's ''shapes'' folder, whereas for textures it looks in the mod's ''textures'' folder. |