So after installing and successfully compiling my first non-modded DLL, I started to try a little Mod with XML changes myself. Without the Tutorials from Kael, Duke176 and the other I wouldn't probably succeed.
So here is my first SDK Modcomp:
It's more or less a One Unit per Plot System like in Civ5. I added a new XML Tag under iMoves, which says how much Percent of the Plot the Unit takes. When there wouldn't be room for the Unit which wants to move to the Plot it can't move on the Plot. For Example Siege Units take 50% of a Plot, while Archer take only 20%. So only two Siege Units can be on the same plot, while on the same Plot could stand 5 Archer or 2 Archer and one Siege Unit. Ships are not affected by this.
It's easy to change the amount of Place the Unit takes by XML in the CIV4UnitInfos.xml:
I hope this little Mod is useful for someone, I could imagine that it could be useful for various Warfare Scenarios.
Changelog:
V1.3:
-Terrain, Improvement and Feature Capacity changeable by XML
V1.2:
- The Capacity of the Cities is changeable by XML
V1.1:
- Units have a XML Tag, which says how much of a Plot they take
- If the Plot is Full it's not possible to move there
So here is my first SDK Modcomp:
VKs Plot Capacity Modcomp
It's more or less a One Unit per Plot System like in Civ5. I added a new XML Tag under iMoves, which says how much Percent of the Plot the Unit takes. When there wouldn't be room for the Unit which wants to move to the Plot it can't move on the Plot. For Example Siege Units take 50% of a Plot, while Archer take only 20%. So only two Siege Units can be on the same plot, while on the same Plot could stand 5 Archer or 2 Archer and one Siege Unit. Ships are not affected by this.
It's easy to change the amount of Place the Unit takes by XML in the CIV4UnitInfos.xml:
Code:
<iMinAreaSize>-1</iMinAreaSize>
<iMoves>1</iMoves>
---> <iUnitPlotCost>20</iUnitPlotCost>
<bNoRevealMap>0</bNoRevealMap>
I hope this little Mod is useful for someone, I could imagine that it could be useful for various Warfare Scenarios.
Changelog:
Spoiler :
V1.3:
-Terrain, Improvement and Feature Capacity changeable by XML
V1.2:
- The Capacity of the Cities is changeable by XML
V1.1:
- Units have a XML Tag, which says how much of a Plot they take
- If the Plot is Full it's not possible to move there