Results 1 to 12 of 12

Thread: Error on EDB

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: Error on EDB

    I think you will find, and as Mak rightly guessed, that your syntax is being read as "all factions". The Julii are being reported because they are the default report faction I believe. Change it to the syntax Mak suggested. This is how I do it, and it is how other mods no doubt do it - check other mods and learn from them rather than guessing
    "One of the most sophisticated Total War mods ever developed..."

  2. #2
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: Error on EDB

    I can confirm the syntax isnt the issue, had to dig trhu some back up folders, but from my EDB:
    Code:
    building taverns
    {
        levels tavern bardic_circle 
        {
            tavern requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 1
                }
                construction  2 
                cost  800 
                settlement_min large_town
                upgrades
                {
                    bardic_circle
                }
            }
            bardic_circle requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 2
                }
                construction  3 
                cost  1600 
                settlement_min city
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }
    building temple_of_battle
    {
        levels temple_of_battle_shrine temple_of_battle_temple temple_of_battle_large_temple temple_of_battle_awesome_temple temple_of_battle_pantheon 
        {
            temple_of_battle_shrine requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 1
                }
                construction  1 
                cost  400 
                settlement_min town
                upgrades
                {
                    temple_of_battle_temple
                }
            }
            temple_of_battle_temple requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 2
                    recruits_morale_bonus bonus 1
                }
                construction  2 
                cost  800 
                settlement_min large_town
                upgrades
                {
                    temple_of_battle_large_temple
                }
            }
            temple_of_battle_large_temple requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 3
                    recruits_morale_bonus bonus 2
                }
                construction  3 
                cost  1600 
                settlement_min city
                upgrades
                {
                    temple_of_battle_awesome_temple
                }
            }
            temple_of_battle_awesome_temple requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 4
                    recruits_morale_bonus bonus 3
                }
                construction  5 
                cost  3200 
                settlement_min large_city
                upgrades
                {
                    temple_of_battle_pantheon
                }
            }
            temple_of_battle_pantheon requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 7
                    recruits_morale_bonus bonus 4
                }
                construction  6 
                cost  6400 
                settlement_min huge_city
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }
    edit: .. er .. I used 2 spaces instead of 1, so perhaps it could be a syntax error ... lol
    Last edited by Red Spot; 02-26-2009 at 02:00.

  3. #3

    Default Re: Error on EDB

    If you do not want pontus or macedon to have the pantheon level, why not just remove it?

    This ought to do the trick (I think)

    Code:
    }
    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_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
       {
                }
            }
        }
        plugins 
        {
        }
    }
    Last edited by SubRosa; 02-26-2009 at 02:21.
    There are never enough hours in the days of a Queen, and her nights have too many...

    ATW Version 2.5 is now out!

  4. #4
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: Error on EDB

    It is the syntax. I tested a building from a mod. Use the "requires factions { , }" to block out any higher levels you do not want; you can just remove the level but sometimes that means hunting through and changing references elsewhere (and of course you may choose to use it later).

    I have used this in FATW for years and it has never caused any reported errors, CTDs or instability.
    "One of the most sophisticated Total War mods ever developed..."

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