Integration of Cinematics - MoveTo functionality #6570
Draft
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.
Description of the proposed changes
Integrates a portion of the functionality from my old Cinematics mod. This UI mod provides greater control over the camera. It enables you to make smooth transitions that you also see in the campaign via hotkeys.
This pull request only contains the functionality surrounding the
MoveTo
function of theUserCamera
. It is not feature complete, but it is a great start.The mod was limited in its feature set. This integration extends upon the mod:
This introduces various new hotkeys in a new Cinematics category:
There is a special hotkey to setup the hotkeys to interact with the functionality. It is the first hotkey of the Cinematics tab. This applies the following layout:
The layout does not interfere with the hotkeys that are stored in your preference file. The overwrite lasts until you restart the game.
The modules are isolated from the rest of the source code. They are only loaded when you interact with the hotkeys. Therefore there is no memory/performance impact to the average user.
The modules have full support for hot reload-like functionality. If you make changes the sequence you had in memory is copied from the old module to the new module.
Testing done on the proposed changes
Run the game and hit all the hotkeys.
cinematics-01.mp4
Additional context
I strongly believe this should be integrated. I get several messages a year with questions about camera control and how to run/use the Cinematics mod. By integrating it we remove all these questions: the features are just available and they just work.
The ability to make smooth transitions is key to make interesting (YouTube) content.
Two examples of channels that use the mod:
Checklist