AI Plane Script

Discussion in 'Ideas and Suggestions' started by I<3Physics, Jan 5, 2014.

  1. I<3Physics

    I<3Physics
    Expand Collapse

    Joined:
    Nov 7, 2013
    Messages:
    7
    I think it would be awesome if I could have an airplane be AI controlled. This is because then I can have demolition derbies in the air or police chases in the air.
     
  2. Occam's Razer

    Occam's Razer
    Expand Collapse

    Joined:
    Aug 7, 2013
    Messages:
    1,152
    I was thinking something along these lines as well. The first thing you'd have to do is make the vehicle identify itself as an airplane. Unless you'd want to list all of the possible individual airplane mods (two or three at the moment), you'd need to add a simple property to the vehicle's files to mark it as an aircraft.

    From there, it would need to shift into the appropriate gear to gain speed (or taxi turn so as to takeoff in the correct direction), pitch up, and from there, carefully monitor its pitch, yaw, roll, airspeed, and altitude. Also, due to the aircrafts' speed, the system would need to learn to aim ahead of its target rather than at its target.

    Just in case anyone's got the wherewithal to see something like this through to the end, the AI is controlled through BeamNG-Drive-XX/lua/system/simpleAI.lua
     
  3. aobitner 2

    aobitner 2
    Expand Collapse

    Joined:
    Apr 27, 2016
    Messages:
    17
    yeah that would be pretty cool it would be nice to do roleplays with a ai plane
     
    #3 aobitner 2, Nov 3, 2016
    Last edited: Nov 5, 2016
  4. NoxiousFumes

    NoxiousFumes
    Expand Collapse

    Joined:
    Apr 24, 2016
    Messages:
    675
    Well, well, well. We have another bump here.
     
  5. aobitner 2

    aobitner 2
    Expand Collapse

    Joined:
    Apr 27, 2016
    Messages:
    17
    stop bumping
     
  6. NoxiousFumes

    NoxiousFumes
    Expand Collapse

    Joined:
    Apr 24, 2016
    Messages:
    675
    You bump a 2 year old post. I tell you to stop bumping 1 hour later. Now you tell me to stop bumping?
     
    • Like Like x 1
  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