Results 1 to 7 of 7

Thread: Another of endless questions...

Hybrid View

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

    Default Another of endless questions...

    Recently, I have been trying to add a new temple to a new faction I've been working on. Everything worked up until the new building was added. I kind of thought I understood the files that needed to be changed, and what changes to make, but, alas. Now when I load up the mod to try it out the game won't even load, so of course the show_err command doesn't help at all. I've uploaded the files, (that I've changed) hopefully someone out there will look at them and immediately know what is wrong or what other files I have to alter.
    The files in question all have changes that refer to temple of leadership 2.

    htpp://www.megaupload.com/?d=EVRJ3I08


    Thanks
    Cormaeg

    Stumbler amongst files

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

    Default Re: Another of endless questions...

    Invalid link.

    You could post the text of the approriate part of the files in code tags to your post...
    "One of the most sophisticated Total War mods ever developed..."

  3. #3

    Default Re: Another of endless questions...

    Okay. This is from the export_desc_buildings.txt:

    building temple_of_leadership_2
    {
    levels temple_of_leadership_2_shrine temple_of_leadership_2_temple temple_of_leadership_2_large_temple
    {
    temple_of_leadership_2_shrine requires factions { romans_brutii, }
    {
    capability
    {
    happiness_bonus bonus 2
    law_bonus bonus 2
    }
    construction 1
    cost 400
    settlement_min town
    upgrades
    {
    temple_of_leadership_2_temple
    }
    }
    temple_of_leadership_2_temple requires factions { romans_brutii, }
    {
    capability
    {
    happiness_bonus bonus 4
    law_bonus bonus 4
    }
    construction 2
    cost 800
    settlement_min large_town
    upgrades
    {
    temple_of_leadership_2_large_temple
    }
    }
    temple_of_leadership_2_large_temple requires factions { romans_brutii, }
    {
    capability
    {
    happiness_bonus bonus 8
    law_bonus bonus 6
    }
    construction 3
    cost 1600
    settlement_min city
    upgrades
    {
    }
    }
    }
    plugins
    {
    }
    }

    and this is from the export_descr_buildings_enums.txt:

    temple_of_leadership_2_name

    is one line, then there's:

    temple_of_leadership_2_shrine
    temple_of_leadership_2_shrine_desc
    temple_of_leadership_2_shrine_desc_short
    temple_of_leadership_2_shrine_barbarian_desc
    temple_of_leadership_2_shrine_barbarian_desc_short
    temple_of_leadership_2_shrine_carthaginian_desc
    temple_of_leadership_2_shrine_carthaginian_desc_short
    temple_of_leadership_2_shrine_eastern
    temple_of_leadership_2_shrine_eastern_desc
    temple_of_leadership_2_shrine_eastern_desc_short
    temple_of_leadership_2_shrine_parthia_desc
    temple_of_leadership_2_shrine_parthia_desc_short
    temple_of_leadership_2_shrine_egyptian_desc
    temple_of_leadership_2_shrine_egyptian_desc_short
    temple_of_leadership_2_shrine_greek
    temple_of_leadership_2_shrine_greek_desc
    temple_of_leadership_2_shrine_greek_desc_short
    temple_of_leadership_2_shrine_roman
    temple_of_leadership_2_shrine_roman_desc
    temple_of_leadership_2_shrine_roman_desc_short
    temple_of_leadership_2_temple
    temple_of_leadership_2_temple_desc
    temple_of_leadership_2_temple_desc_short
    temple_of_leadership_2_temple_barbarian_desc
    temple_of_leadership_2_temple_barbarian_desc_short
    temple_of_leadership_2_temple_carthaginian_desc
    temple_of_leadership_2_temple_carthaginian_desc_short
    temple_of_leadership_2_temple_eastern
    temple_of_leadership_2_temple_eastern_desc
    temple_of_leadership_2_temple_eastern_desc_short
    temple_of_leadership_2_temple_parthia_desc
    temple_of_leadership_2_temple_parthia_desc_short
    temple_of_leadership_2_temple_egyptian_desc
    temple_of_leadership_2_temple_egyptian_desc_short
    temple_of_leadership_2_temple_greek
    temple_of_leadership_2_temple_greek_desc
    temple_of_leadership_2_temple_greek_desc_short
    temple_of_leadership_2_temple_roman
    temple_of_leadership_2_temple_roman_desc
    temple_of_leadership_2_temple_roman_desc_short
    temple_of_leadership_2_large_temple
    temple_of_leadership_2_large_temple_desc
    temple_of_leadership_2_large_temple_desc_short
    temple_of_leadership_2_large_temple_barbarian_desc
    temple_of_leadership_2_large_temple_barbarian_desc_short
    temple_of_leadership_2_large_temple_carthaginian_desc
    temple_of_leadership_2_large_temple_carthaginian_desc_short
    temple_of_leadership_2_large_temple_eastern
    temple_of_leadership_2_large_temple_eastern_desc
    temple_of_leadership_2_large_temple_eastern_desc_short
    temple_of_leadership_2_large_temple_parthia_desc
    temple_of_leadership_2_large_temple_parthia_desc_short
    temple_of_leadership_2_large_temple_egyptian_desc
    temple_of_leadership_2_large_temple_egyptian_desc_short
    temple_of_leadership_2_large_temple_greek
    temple_of_leadership_2_large_temple_greek_desc
    temple_of_leadership_2_large_temple_greek_desc_short
    temple_of_leadership_2_large_temple_roman
    temple_of_leadership_2_large_temple_roman_desc
    temple_of_leadership_2_large_temple_roman_desc_short


    okay, then there is descr_ui_buildings.txt:

    temple_of_leadership_2_shrine shrine
    temple_of_leadership_2_temple temple
    temple_of_leadership_2_large_temple large_temple
    }


    and finally from the text folder, the export_buildings.txt:

    {temple_of_leadership_2_shrine} Temple of Leadership 2 Shrine

    {temple_of_leadership_2_shrine_desc} [#PLACEHOLDER DEFAULT Base description for building and effects#]

    {temple_of_leadership_2_shrine_desc_short} [#Short Description PLACEHOLDER DEFAULT text#]

    {temple_of_leadership_2_shrine_barbarian} Shrine to the Dagda

    {temple_of_leadership_2_shrine_barbarian_desc}
    The Irish-Celtic god of the earth and treaties, and ruler over life and death. Dagda, or The Dagda, ("the good god") is one of the most prominent gods and the leader of the Tuatha Dé Danann. He is also known as Eochaid Ollathair (Father of All) and Ruad Rofhessa (Lord of Great Knowledge) Unlike the some of the other major Irish deities, Dagda was a deity confined to Ireland; no reference or evidence was found that he was worshipped on Continental Europe. He is a master of magic, a fearsome warrior and a skilled artisan. Dagda is a son of the goddess Danu, and father of the goddess Brigid and the god Aengus mac Oc. The Morrigan is his wife, with whom he mates on New Years Day
    The Dagda is portrayed as possessing both super- human strength and appetite. His attributes are a cauldron with an inexhaustible supply of food, a magical harp with which he summons the seasons, and an enormous club, with one end of which he could kill nine men, but with the other restore them to life. He also possessed two marvellous swine---one always roasting, the other always growing---and ever-laden fruit trees.

    {temple_of_leadership_2_shrine_barbarian_desc_short}
    The Irish-Celtic god of the earth and treaties, and ruler over life and death. Dagda, or The Dagda, ("the good god").

    {temple_of_leadership_2_shrine_carthage_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_shrine_carthage_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_shrine_eastern_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_shrine_eastern_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_shrine_parthia_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_shrine_parthia_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_shrine_egyptian_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_shrine_egyptian_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_shrine_greek_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_shrine_greek_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_shrine_roman_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_shrine_roman_desc_short}
    WARNING! This text should never appear on screen!


    ¬--------------

    {temple_of_leadership_2_temple} Temple of Leadership 2 Temple

    {temple_of_leadership_2_temple_desc} [#PLACEHOLDER DEFAULT Base description for building and effects#]

    {temple_of_leadership_2_temple_desc_short} [#Short Description PLACEHOLDER DEFAULT text#]

    {temple_of_leadership_2_temple_barbarian} Shrine to the Dagda

    {temple_of_leadership_2_temple_barbarian_desc}
    The Irish-Celtic god of the earth and treaties, and ruler over life and death. Dagda, or The Dagda, ("the good god") is one of the most prominent gods and the leader of the Tuatha Dé Danann. He is also known as Eochaid Ollathair (Father of All) and Ruad Rofhessa (Lord of Great Knowledge) Unlike the some of the other major Irish deities, Dagda was a deity confined to Ireland; no reference or evidence was found that he was worshipped on Continental Europe. He is a master of magic, a fearsome warrior and a skilled artisan. Dagda is a son of the goddess Danu, and father of the goddess Brigid and the god Aengus mac Oc. The Morrigan is his wife, with whom he mates on New Years Day
    The Dagda is portrayed as possessing both super- human strength and appetite. His attributes are a cauldron with an inexhaustible supply of food, a magical harp with which he summons the seasons, and an enormous club, with one end of which he could kill nine men, but with the other restore them to life. He also possessed two marvellous swine---one always roasting, the other always growing---and ever-laden fruit trees.

    {temple_of_leadership_2_temple_barbarian_desc_short}
    The Irish-Celtic god of the earth and treaties, and ruler over life and death. Dagda, or The Dagda, ("the good god").

    {temple_of_leadership_2_temple_carthage_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_temple_carthage_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_temple_eastern_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_temple_eastern_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_temple_parthia_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_temple_parthia_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_temple_egyptian_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_temple_egyptian_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_temple_greek_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_temple_greek_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_temple_roman_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_temple_roman_desc_short}
    WARNING! This text should never appear on screen!


    ¬--------------

    {temple_of_leadership_2_large_temple} Temple of Leadership 2 Large Temple

    {temple_of_leadership_2_large_temple_desc} [#PLACEHOLDER DEFAULT Base description for building and effects#]

    {temple_of_leadership_2_large_temple_desc_short} [#Short Description PLACEHOLDER DEFAULT text#]

    {temple_of_leadership_2_large_temple_barbarian} Shrine to the Dagda

    {temple_of_leadership_2_large_temple_barbarian_desc}
    The Irish-Celtic god of the earth and treaties, and ruler over life and death. Dagda, or The Dagda, ("the good god") is one of the most prominent gods and the leader of the Tuatha Dé Danann. He is also known as Eochaid Ollathair (Father of All) and Ruad Rofhessa (Lord of Great Knowledge) Unlike the some of the other major Irish deities, Dagda was a deity confined to Ireland; no reference or evidence was found that he was worshipped on Continental Europe. He is a master of magic, a fearsome warrior and a skilled artisan. Dagda is a son of the goddess Danu, and father of the goddess Brigid and the god Aengus mac Oc. The Morrigan is his wife, with whom he mates on New Years Day
    The Dagda is portrayed as possessing both super- human strength and appetite. His attributes are a cauldron with an inexhaustible supply of food, a magical harp with which he summons the seasons, and an enormous club, with one end of which he could kill nine men, but with the other restore them to life. He also possessed two marvellous swine---one always roasting, the other always growing---and ever-laden fruit trees.

    {temple_of_leadership_2_large_temple_barbarian_desc_short}
    The Irish-Celtic god of the earth and treaties, and ruler over life and death. Dagda, or The Dagda, ("the good god").

    {temple_of_leadership_2_large_temple_carthage_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_large_temple_carthage_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_large_temple_eastern_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_large_temple_eastern_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_large_temple_parthia_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_large_temple_parthia_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_large_temple_egyptian_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_large_temple_egyptian_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_large_temple_greek_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_large_temple_greek_desc_short}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_large_temple_roman_desc}
    WARNING! This text should never appear on screen!

    {temple_of_leadership_2_large_temple_roman_desc_short}
    WARNING! This text should never appear on screen!


    ¬--------------
    Cormaeg

    Stumbler amongst files

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

    Default Re: Another of endless questions...

    Just from a quick glance you seem to have left out the _name tag at the top of the export_buildings.txt file (did I read right and you put it in edb enum instead???). Try adding that in and see what it does (and removing it from edbe).
    "One of the most sophisticated Total War mods ever developed..."

  5. #5

    Default Re: Another of endless questions...

    Not sure exactly what you mean, Dol...in the edbe if you are talking about the line

    temple_of_leadership_2_name

    I added that because I saw all these others there-

    temple_of_battle_name
    temple_of_battleforge_name
    temple_of_farming_name
    temple_of_fertility_name
    temple_of_forge_name
    temple_of_fun_name
    temple_of_governors_name
    temple_of_healing_name
    temple_of_horse_name
    temple_of_hunting_name
    temple_of_justice_name
    temple_of_law_name
    temple_of_leadership_name
    temple_of_leadership_2_name
    temple_of_love_name
    temple_of_naval_name
    temple_of_one_god_name
    temple_of_trade_name
    temple_of_victory_name
    temple_of_violence_name
    temple_of_horse_2_name
    temple_of_viking_name

    and I just assumed I better put one in for mine. Now in the text/export_buildings.txt, far as I know these are the name tags for this building-oh wait, I see what you mean here, although I couldn't imagine they'd make the game not load. What I should have is these, you mean?

    {temple_of_leadership_2_shrine_barbarian} Shrine to the Dagda

    {temple_of_leadership_2_temple_barbarian} Sacred Grove of the Dagda

    {temple_of_leadership_2_large_temple_barbarian} Sacred Circle of the Dagda

    Am I right?
    Cormaeg

    Stumbler amongst files

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

    Default Re: Another of endless questions...

    Existing temples have section like this in export_buildings.txt
    {temple_of_leadership_name}
    Temples - effects are dependant on the particular god worshipped at a temple
    you also seem to have a typo in:
    {temple_of_leadership_2_shrine_barbarian_desc_shor t}
    The Irish-Celtic god of the earth and treaties, and ruler over life and death. Dagda, or The Dagda, ("the good god").
    there's a space in the 'short' unless you just acquired that whilst posting it here...

    EDIT: actually you've got quite a few of those type of errors you've got a des c and a couple of
    sh ort and some spaces that shouldn't be there between the underscores and also at the end of the strings before the closing } - you really need to go through all those strings very carefully!
    Last edited by Makanyane; 01-01-2007 at 14:24.
    Not used mods before? Looking for something small and fun?!
    Download the:

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