strategyonly
C2C Supreme Commander
9203
- Disables standard barbarian spawning in most cases.
So its ok now to use ALL of the NEW options (at once) withOUT CTD's??
9203
- Disables standard barbarian spawning in most cases.
So its ok now to use ALL of the NEW options (at once) withOUT CTD's??
listPlots = []
for i in range(map.numPlots()):
loopPlot = map.plotByIndex(i)
if (loopPlot.getOwner() == kTriggeredData.ePlayer and loopPlot.getFeatureType() == iForest and loopPlot.isHills()):
iDistance = plotDistance(kTriggeredData.iPlotX, kTriggeredData.iPlotY, loopPlot.getX(), loopPlot.getY())
if iDistance > 0:
[B][COLOR="Red"] listPlots.append((iDistance, loopPlot))
listPlots.sort()[/COLOR][/B]
listPlots = []
for i in range(map.numPlots()):
loopPlot = map.plotByIndex(i)
if (loopPlot.getOwner() == kTriggeredData.ePlayer and loopPlot.getFeatureType() == iForest and loopPlot.isHills()):
iDistance = plotDistance(kTriggeredData.iPlotX, kTriggeredData.iPlotY, loopPlot.getX(), loopPlot.getY())
if iDistance > 0:
listPlots.append((iDistance, loopPlot))
listPlots.sort([B][COLOR="Red"]key=itemgetter(0)[/COLOR][/B])
9223
9224
- Added new map script called C2C_WORLD_WIP.py. it is still rough and will need further tweaking; bugs are expected.
- Some misc. cleanup and maintenance.
-oops, added an outdated version of the mapscript in my last commit.