VoidGenerator (obsolete)
#4
That should be pretty easy to add though. Something like this should work:
function OnChunkGenerating(World, ChunkX, ChunkZ, ChunkDesc)
	-- Other code
	
	local ChunkSpawnX, ChunkSpawnZ = math.floor(World:GetSpawnX() / 16), math.floor(World:GetSpawnZ())
	if ((ChunkSpawnX == ChunkX) and (ChunkSpawnZ == ChunkZ)) then
		FillRelCuboid(0, 15, 8, 8, 0, 15, E_BLOCK_STONE, 0)
	end
end

This will create a floor of stone blocks on the spawn chunks at layer 8. Smile
Reply
Thanks given by:


Messages In This Thread
VoidGenerator (obsolete) - by DiamondToaster - 04-11-2015, 10:56 AM
RE: VoidGenerator - by Aberts10 - 09-18-2015, 08:11 AM
RE: VoidGenerator - by DiamondToaster - 09-18-2015, 09:10 AM
RE: VoidGenerator - by NiLSPACE - 09-23-2015, 09:45 PM
RE: VoidGenerator - by DiamondToaster - 09-24-2015, 05:54 AM
RE: VoidGenerator - by Seadragon91 - 09-24-2015, 05:58 AM
RE: VoidGenerator - by xoft - 09-24-2015, 06:24 AM
RE: VoidGenerator - by DrMasik - 09-24-2015, 08:47 AM



Users browsing this thread: 3 Guest(s)