A Pioneertank, which can create hills and also build forts
.
DOWNLOAD
3D-modell: Credits to Rabbit, White for his excellent Chimera-Tank.
Python-Code: Credtis to Tsentom1, i took the basics from his Eden Project.
DOWNLOAD
Can be used as it comes as a stand-alone-mod.
Edit: V2 is up, with the changes, tsentom suggested. The AI will maybe know, how to use it.
If you can report some observations of intelligenct ai-use of the pioneer-tank, please report it.
Feel free to use it
, but give me credit
.
For modders:
I've added the PIONEERTANK at the end of the UnitInfos.xml and UnitClassInfos.xml., the artdefines at the end of the ArtDefines_Unit.xml.
Also added the improvement CREATE_HILL to the ImprovementInfos.xml, and BUILD_CREATE_HILL to the UnitBuildInfos.xml.
There's an entry in the CIV4ArtDefines_Improvement.xml, but it is not important, it's an dummy, you'll never see it.
Important is change of the CvEventManager.py
It just says: If there's an improvement CREATE_HILL, then change the plot to a hill, and destroy the improvement after it.
Not the most elegant way, but it works.
edit: damn, didn't link the pictures right in the download-thread, how can i change that?

DOWNLOAD
3D-modell: Credits to Rabbit, White for his excellent Chimera-Tank.
Python-Code: Credtis to Tsentom1, i took the basics from his Eden Project.
DOWNLOAD
Can be used as it comes as a stand-alone-mod.
Edit: V2 is up, with the changes, tsentom suggested. The AI will maybe know, how to use it.
If you can report some observations of intelligenct ai-use of the pioneer-tank, please report it.
Feel free to use it


For modders:
I've added the PIONEERTANK at the end of the UnitInfos.xml and UnitClassInfos.xml., the artdefines at the end of the ArtDefines_Unit.xml.
Also added the improvement CREATE_HILL to the ImprovementInfos.xml, and BUILD_CREATE_HILL to the UnitBuildInfos.xml.
There's an entry in the CIV4ArtDefines_Improvement.xml, but it is not important, it's an dummy, you'll never see it.
Important is change of the CvEventManager.py
Code:
def onImprovementBuilt(self, argsList):
'Improvement Built'
iImprovement, iX, iY = argsList
###PIONEERTANKBEGIN###
pPlot = CyMap().plot(iX, iY)
if iImprovement == gc.getInfoTypeForString('IMPROVEMENT_CREATE_HILL'):
pPlot.setPlotType(PlotTypes.PLOT_HILLS, True, True)
pPlot.setImprovementType(-1)
###PIONEERTANKEND###
It just says: If there's an improvement CREATE_HILL, then change the plot to a hill, and destroy the improvement after it.
Not the most elegant way, but it works.
edit: damn, didn't link the pictures right in the download-thread, how can i change that?