Results 1 to 4 of 4

Thread: Building tree can have branches?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Anything that isn't 'member' Member Squid's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    596

    Default Building tree can have branches?

    In EDB can you have a building branch at some point so that one level has two potential upgrades?

    So something along the lines of:

    Code:
    building b1
    {
        levels b1, b2, b2a, b3, b3a
        {
            b1 requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, } 
            {
                capability
                {
                    something
                }
                construction  2 
                cost  600 
                settlement_min town
                upgrades
                {
                    b2
                    b2a
                }
            }
            b2 requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, } 
            {
                capability
                {
                    something
                }
                construction  2 
                cost  600 
                settlement_min town
                upgrades
                {
                    b3
                }
            }
            b2a requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, } 
             {
                 capability
                 {
                     something
                 }
                 construction  2 
                 cost  600 
                 settlement_min town
                 upgrades
                 {
                     b3a
                }
             }
     
    etc....

    -Trait/Ancillary/Building Editor

    "Two things are infinite: the universe and human stupidity;
    and I'm not sure about the universe." -----Albert Einstein

  2. #2

    Default Re: Building tree can have branches?

    Yeah, that's entirely possible. If you only have one path open to some factions but not all it can cause problems. None you can't get around, but if you get error messages, sometimes you have to add a "and not..." into the requirement lines (include a false hidden resource you don't put in any province, like this: and not hidden_resource not_here). That will allow paths of building complexes to split off for different factions.

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

    Default Re: Building tree can have branches?

    For more information see Black Crow's initial investigation into this (again, this is linked in the EDB Guide under 'Building Trees') - here's the direct link to the thread: https://forums.totalwar.org/vb/showthread.php?t=56549
    "One of the most sophisticated Total War mods ever developed..."

  4. #4
    Anything that isn't 'member' Member Squid's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    596

    Default Re: Building tree can have branches?

    Thanks, much appreciated.

    -Trait/Ancillary/Building Editor

    "Two things are infinite: the universe and human stupidity;
    and I'm not sure about the universe." -----Albert Einstein

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