How to Add Custom Buildings?

Editor: new constructions.
I wanted to know if there’s any simple way to make a villager build an object created as a group in the editor. Whether by building directly or generating a cart that creates this construction.

Example: I placed a tree next to a house with bushes around it, defined it as a new group, and saved it (available as housetree.XML). I wanted to know how I can give a villager the ability to build this construction defined in the grouping.

1 Like

Hello. I don’t know if I understood you correctly because I use a translator but if you want a villager to build a custom building, it’s not that difficult
In techtreemods.xml you add this:

<tech name="Age0XPAztec" type="Normal">
<effect type="Data" amount="1.00" subtype="AddTrain" unittype="AztecStable" relativity="Absolute">
        <target type="ProtoUnit">SettlerNative</target>
		</effect>	
</tech>

assuming “AztecStable” is named your custom building

1 Like