Rewind Unpause Configuration & Configurable Rewind Bind#51
Conversation
…le certain actions from unpausing rewind, as well as set custom thresholds for steer/pitch/throttle/roll
6f19742 to
d63cbf5
Compare
NitrOP7674
left a comment
There was a problem hiding this comment.
Thanks again for the PR. Sorry for the delay, and also sorry that I'm still going to be picky about all the new options being added that I don't think anyone really needs. I'm fine with leaving the vars if you feel very strongly that they need to be configurable (though I'd like to hear why you think you need it, since they add clutter to the code as well), but I'd rather remove them from the configuration UI for sure.
Can you also add something to the README to explain the new settings to control the rewind input method & matching axis bind, please?
| 9|Rewind Unpause Actions Configuration: | ||
| 1|Throttle Unpauses|enable_throttle_unpause | ||
| 4|Throttle Threshold|throttle_threshold|0.0|1.0 | ||
| 1|Steer Unpauses|enable_steer_unpause | ||
| 4|Steer Threshold|steer_threshold|0.0|1.0 | ||
| 1|Pitch Unpauses|enable_pitch_unpause | ||
| 4|Pitch Threshold|pitch_threshold|0.0|1.0 | ||
| 1|Yaw Unpauses|enable_yaw_unpause | ||
| 4|Yaw Threshold|yaw_threshold|0.0|1.0 | ||
| 1|Roll Unpauses|enable_roll_unpause | ||
| 4|Roll Threshold|roll_threshold|0.0|1.0 | ||
| 1|Handbrake Unpauses|enable_handbrake_unpause | ||
| 1|Jump Unpauses|enable_jump_unpause | ||
| 1|Boost Unpauses|enable_boost_activate_unpause | ||
| 1|Boost Hold Unpauses|enable_boost_hold_unpause |
There was a problem hiding this comment.
Can we just delete all these, too? Why do you need to suppress rewind unpausing for anything besides the rewind and the other function on the same stick?
There was a problem hiding this comment.
You deleted some but not all of these, I think. I think they should all go. If you really want to be able to configure them then I'm fine with leaving in the variables and allowing them to be set manually.
There was a problem hiding this comment.
if you check the files i'm pretty sure i removed them all in the recent commit, hence the "Outdated" on the comment code here
There was a problem hiding this comment.
Click on "files changed" and only 4 were removed. Let's delete the whole "Rewind Unpause Actions Configuration" section if you don't mind.
…nt that you make so history is preserved; remove unneeded config
| if (axis == matchingAxis) { | ||
| effectiveThreshold = 0.9; // TODO customizable | ||
| } |
There was a problem hiding this comment.
i'm thinking since we have the thresholds already for all of the axes, this can be removed
| 9|Rewind Unpause Actions Configuration: | ||
| 1|Throttle Unpauses|enable_throttle_unpause | ||
| 4|Throttle Threshold|throttle_threshold|0.0|1.0 | ||
| 1|Steer Unpauses|enable_steer_unpause | ||
| 4|Steer Threshold|steer_threshold|0.0|1.0 | ||
| 1|Pitch Unpauses|enable_pitch_unpause | ||
| 4|Pitch Threshold|pitch_threshold|0.0|1.0 | ||
| 1|Yaw Unpauses|enable_yaw_unpause | ||
| 4|Yaw Threshold|yaw_threshold|0.0|1.0 | ||
| 1|Roll Unpauses|enable_roll_unpause | ||
| 4|Roll Threshold|roll_threshold|0.0|1.0 | ||
| 1|Handbrake Unpauses|enable_handbrake_unpause | ||
| 1|Jump Unpauses|enable_jump_unpause | ||
| 1|Boost Unpauses|enable_boost_activate_unpause | ||
| 1|Boost Hold Unpauses|enable_boost_hold_unpause |
| checkpoints.push_back(latest); | ||
| saveCheckpointFile(); | ||
| loadGameState(latest); | ||
| // loadGameState(latest); |
There was a problem hiding this comment.
removing this line lets you set multiple checkpoints from the same play without erasing your history :)
There was a problem hiding this comment.
Hmm, but then I'd be worried that people wouldn't realize they saved a checkpoint successfully, and that it would lead to people creating duplicate checkpoints. I think there would have to be some kind of feedback. Let's leave that out of this PR and consider something around it for the future.
There was a problem hiding this comment.
hmmm sure i'll put it in it's own PR for sure! for that other PR, could we have it as an option? i really like this feature since i can do one play and then save the key moments to practice each part 😍
There was a problem hiding this comment.
I'm fine with an option for this, but we should make sure something is displayed when you save the checkpoint, and a second push of doCheckpoint like this should probably delete the new checkpoint. I.e.:
- Rewinding...
cpt_do_checkpoint- Message appears: "Checkpoint saved. Press again to remove."cpt_do_checkpointagain - Message appears: "Checkpoint removed."
NitrOP7674
left a comment
There was a problem hiding this comment.
Thanks for the quick updates. Looking much better now. :)
| checkpoints.push_back(latest); | ||
| saveCheckpointFile(); | ||
| loadGameState(latest); | ||
| // loadGameState(latest); |
There was a problem hiding this comment.
Hmm, but then I'd be worried that people wouldn't realize they saved a checkpoint successfully, and that it would lead to people creating duplicate checkpoints. I think there would have to be some kind of feedback. Let's leave that out of this PR and consider something around it for the future.
| 9|Rewind Unpause Actions Configuration: | ||
| 1|Throttle Unpauses|enable_throttle_unpause | ||
| 4|Throttle Threshold|throttle_threshold|0.0|1.0 | ||
| 1|Steer Unpauses|enable_steer_unpause | ||
| 4|Steer Threshold|steer_threshold|0.0|1.0 | ||
| 1|Pitch Unpauses|enable_pitch_unpause | ||
| 4|Pitch Threshold|pitch_threshold|0.0|1.0 | ||
| 1|Yaw Unpauses|enable_yaw_unpause | ||
| 4|Yaw Threshold|yaw_threshold|0.0|1.0 | ||
| 1|Roll Unpauses|enable_roll_unpause | ||
| 4|Roll Threshold|roll_threshold|0.0|1.0 | ||
| 1|Handbrake Unpauses|enable_handbrake_unpause | ||
| 1|Jump Unpauses|enable_jump_unpause | ||
| 1|Boost Unpauses|enable_boost_activate_unpause | ||
| 1|Boost Hold Unpauses|enable_boost_hold_unpause |
There was a problem hiding this comment.
You deleted some but not all of these, I think. I think they should all go. If you really want to be able to configure them then I'm fine with leaving in the variables and allowing them to be set manually.
screenshots
description
Rewind Input Methodallowing uses to select fromSteer/Throttle/Pitch/Rollas the analogue input to control the game state. i also added a threshold for this inputoriginal issue
#40
#37
considerations
we should agree on default values
we should agree where this list appears on the settings page. currently it is at the top