How to use

The quickest way to start using FALL is simply running the file you need. KOS supports runoncepath command to run files. With its help you can access FALL structures:

runoncepath("0:/fall/controllers/ascentController")

// creating ascentController object
local ascent is ascentController(35000, 90, 10, 3).

FALL implements an importFall(<structureName>, <copytopath>*) utility, * in argument list means it’s optional:

runoncepath("0:/fall/utilities/importFall")
importFall("hoverSlamModel")

// creating hoverSlamModel object
local hoverslam is hoverslamModel(10).

Calling structure methods

Because Kerbal Operating System doesn’t natively support OOP and FALL simulates object behaviour with lexicons, you can access methods by key the following way:

// creating new landingDataModel object
local ldata is landingDataModel(ship:geoposition).

// print impact geoposition
print ldata["getImpact"]().