Surface Structures

This is a mod that will place `.glb` meshes onto the surface of a Celestial at a specified Landmark.

License: MIT

Game Version: 2026.4.16.4170

Downloads: 51

Author: MrJeranimo

Followers: 0

Outdated Mod

This mod is not known to work with the latest version of Kitten Space Agency. Proceed with caution.

Surface Structures

This is a KSA mod that will place .glb meshes onto the surface of a Celestial at a specified Landmark. The mod will automatically find all Surface Structures defined in other mods in Documents/My Games/Kitten Space Agency/mods that have a file named Surface Structures.xml. You can also define a Mountain, City, or Landmark Reference in the Surface Structures.xml file and Surface Structures will create them.

There is a built in Editor available when debug = true which is found in the config.json file in the mod files.

This mod contains 1 example Surface Structure and 1 example of each of the Location References.

Requirements:

StarMap mod loader

ModMenu

License: MIT

Source Code: https://github.com/MrJeranimo/Surface-Structures

Usage

To use the mod, download the latest release and extract the folder into the My Games/Kitten Space Agency/mods/ folder.

Finally, add the code below to the manifest.toml file in My Games/Kitten Space Agency/.

[[mods]]
id = "Surface Structures"
enabled = true

Creating your own Surface Structure(s)

To create your own Surface Structure(s), you must create a Surface Structures.xml file in your mod. It can be at the top-level folder of your mod or below, this mod will find it. Inside the XML file, you should follow this layout for each Structure you wish to add.

<Structures>
  <Landmark Name="Example Landmark">
    <Celestial Id="Earth" />
    <Longitude Degrees="-60.528" />
    <Latitude Degrees="31.997" />
    <Visible Value="true" />
  </Landmark>
  <SurfaceStructure Id="VAB">
    <Landmark Name="CCSFS LC-39A" />
    <PartId Id="VAB" />
    <Position X="-700" Y="0" Z="10" />
    <Rotation X="270" Y="0" Z="0" />
    <Scale X="3" Y="3" Z="3" />
    <Visible Value="true" />
  </SurfaceStructure>
</Structures>

Each <Surface Structure> set of tags you create will correspond to one new Structure/Mesh drawn by this mod. Once you have your Surface Structures.xml filled out, the Meshes should be automatically drawn to those landmarks.

To easily make complicated structures, there is a built-in Structure Editor ONLY when running in debug mode. To run the mod in debug mode, change the "debug" value to true in config.json.

What each tag means

The Id in <SurfaceStructure Id=""> is the name of the structure.

The name in <Landmark Name="CCSFS LC-39A"/> is the name of the landmark you want to place the mesh at. The landmark can be defined by KSA Core or inside the Surface Structures.xml file.

For example,

<Landmark Name="Example Landmark">
    <Celestial Id="Earth" />
    <Longitude Degrees="-60.528" />
    <Latitude Degrees="31.997" />
    <Visible Value="true" />
</Landmark>

The Id in <MeshID id="DirectionCube"/> is the defined Id in a `<PartId Id=""/>``.

<SurfaceStructure Id="">, <Landmark Name=""/>, and <PartId Id=""/> must all exists and have valid values to register the Mesh to be drawn at the Landmark.

The <Visible> tag just set the mesh to be visible or not. It is an optional tag as, by default, it is set to true.

The <Position>, <Rotation>, and <Scale> tags let you apply transfom offsets to the mesh using the Landmark as (0, 0, 0). These tags are optional as, by default, they will be set to (0, 0, 0), (0, 0, 0), and (1, 1, 1) respectively. <Rotation> uses Degrees for its float values.

The convention follows the Right-Hand-Rule with,

+X = Forward [East]

+Y = Left [North]

+Z = Up [Up]

This is self explanitory for Position and Scale.

For Rotation,

+X will PITCH the Foward side UP

+Y will ROLL the mesh to the LEFT

+Z will YAW the mesh to the RIGHT.

The Position, Rotation, and Scale are all independent of each other so you do not need to worry about order of application. The Rotations are done with a Quaternion so you do not need to worry about gimbal lock.

Loading changelog...

Stats for Surface Structures

Downloads over time

Downloads per version

New followers per day

Top Referrers

  1. spacedock.info
  2. www.google.com
  3. sd-prod-live.52k.de
  4. sd-prod-stage.52k.de
  5. sd1a.52k.de
  6. sd1b.52k.de
  7. forums.ahwoo.com

Export Raw Stats

Export Downloads

Export Followers

Export Referrals

Raw stats are from the beginning of time until now. Each follower and download entry represents one hour of data. Uneventful hours are omitted.