Deliverator
Graphical Hackificator
If you check out the Mountains Back to Service modpack thread, david has raised this issue there. Basically, the peak related tags don't do what we want - it is an issue with the modpack.
hey,
this wasn't adresed yet, but some vehicles like quad can go over some of the peaks,
i think i know why, peak isnt a regular terran, its placed over a regular terrain , so theres one terrain that it allows the quad to go over and another - that wont allow it to pass.
def addFeatures():
[...]
peak = gc.getInfoTypeForString("TERRAIN_PEAK")
[COLOR="red"]peakfeat = gc.getInfoTypeForString("FEATURE_Test")[/COLOR]
for ix in range(xmax):
for iy in range(ymax):
pPlot = map.plot(ix, iy)
[...]
# Make all Graben terrain into Sink/Graben unless Coastal in which case make it Mesa
elif pPlot.getTerrainType() == plains:
pPlot.setPlotType(PlotTypes.PLOT_HILLS, false, false)
[COLOR="Red"]if pPlot.isPeak():
pPlot.setFeatureType(peakfeat, 0)[/COLOR]
To emphasize David's point; did you install another patch after saving the game?
# Replace Hills with Peaks (to make Peaks=Mesa more prevalent)
elif pPlot.isHills():
pPlot.setPlotType(PlotTypes.PLOT_PEAK, false, false)
pPlot.setTerrainType(peak, false, false)
Please do test carefully to see if the AI is still able to reach cities to attack them. We may decide this hurts gameplay too much.
it seems that mostly the remaining peaks without the feature are the ones on rugged terrain,
This vista problem bothers me. I have posted on this thread to learn more.
you mean this?
if pPlot.isPeak():
pPlot.setFeatureType(peakfeat, 0)
and sure ill make the proper tests