Released [tutorial] How to fix the honda delsol's LUA.

Discussion in 'Content Creation' started by burilkovdeni, Sep 6, 2016.

  1. burilkovdeni

    burilkovdeni
    Expand Collapse

    Joined:
    Aug 21, 2014
    Messages:
    1,169
    For both LUA files.

    First replace:

    init

    With:

    onExtensionLoded
    _______________________________________________

    This is for the delsol gearshift LUA file.

    First replace:


    electrics.values['shiftknob_H'] = 0
    electrics.values['shiftknob_V'] = 0

    With:

    electrics.values['shiftknob_H'] = 1
    electrics.values['shiftknob_V'] = 1


    After that it should work with latest BeamNG.Drive version.


    The delsol gearshift LUA changes may or may not be necessary, depending on BeamNG.Drive's mood.
     
    #1 burilkovdeni, Sep 6, 2016
    Last edited: Jul 31, 2018
  2. mumboking

    mumboking
    Expand Collapse

    Joined:
    Jun 11, 2015
    Messages:
    1,401
    delsol_gearshift.lua works just fine for me without changes...
     
    • Like Like x 1
  3. burilkovdeni

    burilkovdeni
    Expand Collapse

    Joined:
    Aug 21, 2014
    Messages:
    1,169
    On my version of BeamNG I changed those values just incase.
     
    #3 burilkovdeni, Sep 6, 2016
    Last edited: Jul 31, 2018
  4. dinosaur202

    dinosaur202
    Expand Collapse

    Joined:
    Aug 26, 2016
    Messages:
    694
    How do i make the lua files NOT turn into text documents?
     
    • Like Like x 1
  5. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,031
    Show file extensions in Windows Explorer and rename from .txt back to .lua
     
    • Like Like x 2
  6. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,685
    Yeah they shouldn't be required. All the changes in OP are doing, is changing the initial hydro states to full for a frame.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice