This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
besiege:modding:xml-elements:block [2018/06/27 15:05] spaar |
besiege:modding:xml-elements:block [2018/07/20 09:26] (current) spaar [IconTexture] |
||
---|---|---|---|
Line 143: | Line 143: | ||
In addition to the normal block visual, it is possible to include additional objects in the block icon. | In addition to the normal block visual, it is possible to include additional objects in the block icon. | ||
- | ==== IconTexture ==== | ||
- | == (Texture) (optional) == | ||
- | |||
- | <code xml> | ||
- | <IconTexture name="some-texture-name" /> | ||
- | </code> | ||
- | |||
- | The game uses 2D textures in the machine info list. A texture for this will automatically be generated for each block, however it is possible to specify a texture to be used instead using this element, if the generated texture is not sufficient. Must be a 256x256 image to work correctly. | ||
==== Arrow ==== | ==== Arrow ==== |