No isolated lots generating (castle, radio tower, tents, etc)
keenerb opened this issue · 6 comments
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.
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.
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.