Skip to content
codebyfire edited this page Oct 5, 2020 · 3 revisions

Welcome to the mod-content-creator wiki!

Prefabs

Custom prefabs are currently supported for:

  • Buildings
  • Resources
  • Animals

Naming

Prefabs need to have a prefix followed by their game ID. For example, building_200 or resource_201.

Buildings

Name Prefix

building_ e.g. building_200

Content

Buildings need child GameObjects with specific names to tell the game how to use the building prefab.

  • Main_L1 - active state for Level 1
  • Construction_L1 - construction state for Level 1

Boats

Name Prefix

boat_ e.g. boat_200

Content

Boats need child GameObjects with specific names to tell the game how to use the boat prefab.

  • Main - active state
  • Construction - construction state
  • ResourceHolder - location for resource storage
  • UnitHolder - location for the captainbot to stand

Resources

Name Prefix

resource_ e.g. resource_200

Animals

Name Prefix

animal_ e.g. animal_200

Clone this wiki locally