Difference between revisions of "Common YOLOL"
Jump to navigation
Jump to search
(Undo revision 32412 by Scrapper 101 (talk) →Removing working code snippets and explanations for the reason that generator scripts as a whole may or may not work anymore is not in line with Editing Rule regarding speculation) Tag: Undo |
m (Changed note locations. Added note to generator management section about generator spool up.) |
||
| (100 intermediate revisions by 14 users not shown) | |||
| Line 1: | Line 1: | ||
==Standard Generator Script (Basic YOLOL Chip)== | |||
''This | ''Note: This script will require enough batteries on the ship to act as a buffer for the generator spool up time.'' | ||
== | ===Default Fields=== | ||
= | :FuelChamberUnitRateLimit=100-:StoredBatteryPower/100 goto 1 | ||
===Non Default Fields=== | |||
''Note: This version of the script assumes either "'''GeneratorUnitRateLimit'''" or "'''FuelChamberRateLimit'''" (preferably the latter) are renamed to "'''limit'''", and at least one battery exists on the network with it's "'''StoredBatteryPower'''" field renamed to "'''bat'''".'' | |||
: | :limit=100-:bat/100 goto 1 | ||
===Tutorial Laborer=== | |||
''Note: The Laborer has renamed field names by default so this version will work for the tutorial ship.'' | |||
: | :Generator=100-:Battery_1/100 goto 1 | ||
== | ==Single lever forward/backward script (Basic YOLOL Chip)== | ||
''Note: This script assumes you have a center lever bound to FcuForward'' | |||
== | ===Default device fields=== | ||
:FcuBackward=-:FcuForward goto 1 | |||
''This page is a WIP. Please contribute to it!'' | |||
This is a | |||
Revision as of 12:58, 5 July 2021
Standard Generator Script (Basic YOLOL Chip)
Note: This script will require enough batteries on the ship to act as a buffer for the generator spool up time.
Default Fields
:FuelChamberUnitRateLimit=100-:StoredBatteryPower/100 goto 1
Non Default Fields
Note: This version of the script assumes either "GeneratorUnitRateLimit" or "FuelChamberRateLimit" (preferably the latter) are renamed to "limit", and at least one battery exists on the network with it's "StoredBatteryPower" field renamed to "bat".
:limit=100-:bat/100 goto 1
Tutorial Laborer
Note: The Laborer has renamed field names by default so this version will work for the tutorial ship.
:Generator=100-:Battery_1/100 goto 1
Single lever forward/backward script (Basic YOLOL Chip)
Note: This script assumes you have a center lever bound to FcuForward
Default device fields
:FcuBackward=-:FcuForward goto 1
This page is a WIP. Please contribute to it!