Results 1 to 6 of 6

Thread: Can somebody help please

  1. #1
    Asia ton Barbaron mapper Member Pharnakes's Avatar
    Join Date
    Feb 2007
    Location
    The Kingdom of Fife
    Posts
    1,768

    Smile Can somebody help please

    Can anybody see the erro in the following piece of edb?


    Code:
     
    building colonia
        {
        levels apoikia, military_colony_1, military_colony_2, military_colony_3
        {
       apoikia requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
            {
                capability
                {
                    law_bonus bonus 2
                    population_growth_bonus bonus -2
                }
                construction  12
                cost  10400
                settlement_min large_town
                upgrades
                {
      military_colony_1
      trade_colony_1
                }
            }
       military_colony_1 requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
            {
                capability
                {
                    law_bonus bonus 2
                    population_growth_bonus bonus -2
                }
                construction  12
                cost  10400
                settlement_min large_town
                upgrades
                {
      military_colony_2
      trade_colony_2
                }
            }
       military_colony_2 requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
            {
                capability
                {
                    law_bonus bonus 2
                    population_growth_bonus bonus -2
                }
                construction  12
                cost  10400
                settlement_min large_town
                upgrades
                {
      military_colony_3
      trade_colony_3
                }
            }
       military_colony_3 requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
            {
                capability
                {
                    law_bonus bonus 2
                    population_growth_bonus bonus -2
                }
                construction  12
                cost  10400
                settlement_min large_town
                upgrades
                {
      trade_colony_3
                }
            }
         }
    plugins
    {
    }
    }
    plugins
    {
    }
    }
    building Tcolonia
        {
        levels trade_colony_1, trade_colony_2, trade_colony_3
        {
       trade_colony_1 requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
            {
                capability
                {
                    law_bonus bonus 2
                    population_growth_bonus bonus -2
                }
                construction  12
                cost  10400
                settlement_min large_city
                upgrades
                {
      trade_colony_2
      military_colony_2
                }
            }
       trade_colony_2 requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
            {
                capability
                {
                    law_bonus bonus 2
                    population_growth_bonus bonus -2
                }
                construction  12
                cost  10400
                settlement_min large_city
                upgrades
                {
      trade_colony_3
      military_colony_3
                }
            }
       trade_colony_3 requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
            {
                capability
                {
                    law_bonus bonus 2
                    population_growth_bonus bonus -2
                }
                construction  12
                cost  10400
                settlement_min large_city
                upgrades
                {
      military_colony_3
                }
            }
         }
    plugins
    {
    }
    }
    The error it gives me is invalid upgrade specified.

    Thank you very, (and sorry as this probably isn't realy the best place for this)
    Asia ton Barbaron The new eastern mod for eb!

    Laziest member of the team My red balloons, as red as the blood of he who mentioned Galatians.
    Roma Victor!

    Yous ee gishes?

  2. #2
    EBII Mod Leader Member Foot's Avatar
    Join Date
    Apr 2005
    Location
    Brighton, East Sussex, England (GMT)
    Posts
    10,736

    Default Re: Can somebody help please

    Um that doesn't even make sense as a piece of code. You can't upgrade between complexes, which is what you've done here.

    Also you have two sets of plugins, which is just wierd.

    Collapse the Tcolonia into the colonia like this:
    Code:
    levels apoikia, military_colony_1, military_colony_2, military_colony_3, trade_colony_1, trade_colony_2, trade_colony_3
    That will work fine.

    Foot
    EBII Mod Leader
    Hayasdan Faction Co-ordinator


  3. #3
    Asia ton Barbaron mapper Member Pharnakes's Avatar
    Join Date
    Feb 2007
    Location
    The Kingdom of Fife
    Posts
    1,768

    Smile Re: Can somebody help please

    Ok, thanks, I was just trying to copy the romanii mics, (but you say that won't work?)
    Asia ton Barbaron The new eastern mod for eb!

    Laziest member of the team My red balloons, as red as the blood of he who mentioned Galatians.
    Roma Victor!

    Yous ee gishes?

  4. #4
    EBII Mod Leader Member Foot's Avatar
    Join Date
    Apr 2005
    Location
    Brighton, East Sussex, England (GMT)
    Posts
    10,736

    Default Re: Can somebody help please

    Quote Originally Posted by Pharnakes
    Ok, thanks, I was just trying to copy the romanii mics, (but you say that won't work?)
    There are two building complexes for the Roman MICs, the Camillian/Polybian complex and the Marian/Augustian, but you can't upgrade between them. I think you need to take another look at those MIC complexes again.

    Foot
    EBII Mod Leader
    Hayasdan Faction Co-ordinator


  5. #5
    Asia ton Barbaron mapper Member Pharnakes's Avatar
    Join Date
    Feb 2007
    Location
    The Kingdom of Fife
    Posts
    1,768

    Smile Re: Can somebody help please

    Yes, probably, all that recruitment makes my eyes hurt

    Edit: thanks foot, I've got it working, now I can set about murdering the EB recruitment system!
    Last edited by Pharnakes; 06-06-2007 at 17:02.
    Asia ton Barbaron The new eastern mod for eb!

    Laziest member of the team My red balloons, as red as the blood of he who mentioned Galatians.
    Roma Victor!

    Yous ee gishes?

  6. #6
    EB2 Baseless Conjecturer Member blacksnail's Avatar
    Join Date
    Jan 2006
    Posts
    3,074

    Default Re: Can somebody help please

    I highly recommend you do some testing for those top-level buildings and the capability to swap back and forth. (You can do so by changing all costs and time to 100 mnai / 1 turn for testing purposes.) I remember trying some variation of back-and-forth like that way back when we were trying to upgrade to RTW 1.5 and seem to remember that caused the game some problems. I can't recall if it was a weird error message in -show_err or something else.

    Try building up from scratch to the top level of trade, then go back and forth with military. Do this for 20 straight turns in your test game and see if the engine barfs. Make sure you keep a count of how many times you have built something.

    Good luck!

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