Adding Generator For Single Prefab Structures
#28
Avaiable Pool Metadata:

  • GridSizeX
    - Numeric Value: every n blocks in X direction the structure is placed
  • GridSizeZ
    - Numeric Value: every n blocks in Z direction the structure is placed
  • MaxDepth
    - Numeric Value: Maximum depth of recursion while placing the structure (limits the size of composed structures)
  • MaxOffsetX
    - Numeric Value: Maximum X deviation fromĀ  the position resulting from GridSizeX
  • MaxOffsetZ
    - Numeric Value: Maximum Z deviation fromĀ  the position resulting from GridSizeZ
  • MaxStructureSizeX
    - Numeric Value: Maximum size of the structure in X direction
  • MaxStructureSizeZ
    - Numeric Value: Maximum size of the structure in Z direction
  • SeedOffset
    - Numeric Value: a Value to add to the seed provided to generation (modifies the generation for every structure)
  • AllowedBiomes
    - list of all allowed biomes as strings and comma seperated
  • AllowedRotations
    - Numeric Value
  • IsStarting
    - NumericBool (0,1): defines if the piece is a starting piece

Village specific Pool data: (quite self explainatory)

  • MaxDensity
  • MinDensity
  • VillageRoadBlockType
  • VillageRoadBlockMeta
  • VillageWaterRoadBlockType
  • VillageWaterRoadBlockMeta
Avaiable Piece Metadata:

  • AddWeightIfSame
  • DefaultWeight
  • DepthWeight
  • MergeStrategy
    - msOverwrite
    - msFillAir
    - msImprint
    - msLake
    - msSpongePrint
    - msDifference
    - msSimpleCompare
    - msMask
  • MoveToGround
    - NumericBool (0,1)
  • VerticalLimit (Sets the maximum value for y position)
    - "", none
    - Above
    - AboveTerrain
    - AboveTerrainAndOcean- Below- BelowTerrain- BelowTerrainOrOcean
  • VerticalStrategy
    - Fixed ("Fixed|NumericValue")
    - Range ("Range|LowNumericValue|HighNumericValue")
    - TerrainTop ("|LowNumericValue|RangeLimitNumericValue") the LowNumericValue describes the offset to terrain top. And RangeLimitNumericValue describes the possible range the object may be placed in. Positive values over Terrain. Negative below.
    - TerrainOrOceanTop ("|NumericValue|RangeLimitNumericValue") the NumericValue describes the offset to terrain top. And RangeLimitNumericValue describes the possible range the object may be placed in.Positive values over Terrain. Negative below.
  • ExpandFloorStrategyy (names are self explainatory)
    - RepeatBottomTillNonAir
    - RepeatBottomTillSolid (Note: Plants and so on are not overwritten)
    - none
  • ShouldExpandFloor
    - Numeric Bool (0,1)
Reply
Thanks given by:


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



Users browsing this thread: 1 Guest(s)