Outdated Waypoints (paths) for cars - v1.0.7

Discussion in 'Programming' started by Incognito, Aug 16, 2013.

  1. sparkyjnr411

    sparkyjnr411
    Expand Collapse

    Joined:
    Feb 3, 2014
    Messages:
    44
    Re: Waypoints (paths) for cars

    If You cant figure anything out, can i send a track to someone and they do it for me so i can just load it ?
     

    Attached Files:

    • error2.png
  2. Incognito

    Incognito
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    246
    Re: Waypoints (paths) for cars

    Method names are case sensitive. Use printCurrentCarId (with small letter d).
     
  3. sparkyjnr411

    sparkyjnr411
    Expand Collapse

    Joined:
    Feb 3, 2014
    Messages:
    44
    Re: Waypoints (paths) for cars

    ohh my bad, thank you and do you have to type it in each time or is there a quicker way ?

    - - - Updated - - -

    Last one lol .. soo close !!
     

    Attached Files:

    • error3.png
  4. Zero

    Zero
    Expand Collapse

    Joined:
    Sep 2, 2012
    Messages:
    1,386
    Re: Waypoints (paths) for cars

    I get this error everytime I try to make one of the cmds, I tried the tutorial that one of the dudes posted.
    screenshot_00034.png
     
    #104 Zero, Feb 13, 2014
    Last edited: Feb 13, 2014
  5. Incognito

    Incognito
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    246
    Re: Waypoints (paths) for cars

    Patch and path - are different words :)
    The filename must be enclosed in " .
    Code:
    wayPoints.loadWayPoints(0, "tutorial")
    Send me your waypoints file. And for which map you are trying to use it?
     
  6. Zero

    Zero
    Expand Collapse

    Joined:
    Sep 2, 2012
    Messages:
    1,386
    Re: Waypoints (paths) for cars

    I see that, there's already made one for the desert map, how do I activate it? I have to add all the cars first and then make the start cmd?
     
  7. Incognito

    Incognito
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    246
    Re: Waypoints (paths) for cars

    Did you read this?
     
  8. Zero

    Zero
    Expand Collapse

    Joined:
    Sep 2, 2012
    Messages:
    1,386
    Re: Waypoints (paths) for cars

    It doesn't say anything about if I should pre-spawn the vehicles.
     
  9. Incognito

    Incognito
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    246
    Re: Waypoints (paths) for cars

    You can't "Put the car somewhere" if this car is not spawned.
    So, you should spawn the car(s), load waypoints (wayPoints.loadWayPoints(carId, "filename")) for them then start (wayPoints.runCar(carId) or wayPoints.runAllCars()).
     
  10. Zero

    Zero
    Expand Collapse

    Joined:
    Sep 2, 2012
    Messages:
    1,386
    Re: Waypoints (paths) for cars

    I won't bother you anymore, I guess I should be able to solve it now, thanks for your support:cool:
     
  11. Lurker

    Lurker
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    101
    Re: Waypoints (paths) for cars

    I would like to know how i install this.
     
  12. Incognito

    Incognito
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    246
    Re: Waypoints (paths) for cars

    Then read help :)
     
  13. nug700

    nug700
    Expand Collapse

    Joined:
    Nov 10, 2013
    Messages:
    29
    Re: Waypoints (paths) for cars

    So I tried out your waypoints mod today, and found it quite fun to play around with. I have 1 suggestion, though: Not sure if you're aware of this, but if your car id is 0, and the car on the path is 1, when you reload your car with Ctrl+R your carId gets set to 1, and the other car's id is set to something else. This makes the mod take control of your car instead of the other one. I'm not familiar with the beamng lua api, so is it possible to use the objects name to control it instead of this id system?
     
    #113 nug700, Mar 22, 2014
    Last edited: Mar 22, 2014
  14. Incognito

    Incognito
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    246
    Re: Waypoints (paths) for cars

    I don't know whether it is possible to get a car by name. At the moment, there is no documentation :(
     
  15. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Re: Waypoints (paths) for cars

    I don't know why it won't start recording

    waypoints error.JPG
     
    #115 ThreeDTech21, Mar 26, 2014
    Last edited: Mar 26, 2014
  16. Incognito

    Incognito
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    246
  17. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    #117 ThreeDTech21, Mar 26, 2014
    Last edited: Mar 26, 2014
  18. Incognito

    Incognito
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    246
    Re: Waypoints (paths) for cars

    What? :confused:
     
  19. msurf15

    msurf15
    Expand Collapse

    Joined:
    Sep 20, 2013
    Messages:
    340
    Re: Waypoints (paths) for cars

    bro....calm down...u messed with trying to rotate the car right?....the game doesnt like rotation...the jbeam doesnt respond to rotation so only the frame does. Just update the game and it will fix it...
     
  20. LSDMT420

    LSDMT420
    Expand Collapse

    Joined:
    Aug 23, 2013
    Messages:
    386
    Re: Waypoints (paths) for cars

    Edit your post man, your being extremely immature and rude. This mod works perfectly if you calm down and follow the directions, no one is at fault here but you. Try following this tutorial:

     
    #120 LSDMT420, May 11, 2014
    Last edited by a moderator: Oct 21, 2015
  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