In-Boxdim AI Pathfinding

    Winterhome

    Way gayer than originally thought.
    Joined
    Jun 29, 2013
    Messages
    1,929
    Reaction score
    636
    We all know AI is dumb as a sack of bricks, yeah? This can go towards fixing that.

    Whenever an AI entity is inside of the boxdim of a ship, a station, whatever - it inherently should be able to pathfind inside of that object, taking its own ship's box dimensions into account. Why would this be good?

    In-station movement and automatic docking and undocking inside of hangars and such.

    pls schema
     
    Joined
    Mar 9, 2014
    Messages
    596
    Reaction score
    112
    • Community Content - Bronze 1
    • Purchased!
    • Legacy Citizen 3
    We all know AI is dumb as a sack of bricks, yeah? This can go towards fixing that.

    Whenever an AI entity is inside of the boxdim of a ship, a station, whatever - it inherently should be able to pathfind inside of that object, taking its own ship's box dimensions into account. Why would this be good?

    In-station movement and automatic docking and undocking inside of hangars and such.

    pls schema
    A highly advanced feature that would be extremely hard to code.

    Just try to think about how many times it will have to check its surroundings per tick? This may be great for you with single player and a powerful computer but it would increase load on all MP servers.

    Not to mention the amount of bug reports because of this we would have to handle.

    Do you know what the two largest causes of lag are on a MP server? Stations near ships and ships near stations.

    Do you know why? Because each tick (150 ticks in a second I believe correct me if im wrong) It checks for collisions if its near a ship or other object. It never stops doing this and never "fixs the issue" by moving it. The game just wants to know where and how close the ship is to another object but in a large server with lots of players that is millions of checks every min and that causes major slowdown since the game currently only does generation on other CPU cores affectivly reducing a servers power to process this by 90%.

    This suggestion is a good one but in the current state it should not be implemented