Airplanes and AI

Discussion in 'Ideas and Suggestions' started by shinchanf1, Feb 3, 2023.

  1. shinchanf1

    shinchanf1
    Expand Collapse

    Joined:
    Nov 12, 2019
    Messages:
    1,011
    So, since there are vehicle types, It could be possible to add a specific AI for the "airplane" type vehicles. Here's how this could be implemented.

    1. "runway" paths
    In these areas, the AI either lands by pulling downwards, or takes off by increasing throttle to 80% and pulling up. Runway would need the paths to be in an upwards ramp position for the "take-off" path, and downwards for the "landing" path.

    2. on-ground pathing
    pretty simple, AI would steer and use the rudders in the direction it wants to go. It would park at a "hangar spot" where it stays for a duration.

    3. AIr paths
    Paths would be an area in which the AI would fly instead of specific nodes. If there's a building that gets in the way, it would go over it. The user would be allowed to edit the shape of the area. The paths would need to be able to float in the air. As for speed limits, AI would obey them by stopping the throttle when it reaches the speed limit and slowing down if it goes higher than it.

    4. Airtificial intelligence
    General stuff, elevator up, ailerons left, etc. AI would use ailerons and elevators to turn left and right. Would use elevators to randomly change levels, or to avoid collisions. When landing, it would use landing gears. When taking off, it would deactivate the landing gears. If takeoff or landing spot is blocked, it would stop in front of the object blocking the runway(takeoff) and cancel landing on that runway(landing).
    In case of a potential collision, 1 airplane would go downwards, and 1 would go upwards. Just like an IRL collision avoidance system. If it reaches the border of the flying area, it would turn back towards it. there would be a point at which the AI would go back upwards/downwards. If you collide with a plane, it would make an "emergency landing" at a landing spot and deactivate. If you get in the way of the AI, It would turn left/right and upwards/downwards to avoid you.

    5. AIr force
    The "air police" would be jet-type airplanes.
    Crimes would include these
    • Dangerous speed(speeding)
    • Air collision(colliding with a plane)
    • Entering restricted airspace(could be its own thing)
    How police would behave
    1. Tails you from behind, waits for you to land. No aggressive maneuvers. Lasts for a while.
    2. Aggressive, Intercepts, will attempt to spin you out of the air with aerial maneuvers. will try to make your plane rollover.
    3. Classic style. hits from behind with no care, and will attempt to make your plane crash land.
    In order to surrender, you'd have to land. ground police will always treat your plane carefully(no aggression)

    6. Other things
    Ground traffic would stop and avoid and plane debris. Traffic airplanes would not despawn unless they have crashed. Risk value would control maneuvers. The awareness option would toggle collision avoidance. Drivability wouldn't really matter since it is literally air. Follow mode AI would behave like wanted level 1 police, chase mode AI would behave like wanted level 3 police, and risk value 1+ follow mode AI would behave like wanted level 2 police.

    About it.
     
    • Like Like x 3
  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