TobiasF92 / FS22_interactiveControl

Interactive Control for Farming Simulator 22
37 stars 10 forks source link

New function request #60

Open HatsuneKid opened 7 months ago

HatsuneKid commented 7 months ago

Hi. I made a rear liftable platform for ProfiLiner. Using the code like this:

    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts startMoveDirection="1" foldMiddleAnimTime="0.315625" posDirectionText="$l10n_foldPlatform" negDirectionText="$l10n_unfoldPlatform" middlePosDirectionText="$l10n_lowerPlatform" middleNegDirectionText="$l10n_liftPlatform" allowUnfoldingByAI="false">
                    <foldingPart animationName="lowerPlatform" speedScale="0.5" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

Then I set up IC control on the trailer and found that it lacks a function like LIFT_LOWER. Would you add it please~

By the way, is it possible to add IC control to the side curtains of ProfitLiner without modifying its vanilla code? Just curious.

HatsuneKid commented 7 months ago

I have released a mod for testing. https://www.modhub.us/farming-simulator-22-mods/krone-liner-pack

TobiasF92 commented 5 months ago

You could use 'FOLDING_TOGGLE' for folding/unfolding

HatsuneKid commented 5 months ago

About my trailer, I use the folding/unfolding function to expand the rear platform. And only when the platform is unfolded, it could be controlled to lift and lower. Its operation is like a foldable seeder.

So I need a ic button on my trailer to control the lifting and lowering of the rear platform. I did add that button but Interactive Control doesn't support LIFT_LOWER function. My trailer has FOLDING_TOGGLE button already but it can control the unfolding and folding of that rear platform only. 20240503090138_1