Process multiple input fillUnits into one output fillUnit.
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle>
<materialProcessor
type="blend"
needsToBePoweredOn="true"
needsToBeTurnedOn="true"
>
...
</materialProcessor>
</vehicle>
| Name |
Type |
Required |
Default |
Description |
| type |
string |
Yes |
|
Processor type blend |
| needsToBePoweredOn |
boolean |
No |
true |
Vehicle needs to be powered on |
| needsToBeTurnedOn |
boolean |
No |
true |
Vehicle needs to be turned on (requires turnOnVehicle specialization) 1 |
| canToggleDischargeToGround |
boolean |
No |
true |
Whether player can toggle discharge to ground or not 2 |
| defaultCanDischargeToGround |
boolean |
No |
false |
Default value for discharging to ground setting 2 |
| canDischargeToGroundAnywhere |
boolean |
No |
false |
Bypass land permissions when discharging to ground 2 |
| canDischargeToAnyObject |
boolean |
No |
false |
Bypass vehicle permissions when discharging to object/vehicle 2 |
vehicle.materialProcessor.configurations.configuration(%)
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle>
<materialProcessor type="blend">
<configurations>
<configuration name="$l10n_myConfigurationName" litersPerSecond="500">
<output fillType="ASPHALT" fillUnit="3">
<input fillType="GRAVEL" fillUnit="4" ratio="0.5" />
<input fillType="DIRT" fillUnit="5" ratio="0.4" />
<input fillType="MIXTURE" fillUnit="6" ratio="0.1" />
</output>
</configuration>
...
</configurations>
</materialProcessor>
</vehicle>
| Name |
Type |
Required |
Default |
Description |
| litersPerSecond |
int |
Yes |
400 |
Amount of liters per second produced |
| litersPerSecondText |
string |
No |
|
Set custom liters per second text in GUI. L10N string supported. |
| name |
string |
No |
|
Display name in GUI. L10N string supported. |
vehicle.materialProcessor.configurations.configuration(%).output
| Name |
Type |
Required |
Default |
Description |
| fillType |
string |
Yes |
|
Name of filltype used for output |
| fillUnit |
int |
Yes |
|
Output vehicle fillUnitIndex |
| displayNode |
node |
No |
|
Set custom node for HUD display position |
| displayNodeOffsetY |
float |
No |
|
Y offset position for HUD display |
vehicle.materialProcessor.configurations.configuration(%).output.input(%)
| Name |
Type |
Required |
Default |
Description |
| ratio |
float |
Yes |
|
Ratio of input to output (50% = 0.5) |
| fillType |
string |
Yes |
|
Name of filltype used for input |
| fillUnit |
int |
Yes |
|
Input vehicle fillUnitIndex |
| displayNode |
node |
No |
|
Set custom node for HUD display position |
| displayNodeOffsetY |
float |
No |
|
Y offset position for HUD display |
| visible |
boolean |
No |
true |
Input visibility in HUD and GUI |
vehicle.materialProcessor.dischargeNodes.node(%)
The blend processor supports using custom discharge node(s) if desired.