this is code:
what is that you need?
Thnks for the help. All working fine. I Have to admit it, I will never find it on techtree. Which makes me wonder. I’m working on a visual Update for the Maaya revolt for Mexico, but I can not find why or how the TC, Forts, stables and Houses change to Aztec buildings. Any ideas, can I do something on this “civmods” file?
I think those updates are done in the ArtBuilding.bar files.
For example in fort.xml.XMB, it has this for the Mayan Revolt
<derevolutionmxmaya>
<logic type="BuildingCompletion">
<p0><submodelref ref="sub_construction_stage_01"></submodelref></p0>
<p25><submodelref ref="maya_fort_con2"></submodelref></p25>
<p50><submodelref ref="maya_fort_con3"></submodelref></p50>
<p75><submodelref ref="maya_fort_con3"></submodelref></p75>
<p100><submodelref ref="maya_fort"></submodelref></p100>
</logic>
</derevolutionmxmaya>
My understanding is this triggers when the Mayan revolt is researched and the building is updated accordingly. The submodels are defined in the fort.xml.
For the stable it would seem that the Mayan Revolution tech replaces the stable for the war hut with this from the DERevolutionMXMaya tech in techtreey.xml
<effect type="ReplaceUnit" toprotoid="WarHut" fromprotoid="Stable"></effect>
As well as disabling it from being built with vills.
<effect type="Data" amount="0.00" subtype="Enable" relativity="Absolute">
<target type="ProtoUnit">Stable</target>
</effect>
<effect type="CommandRemove" proto="Stable">
<target type="ProtoUnit">Settler</target>
</effect>
There are additional techs that remove the ability to make Stables and Stable units but I won’t post them all.
The Houses recive an update with the Mayan HC card Jungle Villages which triggers the <dehcrevmxmayajunglevillages> update in the house_med.xml.XMB.
TCs receive an update with the HC card Kuchkabal which triggers the <dehcrevmxkuchkabal> update in the town_center.xml.xmb
As a side note Mexico uses the Mediterranean culture architecture set so any adjustments need to be done to that architecture set.
Makes sense, How do I do that? I would like to keep the “European” forts for the General to build and also the ones that are already builded and for the Shipped forts to be “Mayan CItadel” The maya fort part is easy but I didn’t know why the fort changed.
how do I do that in the “ArtBuilding.bar files”? I guess the same goes for the TC, house, and Dock.
First you should extract the files you need to a folder that matches where you got the file from. In the forts case it is art\buildings\fort\fort.xml
Here is part of the fort.xml in the resource manager
The very bottom line called component is what decides what submodel to use at a given time. In that line find this tech.
Delete the dervolutionmxmaya section and that should prevent it from updating when you revolt.
The same goes for the dock
For the house delete all the dehcrevmxmayajunglevillages sections. There are multiple sections for each house variant.
![]()
For the tc delete the dehcrevmxkuchkabal section.
The ArtBuildings.bar is found in AoE3DE\Game\Art
Also if you haven’t extracted the game files before, first find and click on the file you want extract, hit extract->selected in the resource manger and put it in the file path you like. After it’s extracted hit the convert button and select xmb to xml. You can now update the xml file. After you are done convert the xml back to xmb using the resource manager.
This is the file structure needed
Very nice. It work like a charm. Thnks for the info.
Worked Perfectly, Now I only need to work on the Fort HomeCity shipment. By the way, is there any way to rearrange/add/remove cards of the “revolution decks” of some revolts?
The revolution decks are in the original civilization’s homecity files. In Maya’s case Data\homecitymexicans.xml. To change it create a file called homecitymexicans.mods.xml in your data folder. Then do mergeMode=‘replace’ on the deck like this with the cards you want.
To adjust the age a card is in you would need to do that in the cards section of the homecity file.
Hi could this please be explained as to how this is done, trying to add a HC card Sawmills to a American market so looking forward with the format as to how its done.




