ModBuildings: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
=JSON=
=JSON=
see [[ModRequirementsTable|Table of requirements values]] for list of values used in buildings baseoffsets (tiles)
see [[ModRequirementsTable|Table of requirements values]] for list of values used in buildings baseoffsets (tiles)
==Assets==
===Icon===
image file naming convention: ''building_200_L1.png'', ''building_200_L2.png''<br>
image file should be 128x128 pixel size with transparent background<br>
Example file: [[File:Building_Bakery.png|64px|Bakery]]
===3D Models===
[https://github.com/codebyfire/mod-content-creator Github3DModels]<br>
For building selection. a collider should be sized and placed in the building to allow selection but not cover any resources inside the building that may need selection. <br>
For buildings that adjust unit vertical location (such as Watchtowers), a collider should be added within the game object for the building level and placed on Layer 8 (FLoor)

Revision as of 20:56, 13 January 2022

Mod Buildings Translation.csv

List of fields used in translation.csv for Buildings

Buildings Translation

placeholder for now - to link to translation.csv for Buildings

Add other Building specific info later

Mod Building

JSON

see Table of requirements values for list of values used in buildings baseoffsets (tiles)

Assets

Icon

image file naming convention: building_200_L1.png, building_200_L2.png
image file should be 128x128 pixel size with transparent background
Example file: Bakery

3D Models

Github3DModels
For building selection. a collider should be sized and placed in the building to allow selection but not cover any resources inside the building that may need selection.
For buildings that adjust unit vertical location (such as Watchtowers), a collider should be added within the game object for the building level and placed on Layer 8 (FLoor)