Results 1 to 3 of 3

Thread: Removing a building?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    BigJake's Avatar Tiro
    Join Date
    Dec 2006
    Location
    Gold Coast, Australia
    Posts
    221

    Default Removing a building?

    i tried removing the Epic stone walls by doing this
    large_stone_wall requires factions { carthaginian, eastern, parthia, egyptian, greek, roman, } and not hidden_resource unit_sparta and hidden_resource large_walls
    {
    capability
    {
    wall_level 3
    tower_level 1
    gate_defences 2
    gate_strength 2
    happiness_bonus bonus 5
    }
    construction 4
    cost 3200
    settlement_min large_city
    upgrades
    {
    }
    }
    }
    plugins
    {
    }
    }
    ; epic_stone_wall
    ; }
    ; }
    ; epic_stone_wall requires factions { carthaginian, eastern, parthia, egyptian, greek, roman, }
    ; {
    ; capability
    ; {
    ; wall_level 4
    ; tower_level 2
    ; gate_defences 2
    ; gate_strength 2
    ; happiness_bonus bonus 5
    ; }
    ; construction 5
    ; cost 6400
    ; settlement_min huge_city
    ; upgrades
    ; {
    ; }
    ; }
    ; }
    ; plugins
    ; {
    ; }
    ;}
    building barracks
    and it comes up with this message after a CTD on startup.
    "Expected 'epic_stone_wall', found '}'.

    how do i fix this???
    Last edited by BigJake; August 13, 2007 at 11:19 PM. Reason: spelling mistake

  2. #2

    Default Re: Removing a building?

    It has been a long time since I removed the large and epic stone walls but, basically, this is what I did:

    Code:
            large_stone_wall requires factions {  }  
            {
                capability
                {
                    wall_level 3
                    tower_level 1
                    gate_defences 2
                    gate_strength 2
                }
                construction  5 
                cost  3200 
                settlement_min large_city
                upgrades
                {
                    epic_stone_wall
                }
            }
            epic_stone_wall requires factions {  } 
            {
                capability
                {
                    wall_level 4
                    tower_level 2
                    gate_defences 2
                    gate_strength 2
                }
                construction  6 
                cost  6400 
                settlement_min huge_city
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }
    As you can see, if I remember correctly, I kept the buildings in the game but removed the ability to build them to all the factions.

  3. #3
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Removing a building?

    Since you didn't give the full code listing for the defences building this is just a guess, but in the levels line you have to make sure you remove epic_stone_wall.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

Posting Permissions

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