Caesium
Radiant!
- Joined
- Jan 14, 2006
- Messages
- 526
Hi!
Another interesting question:
How to make mountains passable during the game?
I gave my workers the ability to walk over mountains and to build roads on mountains. But the roads weren't passable, because mountains aren't passable.
So I tried following code, that worked in 1.51:
But the mountains changed to a lake.
Is there anybody who solved a similar problem?
Another interesting question:
How to make mountains passable during the game?
I gave my workers the ability to walk over mountains and to build roads on mountains. But the roads weren't passable, because mountains aren't passable.
So I tried following code, that worked in 1.51:
PHP:
pPlot.setPlotType(PlotTypes.PLOT_HILLS, true, true)
iPEAKID = gc.getInfoTypeForString("TERRAIN_PEAK")
pPlot.setTerrainType(iPEAKID, true, true)
pPlot.setFeatureType(-1,0)
Is there anybody who solved a similar problem?