(Engine's mod problem) Vehicle turning to the right

Recommended Posts

I'm making a mod that will introduce a completely new way to make wheels work. I already have the models and the basic systems working. The mod will add a new resource, torque, that engines make in exchange of fuel. Wheels use torque instead of electric charge.

The thing is that it seems KSP, when the wheels are checking for torque, checks the left wheels first and therefore gives more power to them. This makes the car turn slightly to the right.

The easy fix is that every player adjusts the traction limiter of the wheels perfectly, which is pretty time consuming and confusing.


My idea, in which I need help with, is making it so that the wheels somehow check for the amount (persentage) of torque in the engine and adjust how much they take. 

This sounds pretty simple but I have ZERO background in coding and these CFG files in general.


As of right now, this is how the wheel takes torque, just for clarification:

            name = Torque
            rate = 1000


And this is the resource conversion part of the engine:

            ResourceName = LiquidFuel
            Ratio = 0.035
            FlowMode = STAGE_PRIORITY_FLOW
            ResourceName = Torque
            Ratio = 200
            DumpExcess = false

        name = Torque
        amount = 20
        maxAmount = 20


Any ideas, help, or feedback are seriously appreciated :wink:

Share this post

Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.