Farming Simulator 22
Game Version: 1.8.1.0
These scripts are free for use in any Farming Simulator 22 Map , Placeable or Vehicle mod for both Private and Public release.
The publishing of these scripts when not included in its entirety as part of a Map , Placeable or Vehicle mod is not permitted.
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 these scripts or parts there of 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 effect scripts require the parent to make use of the g_effectManager.
Note: Some specializations do not correctly assign the mod custom environment correctly, for example version 1.8.1.0 of the base game ProductionPoint does not correctly do this so it must be manually set.
If you receive an invalid class name message you will need to add the mod name to the start of the class name.
Example: FS22_MyGreatMod.SequencedMorphPositionEffect
or FS22_MyGreatMod.SequencedParticleEffect
or FS22_MyGreatMod.SequencedPipeEffect
or FS22_MyGreatMod.SequencedShaderPlaneEffect
This effect has the same features as the base 'MorphPositionEffect' class but adds the possibility to use sequenceOnTime
and sequenceOffTime
to create more immersive mods. Sequenced times are calculated in seconds.
<modDesc descVersion="71">
<extraSourceFiles>
<sourceFile filename="SequencedMorphPositionEffect.lua"/>
</extraSourceFiles>
</modDesc>
<placeable type="productionPoint">
</productionPoint>
<effectNodes>
<effectNode effectNode="node" effectClass="FS22_MyGreatMod.SequencedMorphPositionEffect" dynamicFillType="false" defaultFillType="WHEAT" materialType="belt" delay="0" fadeTime="3" speed="0.9" scrollLength="5" scrollSpeed="0.8" sequenceOnTime="7" sequenceOffTime="9"/>
</effectNodes>
</productionPoint>
</placeable>
This effect has the same features as the base 'PipeEffect' class but adds the possibility to use sequenceOnTime
and sequenceOffTime
to create more immersive mods. Sequenced times are calculated in seconds.
<modDesc descVersion="71">
<extraSourceFiles>
<sourceFile filename="SequencedPipeEffect.lua"/>
</extraSourceFiles>
</modDesc>
<placeable type="productionPoint">
</productionPoint>
<effectNodes>
<effectNode effectNode="node" effectClass="FS22_MyGreatMod.SequencedPipeEffect" materialType="UNLOADING" startDelay="3.5" sequenceOnTime="9.5" sequenceOffTime="6.5" />
</effectNodes>
</productionPoint>
</placeable>
This effect has the same features as the base 'ShaderPlaneEffect' class but adds the possibility to use sequenceOnTime
and sequenceOffTime
to create more immersive mods. Sequenced times are calculated in seconds.
<modDesc descVersion="71">
<extraSourceFiles>
<sourceFile filename="SequencedShaderPlaneEffect.lua"/>
</extraSourceFiles>
</modDesc>
<placeable type="productionPoint">
</productionPoint>
<effectNodes>
<effectNode effectNode="node" effectClass="FS22_MyGreatMod.SequencedShaderPlaneEffect" materialType="unloadingSmoke" fadeTime="0.5" startDelay="3.5" sequenceOnTime="9.5" sequenceOffTime="6.5"/>
</effectNodes>
</productionPoint>
</placeable>
This effect has the same features as the base 'ParticleEffect' class but adds the possibility to use sequenceOnTime
and sequenceOffTime
to create more immersive mods. Sequenced times are calculated in seconds.
It is also possible to use shared particle effects or an emitter directly in the mod i3d.
<modDesc descVersion="71">
<extraSourceFiles>
<sourceFile filename="SequencedParticleEffect.lua"/>
</extraSourceFiles>
</modDesc>
<placeable type="productionPoint">
</productionPoint>
<effectNodes>
<!-- Emitter as part of the mod -- >
<effectNode effectNode="node" effectClass="FS22_MyGreatMod.SequencedParticleEffect" dynamicFillType="false" defaultFillType="WHEAT" materialType="unloadingParticle" delay="3" sequenceOnTime="7" sequenceOffTime="9"/>
<!-- Shared particle effect load from I3D -- >
<effectNode effectNode="smokeLinkNode" effectClass="FS22_MyGreatMod.SequencedParticleEffect" file="$data/effects/smoke/industrial/smokeParticles.i3d" startTime="3"/>
</effectNodes>
</productionPoint>
</placeable>
Copyright (c) 2022 GtX (Andy)