-
Notifications
You must be signed in to change notification settings - Fork 81
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
Entity Base: Add remote triggerable #1436
Conversation
Overall I really like this feature, I'm not so sure on its implementation though |
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 guess I'm gonna put this to draft again. As it was mainly a quick way to get remote use to work. But I will try to work on a proper implementation in GM:KeyRelease instead and combine it with weapon pickup and bodysearch to be client-authorative and just checked by the server if it is generally possible.
This shall be based on #1447 instead of this unrelated hook. |
bb659f3
to
c71a1cb
Compare
Updated and waiting for #1447 |
9f80588
to
f77b943
Compare
f77b943
to
1f90813
Compare
Next one is directly ready 😆 |
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 like it much more then the previous implementation. Some minor things. Also I'm wondering if we should use your current method for the focus detection, or if we should just add sorting so we can ditch that part of the code
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.
LGTM
Before this you had to navigate to the shop tabs to use it, which is really unintuitive and currently blocks our idea to do a new shop. ![grafik](https://github.com/TTT-2/TTT2/assets/72046466/cf56c6e4-3d36-4e77-9ea8-94eceba39173) Now you can use the 'Use'-Key from any distance on the focussed radio marker ![grafik](https://github.com/TTT-2/TTT2/assets/72046466/7c4d6c30-d48b-40c1-b799-934fd09d7aad) and get the following new UI, which triggers the sounds in the same way as before ![grafik](https://github.com/TTT-2/TTT2/assets/72046466/a9fa7cd5-e929-4878-9e54-3f63aba65737) This will be waiting for the approval of the remote trigger feature in #1436 --------- Co-authored-by: Tim Goll <github@timgoll.de> Co-authored-by: Histalek <16392835+Histalek@users.noreply.github.com>
This PR aims to gather the focussed markers and enables a clientside remote trigger to placeable entities.
Shall further enable the removal of radio tabs in shop.
Hopefully can be used for a radar as well, if we make it placeable for example.