Results 1 to 8 of 8

Thread: Questions on EDB

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Arrogant Ashigaru Moderator Ludens's Avatar
    Join Date
    Nov 2003
    Posts
    9,063
    Blog Entries
    1

    Lightbulb Re: Questions on EDB

    Hello GigeliusMinimus,

    Quote Originally Posted by GigeliusMinimus View Post
    My first and most important problem is that I can't get my buildings to behave like temples. (...) I have a group of 3 buildings f.e. that contains Tavern, Workshop and Hospital. I have tried naming the buildings in EDB so that they all share a prefix such as prefix_tavern, prefix_workshop and prefix_hospital but I was still able to build all 3 of them.
    If I understand Aradan's building guide correctly, the game looks at the prefix of the building tree, not the buildings itself. If that doesn't work, you could use the temple entries, and change the descr files to rename them to "tavern", "workshop", etc in-game.

    Quote Originally Posted by GigeliusMinimus View Post
    Then, I tried excluding the others by conditionals, f.e. tavern had requirements such as "not building_present workshop and not building_present hospital" (I adapted the requirements for all 3 buildings) and this worked as intended but in return the buildings stopped showing up in my in-game building browser. I can't really have that because the whole point of the building tree I'm making is to force the player to plan the city ahead.
    The building browser is indeed confused by not-requirements. I know this was a problem for the Europa Barbarorum mod - they dealt with it by ignoring the building browser and making a .pdf to show the tech tree.

    Quote Originally Posted by GigeliusMinimus View Post
    I tried a conditional such as "requires building_present_min_level branch_building branch_8 and not building_present_min_level branch_building branch_7" since apparently branch 8 was seen as level 2 and branch 7 was seen as level 3, thinking that I could narrow it down to the exact level I was looking for but it didn't work at all. The game crashed if I remember correctly. What I would have needed was a conditional such as "building_present current_level" but that doesn't exist. Personally I suspect there is no way of doing this but if anyone has additional knowledge on this it would be very welcome.
    It's not listed in Aradan's guide, so I am pretty certain that such a conditional does not exist. However, the afore-mentioned EB mod does do something like that with their Roman barrack upgrades (check the Romani building tree on their website - the barracks are the right-most building tree). Maybe that would work?

    I hope this helps.
    Looking for a good read? Visit the Library!

    Member thankful for this post:



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