Results 1 to 3 of 3

Thread: 2 of the same building

Hybrid View

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

    Icon4 2 of the same building

    Hello,

    I recently edited my game so that all the Arab factions could build the Caravan stop building as well as it's upgraded equivalent, the Caravanersary. With the Turks I have noticed that it will let me build two caravan stops per city, however once I upgrade to the Caravanersary it will revert to only one of this building type in the city, as if the second Caravan stop was deleted. Any ideas on how to fix this double Caravan stop issue? Please and thank you in advance.

    I'll include the coding from EDB that pertains to the Turks if that is of merit to anybody:

    building caravan
    {
    levels caravan_stop caravanersary
    {
    caravan_stop city requires factions { turks, }
    {
    capability
    {
    trade_level_bonus bonus 3
    }
    material wooden
    construction 1
    cost 1200
    settlement_min city
    upgrades
    {
    caravanersary
    }
    }
    caravanersary city requires factions { turks, }
    {
    capability
    {
    trade_level_bonus bonus 6
    }
    material wooden
    construction 2
    cost 3600
    settlement_min large_city
    upgrades
    {
    }
    }
    }
    plugins
    {
    }
    }

  2. #2
    alpaca's Avatar Harbinger of saliva
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    4,811

    Default Re: 2 of the same building

    You said you made it available for "all Arabs". Does this mean you copied it a few times? Because here you quote it only for the Turks

    No thing is everything. Every thing is nothing.

  3. #3

    Default Re: 2 of the same building

    One way to solve this problem is to trick the game into thinking the caravans are two different buildings.

    To do this create a new building called caravan_a and list its levels as caravan_stop_a and caravanersary_a (its possible that you may be able to use caravan_stop and caravanersary but I haven't tested this). Then just change the names of these buildings in the text files so they're called caravan stop and caravanersary, and the building's images so they look like a caravan stop and caravanersary.

    However this will put 2 Caravans in the building browser.
    Morning Sun (adds Korea and China to the Shogun 2 map)
    http://www.twcenter.net/forums/forum...28-Morning-Sun

    Expanded Japan mod (97 new regions and 101 new factions)
    http://www.twcenter.net/forums/showt...ew-factions%29

    How to split a region in TWS2
    http://www.twcenter.net/forums/showt...split-a-region

    Eras Total Conquest 2.3 (12 campaigns from 970-1547)

Posting Permissions

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