Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kelsa 144nd log transport #194

Open
fer-marino opened this issue Dec 28, 2024 · 2 comments
Open

kelsa 144nd log transport #194

fer-marino opened this issue Dec 28, 2024 · 2 comments

Comments

@fer-marino
Copy link

hi,
I'm using this log trailer (without crane) and I'm having a couple of issues.

  • The starting loading area is too small and I have to resize it (which works perfectly).
  • The log trailer can be extended with the right mouse button, and this seems to reset the loading area to the very small initial one. It reset to the configured one if I reload the game.

Apart from this, excellent work and thank you!

cheers,
Fernando

@loki79uk
Copy link
Owner

Thanks, I have not added the extending mechanism back in yet from FS22 as I didn't know we had any vehicles that extended. I'll see if it still works.

@loki79uk
Copy link
Owner

I can't reproduce the resetting area, but as a temporary measure to get the extending working you can add lengthAxis="AXIS_FRONTLOADER_ARM2"
e.g.:

        <vehicle configFileName="data/vehicles/kesla/nd144/nd144.xml">
            <configuration selectedConfigs="1">
                <options isLogTrailer="true"/>
                <loadingArea offset="-0.003 1.406 -0.173" width="2.253564" length="3.995723" height="1.624148" lengthAxis="AXIS_FRONTLOADER_ARM2"/>
            </configuration>
            <configuration selectedConfigs="2">
                <options isLogTrailer="true"/>
                <loadingArea offset="-0.003 1.235 0.034" width="2.206015" length="4.633835" height="1.617984" lengthAxis="AXIS_FRONTLOADER_ARM2"/>
            </configuration>
        </vehicle>

found by looking for that axis name in the vehicle xml:

        <movingTools>
            <movingTool node="drawbarPhysics" foldMinLimit="0.5" foldMaxLimit="1" >
                <controls axis="AXIS_CRANE_ARM" invertAxis="false" mouseSpeedFactor="0.3" iconName="DRAWBAR_ROTATE_X" />
                <rotation rotSpeed="25" rotAcceleration="300" rotMax="30" rotMin="-30" rotationAxis="2" />
                <inputAttacherJoint value="true" />
                <dependentPart node="drawbar" />
            </movingTool>

            <movingTool node="backExtendedPart" foldMinLimit="0.5" foldMaxLimit="1" playSound="true">
                <controls axis="AXIS_FRONTLOADER_ARM2" invertAxis="true" mouseSpeedFactor="0.3" iconName="CRANE_ARM2_TRANSLATE" />
                <translation transSpeed="0.6" transAcceleration="80" transMax="0" transMin="-0.93" startTrans="0" translationAxis="3" />
            </movingTool>
        </movingTools>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants