Results 1 to 6 of 6

Thread: converting cities to castles

Hybrid View

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

    Icon5 converting cities to castles

    Is there a way to convert Huge Cities to Citadels. What do I need to do with the EDB?

  2. #2
    The Count(er)'s Avatar Protector Domesticus
    Join Date
    May 2008
    Location
    Canada
    Posts
    4,134

    Default Re: converting cities to castles

    can you be more specific on what exactly your trying to do as I can already think of 3 different things that I can tell you how to do with a statement like that
    Quote Originally Posted by Chaigidel View Post
    everyone but me is wrong.
    Ego's are fun

  3. #3

    Default Re: converting cities to castles

    Ok, we all know that we can convert castle to town and town to castle, but I want to convert Large cities and Huge cities to fortresses and Citadels. It's the convert button on the building scrolls, it will disappear when I upgrade my town to a large city. I want to make a new one that converts Large cities and Huge cities to fortresses and Citadels.

  4. #4
    The Count(er)'s Avatar Protector Domesticus
    Join Date
    May 2008
    Location
    Canada
    Posts
    4,134

    Default Re: converting cities to castles

    Well all I think you need to do is add this line to the other wall and castle levels while changing the number value(I don't edit buildings much so I think that should do it but I'm not 100% sure)
    Code:
    building core_building
    {
        convert_to core_castle_building
        levels wooden_pallisade wooden_wall stone_wall large_stone_wall huge_stone_wall 
        {
            wooden_pallisade city requires factions { northern_european, mesoamerican, middle_eastern, eastern_european, greek, southern_european, } 
            {
                convert_to 1
                capability
                {
                    wall_level 0
                    tower_level 1
                    free_upkeep bonus 2
                    happiness_bonus bonus 1
                    recruitment_slots 1
                }
                material wooden
                construction  3 
                cost  800 
                settlement_min village
                upgrades
                {
                    wooden_wall
                }
    Quote Originally Posted by Chaigidel View Post
    everyone but me is wrong.
    Ego's are fun

  5. #5

    Default Re: converting cities to castles

    Well, it didn't work. Any ideas?

  6. #6

    Default Re: converting cities to castles

    I think you may need to add to the section at the bottom as well,
    Spoiler Alert, click show to read: 

    building convert_to_castle
    {
    convert_to convert_to_city
    levels village_to_wooden_castle small_town_to_stone_keep large_town_to_castle city_to_fortress
    {
    village_to_wooden_castle city requires factions { denmark, hre, scotland, france, england, mesoamerican, middle_eastern, eastern_european, greek, southern_european, }
    {
    convert_to 0
    capability
    {
    }
    material wooden
    construction 1
    cost 800
    settlement_min village
    upgrades
    {
    small_town_to_stone_keep
    }
    }
    small_town_to_stone_keep city requires factions { denmark, hre, scotland, france, england, mesoamerican, middle_eastern, eastern_european, greek, southern_european, }
    {
    convert_to 1
    capability
    {
    }
    material wooden
    construction 1
    cost 1600
    settlement_min town
    upgrades
    {
    large_town_to_castle
    }
    }
    large_town_to_castle city requires factions { denmark, hre, scotland, france, england, mesoamerican, middle_eastern, eastern_european, greek, southern_european, }
    {
    convert_to 2
    capability
    {
    }
    material wooden
    construction 2
    cost 3200
    settlement_min large_town
    upgrades
    {
    city_to_fortress
    }
    }
    city_to_fortress city requires factions { denmark, hre, scotland, france, england, mesoamerican, middle_eastern, eastern_european, greek, southern_european, }
    {
    convert_to 2
    capability
    {
    }
    material wooden
    construction 3
    cost 6400
    settlement_min city
    upgrades
    {
    }
    }
    plugins
    {
    }
    }

    Something like this should work, try it for yourself. But remember to make back ups. You may want to add corresponing entries in export_descr_buildings_enums and text/export_buildings
    Last edited by Eothese; July 04, 2008 at 06:24 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •