Skip to content

Latest commit

 

History

History
86 lines (67 loc) · 2.3 KB

File metadata and controls

86 lines (67 loc) · 2.3 KB

Documentation

Table of Contents

Documentation files:

Add specialization to vehicle type

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<modDesc version="...">
    ...
    <vehicleTypes>
        <!-- Extend parent type, can be anything -->
        <type name="..." parent="..." className="..." filename="...">
            ...
            <!-- Add materialProcesor as last entry to type -->
            <specialization name="FS25_0_MaterialProcessor.materialProcessor" />
        </type>
    </vehicleTypes>
    ...
</modDesc>

Vehicle XML

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle ...>
    ...
    <materialProcessor type="...">
        ...
    </materialProcessor>
    ...
</vehicle>

Processor types

Split Processor

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle>
    <materialProcessor type="split">
        ...
    </materialProcessor>
</vehicle>

Process one single input fillUnit and split the value into multiple output fillUnits. This specialization supports multiple simultaneous active discharge nodes vs base game which only supports 1.

For implementing a Split Processor read more here.

Blend Processor

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle>
    <materialProcessor type="blend">
        ...
    </materialProcessor>
</vehicle>

Process multiple input fillUnits into one output fillUnit.

For implementing a Blend Processor read more here.

InteractiveControl

When FS25_interactiveControl mod is active, new IC functions will be available for use:

Function Description
PROCESSOR_CONTROL_PANEL Open control panel dialog for changing configuration.
PROCESSOR_TOGGLE_DISCHARGE_GROUND Toggle discharge to ground. Only applicable for custom discharge nodes.