1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice

Putting Bulletime on my Xbox Controller help!

Discussion in 'General Discussion' started by PikaM8, Aug 31, 2013.

  1. PikaM8

    PikaM8
    Expand Collapse

    Joined:
    Jul 2, 2013
    Messages:
    8
    So im trying to get Bulletime set to Y and B
    heres the script;

    [SUB]// Product Name: Controller (Xbox 360 Wireless Receiver for Windows)
    // GUID: {02A1045E-0000-0000-0000-504944564944}
    // axes: 5^Y^X^U^R^Z

    // 15% deadzone for the camera things
    $gp_deadzone = "-0.15 0.15";

    // camera
    %mm.bind(%device, thumbrx, "D", $gp_deadzone, gamepadYaw);
    %mm.bind(%device, thumbry, "D", $gp_deadzone, gamepadPitch);

    // movement : deadzones and such are in lua for these
    %mm.bind(%device, thumblx, "D", $gp_deadzone, steer);

    %mm.bind(%device, triggerl, "D", $gp_deadzone, brake);
    %mm.bind(%device, triggerr, "D", $gp_deadzone, accelerate);

    %mm.bind(%device, btn_l, clutch );
    %mm.bind(%device, btn_a, shiftUp);
    %mm.bind(%device, btn_x, shiftDown);

    %mm.bindCmd(%device, dpadd, "beamNGResetPhysics();", "");
    %mm.bindCmd(%device, dpadr, "beamNGTogglePhysics();", "");
    %mm.bind(%device, btn_r, parkingbrake_toggle);
    %mm.bindCmd(%device, lpov, "beamNGSwitchVehicle();", "");
    %mm.bindCmd(%device, btn_y, "bullettime.set(6)", ""); [/SUB]<-- Here[SUB]
    %mm.bindCmd(%device, btn_b, "bullettime.set(100)", ""); [/SUB]<-- And here[SUB]
    %mm.bindCmd(%device, btn_rt, "beamNGResetCamera();", "");

    %mm.bindCmd(%device, btn_back, "beamNGCameraToggle();", "");
    //%mm.bind(%device, btn_back, beamNGControl);
    //%mm.bind(%device, btn_x, toggleFirstPerson);



    [/SUB]​When i tap the buttons on the controller nothing happens, can anyone tell me why?
     
  2. NkosiKarbul

    NkosiKarbul
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    438
    change
    to:

    %mm.bindVLuaCmd(%device, btn_y, "bullettime.set(6)", "");
    %mm.bindVLuaCmd(%device, btn_b, "bullettime.set(100)", "");

    you where missing "VLua" within %mm.bindVLuaCmd...
    have fun.
     
  3. PikaM8

    PikaM8
    Expand Collapse

    Joined:
    Jul 2, 2013
    Messages:
    8
    thank you so much, you are a legend
     
  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