Catacomb-Snatch icon indicating copy to clipboard operation
Catacomb-Snatch copied to clipboard

Intuitive Rails And Drones

Open dredclaw opened this issue 12 years ago • 5 comments

I have noticed over the last few updates/postes that the game is starting to evolve from just bug fixing to more adding of features. Things like larger base sizes and new traps have been added and many others things are being debated on. One thing i seem to find as a missing feature is the fact that rails and treasure drones are hard to controle. For example, when I have a fork in my track, the drones seem to veer off in random or unwanted direction. Also, if i want to connect multiple tracks to my base, the rails end up making the drones pass the base without allowing them to drop off their treasure. To get to my point, if some kind of option was added to allow you to choose the direction that a drone would go when coming to a fork and maybe even make passing drones that dont go directly to the treasure/base block still be able to interact with them.

Of course there are many things that can be added and taken away from these ideas, but I think the basic point is clear that we need some way of controlling our drones in a more efficient and intuitive way.

dredclaw avatar Mar 07 '12 02:03 dredclaw

i agree drones need some kind of pathfinding.. when they are empty, find the path to the treasure, when they are full, find the path to the base.. currently they always turn right on a crossroads..

Maescool avatar Mar 07 '12 03:03 Maescool

I agree with this. Would AStar.java in com/mojang/mojam/level/ be suitable? Right now it does not seem to be used…

dnoegel avatar Mar 07 '12 07:03 dnoegel

Can I recommend a new logic class for it? or that they always go straight at a cross, while always straight or clockwise at T junction?

Tipaa avatar Mar 10 '12 18:03 Tipaa

yes the AStar code that is already tee will work with only a little modification. I use it for my Soldiers and have no issues.

you would need to build a node map of tiles that contain only rails. then run the path finding over it and bam you have your path.

Delvar avatar Mar 15 '12 22:03 Delvar

I'm going to leave this open as its a neat idea and I don't know if it was ever implemented or not.

godleydemon avatar Feb 25 '13 09:02 godleydemon