Results 1 to 12 of 12

Thread: Error on EDB

Hybrid View

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

    Default Re: Error on EDB

    have you made that new building , or is it from a mod (the spartacus mod apparently) ? If it's from a mod , it's best to ask on their forum :)

  2. #2

    Default Re: Error on EDB

    It's pretty clear actually. ;) The building tree's first level (ie shrine) is not available to a faction, while a level above that is, so it's causing an error.

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  3. #3
    ###### of the Gladiators Member neo_deus's Avatar
    Join Date
    Dec 2008
    Location
    Portugal
    Posts
    84

    Default Re: Error on EDB

    Quote Originally Posted by Aradan View Post
    It's pretty clear actually. ;) The building tree's first level (ie shrine) is not available to a faction, while a level above that is, so it's causing an error.

    Neither the temple the error referes to is not available to romans_julii on any level. The temple above it, is available for all the leves. I've checked and re-checked it, thats why it doesn't seem to make sense. Also, the line the error points to, its the last line on the EDB.


    It is from a mod, PopePopo. But one that I am creating: Spartacus, Total War.

  4. #4

    Default Re: Error on EDB

    Could you post the entire section of code for the temple_of_governors?
    There are never enough hours in the days of a Queen, and her nights have too many...

    ATW Version 2.5 is now out!

  5. #5
    ###### of the Gladiators Member neo_deus's Avatar
    Join Date
    Dec 2008
    Location
    Portugal
    Posts
    84

    Default Re: Error on EDB

    plugins
    {
    }
    }
    building temple_of_governors
    {
    levels temple_of_governors_shrine temple_of_governors_temple temple_of_governors_large_temple temple_of_governors_awesome_temple temple_of_governors_pantheon
    {
    temple_of_governors_shrine requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 1
    law_bonus bonus 1
    }
    construction 1
    cost 400
    settlement_min town
    upgrades
    {
    temple_of_governors_temple
    }
    }
    temple_of_governors_temple requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 2
    law_bonus bonus 2
    }
    construction 2
    cost 800
    settlement_min large_town
    upgrades
    {
    temple_of_governors_large_temple
    }
    }
    temple_of_governors_large_temple requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 3
    law_bonus bonus 3
    }
    construction 3
    cost 1600
    settlement_min city
    upgrades
    {
    temple_of_governors_awesome_temple
    }
    }
    temple_of_governors_awesome_temple requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 4
    law_bonus bonus 4
    }
    construction 5
    cost 3200
    settlement_min large_city
    upgrades
    {
    temple_of_governors_pantheon
    }
    }
    temple_of_governors_pantheon requires factions { }
    {
    capability
    {
    happiness_bonus bonus 5
    law_bonus bonus 5
    farming_level bonus 2
    recruits_exp_bonus bonus 2
    weapon_missile bonus 2
    }
    construction 6
    cost 6400
    settlement_min huge_city
    upgrades
    {
    }
    }


    Here it is.

  6. #6
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Error on EDB

    is
    temple_of_governors_pantheon requires factions { }
    the right way to say no factions can build that level? maybe its reading that as all factions?

    I've seen that written elsewhere as
    temple_of_governors_pantheon requires factions { , }

    Also, the line the error points to, its the last line on the EDB.
    If the above doesn't work - you can sometimes get really weird EDB errors if you've made changes to resources / things Carthaginian's can build without fixing their look up first, and haven't deleted your map.rwm
    Not used mods before? Looking for something small and fun?!
    Download the:

  7. #7
    ###### of the Gladiators Member neo_deus's Avatar
    Join Date
    Dec 2008
    Location
    Portugal
    Posts
    84

    Default Re: Error on EDB

    the right way to say no factions can build that level? maybe its reading that as all factions?
    I believe the right way is

    temple_of_governors_pantheon

    nothing added in front of it, because there are other temples like that. I checked it when I made the changes.
    My mistake, I pasted after making some changes to try and see if it would work.
    Here is the "correct" one:

    }
    building temple_of_governors
    {
    levels temple_of_governors_shrine temple_of_governors_temple temple_of_governors_large_temple temple_of_governors_awesome_temple temple_of_governors_pantheon
    {
    temple_of_governors_shrine requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 1
    law_bonus bonus 1
    }
    construction 1
    cost 400
    settlement_min town
    upgrades
    {
    temple_of_governors_temple
    }
    }
    temple_of_governors_temple requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 2
    law_bonus bonus 2
    }
    construction 2
    cost 800
    settlement_min large_town
    upgrades
    {
    temple_of_governors_large_temple
    }
    }
    temple_of_governors_large_temple requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 3
    law_bonus bonus 3
    }
    construction 3
    cost 1600
    settlement_min city
    upgrades
    {
    temple_of_governors_awesome_temple
    }
    }
    temple_of_governors_awesome_temple requires factions { pontus, }
    {
    capability
    {
    happiness_bonus bonus 4
    law_bonus bonus 4
    }
    construction 5
    cost 3200
    settlement_min large_city
    upgrades
    {
    temple_of_governors_pantheon
    }
    }
    temple_of_governors_pantheon
    {
    capability
    {
    happiness_bonus bonus 5
    law_bonus bonus 5
    farming_level bonus 2
    recruits_exp_bonus bonus 2
    weapon_missile bonus 2
    }
    construction 6
    cost 6400
    settlement_min huge_city
    upgrades
    {
    }
    }

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