Open Bullitt33 opened 4 months ago
Both the lock animation and the manure flow animation are still possible in FS22. The entries look like this: lockAnimationIndex="TYPE_INTEGER" manureFlowAnimationIndex="TYPE_INTEGER"
Any idea why it would not work then?
Animation is very simple 1 node starting rotation of 0 0 0 and ending 0 -90 0. When I hooked the hose up it never moved and locked the game up
Does this also happen if you use "lockAnimationIndex"? Anyways, can you share the xml file so I can have a look at it?
Here is the xml and the moddesc. Using lockAnimationIndex it now works but once the hose is attached to it you can not detach the hose
It sounds like that you have to use both, the "lockAnimationIndex" and the "manureFlowAnimationIndex", if you want to have connector animations for your placeable. Honestly I've only tested both animations together, so I can't be sure they work independently of each other.
I was curious if it was still possible to do a connection animation on placeables like we did in FS19? Below is an example from one of my mods in 19. I tried setting a placeable up in 22 with the same means of coding for the animation portion using the "manureFlowAnimationIndex" but it hard locked the game up as soon as I connected the hose no errors printed in the log.
manureSystem hasConnectors="true" hasPumpMotor="false" hasFillArm="false" manureSystemConnectors connector type="COUPLINGFERTILIZER" node="0|3|1|1" manureFlowAnimationIndex="1" connector type="COUPLINGFERTILIZER" node="0|4|1|1" manureFlowAnimationIndex="2" manureSystemConnectors