Giter VIP home page Giter VIP logo

Comments (5)

dominic-dimico avatar dominic-dimico commented on June 29, 2024 1

This would be wonderful. Yes! The ability to create a path using intermediate points that you walk through. The old AD&D CRPGs like Baldur's Gate had pathsetting features like this, where you'd right-click in a sequence and your character would walk in optimal sub-paths to all those points.

You know, this reminds me. Vim has a feature where it records keystrokes into macros. You can play the exact keystrokes back by invoking the macro. If you were implement it this way, you wouldn't have to rely on pathfinding; but you would be at the mercy of your own macro definitions, if you know what I mean. Not only walking, but also other repetitive activities could be handled this way. Just a thought.

from cataclysm-dda.

Brambor avatar Brambor commented on June 29, 2024

I really need to do something else.... but....

from cataclysm-dda.

Brambor avatar Brambor commented on June 29, 2024

There more discussion of this on Discord: https://discord.com/channels/598523535169945603/598529174302490644/1249842203056930826

from cataclysm-dda.

Brambor avatar Brambor commented on June 29, 2024

My current local implementation records the tripoints you step on specifically. I don't want to get into the weeds of key recording. I want it simple and bug-resistant. This also allows for some QoL optimizations that you couldn't get with plain key recording (the loop detection).

I hope to make a PR today (at least a draft).

from cataclysm-dda.

Brambor avatar Brambor commented on June 29, 2024

I am not implementing any visuals to the path. This PR displays NPC path on overmap, maybe I could steel from it:

from cataclysm-dda.

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.