Commands
Commands
=====================================================
Before selecting host options, you may find it helpful to run LFS
and try out the options on the Start New Host screen - the required
upload bandwidth for those options is displayed on screen.
List of commands:
The following commands are mainly for hosts but may also be used
to override various cfg.txt settings or start InSim.
You can use a command file xxx.txt instead of a long command line.
The command file contains the command line parameters.
The parameters can be spread onto several lines.
The command file can contain comments, starting with two slashes //
Then the command line would be simply:
Host commands:
--------------
Some text commands are intended for hosts and administrators.
/track XXCR [W] :track and config (e.g. BL1 / SO3R / FE4)
/weather W :lighting (W = 1, 2, 3...)
/qual X :qualifying minutes (0 = no qualifying)
/laps X :number of laps (0 = practice)
/hours X :number of hours (if laps not specified)
/wind X :0 no / 1 low / 2 high
Penalties:
Local commands:
---------------
Most of these text commands replicate functions usually controlled by
pressing on-screen buttons but can be useful in other situations, for
example when controlling LFS from an external program using InSim.
Any time:
In game:
Examples:
/pitins ftyre = r3 : change front tyres to R3 in pit stop
/pitins rtyre = super : change rear tyres to road super
/pitins fpressure = 1.1 : set front tyre pressure to 1.1 bar
/pitins fpressure += 0.1 : increase requested pressure by 0.1 bar
/pitins cancel : cancel all pit instructions
/pitins tyres always : change all tyres
/pitins tyres 20 : change tyres if wear > 20%
/liveset bbal 60 : set brake balance to 60%
/liveset rarb -= 0.1 : decrease rear ant-roll bar by 0.1
/pitins pressure commands can accept unit (psi/bar) (no unit = bar)
E.g. /pitins fpressure 30 psi
Car Strings:
------------
The /cars command for hosts or admins uses 3-character car codes.
The plus and minus symbols can be used in conjuction with these:
Mods:
-----
The /mods command for hosts or admins uses 6-character mod codes.
------------------------------
www.lfs.net - 14 December 2023