Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Enhancement: delayed player map #101

Open
DannyStoll1 opened this issue Feb 18, 2024 · 2 comments
Open

Enhancement: delayed player map #101

DannyStoll1 opened this issue Feb 18, 2024 · 2 comments

Comments

@DannyStoll1
Copy link

DannyStoll1 commented Feb 18, 2024

I think an interesting feature for certain use cases would be a customizable delay on the positions of other players in the map. So, if the delay is set to 30 seconds, then when a player opens the map, they will see the positions that other players had 30 seconds ago.

This would be useful for many types of "hide-and-seek" type games (e.g. speedrunner vs hunters), forcing the hiding player has to remain on the move, with an easily adjustable difficulty setting.

It seems easy enough to implement using a deque as a buffer for each player, and I'd be happy to make a PR if you could point me towards where you think this could most cleanly be added.

@Extremelyd1
Copy link
Owner

Sounds like a niche enough feature to be implemented as an addon with the API. Although, currently the functionality in the API is lacking to fully implement this properly.

To remedy this, either the server API would need to expose map position manipulation or the client API would need to make it possible to intercept and modify map positions for the icons.

Feel free to take a look at the ServerManager and the MapManager respectively and the interfaces they implement (which come from the API). Contribution is very welcome, otherwise I'll pick this up eventually.

@pati08
Copy link

pati08 commented Jul 24, 2024

I'm not sure that the idea quite matches the vision. Don't you think a ping-like system where it only updates their displayed position every 30 seconds would be more fitting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants