MaxRiga
Emperor
does any1 have ideas how to make range for nukes? i want to make short-middle and long range for balistic misselis.
thax for any info.
thax for any info.
MaxRiga said:i mean range like planes have, 5 or 8 or 15 etc
GarretSidzaka said:you should look at my fusion bomb. it implements less damage, but alas i couldnt make it less range either. but if you think about it, unless the "tactical nuke" were mobile (unlike any civ4 nukes), it would be worthless, as only major cities usually produce these units, and often they are imbedded deep in your county, far away from enemies or nukable terrain.
int xDiff = pPlot->getX_INLINE()-iX;
int yDiff = pPlot->getY_INLINE()-iY;
if (xDiff*xDiff + yDiff*yDiff > MaxNukesDistance)
{
return false;
}
pTargetPlot = GC.getMapINLINE().plotINLINE(iX, iY);