Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Intuitive Rails And Drones #824

Open
dredclaw opened this issue Mar 7, 2012 · 5 comments
Open

Intuitive Rails And Drones #824

dredclaw opened this issue Mar 7, 2012 · 5 comments

Comments

@dredclaw
Copy link

dredclaw commented Mar 7, 2012

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.

@Maescool
Copy link
Owner

Maescool commented Mar 7, 2012

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..

@dnoegel
Copy link
Contributor

dnoegel commented Mar 7, 2012

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

@Tipaa
Copy link
Contributor

Tipaa commented Mar 10, 2012

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?

@Delvar
Copy link
Contributor

Delvar commented Mar 15, 2012

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.

@godleydemon
Copy link
Collaborator

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

6 participants