Skip to content

Commit

Permalink
Fix Broken Links (#83)
Browse files Browse the repository at this point in the history
* properties/biomes

* DataTypes

* stray {

* PQS materials

* template biomes

* remove extension from hazardousbody link

* SeaLevelScatter

* scatter material types

* add syntax to pqsmod links
  • Loading branch information
DeltaDizzy authored Jul 20, 2024
1 parent 423d728 commit 5c4d7cb
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/Syntax/PQSMods/LandControl/ModularScatter/SeaLevelScatters"
@page "/Syntax/PQSMods/LandControl/ModularScatter/SeaLevelScatter"

<PageTitle>@pageTitle</PageTitle>

Expand Down
2 changes: 1 addition & 1 deletion wwwroot/content/syntax/Body.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The `Body { }` node contains all the aspects of a body and describes the essenti
- [Properties { }](/Syntax/Properties)
- [Orbit { }](/Syntax/Orbit)
- [ScaledVersion { }](/Syntax/ScaledVersion)
- [Atmosphere { }]({/Syntax/Atmosphere)
- [Atmosphere { }](/Syntax/Atmosphere)
- [PQS { }](/Syntax/PQS)
- [Ocean { }](/Syntax/Ocean)
- [Rings { }](/Syntax/Rings)
Expand Down
4 changes: 2 additions & 2 deletions wwwroot/content/syntax/Orbit.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Orbit
|Property|Format|Description|
|--------|------|-----------|
|referenceBody|Text|The `name` of the object the body orbits.|
|color|Color|The color of the orbit line. See [the DataTypes page]( /Syntax/datatypes) for more info on colors.|
|color|Color|The color of the orbit line. See [the DataTypes page]( /Prerequisites/DataTypes) for more info on colors.|
|inclination|Decimal|The tilt of the orbit in degrees. 0 = normal, 90 = polar, 180 = retrograde, etc...|
|eccentricity|Decimal|The difference between your body's apoapsis and periapsis. It is a value between 0 and 1, where 0 is a perfect circle, and 1 is a straight line. 0.5 would give an oval shape.|
|period|Decimal|The custom orbital period in seconds. This can be used to set extreme orbital periods.|
Expand All @@ -30,7 +30,7 @@ Orbit
|[meanAnomalyAtEpoch](https://en.wikipedia.org/wiki/Mean_anomaly)|Decimal|The position of the body along the orbit, in radians, at the specified epoch between 0 and 2π, where 0 is the periapsis and π is the apoapsis.|
|meanAnomalyAtEpochD|Decimal|Similar to `meanAnomalyAtEpoch`, but is in degrees instead of radians. Useful for more precise measurement.|
|epoch|Decimal|The epoch at which `meanAnomalyAtEpoch` is described. Typically should be at 0 for best accuracy.|
|iconColor|[Color]( /Syntax/datatypes)|(Also nodeColor) The color of the orbit icon/node.|
|iconColor|[Color]( /Prerequisites/DataTypes)|(Also nodeColor) The color of the orbit icon/node.|
|iconTexture|File Path|The path to the custom icon texture.|
|mode|OrbitDrawMode|Orbit Draw Mode. Possible values are `OFF`, `REDRAW_ONLY`, `REDRAW_AND_FOLLOW`, and `REDRAW_AND_RECALCULATE`. Default is `REDRAW_AND_RECALCULATE`.|
|icon|OrbitDrawIcons|Orbit Icon Mode. Possible values are `NONE`, `OBJ`, `OBJ_PE_AP`, and `ALL`. Default is `ALL`.|
Expand Down
4 changes: 2 additions & 2 deletions wwwroot/content/syntax/PQS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ The `PQS { }` node describes properties of the Procedural Quad Sphere that makes
## Subnodes {#Subnodes}
* PhysicsMaterial { } (below)
* Material { }
+ [AtmosphericTriplanarZoomRotation]( /Syntax/Material/PQSAtmosphericTriplanarZoomRotation)
+ [AtmosphericTriplanarZoomRotationTextureArray]( /Syntax/Material/PQSAtmosphericTriplanarZoomRotationTextureArray)
+ [AtmosphericTriplanarZoomRotation]( /Syntax/Material/AtmosphericTriplanarZoomRotation)
+ [AtmosphericTriplanarZoomRotationTextureArray]( /Syntax/Material/AtmosphericTriplanarZoomRotationTextureArray)
* FallbackMaterial { }
* [Mods { }]( /Syntax/PQSMods)

Expand Down
2 changes: 1 addition & 1 deletion wwwroot/content/syntax/PQSMods/HeightColorMap2.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The `HeightColorMap2` PQSMod is a mod that colors the terrain based on altitude using user-defined landclasses and has slightly more configuration options than [HeightColorMap](/pqsmods/heightcolormap).
The `HeightColorMap2` PQSMod is a mod that colors the terrain based on altitude using user-defined landclasses and has slightly more configuration options than [HeightColorMap](/Syntax/PQSMods/HeightColorMap).

## Subnodes {#Subnodes}
* `LandClasses { }` (defined below)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ LandControl
}
}
```
Many parameters function identically to corresponding parameters in [HazardousBody](/Syntax/HazardousBody.md).
Many parameters function identically to corresponding parameters in [HazardousBody](/Syntax/HazardousBody).

|Property|Format|Description|
|--------|------|-----------|
Expand Down
2 changes: 1 addition & 1 deletion wwwroot/content/syntax/PQSMods/LandControl/Scatters.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ LandControl
| lethalRadiusMsg | Text | A message to be displayed in a dialog box when a kerbal is killed by `lethalRadius`. Leave empty to disable. |
| lethalRadiusWarnMsg | Text | A message to be displayed in a dialog box when a kerbal comes within 2x `lethalRadius` to alert the player. Leave empty to disable. |
| seed | Integer | The random seed for scatter distribution. |
| materialType | [ScatterMaterialType]( /Syntax/PQSMods/LandControl/ScatterMaterialType) | The type of the material of the scatter. Valid options can be found on the [ScatterMaterialType]( /Syntax/PQSMods/LandControl/ScatterMaterialType) page. |
| materialType | [ScatterMaterialType]( /Syntax/PQSMods/LandControl/ScatterMaterial) | The type of the material of the scatter. Valid options can be found on the [ScatterMaterialType]( /Syntax/PQSMods/LandControl/ScatterMaterial) page. |
| material | BUILTIN | Stock material to use instead of specifying a materialType and Material { }. Avoid using this! Will not work in conjunction with the materialType and Material { }. |
| mesh | File Path | The path to an .obj file that contains the scatter's mesh. |
| Meshes | List of File Paths | A list of meshes that will be picked randomly. Inside this node, there can be keys named anything, and the value should be the file path to the .obj file. |
Expand Down
2 changes: 1 addition & 1 deletion wwwroot/content/syntax/PQSMods/VertexColorMapBlend.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Like its alternative [VertexColorMap](/PQSMods/VertexColorMap), the `VertexColorMapBlend` PQSMod adds color to a body using a color map. However, this PQSMod "blends" in the color map to the existing texture by blending the edges of the color segment (i.e., between transparent and colored sections on the map).
Like its alternative [VertexColorMap](/Syntax/PQSMods/VertexColorMap), the `VertexColorMapBlend` PQSMod adds color to a body using a color map. However, this PQSMod "blends" in the color map to the existing texture by blending the edges of the color segment (i.e., between transparent and colored sections on the map).

## Example {#Example}
```
Expand Down
4 changes: 2 additions & 2 deletions wwwroot/content/syntax/PQSMods/VertexHeightNoise.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ PQS
|persistence|Decimal|The complexity of or amount of detail in the noise.|
|lacunarity|Decimal|The size of the gaps that are in the noise.|
|seed|Integer|The random seed of the noise.|
|noiseType|[NoiseType]( /Syntax/datatypes)|The type of the specified noise.|
|mode|[NoiseQuality]( /Syntax/datatypes)|The quality mode of the noise.|
|noiseType|[NoiseType]( /Prerequisites/DataTypes)|The type of the specified noise.|
|mode|[NoiseQuality]( /Prerequisites/DataTypes)|The quality mode of the noise.|


This may seem nice, but there are several issues with VertexHeightNoise. These include:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The `VertexHeightNoiseVertHeightCurve2` PQSMod is one of several mods in the HeightNoise family. They all produce heightmap noise, which can make terrain considerably more interesting.
It is considered by some to be a much more customizable and far stabler alternative to [`VertexHeightNoise`](/PQSMods/VertexHeightNoise).
It is considered by some to be a much more customizable and far stabler alternative to [`VertexHeightNoise`](/Syntax/PQSMods/VertexHeightNoise).

To replicate the effects of `VertexHeightNoise`, simply set the `ridgedSub` and `simplex` keys to 0 and set the `simplexCurve` to
```
Expand Down Expand Up @@ -57,7 +57,7 @@ NOTE: `___` is substituted for "Add" and "Sub." "Add" creates a "base layer" of
|Property|Format|Description|
|--------|------|-----------|
|deformity|Decimal|The overall deformity of the noise.|
|ridgedMode|[NoiseQuality]( /Syntax/datatypes)|The noise quality for both `ridgedAdd` and `ridgedSub`.|
|ridgedMode|[NoiseQuality]( /Prerequisites/DataTypes)|The noise quality for both `ridgedAdd` and `ridgedSub`.|
|ridged___Frequency|Decimal|The size of the each feature of the ridged noise. As frequency gets bigger, size gets smaller.|
|ridged___Lacunarity|Decimal|The size of the gaps that are in the noise.|
|ridged___Octaves|Integer|The amount of blanketing over the noise. Higher octaves mean rougher noise.|
Expand Down
2 changes: 1 addition & 1 deletion wwwroot/content/syntax/PQSMods/VertexSimplexHeight.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The `VertexSimplexHeight` PQSMod generates monochrome [Perlin noise](/Prerequisites/datatypes.md) for use in terrain deformation.
The `VertexSimplexHeight` PQSMod generates monochrome [Perlin noise](/Prerequisites/DataTypes.md) for use in terrain deformation.

## Example {#Example}
```
Expand Down
2 changes: 1 addition & 1 deletion wwwroot/content/syntax/PQSMods/VertexSimplexNoiseColor.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The `VertexSimplexNoiseColor` PQSMod generates RGB [Perlin noise](/Prerequisites/datatypes) for use in terrain coloration.
The `VertexSimplexNoiseColor` PQSMod generates RGB [Perlin noise](/Prerequisites/DataTypes) for use in terrain coloration.

## Example {#Example}
```
Expand Down
2 changes: 1 addition & 1 deletion wwwroot/content/syntax/Properties/Properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ Properties
|RnDVisibility|RnDVisibility|(Also RDVisibility) The visibility state of the body in the RnD archives. Possible values are `Visible`, `Noicon`, `Hidden`, or `Skip`.|
|RnDRotation|Boolean|Whether the body should rotate in the RnD archives.|
|maxZoom|Decimal|The max zoom limit for the tracking station and the map view. Sets the number of meters that can fit in the full height of the screen.|
|biomeMap|File Path|The path to the biome map texture. See the [Biome subnode]( /Syntax/Properties/Biome) for more information|
|biomeMap|File Path|The path to the biome map texture. See the [Biomes subnode]( /Syntax/Properties/Biomes) for more information|
2 changes: 1 addition & 1 deletion wwwroot/content/syntax/Template.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Template
|name|Text|The name of your template body. *Only the names of stock-bodies are valid.*|
|removePQS|Boolean|Whether Kopernicus should remove the surface of the template body. See the [PQS subnode]( /Syntax/PQSMods/PQS) for more details.|
|removeAtmosphere|Boolean|Whether to remove the atmosphere from the template body. See the [Atmosphere subnode]( /Syntax/Atmosphere/Atmosphere) for more details.|
|removeBiomes|Boolean|Whether to remove the biomes of the template body. See the [Biome subnode]( /Syntax/Properties/Biome) for more details.|
|removeBiomes|Boolean|Whether to remove the biomes of the template body. See the [Biomes subnode]( /Syntax/Properties/Biomes) for more details.|
|removeOcean|Boolean|Whether to remove the ocean of the template body. See the [Ocean subnode]( /Syntax/Ocean) for more details.|
|removePQSMods|Text List|A selection of terrain modifications that Kopernicus should remove. Possible values are listed on the [PQSMods page]( /Syntax/PQSMods).|
|removeAllPQSMods|Boolean|Whether to remove every terrain modification from the template body and make it a perfect sphere.|
Expand Down

0 comments on commit 5c4d7cb

Please sign in to comment.