Releases: untoldwind/KontrolSystem2
Releases · untoldwind/KontrolSystem2
v0.5.5.1
- Add
engineMode.propellant
field - Protentially breaking changes:
- Cleanup
ModuleCommand
: Remove fields that belong toPart
to access those usemoduleCommand.part.field
- Cleanup
ModuleDockingNode
: Remove fields that belong toPart
to access those usedockingNode.part.field
- Cleanup
- Add
.part
field to allModule*
types - Add
moduleCommand.required_resources
- Add
moduleSolarPanel.resource_setting
- Add
moduleHeatshield.required_resources
- Add binding for transmitter modules
- Add binding for lighting modules
- Add binding for generator modules
- Support air intake, command, decoupler, docking node, generator, light, transmitter in VAB
- Add a
sync_warp_to
toksp::game::warp
as a temporary workaround (to be used with care)
v0.5.5.0
- Add
engineMode.propellant
field - Protentially breaking changes:
- Cleanup
ModuleCommand
: Remove fields that belong toPart
to access those usemoduleCommand.part.field
- Cleanup
ModuleDockingNode
: Remove fields that belong toPart
to access those usedockingNode.part.field
- Cleanup
- Add
.part
field to allModule*
types - Add
moduleCommand.required_resources
- Add
moduleSolarPanel.resource_setting
- Add
moduleHeatshield.required_resources
- Add binding for transmitter modules
- Add binding for lighting modules
- Add binding for generator modules
- Support air intake, command, decoupler, docking node, generator, light, transmitter in VAB
v0.5.4.1
Hotfix:
- Fix coordinate system mismatch in
GeoCoordinate.surface_position
- Fix broken
GeoCoordinate.global_surface_normal
From 0.5.4.0:
- Extend array functionality:
array.flat_map
: Map with function that returns an array for each element.
Result will be appended.
Example[ 1, 2, 3 ].flat_map(fn(i) -> [0.1 * i, 0.01 * i]) == [ 0.1, 0.01, 0.2, 0.02, 0.3, 0.03]
array.filter_map
: Map with function that return an option for each element.
Result will only contain values where option is defined.
Examplevessel.parts.filter_map(fn(part) -> part.solar_panel)
to get an array of all
solar panels of the vessel.
- Add solar panel flow information:
base_flow_rate
(available in VAB)efficiency_multiplier
(available in VAB)star_energy_scale
max_flow
shorthand forbase_flow_rate * efficiency_multiplier * star_energy_scale
- Add
fairing.enabled
toggle - Add
deployable.extended
toggle - Add heatshield information:
heatshield.is_deployed
heatshield.is_ablating
heatshield.is_ablator_exhausted
heatshield.ablator_ratio
(0.0 - 1.0)
- Add propellant information to engine via
engine.current_propellant
andengine.propellants
- Extend
ResourceDefinition
byis_recipe
andrecipe_ingredients
- Extend
- Add
engine.thrust_limiter
property - Add
part.is_cargo_bay
- Add
engine.has_fairing
andengine.fairing
to access engine specific fairingspart.fairing
will now only cover non-engine parts
- Add
set_warp_index(int)
,max_warp_index()
,is_warping()
andis_physics_time_warp()
toksp::game::warp
warp_to(float)
andset_warp_index(int)
can not be used in a sync function
ModuleDeployable.deploy_state
is now a proper enumeration and not just a string- Improve available engine information in VAB
v0.5.4.0
- Extend array functionality:
array.flat_map
: Map with function that returns an array for each element.
Result will be appended.
Example[ 1, 2, 3 ].flat_map(fn(i) -> [0.1 * i, 0.01 * i]) == [ 0.1, 0.01, 0.2, 0.02, 0.3, 0.03]
array.filter_map
: Map with function that return an option for each element.
Result will only contain values where option is defined.
Examplevessel.parts.filter_map(fn(part) -> part.solar_panel)
to get an array of all
solar panels of the vessel.
- Add solar panel flow information:
base_flow_rate
(available in VAB)efficiency_multiplier
(available in VAB)star_energy_scale
max_flow
shorthand forbase_flow_rate * efficiency_multiplier * star_energy_scale
- Add
fairing.enabled
toggle - Add
deployable.extended
toggle - Add heatshield information:
heatshield.is_deployed
heatshield.is_ablating
heatshield.is_ablator_exhausted
heatshield.ablator_ratio
(0.0 - 1.0)
- Add propellant information to engine via
engine.current_propellant
andengine.propellants
- Extend
ResourceDefinition
byis_recipe
andrecipe_ingredients
- Extend
- Add
engine.thrust_limiter
property - Add
part.is_cargo_bay
- Add
engine.has_fairing
andengine.fairing
to access engine specific fairingspart.fairing
will now only cover non-engine parts
- Add
set_warp_index(int)
,max_warp_index()
,is_warping()
andis_physics_time_warp()
toksp::game::warp
warp_to(float)
andset_warp_index(int)
can not be used in a sync function
ModuleDeployable.deploy_state
is now a proper enumeration and not just a string- Improve available engine information in VAB
v0.5.3.7
Since 0.5.3.4
- Extend array functionality:
array.flat_map
: Map with function that returns an array for each element.
Result will be appended.
Example[ 1, 2, 3 ].flat_map(fn(i) -> [0.1 * i, 0.01 * i]) == [ 0.1, 0.01, 0.2, 0.02, 0.3, 0.03]
array.filter_map
: Map with function that return an option for each element.
Result will only contain values where option is defined.
Examplevessel.parts.filter_map(fn(part) -> part.solar_panel)
to get an array of all
solar panels of the vessel.
- Add solar panel flow information:
base_flow_rate
(available in VAB)efficiency_multiplier
(available in VAB)star_energy_scale
max_flow
shorthand forbase_flow_rate * efficiency_multiplier * star_energy_scale
- Add
fairing.enabled
toggle - Add
deployable.extended
toggle - Add heatshield information:
heatshield.is_deployed
heatshield.is_ablating
heatshield.is_ablator_exhausted
heatshield.ablator_ratio
(0.0 - 1.0)
- Add propellant information to engine via
engine.current_propellant
andengine.propellants
- Extend
ResourceDefinition
byis_recipe
andrecipe_ingredients
- Extend
- Add
engine.thrust_limiter
property - Add
part.is_cargo_bay
- Add
engine.has_fairing
andengine.fairing
to access engine specific fairingspart.fairing
will now only cover non-engine parts
- Add
set_warp_index(int)
,max_warp_index()
,is_warping()
andis_physics_time_warp()
toksp::game::warp
warp_to(float)
andset_warp_index(int)
can not be used in a sync function
v0.5.3.6
Since 0.5.3.4:
- Extend array functionality:
array.flat_map
: Map with function that returns an array for each element.
Result will be appended.
Example[ 1, 2, 3 ].flat_map(fn(i) -> [0.1 * i, 0.01 * i]) == [ 0.1, 0.01, 0.2, 0.02, 0.3, 0.03]
array.filter_map
: Map with function that return an option for each element.
Result will only contain values where option is defined.
Examplevessel.parts.filter_map(fn(part) -> part.solar_panel)
to get an array of all
solar panels of the vessel.
- Add solar panel flow information:
base_flow_rate
(available in VAB)efficiency_multiplier
(available in VAB)star_energy_scale
max_flow
shorthand forbase_flow_rate * efficiency_multiplier * star_energy_scale
- Add
fairing.enabled
toggle - Add
deployable.extended
toggle - Add heatshield information:
heatshield.is_deployed
heatshield.is_ablating
heatshield.is_ablator_exhausted
heatshield.ablator_ratio
(0.0 - 1.0)
- Add propellant information to engine via
engine.current_propellant
andengine.propellants
- Extend
ResourceDefinition
byis_recipe
andrecipe_ingredients
- Extend
- Add
engine.thrust_limiter
property - Add
part.is_cargo_bay
- Add
engine.has_fairing
andengine.fairing
to access engine specific fairingspart.fairing
will now only cover non-engine parts
- Add
set_warp_index(int)
,max_warp_index()
,is_warping()
andis_physics_time_warp()
toksp::game::warp
warp_to(float)
andset_warp_index(int)
can not be used in a sync function
v0.5.3.5
- Extend array functionality:
array.flat_map
: Map with function that returns an array for each element.
Result will be appended.
Example[ 1, 2, 3 ].flat_map(fn(i) -> [0.1 * i, 0.01 * i]) == [ 0.1, 0.01, 0.2, 0.02, 0.3, 0.03]
array.filter_map
: Map with function that return an option for each element.
Result will only contain values where option is defined.
Examplevessel.parts.filter_map(fn(part) -> part.solar_panel)
to get an array of all
solar panels of the vessel.
- Add solar panel flow information:
base_flow_rate
(available in VAB)efficiency_multiplier
(available in VAB)star_energy_scale
max_flow
shorthand forbase_flow_rate * efficiency_multiplier * star_energy_scale
- Add
fairing.enabled
toggle - Add
deployable.extended
toggle - Add heatshield information:
heatshield.is_deployed
heatshield.is_ablating
heatshield.is_ablator_exhausted
heatshield.ablator_ratio
(0.0 - 1.0)
- Add propellant information to engine via
engine.current_propellant
andengine.propellants
- Extend
ResourceDefinition
byis_recipe
andrecipe_ingredients
- Extend
- Add
engine.thrust_limiter
property
v0.5.3.4
v0.5.3.3
- Fix stuck in rebooting error if there is an initial compilation failure
- Support independent throttle for engines via
engine.independent_throttle_enabled
andengine.independent_throttle
(#128) - Support control for engine gimbal via
engine.gimbal
(#128) - Add basic delta-v information for
PartAssembly
inksp::oab
(#127)
v0.5.3.2
- Convert
EngineDeltaV.get_thrust_vector()
to celestial frame (#128) - Add coordinate independent variant
EngineDeltaV.get_global_thrust_vector()
- Add corresponding fields to
ModuleEngine
thrust_direction
global_thrust_direction
- https://kontrolsystem2.readthedocs.io/en/latest/reference/ksp/vessel.html#moduleengine
- Add
ksp::ui::CONSOLE_WINDOW
to control the console window via script (#129)- Methods:
CONSOLE_WINDOW.open()
,CONSOLE_WINDOW.open()
,CONSOLE_WINDOW.center()
- Fields:
CONSOLE_WINDOW.is_closed
,CONSOLE_WINDOW.size
,CONSOLE_WINDOW.min_size
,CONSOLE_WINDOW.position
- https://kontrolsystem2.readthedocs.io/en/latest/reference/ksp/ui.html#constants
- Methods:
- Improve bindings for science data (#125)
- Get a list of all completed research reports via
ksp::science::get_completed_research_reports()
- Get a list of all completed research reports via
- Experimental bindings for object assembly (VAB, #127): https://kontrolsystem2.readthedocs.io/en/latest/reference/ksp/oab.html