Results 1 to 2 of 2

Thread: Need help creating a new building

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Need help creating a new building

    Hello

    Does anyone know how you can create a new building? I tried it but I had no success. Here's what I did:

    export_descr_buildings.txt;
    building hospitals
    {
    levels hospital
    {
    hospital requires factions { greek, roman, }
    {
    capability
    {
    population_health_bonus bonus 3
    }
    construction 1
    cost 1600
    settlement_min city
    upgrades
    {
    }
    }
    }
    plugins
    {
    }
    }

    export_descr_buildings_enums.txt;
    hospital
    hospital_desc
    hospital_desc_short
    hospital_barbarian_desc
    hospital_barbarian_desc_short
    hospital_carthage_desc
    hospital_carthage_desc_short
    hospital_eastern_desc
    hospital_eastern_desc_short
    hospital_parthia_desc
    hospital_parthia_desc_short
    hospital_egyptian_desc
    hospital_egyptian_desc_short
    hospital_greek_desc
    hospital_greek_desc_short
    hospital_roman_desc
    hospital_roman_desc_short

    text\export_buildings.txt;
    {hospital} err

    {hospital_desc} err

    {hospital_desc_short} err

    {hospital_barbarian_desc}
    err

    {hospital_barbarian_desc_short}
    err

    {hospital_carthage_desc}
    err

    {hospital_carthage_desc_short}
    err

    {hospital_eastern_desc}
    err

    {hospital_eastern_desc_short}
    err

    {hospital_parthia_desc}
    err

    {hospital_parthia_desc_short}
    err

    {hospital_egyptian_desc}
    err

    {hospital_egyptian_desc_short}
    err

    {hospital_greek_desc}
    A hospital

    {hospital_greek_desc_short}
    A hospital

    {hospital_roman_desc}
    A hospital

    {hospital_roman_desc_short}
    A hospital

    When I tried to start my game it crashed to desktop without any error.

  2. #2

    Default Re: Need help creating a new building

    After looking in export_buildings.txt I found out that I had to add the following:
    {hospitals_name}
    Hospitals - improve city health

    Now I can build them in my game, I just need to make a couple of images

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO