kOS
1.4.0.0
Home
Table of Contents
Downloads and Links
Tutorials
Community Example Library
General
Bound Variables
CPU Vessel (SHIP)
CPU Hardware
Booting
Game Part
Settings Windows
Making User GUIs
Telnet Server
Files & Volumes
Machine Code
Sound Chip (SKID)
Name Tags
Parts & PartModules
Respecting Career Limits
Language
Mathematics
Commands
Structures
Addons
Contribute
Getting Help
Changes
About
kOS
»
General Topics
View page source
General Topics
¶
These topics discuss the interfacing between
kOS
and
Kerbal Space Program
.
Bound Variables
NAMED VESSELS AND BODIES
Alias shortcuts for SHIP fields
Constants (pi, e, etc)
Terminal
Core
Archive
Stage
NextNode
HasNode
AllNodes
Resource Types
ALT ALIAS
ETA ALIAS
ENCOUNTER
BOOLEAN TOGGLE FLAGS:
Flight Control
Time
System Variables
PROFILERESULT()
SOLARPRIMEVECTOR
OPCODESLEFT
Addons
Colors
CPU Vessel (SHIP)
CPU Hardware
Update Ticks and Physics Ticks
Electric Drain
Triggers
Trigger Interrupt Priority
Wait!!!
CPU Update Loop
The Frozen Universe
Booting
Short version and example
Telling kOS which file is the boot file
When do boot files run
Booting when spawning to launchpad
Game Part
diskSpace
baseDiskSpace
ECPerInstruction:
ECPerBytePerSecond:
diskSpaceCostFactor:
baseModuleCost:
diskSpaceMassFactor:
baseModuleMass:
Settings Windows
kOS Control Panel
KSP Difficulty Settings Window
Making User GUIs
Telnet Server
Telnet clients
Simulate in Background
Using it
Special Keys
HOWTO: Putty client
HOWTO: Command-line client
HOWTO: Other client
Security
Homemade telnet clients
Files & Volumes
Script Files
File Storage Behind the Scenes
You can get more space by paying extra cost in money and mass
Multiple Volumes on One Vessel
Naming Volumes
Volume Name inherits from Tag Name
Archive
Special handling of files in the “boot” directory
Machine Code
Compiling to a KSM File
How to Use KSM Files
Default File Naming Conventions
Downsides to Using KSM Files
More Reading and Fiddling with Your Bits
Sound Chip (SKID)
Quick and dirty sound example:
Hardware Capabilities of SKID
Kerboscript Interface Synopsis
Name Tags
Giving a Part a Name
Cloning with Symmetry
Where is it saved?
Examples of Using the Name
Parts & PartModules
Tutorial
Parts
PartModules and the right-click menu:
What a PartModule means to a kOS script
Exploring what’s there to find Field/Event/Action Names:
Respecting Career Limits
The rules being enforced
Structure