Quick Nav


Back To Top

Description

This is the control script for my Jump Gate station. With minor tweaks, and the appropriate mod, it can keep any other jump gate functional as well. It manages the sensors, gravity generators, and power system, to only activate the drive as necessary - thus saving enormous power cost - and to reboot the drive after use, to keep it functional despite KSH's attempts at breaking gravity assist systems.

Script Options

The script contains the following configurable variables/functions to adapt the script to your ship configuration or needs:

EXCLUSION_TAG

Type: string
Current Default Value:
"NonDriveGravGen"
Gravity generators with this in their name will be ignored for the jump gate control.

FIND_DIRECTION_AUTOMATICALLY

Type: bool
Current Default Value:
false
Whether to automatically determine the direction of the gate by counting grav gens. If false, assumes directionality inline with the programmable block running this script.

RECHARGE_THRESHOLD

Type: float
Current Default Value:
0.8F
If the battery fill fraction drops below this, recharging mode will be enabled.

WAVE_SPEED

Type: float
Current Default Value:
1F
How fast the light wave should move down the gate.

Source Code

The source code for Jump Gate Control can be found here:GitHub

Downloads

Via Steam Workshop