Skip to content

LandClasses

LandClasses are regions specified by the LandControl PQSMod that can locally customize several features of the PQS, including features from other PQSMods like HeightColorMap or noise PQSMods. LandClasses can change terrain height, change terrain color, add color noise and height noise, and add ground scatters. LandClasses are defined via ranges of altitude, latitude, and longitude.

Subnodes - Both are defined under the main table.

  • LerpRange { } = Defines range values
  • Scatters { } = Defines used scatter amounts

Example

LandControl
{
  LandClasses
  {
    Value
    {
      alterApparentHeight = 100
      alterRealHeight = 10
      color = 1,1,1,0
      coverageBlend = 1
      coverageFrequency = 12	
      coverageOctaves = 6
      coveragePersistance = 0.5
      coverageSeed = 234124
      name = IceCaps
      latDelta = 0
      latitudeFloat = True
      lonDelta = 1
      minimumRealHeight = 20
      noiseBlend = 0.25
      noiseColor = 0.552238822,0.519182861,0.480795324,0
      noiseFrequency = 24
      noiseOctaves = 8
      noisePersistance = 0.5
      noiseSeed = 5646345
      altitudeRange
      {
        endEnd = 2
        endStart = 2
        startEnd = -0.5
        startStart = -0.5
      }
      latitudeRange
      {
        endEnd = 0.0414999984204769
        endStart = 0.0399999991059303
        startEnd = -10
        startStart = -10
      }
      latitudeFloatRange
      {
        endEnd = 11
        endStart = 11
        startEnd = 0.96000000089407
        startStart = 0.958500001579523
      }
      longitudeRange
      {
        endEnd = 10
        endStart = 10
        startEnd = -10
        startStart = -10
      }
      Scatters
      {
        Value
        {
          density = -1
          scatterName = BrownRock
          delete = False
        }
      }
    }
  }
}
PropertyFormatDescription
nameTextThe name of the LandClass.
alterApparentHeightDecimalSupposedly adjusts the terrain's appearance. Only ever observed in the practice of forming icecaps.
alterRealHeightDecimalSupposedly adjusts the terrain's actual height.
minimumRealHeightDecimalThe minimum height of the LandClass's terrain.
colorColorThe color of the region.
coverageBlendDecimalThe blend of the coverage with surrounding LandClasses.
coverageFrequencyDecimalThe size of the each feature of the LandClass coverage. As frequency gets bigger, size gets smaller.
coverageOctavesIntegerThe amount of blanketing over the LandClass coverage. Higher octaves mean rougher coverage.
coveragePersistanceDecimalThe complexity of or amount of detail in the LandClass coverage.
coverageSeedIntegerThe random seed of the LandClass coverage.
noiseBlendDecimalThe blend of the LandClass noise with adjacent terrain.
noiseFrequencyDecimalThe size of the each feature of the LandClass noise. As frequency gets bigger, size gets smaller.
noiseOctavesIntegerThe amount of blanketing over the LandClass noise. Higher octaves mean rougher noise.
noisePersistanceDecimalThe complexity of or amount of detail in the LandClass noise.
noiseSeedIntegerThe random seed of the LandClass noise.
noiseColorColorThe main color of the noise to be added to the LandClass.
latDeltaDecimalThe change between min and max of the latitude specified. 0 latitude?
latitudeDoubleBooleanWhether to use a second latitude range - could be used for mirroring over the equator.
lonDeltaDecimalThe change between min and max of the longitude specified. 0 longitude?
altitudeRangeLerpRangeDetermines the heights at which the LandClass encompasses.
latitudeRangeLerpRangeDetermines the latitudes at which the LandClass encompasses.
latitudeFloatRangeLerpRangeDetermines the second latitudes at which the LandClass encompasses - only used if latitudeFloat is true.
longitudeRangeLerpRangeDetermines the longitudes at which the LandClass encompasses.

LerpRange

Each LerpRange { } node describes a range of numbers to encompass, or lerp over. These ranges are applied to each dimension. The image below describes the valid ranges for latitude and longitude, with a handy diagram at the bottom for a visual description of the coverage of the LandClass over a Float "dimension." Areas where coverage is not complete are determined by the coverage___ properties.

alttext

PropertyFormatDescription
startStartDecimalThe true start of the LandClass coverage. Coverage before this point is non-existent, while coverage after this point is sparse.
startEndDecimalThe end of the starting area of the LandClass coverage. Coverage before this point is sparse, while coverage after this point is complete.
endStartDecimalThe start of the ending area of the LandClass coverage. Coverage before this point is complete, while coverage after this point is sparse.
endEndDecimalThe true end of the LandClass coverage. Coverage before this point is sparse, while coverage after this point is non-existent.

Scatters

Although not a true scatters node, the Scatters { } node in a LandClass node has a list of values in which each modifies the density of the scatter's use in the LandClass.

PropertyFormatDescription
densityDecimalThe amount to modify the scatter's density with. Seems to be multiplied with the scatter's maxScatter?
scatterNameTextThe name of the scatter to modify the density of.