How to swap building order in a district

El Buccerado

Chieftain
Joined
Aug 21, 2017
Messages
4
Hi all,

Hoping someone could help with trying to swap the order for buildings in a district. For example, instead of Arena > Zoo > Stadium I would like to do Arena > Stadium > Zoo.

I attempted to do this by creating 2 unique buildings for the stadium and the zoo and swapped their respective prerequisite civic for each. I also made the unique stadium replace the existing zoo building and the unique zoo building replace the existing stadium. This worked to some extent! I managed to build the stadium second after the arena :) Problem is though when I get to the later civic to build my unique zoo the stadium building appears again to still build (even though the unique stadium is already there). Any help on why this is occurring please??

Note: I also attempted creating my own unique district (entertainment complex) and changed the building sets to include my unique buildings at the correct levels but the same error still appears. Seems I can't get rid of the original buildings from production queue (still allows me to build them when at the civic).
 
Last edited:
It's easy, you want to look in buildings.xml for the BuildingPrereqs table. It will contain the following rows:

Code:
<BuildingPrereqs>
  <Row Building="BUILDING_ZOO" PrereqBuilding="BUILDING_ARENA"/>
  <Row Building="BUILDING_STADIUM" PrereqBuilding="BUILDING_ZOO"/>
</BuildingPrereqs>

This is what establishes the Arena -> Zoo -> Stadium order (Arena has no prereq). You can change the prereqs by updating this table. Presumably you'll also want to change the technologies that unlock the buildings as well.
 
Thanks for that Machiavelli! Already tried that previously however, reset the prereq buildings accordingly and it still appears with the original stadium in production queue even after it's already built my unique stadium. I can attach files later tonight for review if this may help as I'm really stuck with this one but here's a quick summary below in meantime.

In summary:
1. I created a unique stadium (i.e. 'BUILDING_UNIQUE_STADIUM') with prerequisite civic 'CIVIC_CIVIL_ENGINEERING' and prerequisite building 'BUILDING_ARENA". I also set it to replace building 'BUILDING_ZOO'.

2. I created a unique zoo ('BUILDING_UNIQUE_ZOO') with prerequisite civic 'CIVIC_CULTURAL_HERITAGE' and prerequisite building 'BUILDING_UNIQUE_STADIUM". I also set it to replace building 'BUILDING_STADIUM'.
 
You don't need to create duplicate unique buildings to change the order of the original buildings. Presumably you want every civilization to use the new order.

In addition to putting buildings in the <BuildingReplaces> table, did you also give them a TraitType in the Buildings table?
 
Back
Top Bottom