Better Builders Mod

Better Builders Mod V0.9

so im screwed once they upgrade until i get that tech? =\ isnt there a promotion units can get that lets em embark? no way to give the builders this promotion?
 
so im screwed once they upgrade until i get that tech? =\ isnt there a promotion units can get that lets em embark? no way to give the builders this promotion?
No promotion that i'm aware of unfortunately. I looked into the problem, there looks to be a way to fix the embark issue with the later game builders but it would mean making all units embarking at the same time as the medieval builder.
Spoiler :

FIRST ONE
<Technologies>
<Update>
<Where TechnologyType="TECH_SAILING" Name="LOC_TECH_SAILING_NAME" />
<Set EmbarkAll="true" />
</Update>
</Technologies>
SECOND ONE
<Technologies>
<Update>
<Where TechnologyType="TECH_CONSTRUCTION" Name="LOC_TECH_CONSTRUCTION_NAME" />
<Set EmbarkAll="true" />
</Update>
</Technologies>


First one I haven't tested this but technically it should work as a fix. It will unbalance the game slightly but all in all I don't think it will have too much of an impact. Just insert the line of codes into the Builder.xml file(correctly), it should work.

Second One: Other thing you could change is to put the EmbarkAll on the Construction Technology so that when you unlock the Medieval Builder it and all other units become Embarkable. This is probably the best solution.

But remember there is still a chance that this mightn't work because it's not been tested.
 
Last edited:
Oh EmbarkAll works fine, tested and no problems with the mod Embark Earlier.
It just affects all units, not just the builders, as you said.
 
I made two changes to the mod. Its my first try at modding civ 6, so not sure its the right way to do it.
Both changes worked for me.

To get the icons working i moved the IconDefinitions into its own file and included it in the modinfo:
Spoiler Icons.xml :

<?xml version="1.0" encoding="utf-8"?>
<GameInfo>
<IconDefinitions>
<Row Name="ICON_UNIT_MEDIEVAL_BUILDER" Atlas="ICON_ATLAS_UNITS" Index="1"/>
<Row Name="ICON_UNIT_INDUSTRIAL_BUILDER" Atlas="ICON_ATLAS_UNITS" Index="1"/>
<Row Name="ICON_UNIT_MODERN_BUILDER" Atlas="ICON_ATLAS_UNITS" Index="1"/>
<Row Name="ICON_UNIT_MEDIEVAL_BUILDER_FOW" Atlas="ICON_ATLAS_UNITS_FOW" Index="1"/>
<Row Name="ICON_UNIT_INDUSTRIAL_BUILDER_FOW" Atlas="ICON_ATLAS_UNITS_FOW" Index="1"/>
<Row Name="ICON_UNIT_MODERN_BUILDER_FOW" Atlas="ICON_ATLAS_UNITS_FOW" Index="1"/>
<Row Name="ICON_UNIT_MEDIEVAL_BUILDER_PORTRAIT" Atlas="ICON_ATLAS_UNIT_PORTRAITS" Index="1"/>
<Row Name="ICON_UNIT_INDUSTRIAL_BUILDER_PORTRAIT" Atlas="ICON_ATLAS_UNIT_PORTRAITS" Index="1"/>
<Row Name="ICON_UNIT_MODERN_BUILDER_PORTRAIT" Atlas="ICON_ATLAS_UNIT_PORTRAITS" Index="1"/>
<Row Name="ICON_UNIT_MEDIEVAL_BUILDER_WHITE" Index="1" Atlas="ICON_ATLAS_UNIT_FLAG_SYMBOLS_WHITE"/>
<Row Name="ICON_UNIT_MEDIEVAL_BUILDER_BLACK" Index="1" Atlas="ICON_ATLAS_UNIT_FLAG_SYMBOLS_BLACK"/>
<Row Name="ICON_UNIT_INDUSTRIAL_BUILDER_WHITE" Index="1" Atlas="ICON_ATLAS_UNIT_FLAG_SYMBOLS_WHITE"/>
<Row Name="ICON_UNIT_INDUSTRIAL_BUILDER_BLACK" Index="1" Atlas="ICON_ATLAS_UNIT_FLAG_SYMBOLS_BLACK"/>
<Row Name="ICON_UNIT_MODERN_BUILDER_WHITE" Index="1" Atlas="ICON_ATLAS_UNIT_FLAG_SYMBOLS_WHITE"/>
<Row Name="ICON_UNIT_MODERN_BUILDER_BLACK" Index="1" Atlas="ICON_ATLAS_UNIT_FLAG_SYMBOLS_BLACK"/>
</IconDefinitions>
</GameInfo>



Spoiler modinfo :

<Components>
...
<Icons id="BBMIcons">
<Items>
<File>Icons.xml</File>
</Items>
</Icons>
</Components>
<Files>
...
<File>Icons.xml</File>
</Files>



To get fix the embark for laters builders i added this block (between Units and UnitUpgrages):

Spoiler Builder.xml :

<?xml version="1.0" encoding="utf-8"?>
<GameInfo>
...
<Units>
...
</Units>
<Technologies>
<Update>
<Where TechnologyType="TECH_CONSTRUCTION"/>
<Set EmbarkUnitType="UNIT_MEDIEVAL_BUILDER" />
</Update>
<Update>
<Where TechnologyType="TECH_METAL_CASTING"/>
<Set EmbarkUnitType="UNIT_INDUSTRIAL_BUILDER" />
</Update>
<Update>
<Where TechnologyType="TECH_REPLACEABLE_PARTS"/>
<Set EmbarkUnitType="UNIT_MODERN_BUILDER" />
</Update>
</Technologies>
<UnitUpgrades>
...
</UnitUpgrades>
...
</GameInfo>
 
There is an XML error in version 0.9:
Code:
<stability>Beta</Stability>
Civ 6 may be ignoring it, but it breaks other XML parsers--start and end tags have to have identical case.
 
Any issue with me using portions of this mod in my own mod? Naturally I'll give you credit.

Thanks!
 
Back
Top Bottom