1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The raddest synthwave tracks were chosen - Check out our Music Contest #12 - Results and congratulate the winners!
    Dismiss Notice
  4. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  5. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  6. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  7. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  8. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  9. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  10. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[General] Pathing Issue: Returning Resources over deep water

Discussion in 'World Editor Help Zone' started by Hankxiety, Sep 16, 2018.

  1. Hankxiety

    Hankxiety

    Joined:
    Sep 1, 2018
    Messages:
    13
    Resources:
    0
    Resources:
    0
    [​IMG]

    Noticing that worker units ordered to Return Resources will hesitate to cross deep water.

    Troubleshooting


    • Have tested with Movement Type - Amphibious and Float.
    • Have tested with Art - Model File Peasant and Human Transport Ship.
    • Have tested with both Gold and Lumber harvesting. The problem still manifests.
    • Have tested with Pathing - Collision Size: 0.00.
    I suspect this is not something I can fix by manipulating Object Values.

    Although the unit eventually finds its way, it's awfully clunky.

    Map requirement


    • Gold gathering is done by merchant ships reaching distant ports over both deep and shallow water. Securing and harassing sea routes figures to be a major part of game play.
    • Harvesting should be automatic after the initial order is given.

    Please advise


    1. Any guesses as to why this is happening?
    2. Any possible workarounds to avoid this issue?
    Thanks for reading.

    Update: Solved, moments later



    [​IMG]

    Putting the resource in deep water fixes this problem. Units are then able to Return Resources over both deep and shallow water.

    Hope this was instructive or, at the very least, amusing for others.

    Playing with the Art - Elevation values helps make the resources visible when placed in Deep Water.

    Would like to change the thread's tag from 'General' to 'Solved', but not sure how.
     
    Last edited: Sep 16, 2018
  2. Pyrogasm

    Pyrogasm

    Joined:
    Feb 27, 2007
    Messages:
    2,802
    Resources:
    1
    Spells:
    1
    Resources:
    1
    Curious: will they preferentially take a route that is (slightly) longer but doesn't go over deep water?
    • I don't know why the AI would be different but does it matter what base unit you start from? For example: peasant modified to have water movement vs. ship modified to be a worker.
    • If a computer player controls the units (and its AI is active) do you get the same behavior?
    • If you catch when they first stop moving and immediately order them to move to the location of the resource dropoff, do they commence moving properly or do they do the same hesitating-for-a-pathing-solution thing?
    It looks to me like they're moving slightly diagonally to return and then realigning specifically to the midpoint of that wall there; does this behavior persist if the gold mine and resource depot are perfectly vertically aligned? It looks like they are on the minimap but I can't tell for sure.
     
  3. Hankxiety

    Hankxiety

    Joined:
    Sep 1, 2018
    Messages:
    13
    Resources:
    0
    Resources:
    0
    As a matter of fact..

    [​IMG]
    I also thought of that. Used Human Transport Ship as base unit for one, Peasant for another.

    Even stranger behavior. They aren't able to cross deep water at all.

    When ordered by the player they commence moving properly -- straight over deep water. But when it gathers resource again, problem resurfaces on the return trip.

    Not sure how to test that with enough precision.