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
Feature: Minimap screenshot #7817
Conversation
I like it, but I feel like it would be better implemented as a separate "screenshot mode". This would ensure no issues with overwriting files. Shouldn't mean many changes in the core functionality you've implemented |
I think you intended like this new code. Now it is unifyed with |
1ad5f9e
to
94d2c9b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think "minimap" might be a better name for it than "topview", even if the "viewing angles" are different between the ingame minimap and the screenshot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a lot of comments, but I'm pretty sure most of them are easily fixable. Getting close!
I applied recent /pull/7550's changes, please look around. Sorry for my pool coding skill beforehand :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seem to be some remaining changes in toolbar_gui.cpp - those should be removed
Also remember to run the relevant GS generation scripts - script/api/generate_widget.sh
Thanks for your advices, please check if I've done correctly. |
This command is introduced at this tt-forum post and already implemented in JGRPP as
minimap owner <file_name>
This feature extends

screenshot
command to take top-viewed screenshot asscreenshot topview
.Its output looks like this (from title game):
And adds a dropdown menu:

eg)
screenshot minimap
screenshot minimap <filename>
Most part of this code is not from me, but from here.
I have no idea if I dare could make a PR although its original author is not me.
Please let me know if it is not allowed or there is any problem.
Btw, it is quite useful command to show users server's status via website.
I am using JGRPP's
minimap
command to show my server's status in my website