This script adds a realistic smoke particle effect to all vehicles. The intensity depends on the engine load and several trigger events:
– Turning on the engine
– Delimbing or cutting a tree
– The damage value is high
Modders can set values for their vehicles like the overall intensity of the smoke or individual factors and thresholds.
Please read the README.txt in order to do this.
Changelog 1.1.2.0:
– Removed error that appeared when delimbing trees with a wood harvester
Changelog 1.1.1.0:
– Removed LUA callstack that appeared when the script couldn’t find the default exhaust effect in some vehicles
– Corrected a syntax error in the XML part of the README.txt
Changelog 1.1.0.1 (HOTFIX):
– Removed an error that appeared when leaving the game
Changelog 1.1.0.0:
– The default exhaust effect can now be activated and deactivated in the game settings for all vehicles. This avoids unwanted graphic effects caused by overlapping.
– New for modders: with the “NodeOffset” attribute, you can define an offset of the particle system from the default exhaust effect.
Changelog 1.0.0.1:
– Removed an error that occurred mainly when using Exhaust Extension on dedicated servers
Credits:
Vector Man
Hi, i have many warnings with this mod, please fix them if possible ASAP…
2023-12-01 16:31 Warning (script): Entity ‘motor(3)’ for ‘object’ has invalid type in method ‘setIsNonRenderable’.
2023-12-01 16:31 LUA call stack:
=C:/Users/*********/Documents/My Games/FarmingSimulator2022/mods/FS22_exhaustExtension/src/ExhaustExtension.lua (302) : setIsNonRenderable
=C:/Users/*********/Documents/My Games/FarmingSimulator2022/mods/FS22_exhaustExtension/src/ExhaustExtension.lua (162) : toggleDefaultEffectVisibility
dataS/scripts/specialization/SpecializationUtil.lua (23)
dataS/scripts/vehicles/specializations/Enterable.lua (880) : raiseEvent
dataS/scripts/BaseMission.lua (1424) : enterVehicle
dataS/scripts/utils/Utils.lua (472) : oldFunc
dataS/scripts/FSBaseMission.lua (3285) : onEnterVehicle
dataS/scripts/vehicles/VehicleEnterResponseEvent.lua (77) : onEnterVehicle
dataS/scripts/network/Connection.lua (91) : run
dataS/scripts/vehicles/VehicleEnterRequestEvent.lua (73) : sendEvent
dataS/scripts/network/Connection.lua (91) : run
dataS/scripts/BaseMission.lua (1393) : sendEvent
dataS/scripts/vehicles/specializations/Enterable.lua (1264) : requestToEnterVehicle
scripts/EnterablePassenger.lua (284) : superFunc
dataS/scripts/player/Player.lua (3210) : interact
dataS/scripts/utils/Utils.lua (460) : oldFunc
dataS/scripts/input/InputEvent.lua (100) : callback
dataS/scripts/input/InputBinding.lua (3342) : notifyInput
dataS/scripts/input/InputBinding.lua (3055) : updateInput
dataS/scripts/main.lua (1247) : update
2023-12-01 16:31 Warning (script): Entity ‘motor(3)’ for ‘object’ has invalid type in method ‘setIsNonRenderable’.
2023-12-01 16:31 LUA call stack:
=C:/Users/*********/Documents/My Games/FarmingSimulator2022/mods/FS22_exhaustExtension/src/ExhaustExtension.lua (302) : setIsNonRenderable
=C:/Users/*********/Documents/My Games/FarmingSimulator2022/mods/FS22_exhaustExtension/src/ExhaustExtension.lua (260) : toggleDefaultEffectVisibility
dataS/scripts/specialization/SpecializationUtil.lua (23)
dataS/scripts/vehicles/Vehicle.lua (1912) : raiseEvent
dataS/scripts/network/NetworkNode.lua (163) : update
dataS/scripts/network/Server.lua (62) : updateActiveObjects
dataS/scripts/BaseMission.lua (1148) : update
dataS/scripts/FSBaseMission.lua (1983) : update
dataS/scripts/missions/mission00.lua (577) : update
dataS/scripts/main.lua (1289) : update