Giter Site home page Giter Site logo

Comments (10)

Mythril382 avatar Mythril382 commented on May 30, 2024 1

Just do a within check, and if they're not near enough, pathfind.

This is probably the most basic way to do it.

from mindustry-suggestions.

jehosula avatar jehosula commented on May 30, 2024

i don't want logic processors to be even more op but i am not against this if it's a wproc exclusive
also performance might be an issue with pathfinding a ton of tiles
also why doesn't command mode do this already

from mindustry-suggestions.

XxsuperdeadlysniperxX avatar XxsuperdeadlysniperxX commented on May 30, 2024

i don't want logic processors to be even more op but i am not against this if it's a wproc exclusive
also performance might be an issue with pathfinding a ton of tiles
also why doesn't command mode do this already

This is simply to make pathfind more useful right now it tries to pathfind directly to the building requiring custom range logic which can be a worse for lag and a nightmare to troubleshoot in xase it somehow breaks i hope i gave more context

from mindustry-suggestions.

XxsuperdeadlysniperxX avatar XxsuperdeadlysniperxX commented on May 30, 2024

Just do a within check, and if they're not near enough, pathfind.

This is probably the most basic way to do it.

Within has its own problems also tried this and its not all that great in my opinion at least

from mindustry-suggestions.

XxsuperdeadlysniperxX avatar XxsuperdeadlysniperxX commented on May 30, 2024

Just do a within check, and if they're not near enough, pathfind.

This is probably the most basic way to do it.

Oh yeah the problem is when it gets in range you can't make them back up if an enemy unit approaches and its just inconsistent in some ways don't get me wrong it has its uses but its just not worth using in my opinion

from mindustry-suggestions.

XxsuperdeadlysniperxX avatar XxsuperdeadlysniperxX commented on May 30, 2024

Just do a within check, and if they're not near enough, pathfind.

This is probably the most basic way to do it.

Sorry for the constant replies but the main issue is it needs a range defined or it will pathfind to 0 which is directly on the coords of building which it then obstructs the path which the units refuse to move because its obstructed which makes me want to jump off of a cliff trying to think of a solution the solution not work as intended and tjen get rest to square 1 repeat

Frick me pathfind without a range is a headache

I hope this clears up the main and most prominent issue with this function and now i will go and bang my head against a wall for 4 hours to achieve nothing and never gain progress on what should be a simple solution to a problem

Amd then

Once range is added to pathfind

I can FINALLY make a ground ai that IS NOT over 400 lines of madness and chaos

Huddles in corner with knife carving wood

from mindustry-suggestions.

XxsuperdeadlysniperxX avatar XxsuperdeadlysniperxX commented on May 30, 2024

Some vote emotes i guess

from mindustry-suggestions.

XxsuperdeadlysniperxX avatar XxsuperdeadlysniperxX commented on May 30, 2024

Bumping

from mindustry-suggestions.

XxsuperdeadlysniperxX avatar XxsuperdeadlysniperxX commented on May 30, 2024

Bump it

from mindustry-suggestions.

github-actions avatar github-actions commented on May 30, 2024

This suggestion is now stale, and will be automatically closed.

from mindustry-suggestions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.