Changes from version to version

This is a place to mention important documentation changes that come with each version release. Mostly it’s here so you can have links to jump to where the changes are elsewhere in this documentation site. The changes are not fully described here because the intention is to let you go through the list and click on the links to see the changes.

This list is NOT a comprehensive list of everything. Specifically, minor one-line changes, or bug fixes that didn’t alter the documentation, are not mentioned here.

Also changes that might alter the user visual interface but not change what a script does won’t be mentioned here. (For example, putting a new button on the toolbar dialog.)

Most importantly, changes that might have broken previously working scripts are not always signposted here. To be sure, you should read the change log in the main github repository, which is repeated in the release announcements that are made in various places with each release.


Changes in 1.4.0.0

CLOBBERBUILTINS

The bugfix to prevent a local variable from clobbering a builtin name could make existing scripts have to rename a variable or two. As such there is now a compiler directive, @CLOBBERBUILTINS to get the old behavior back again. Use this if you don’t want to rename any variables in old scripts. But be warned that renaming those variables, rather than using this directive, is probably the better practice going forward.

Documentation now describes that comma separated LOCAL and SET declaration statements now allow initializers.

VESSEL SUFFIXES THRUST, ENGINES, RCS

Added VESSEL:THRUST, VESSEL:ENGINES, and VESSEL:RCS

OPCODESLEFT

Added OPCODESLEFT bound variable

BINARY MODE FILE READ

Added FileContent:BINARY to let you read a binary file as a LIST of numbers 0-255 for the byte values in the file.

Function BODYATMOSPHERE

Added BODYATMOSPHERE as an alternate way to obtain the atmosphere information about a body. Actually this function had already existed. It just hadn’t been documented.

Changes in 1.3

Nodes with ETA or Universal Time

NODE(time, radial, normal, prograde) now accepts time in TimeStamp and TimeSpan inputs, as well as the old practice of using scalar numbers of seconds. If a TimeSpan is used, the time is an ETA time, else it’s a UT time. There is also a new suffix, Node:TIME to report the UT time.

TimeSpan split into two types TimeStamp and TimeSpan

What was TimeSpan is now two different types.

Search on sub-branches of a vessel

Addition of Part:PARTSTAGGED and Part:PARTSDUBBED and Part:PARTSNAMED

Can Set the RCS Deadband

Addition on RCS:DEADBAND

SteeringManager Epislon

Addition of SteeringManager:TORQUEEPSILONMIN and SteeringManager:TORQUEEPSILONMAX

Random seed

Added RANDOMSEED(key, seed).

Suppress Autopilot

Added Config:SUPPRESSAUTOPILOT

GET/SET Player’s trim

Added PILOTYAWTRIM, PILOTPITCHTRIM, PILOROLLTRIM, PILOTWHEELSTEERTRIM, and PILOTWHEELTHROTTLETRIM, which are set-able ways to control without locking out manual control.

Addon Trajectories changes

To support Trajectories 2.4 and up, many new things are on the documentation page for Trajectories.

Launch craft picking the crew list

KUniverse:LAUNCHCRAFTWITHCREWFROM(template, crewlist, site)

Stock Delta-V Info

Vessel:DELTAV, Vessel:DELTAVASL, Vessel:DELTAVVACUUM, Vessel:BURNTIME, Stage:DELTAV

RCS Part type

A new part type for when a part is an RCS thruster.

Engine fuel info

Engine:CONSUMEDRESOURCE, which returns a Lexicon of a new type, ConsumedResource. This will show you what fuels an engine consumes and in what quantities.

CreateOrbit from position and velocity

A new variant of CreateOrbit - CREATEORBIT(pos, vel, body, ut), that lets you make an orbit out of state vectors instead of Kepplerian values.

Ranges take fractional numbers

Ranges now accept fractional values for start, stop and step. (Previously everthing had to be an integer.)

Numerous mistake fixes

Not so much new documentation, but repairing typos and incorrect descriptions in the documentation. Too numerous to mention in detail - see the associated Github issues:

https://github.com/KSP-KOS/KOS/pull/2675 https://github.com/KSP-KOS/KOS/pull/2680 https://github.com/KSP-KOS/KOS/pull/2707 https://github.com/KSP-KOS/KOS/pull/2712 https://github.com/KSP-KOS/KOS/pull/2724 https://github.com/KSP-KOS/KOS/pull/2751 https://github.com/KSP-KOS/KOS/pull/2772 https://github.com/KSP-KOS/KOS/pull/2775 https://github.com/KSP-KOS/KOS/pull/2776 https://github.com/KSP-KOS/KOS/pull/2777 https://github.com/KSP-KOS/KOS/pull/2784 https://github.com/KSP-KOS/KOS/pull/2788 https://github.com/KSP-KOS/KOS/pull/2791 https://github.com/KSP-KOS/KOS/pull/2800 https://github.com/KSP-KOS/KOS/pull/2819 https://github.com/KSP-KOS/KOS/pull/2833

Changes in 1.2

FLOOR and CEILING by decimal place

FLOOR(a,b) and CEILING(a,b) now allow you to chose the decimal place where the cutoff happens.

Added ROLL to HEADING()

HEADING(dir,pitch,roll) Now has a third parameter for roll. The new roll parameter is optional, so scripts using just the first two parameters should still work.

Bodyexists

New Function, BODYEXISTS(name)

Wordwrap on Labels

You can set wordrap off for labels by the new suffx, Style:WORDWRAP.

CreateOrbit

CREATEORBIT(inc, e, sma, lan, argPe, mEp, t, body) added.

Docking port partner query

Two new suffixes: DockingPort:PARTNER and DockingPort:HASPARTNER`.

Waypoint ISSELECTED

WayPoint:ISSELECTED

Changes in 1.1.9.0

BOUNDING BOX

Added the new