Farming Simulator 25
Revision: FS25-03
A Farming Simulator 25 vehicle specialisation to allow more complex strobe light patterns.
- Looking for FS22_LightExtension release?
This specialisation is free for use in any Farming Simulator 25 vehicle mod for both Private Use and Public Release.
The publishing of this specialisation when not included as part of a vehicle mod is not permitted. All links must return to this GitHub repository.
Only GtX | Andy is permitted to make modifications to this code including but not limited to bug fixes, enhancements or the addition of new features.
Converting this specialisation or parts of it to other version of the Farming Simulator series is not permitted without written approval from GtX | Andy.
All versioning is controlled by GtX | Andy and not by any other page, individual or company.
These lights are activated with the Beacon Light
key. In FS25 there is the ability to use 'multiBlink' for similar results however this spec allows more complex patterns.
Method 1: Uses a string of X and - characters to define the sequence times, X represents ON state and - represents OFF state for the given 'blinkStepLength' in seconds. This is a similar method to that used in
ETS2 and ATS
and will be more familiar to some mod makers.
<strobeLight blinkStepLength="0.06" blinkPattern="X-X-X-X------X--"/>
Method 2: A string of millisecond values each separated with a space are used to create an alternating light sequence. When
invert="true"
the first ms value will represent OFF.
<strobeLight sequence="600 600 200 200" invert="false"/>
Method 3: Allow the randomiser to create the sequence using the given values or default values.
<strobeLight minOn="100" maxOn="100" minOff="100" maxOff="400"/>
Plays a sample when beacon or strobe lights are active. Useful if you wish to include a siren or beacon rotor sound.
Activates the Beacon and Strobe lights when the grain hopper reaches the set percentage.
Default value is 80 % if not specified in the XML
<autoCombineBeaconLights percent="80"/>
An example mod is available HERE that demonstrates the available features. This mods is not for release and is provided to assist with adding this specialisation to your own vehicles.
Allowing me to use parts of his original strobe light code as found in Beleuchtung v3.1.1
.
Testing of original concept from Farming Simulator 2017 in both single and multiplayer.
Copyright (c) 2018 GtX (Andy)