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

Mute player before recording the demo #11

Merged
merged 5 commits into from
Dec 17, 2020

Conversation

IncPlusPlus
Copy link
Owner

Currently, DemoRecordingHelper will run the command to mute the person recording the demo with after the demo recording begins. The problem with this is that the console command to mute yourself is recorded while the demo is recording. This means that when you play the demo back, that same command will execute again and mute your own voice.

In hindsight it would have been way better to run the command that mutes myself before the demo recording starts. That way, the demo doesn't even need the playback helper running for my own voice to be audible. So that's exactly what I've decided to start doing!

This way, the command to mute yourself isn't replayed during demo playback.
This class will still be kept around for use with demos recorded before the relevant changes to DemoRecordingHelper were made.
@IncPlusPlus IncPlusPlus added this to the 1.1.0 milestone Dec 12, 2020
@IncPlusPlus IncPlusPlus self-assigned this Dec 12, 2020
@IncPlusPlus IncPlusPlus added the 🛠 Improvement An improvement, whether it be QoL or more general label Dec 12, 2020
If you play the demo back in the same game session after recording, you voice will still be muted. If you restart your game AND THEN play the demo, you will no longer be muted. For this purpose, I've ensured that the messages left in the console will be recorded still for DemoPlaybackHelper to pick up on. If you've restarted your game since recording the demo, it won't be necessary to have this tool running. This is only necessary if you watch the demo immediately after recording it.
@IncPlusPlus
Copy link
Owner Author

Tested and confirmed working.

@IncPlusPlus IncPlusPlus merged commit e0a9496 into main Dec 17, 2020
@IncPlusPlus IncPlusPlus deleted the improvement/mute-player-before-recording-starts branch December 17, 2020 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠 Improvement An improvement, whether it be QoL or more general
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant