Skip to content

PQSCity and PQSMod_MapDecalTangent

NathanKell edited this page Mar 8, 2016 · 4 revisions

Variable Types bool = True / False (a Boolean value) double = X.YY (a double-precision floating-point number, i.e. a "real number") float = same as above, just lower-precision int = X (an integer) Vector3 = X.XX, Y.YY, Z.ZZ ( a 3-dimensional vector, i.e. a triplet of floats)

PQSCity

lodvisibleRangeMult = double, multiplier to the maximum range at which KSC is displayed

latitude and longitude are self-explanatory, and override RepositionRadial

repositionRadiusOffset = double, height above sea level to place the object.

repositionToSphereSurface = bool, reposition to the PQS terrain surface, rather than to sea level (defaults to false)

repositionToSphereSurfaceAddHeight = bool, if above is true, then RadiusOffset is added to height above ground for placing KSC if and only if this is set true

reorientInitialUp = Vector3, the up-vector to use when reorienting the model. Should be fine to leave alone if you want a flat runway and launchpad.

reorientFinalAngle = float (degrees), angular offset for orienting KSC. If the runway doesn't point due east, use this.

PQSMod_MapDecalTangent

radius = double, radius in meters to use the decal heightmap instead of the base terrain heightmap (the default heighmap for this particular instance is flat, since it's used to flatten the land around KSC)

heightMapDeformity = double, height in meters for pure white in the heightmap. Basically controls the height of the flat land above any absoluteOffset.

absolute = bool, whether the heightmap is applied absolutely (so deformity = height in meters above sea level + offset [see below]) or relatively (so deformity = height above existing terrain feature)

absoluteOffset = double, "base" height for the decal. If this is 100 and deformity = 50, then pure black in the heightmap = 100m and pure white = 150m above sea level.