[A17.1528] Terrain breaks raider base generation

Started by FrozenSnowFox, May 04, 2017, 06:29:12 PM

Previous topic - Next topic

FrozenSnowFox

When generating a raider base it does not take into account the map terrain.  This leads to weird issues where half a raiders crops are unplanted due to stone ground or abandoned buildings or water get in the way.  Attached are two example pictures.  I imagine this might be an issue with spawning other map types as well but its most noticeable on raider bases.

Considering the player never actually sees the map until its loaded in a simple solution would be to forcibly clear the area where the compound will be created to prevent obstructions and other weirdness.

Please ignore the holes in the walls in the second picture.  That was me checking the interior spawning, I forgot to make the screenshot before I did that.

Pictures of the issue

ison

I think it's fine if the crops don't form a perfect rectangle. However the turrets in water is a bug.

Fixed, thanks.

QuoteConsidering the player never actually sees the map until its loaded in a simple solution would be to forcibly clear the area where the compound will be created to prevent obstructions and other weirdness.

We could do it, but this way the bases are more interesting.

Thanks for reporting.