Adding Generator For Single Prefab Structures
#7
So I did some research in the code:

The generation with the cPieceStructureGen is not that good (as you already mentioned here) because the backend expects at least one connection.

So this would result in cSinglePieceStructureGen (New name) similar to cPieceStructuresGen.
This will keep the piece pool and selecting one of the starting pieces but ditchin the whole BFS-thing and just placing them there.

If there's a chest in the structure the generator fills them althoug I would make this dependent on the name of the generated prefab
The Generator must implement the method DrawIntoChunk by cGridStructGen to have access to the chund data to place the chest entity
Reply
Thanks given by:


Messages In This Thread
RE: Adding Generator For Single Prefab Structures - by 12xx12 - 08-22-2020, 02:00 AM



Users browsing this thread: 1 Guest(s)