Results 1 to 12 of 12

Thread: Problem with EDB

Hybrid View

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

    Default Problem with EDB

    I'm trying to add Perkuns temple to my mod. I've made all like in case of adding regular buildings (edb, eb), but the game crasches alnd lod shows no errors. Maybe in case of adding new kind of temples i should change something else?
    There in my entry from EDB (it's entry simular to entry in TeutonicTW):
    building temple_perkunas
    {
    convert_to temple_perkunas_castle
    religion pagan
    levels perkunas_altar perkunas_sanctuary perkunas_temple
    {
    perkunas_altar city requires factions { northern_european, eastern_european, greek, southern_european, middle_eastern, } and region_religion pagan 51
    {
    convert_to 0
    capability
    {
    agent priest 0 requires factions { northern_european, eastern_european, greek, southern_european, middle_eastern, }
    population_health_bonus 1
    agent_limit priest 1
    }
    material wooden
    construction 2
    cost 1000
    settlement_min village
    upgrades
    {
    perkunas_sanctuary
    }
    }
    perkunas_sanctuary city requires factions { northern_european, eastern_european, greek, southern_european, middle_eastern, } and region_religion pagan 51
    {
    capability
    {
    agent priest 0 requires factions { northern_european, eastern_european, greek, southern_european, middle_eastern, }
    population_health_bonus 2
    agent_limit priest 1
    }
    material wooden
    construction 4
    cost 2200
    settlement_min town
    upgrades
    {
    perkunas_temple
    }
    }
    perkunas_temple city requires factions { northern_european, eastern_european, greek, southern_european, middle_eastern, } and region_religion pagan 51
    {
    capability
    {
    agent priest 0 requires factions { northern_european, eastern_european, greek, southern_european, middle_eastern, }
    population_health_bonus 3
    agent_limit priest 2
    }
    material wooden
    construction 6
    cost 4000
    settlement_min large_town
    upgrades
    {
    }
    }
    }
    plugins
    {
    }
    }
    building temple_perkunas_castle
    {
    convert_to temple_perkunas
    religion pagan
    levels c_perkunas_altar
    {
    c_perkunas_altar castle requires factions { northern_european, eastern_european, greek, southern_european, middle_eastern, } and region_religion pagan 51
    {
    convert_to 0
    capability
    {
    agent priest 0 requires factions { northern_european, eastern_european, greek, southern_european, middle_eastern, }
    population_health_bonus 1
    agent_limit priest 1
    }
    material wooden
    construction 1
    cost 1000
    settlement_min town
    upgrades
    {
    }
    }
    }
    plugins
    {
    }
    }

  2. #2

    Icon1 Re: Problem with EDB

    attyla: Does you mod have paganism as a religion?

  3. #3

    Default Re: Problem with EDB

    Quote Originally Posted by TNZ View Post
    attyla: Does you mod have paganism as a religion?
    Yes he has this, his mod is basic, Aztecs had it so pagan religion is still there.

    On point you only need EDB and export_buildings.txt file to add new buildings if they are not going to be on battle map, also remove the counters from your entry and check.

  4. #4
    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: Problem with EDB

    Not quite you also need ui pictures or to edit descr_ui_buildings.txt.
    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

  5. #5

    Default Re: Problem with EDB

    Ishan
    i'made as you sad, but it still crasches. i've also checket it by erase the entry with this structures, and game works properly, so i guess it must be something wrong with this structures.

    Sqυιd
    i know, that the buildings need pic files and i added it in the start of adding Litjuania to my mod
    Last edited by attyla; December 04, 2010 at 03:47 AM.

  6. #6
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Problem with EDB

    Leaves only the entries in export_buildings, probably typing error or not done for all cultures.










  7. #7

    Default Re: Problem with EDB

    i did nothing with adding cultures. probably because i never did something like thi and i have no idea how to do it
    Can you explain me how add this structure to all of cultures?

  8. #8

    Default Re: Problem with EDB

    i'm back
    and i would like to inform you that i have no more problems with banners
    Unfortunately i have unresolved problem with pagan temples for all of cultures.
    So - how can i make pagan temples available for all of cultures including Lithuania?

  9. #9
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Problem with EDB

    Let's try this from the start.

    1. - check descr_religions if the religion 'pagan' is entered there. If you don't have this file in your mod, then you are OK as 'pagan' is in the vanilla file.
    2. - check export_buildings if all entries for the building are present.
    export_buildings
    Code:
    {c_perkunas_altar}c_perkunas_altar
    {c_perkunas_altar_desc}DO NOT TRANSLATE
    {c_perkunas_altar_desc_short}DO NOT TRANSLATE
    {c_perkunas_altar_eastern_european}Altar of Perkunas
    {c_perkunas_altar_eastern_european_desc}Perkunas, as befits one of the most important gods in the Lithuanian pantheon is worshipped in many communities.  This altar represents a physical  focus for such worship. Perkunas, also known as the lightning god, is the patron god of weapon smithing and as such a small smithy is always found nearby ready to equip Lithuanian warriors with weaponry.  Latvian crossbowmen are available for recruitment from the altar.
    {c_perkunas_altar_eastern_european_desc_short}An altar to Perkunas increases public health and allows for simple weapon upgrades.  Allows Latvian crossbowmen to be recruited.
    {c_perkunas_altar_greek_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {c_perkunas_altar_greek_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {c_perkunas_altar_mesoamerican_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {c_perkunas_altar_mesoamerican_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {c_perkunas_altar_middle_eastern_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {c_perkunas_altar_middle_eastern_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {c_perkunas_altar_northern_european_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {c_perkunas_altar_northern_european_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {c_perkunas_altar_southern_european_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {c_perkunas_altar_southern_european_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_altar}perkunas_altar
    {perkunas_altar_desc}DO NOT TRANSLATE
    {perkunas_altar_desc_short}DO NOT TRANSLATE
    {perkunas_altar_eastern_european}Altar of Perkunas
    {perkunas_altar_eastern_european_desc}Perkunas, as befits one of the most important gods in the Lithuanian pantheon is worshipped in many communities.  This altar represents a physical  focus for such worship. Amongst his diverse interests, Perkunas, also known as the lightning god, is the patron god of weapon smithing and as such a small smithy is always found nearby ready to equip Lithuanian warriors with weaponry.  Latvian crossbowmen are available for recruitment from the altar.
    {perkunas_altar_eastern_european_desc_short}An altar to Perkunas increases public health and allows for simple weapon upgrades.  Allows Latvian crossbowmen to be recruited.
    {perkunas_altar_greek_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_altar_greek_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_altar_mesoamerican_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_altar_mesoamerican_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_altar_middle_eastern_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_altar_middle_eastern_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_altar_northern_european_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_altar_northern_european_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_altar_southern_european_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_altar_southern_european_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_sanctuary}perkunas_sanctuary
    {perkunas_sanctuary_desc}DO NOT TRANSLATE
    {perkunas_sanctuary_desc_short}DO NOT TRANSLATE
    {perkunas_sanctuary_eastern_european}Sanctuary of Perkunas
    {perkunas_sanctuary_eastern_european_desc}When the following of Perkunas in a settlement is large enough, a sanctuary is built to better accommodate his worshipers.  Many followers believe that Perkunas, who battles the Lithuanian devil, prevents mischief and evil being spread.  As the patron god of weapon smithing, a sanctuary to Perkunas will have a moderately sized weapon smithy nearby.  Having a sanctuary of Perkunas in a settlement attracts many diverse followers including Latvian crossbowmen and Szlachta.
    {perkunas_sanctuary_eastern_european_desc_short}A sanctuary to Perkunas increases public health and allows for weapon upgrades to basic units. Allows for Latvian crossbowmen and Szlachta to be recruited.
    {perkunas_sanctuary_greek_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_sanctuary_greek_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_sanctuary_mesoamerican_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_sanctuary_mesoamerican_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_sanctuary_middle_eastern_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_sanctuary_middle_eastern_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_sanctuary_northern_european_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_sanctuary_northern_european_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_sanctuary_southern_european_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_sanctuary_southern_european_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_temple}perkunas_temple
    {perkunas_temple_desc}DO NOT TRANSLATE
    {perkunas_temple_desc_short}DO NOT TRANSLATE
    {perkunas_temple_eastern_european}Temple of Perkunas
    {perkunas_temple_eastern_european_desc}Once the worship of Perkunas god of lightning reaches significant fervour in a major settlement, a magnificent temple to venerate him will be built. A temple to Perkunas attracts many devout followers and leaders who try to emulate him by fighting wickedness throughout the settlement.  This results in a large increase in public health and, as befitting the stature of the temple, a significant weapon smithy is attached. The temple not only draws in faithful Latvian crossbowmen and Szlachta but also the fearsome Followers of Perkunas.
    {perkunas_temple_eastern_european_desc_short}The Temple of Perkunas Greatly increases population health and basic weapon quality.  Recruitment of Latvian crossbowmen, Szlachta and the  Followers of Perkunas are now available.
    {perkunas_temple_greek_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_temple_greek_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_temple_mesoamerican_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_temple_mesoamerican_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_temple_middle_eastern_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_temple_middle_eastern_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_temple_northern_european_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_temple_northern_european_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_temple_southern_european_desc}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {perkunas_temple_southern_european_desc_short}DO NOT TRANSLATE - NOT MEANT FOR THIS CULTURE
    {temple_perkunas_castle_name}Perkunas Shrines
    {temple_perkunas_name}Perkunas Shrines










  10. #10

    Default Re: Problem with EDB

    Gigantus
    may i ask you for sending me files from text folder? I don't know why, but even when i install the game in english version i've got polish versions of this files only.

  11. #11

    Default Re: Problem with EDB

    it was error connected with descr_buildbings - thanks!

  12. #12
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Problem with EDB

    One is glad to be of service

    (Remember - all cultures need an entry in the export_buildings file!)

    Edit: I made a name converter to make it easy to create all these entries.










Posting Permissions

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