Skip to content

PlayerSpawnPoint

Celestial Body Schema / Definitions / PlayerSpawnPoint
Schema Type: JSON Type: object

No Description Found

offset

Type: MVector3

Offsets the player/ship by this local vector when spawning. Used to prevent spawning in the floor. Optional: defaults to (0, 4, 0).

See Definitions/MVector3

isDefault

Type: boolean

Whether this planet's spawn point is the one the player/ship will initially spawn at, if multiple spawn points exist.
Do not use at the same time as makeDefaultIfFactRevealed or makeDefaultIfPersistentCondition
Spawns unlocked with this have lowest priority


makeDefaultIfFactRevealed

Type: string

If the given ship log fact is revealed, this spawn point will be used
Do not use at the same time as isDefault or makeDefaultIfPersistentCondition
Spawns unlocked with this have highest priority


makeDefaultIfPersistentCondition

Type: string

If the given persistent condition is true, this spawn point will be used
Do not use at the same time as isDefault or makeDefaultIfFactRevealed
Spawns unlocked with this have second highest priority


id

Type: string

ID used to have a black hole or warp volume bring the player to this spawn specifically


rotation

Type: MVector3

Rotation of the object

See Definitions/MVector3

alignRadial

Type: boolean or null

Do we try to automatically align this object to stand upright relative to the body's center? Stacks with rotation.
Defaults to true for geysers, tornados, and volcanoes, and false for everything else.


position

Type: MVector3

Position of the object

See Definitions/MVector3

isRelativeToParent

Type: boolean

Whether the positional and rotational coordinates are relative to parent instead of the root planet object.


parentPath

Type: string

The relative path from the planet to the parent of this object. Optional (will default to the root sector).


rename

Type: string

An optional rename of this object


startWithSuit

Type: boolean

If you spawn on a planet with no oxygen, you probably want to set this to true ;;)