-
Notifications
You must be signed in to change notification settings - Fork 4
Textures
Textures are the simplest type of mod, you can add any texture to the game by putting an image (preferably png) inside your texture folder.
Textures are generally 64x64px per cell, this means a simply object covering one cell will have a graphic size of 64x64, an object that is 4 cells wide but only 1 cell high (like a bench) will have 256x64px.
Graphics can be bigger than the object itself, if you want to have some overhang on the top (like an ad display) you can just make the image bigger (e.g. 64x100px).
Two important things to note:
-
Textures are loaded onto a texture atlas to improve performance, there will be one atlas for all modded textures (we may increase this if necessary), if the textures can not be packed onto the atlas in their original size they'll be scaled down.
-
The game will load your textures under their file name, "MyCustomBench.png" will be accessed in game using "MyCustomBench", this means two mods with the same texture name will conflict (the one that is loaded first will get priority). This also applies to existing graphics, if your texture is named the same as an existing texture in SimAirport the mod texture will take priority effectively overwriting the game texture.