• "Bwoah." - Generic Kimi Quotes.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you have any questions, please don't hesitate to ask. There's no such thing as a stupid question.

Automatic Gearbox Script

Discussion in 'Racer Physics and Technical' started by FROST John, Oct 15, 2013.

  1. FROST John

    FROST John

    Messages:
    112
    Ratings:
    +10
    Hello,

    I've copied Skybh's gearbox script from Scenic to BMW M5 (F10) but it didn't work.

    Can you help me about this?

    NOTE:

    I've copied ''scripts'' folder from Scenic to M5 folder.

    What's wrong?

    Regards,
    John.
     
  2. FROST John

    FROST John

    Messages:
    112
    Ratings:
    +10
    Any help?

    @SwiftPL What can be done for it?
     
  3. skybh

    skybh

    Messages:
    362
    Ratings:
    +267
    Does it shift, at least?
     
  4. FROST John

    FROST John

    Messages:
    112
    Ratings:
    +10
    No,just accelerating in first gear.But no shifting.(Starting with kickdown but it starts to move slowly)
     
    • Love Love x 1
  5. Harey

    Harey

    Messages:
    1,369
    Ratings:
    +610
    I just use the shift curves, they work well enough for me.
     
    • Agree Agree x 1
  6. FROST John

    FROST John

    Messages:
    112
    Ratings:
    +10
    Where are they? Maybe i can make sth with them...
     
  7. Harey

    Harey

    Messages:
    1,369
    Ratings:
    +610
    You have to make them, there are some cars that have them, one of the Aviva cars I believe has them already. Basically the horizontal goes from 0 to 1, and the vertical goes from 0 to whatever speed in meters per second (my converter tool I made is actually quite handy for converting kmh to m/s).
    Also you'll have to add into the car.ini under engine.shifting, this the specific example is for a 3 speed automatic, so you'd have to add in more variables (ie gear3_4=).
    Code:
            shift_curves
            {
                gear1_2=crv/gear1_2.crv
                gear2_3=crv/gear2_3.crv
                gear3_2=crv/gear3_2.crv
                gear2_1=crv/gear2_1.crv
            }
    
     
  8. FROST John

    FROST John

    Messages:
    112
    Ratings:
    +10
    Thanks. But i've achieved to make a auto gearbox from skybh's script.

    Everything is fine but just it can't shift into 7th gear :( (BMW M5 F10)
     
  9. skybh

    skybh

    Messages:
    362
    Ratings:
    +267
    "known" bug, just att a 8th "ghost" gear.
    The script shift from gear0...(n-1) (n is the number of gears).
    So just add a 8th gear with the same ratios as the 7th (to avoid a mistake in manual mode) and the script will shift to the 7th
     
  10. FROST John

    FROST John

    Messages:
    112
    Ratings:
    +10
    thanks ;)
     
  11. FROST John

    FROST John

    Messages:
    112
    Ratings:
    +10
    Done it;

    Now it shifts smoothly and perfectly...
     
    • Like Like x 1