🔬
Urbek City Builder: Modding Doc
  • Urbek City Builder: Modding
  • Getting Started
    • Creating Your First Mod
    • How to use JSON
    • Make a 3D Model
    • Mod Folder Structure
  • Guides
    • Adding Constructions
    • Adding Models
    • Replace Models
  • In depth knowledge
    • Structure Model Format
    • Structure Attributes
      • Appearance
      • Availability & Unblock
      • Identification
      • Placement
      • Paths
      • Policy
      • Resources
      • Sound
      • Upgrades & Abandon
    • In-Game Data Names
      • Biomes
      • Building Category
      • Building Names
        • Map 0 - Temperate
        • Map 1 - Desert
        • Map 2 - Archipel
        • Map 3 - Forest
        • Map 4 - Ruins
      • Global Variables
      • Local Variables
      • Resources
Powered by GitBook
On this page
  • Identification
  • Category - category
  • Code Name - codeName
  • Name - name
  • Show Buildable - showBuildable
  • Text - text
  • Strategic View
  • Color - color
  1. In depth knowledge
  2. Structure Attributes

Identification

PreviousAvailability & UnblockNextPlacement

Last updated 2 years ago

Identification

Category - category

Building category of the building.

Mandatory attribute: Every building must have this attribute set to work, or as root a building having it.

Attribute Type: Category Name

The list of Category names can be found there:

Code Name - codeName

ID of the building, must be unique.

Mandatory attribute: Every building must have this attribute set to work.

Attribute Type: String

Name - name

Name of the building.

Attribute Type: String

Show Buildable - showBuildable

Will show the description and specifications of the desired building.

Attribute Type: Building Code Name

Text - text

Description of the building

Attribute Type: String

Strategic View

Color - color

Define the color of the tile when using the strategic view.

Attribute Type: String as hexadecimal format. Example: "C4C4C4".

Update From

Original: Building you are wishing to add this to as update.

Mode:

  • After: Will be placed as update priority after reference.

  • Before: Will be placed as update priority before reference.

  • First: Will be placed as first update priority.

Reference: Existing update of the original, unneeded if you use as First as mode.

Examples:

  • Upgrade after city2 for the building pobla:

UpgradesFrom: [“pobla,after,city2”]
  • Upgrade before pechonhos for the building pobla:

UpgradesFrom: [“pobla,before,pechonhos”]
  • Upgrade as first priority for the building ciudad:

UpgradesFrom: [“poblaPobre,first”]
Building Category