CityWorld

CityWorld

139k Downloads

No isolated lots generating (castle, radio tower, tents, etc)

keenerb opened this issue · 6 comments

commented

In naturecontext,

if (state != HeightState.BUILDING &&
generator.shapeProvider.isIsolatedConstructAt(platmap.originX + x, platmap.originZ + z, oddsOfIsolatedConstructs / 2))

is never true, microscaleat seems to generate only numbers between 0.5 and 1; oddsofIsolatedConstructs is .125, so it is impossible for one to be generated.

commented

I've been tinkering with the 1.8 spigot builds and don't see any isolated plots.

commented

Interesting, I will take a look at it

commented

I see them from time to time, I think this is fixed... again

commented

This should now be working

commented

Interesting... It would not surprise me. I will take a look tonight.
Date: Mon, 21 Apr 2014 11:59:45 -0700
From: [email protected]
To: [email protected]
Subject: [CityWorld] No isolated lots generating (castle, radio tower, tents, etc) (#13)

In naturecontext,

if (state != HeightState.BUILDING &&

        generator.shapeProvider.isIsolatedConstructAt(platmap.originX + x, platmap.originZ + z, oddsOfIsolatedConstructs / 2))

is never true, microscaleat seems to generate only numbers between 0.5 and 1; oddsofIsolatedConstructs is .125, so it is impossible for one to be generated.


Reply to this email directly or view it on GitHub.

commented

I just added 0.5 and it seems to work OK.

generator.shapeProvider.isIsolatedConstructAt(platmap.originX + x, platmap.originZ + z, (oddsOfIsolatedConstructs / 2) + 0.5))

You can take a look at http://clearvm.poweredbyclear.com:9123, everything seems to be there finally.