Mod SimpleIC v0.9.0.9 for Farming Simulator 2022
List of changes:
fixed bug where trigger_on and trigger_off didn't work -- simpleIC_animations.lua:128: attempt to index local self (boolean)
Fixed an issue that caused the mouse to disappear in multiplayer.
CZ language added by Kynuska
Debug prints removed, first "release" version still unmade, but no major bugs.
Warning: An old version of the shape file format 'weightSetBall.i3d.shapes' has been detected. fixed [issue #10]
fixed bug on servers - attempt to call readStream(null value) method [problem #8]
multiplayer sync fix [issue #6]
save animationState fix
fix loss of internal sounds [issue #7]
Polish translation added (thanks to KITT3000)
broken version please update
fixed error when saving simpleIC_animations.lua (81) [issue #4]
Initial Github release for FS22
the most important thing:
How can I test and play this?
download FS22_simpleIC.zip and add to mods folder
download a mod that's SimpleIC ready or edit it for yourself (no example mod for FS22 at the moment but I'll add one later - the XML is the same as in FS19 though... you can use it)
come into the game and have fun :D
report bugs if you spot them please with log, description or pictures :)
What it is:
This is a new take on the well-known interactive control scenarios in Farming Simulator. It was installed in FS19 as a well known and used mod, so here it is for FS22. At first I didn't want to do this mod again, but no one else wanted to do it, so... that's it. I hope you like it and appreciate it lol.
It's a global script, which means it doesn't need to be added to each mod separately, no additional changes to modDesc.xml like l10n Texts etc. are required.
Obviously you still need to edit the Vehicle-xml and i3d file, the script cannot magically split the doors and add trigger points. But as soon as the necessary lines are added, IC will be active as long as you have this mod active.
it also means that people who don't like IC don't need to remove all vehicle modifications, just don't activate this mod.
it also means that there is only one IC version, not 50 different ones that conflict with each other.
IC upgrades are global and can be used in all mods
How to add this to my mod:
There is an example.xml explaining all the current possible XML entries and what they do. If you're not new to modding, this should be enough to get you started :)
If you're already well versed in modding, here's a short explanation: (check out the Deutz Agrostar link above for the full XML strings)
externalInteractionTrigger = playerTrigger in which the player can open doors and other items from outside
animationName = animation name for the door
animationSpeed = animation speed (obviously)
general animation = not yet added
soundVolumeIncreasePercentage = How much the sound volume will increase if this door is open. Values will be summed for more than one door, the maximum value is outdoorSoundVolume.
insideTrigger and externalTrigger = "Trigger Points", for example. transformGroups that mark where the IC component can be clicked
triggerPoint = i3dMapping index/name for transform group
triggerPointSize = size/radius around the trigger point where it still registers as pressed