characterTargetNodeModifier

Your forum for all discussions around Modding.
User avatar
AFModding
Posts: 5
Joined: Sat Sep 28, 2019 10:21 am

characterTargetNodeModifier

Post by AFModding »

Hello

I would like to ask you for your help.
There is a vehicIe on ModHub, I created SANTANA 88.

https://www.farming-simulator.com/mod.p ... tle=fs2022

For players request I would like to upgrade this mod with Left Hand Drive - Right Hand Drive option.
It is working in <vehicleTypeConfigurations>, when you buy this vehicle you can choose this option.
When driving and shifting, the character releases the steering wheel one hand and grab the transmission.
The code is the same as left or right foot target:
<characterTargetNodeModifier node="player_leftHand" transitionTime="0.1" poseId="narrowFingers">
<state node="playerLeftHandTarget" referenceNode="leverGearsRot" poseId="narrowFingers"/>
</characterTargetNodeModifier>

It should be works like this:
LeftHandDrive: player keep steering left hand and grab gear-shift with right hand when changing gears.
RightHandDrive: player keep steering right hand and grab gear-shift with left hand when changing gears.

How I can activate/deactivate node="playerLeftHandTarget", node="playerRightHandTarget", please?

I tried this but don't work:
<objectChange node="playerLeftHandTarget" visibilityActive="false" visibilityInactive="true"/>
<objectChange node="playerLeftHandTarget" visibilityActive="true" visibilityInactive="false"/>

Edit don_apple: topic moved from "General Discussion" to "Modding".