Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Added: QTE Framework #1649
base: master
Are you sure you want to change the base?
Added: QTE Framework #1649
Changes from 1 commit
ea657b5
964cefe
45929cd
bfa6ea8
3576e8e
dbc5abe
d35bfb8
986d828
26529cc
5255969
96806a9
6597fc8
9feffc8
c851040
68c586b
f48ebaa
d99bb4f
97fc243
29f9f11
1fbb063
c8e951b
24bf821
9eb7b18
7dc983f
a22d373
9a6cfb2
976eca3
6d2f3fe
6024704
8e236f2
83ca39f
46d200d
91e2722
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
The other headers are formatted different from this one.
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.
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.
For now leave this aside, or bring it up-to-date with CBA.
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.
Imo it should be up to the user to check whenever it's ready. This should only return
false
or an error code that it couldn't run. The removal of thesewaitUntilAndExecute
would make the_onDisplay
event redundant.The display on which the QTE is drawn should be an argument, so that people can run it wherever they want to (e.g. Zeus interface).Because of comment below, this is no longer relevant.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 really dislike this strongly. It uses CBA settings for keybind sets, when we can use CBA keybinds instead.
This would allow for way more flexibility and customisability, as 3rd party mods or mod makers could add their own extra keybinds.
Register 4 keybinds. Here's an example (strings would need to be localised and improved):
In
fnc_keyPressedQTE
, you'd check if the keypress is good or not:Imo, we should make the QTE agonistic of the QTE chars themselves ("↑"). That should be configurable by the user. It will add an extra layer of complexity to the whole things, so we'll have to see if it's worth it.
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.
Let's keep it simple and start with assigning keys to "↑" etc then we can look at expanding to other keys.