branchrust_reboot/main/demoshotcancel
114 Commits over 183 Days - 0.03cph!
Added server convar cinematic.SetBotUnderwear. Takes a bot name and and underwear shortname (eg.swimwear_gradient). Pass 0 as the underwear ID to go back to the regular underwear skin.
If demo timescale is 0, show play button on timeline
Added demo.pause and demo.resume as alternatives to setting demo.timescale to 0 and 1
Pressing play on the timeline while timescale is set to 0 will now set timescale to 1
Fixed all folders expanding when the shot list refreshes
Improved automatic demo shot naming increments
Improved name sorting, compare trailing number if it exists (eg. neswhot7 will now come before newshot12)
Improved current shot name test settings (ellipsis, no line breaking)
Shot name widget should now match length of timeline buttons
Potentially fixed exceptions when saving
Fixed exceptions when switching demo while a shot was being played or recorded
Fixed shots list not being refreshed when switching between demos that are on the same map
Better default name of a new shot (if the previously recorded shot ended with a number, increment the number)
Better input field handling for renames
Fixed debug camera resetting when switching between shots in the same demo while autodebugcam is turned on
Fixed demo UI not scaling correctly based on the ui scale setting
Can no longer enable the cursor if in camera mode and UI is disabled
Another dof recording fix
Fix dof distance not being applied properly
Improved handling of long shot names
Added some input validation to shot and folder name input
Fixed demo UI wrong sorting layer causing input issues
Disable demo.compressShotKeyframes by default
Demo UI is now scaled by screen size
Increased size of new shot and folder buttons
Fix depth of field not working
Fixed drag and drop handling
Update next frame icon
Fixed shot entries missing drag dots
Remove recordshot convar, we run it via UI now
Timeline styling changes, removed UI sample images
Don't show suicide menu option when in a demo (doesn't do anything)
Show "Quit Demo" in it's place while playing a demo
Manage suicide button from the MainMenuSystem component instead of it's own component
Don't run any dof processes (lerp times, nudges) while playing a shot if the shot has dof data
Load cfg later in the demo load process (hopefully fix player seed issues)
Added demo.readcfg convar to load the cfg again while the demo is playing
Revert DropMe changes on branch, theoretically not needed anymore
Cleanup playback and recording when exiting a demo
Run "decal.clear" when opening a shot
Increased scroll sensitivity in shots view
Fixed demo name line wrapping incorrectly
Fixed demo list UI on main menu erroring if a non demo file was in the demo folder
Added support for demo cfg files - a text file with the same name as the demo and .cfg extension that contains a list of console commands
Each command should be on it's own line
Starting a demo will now run those commands (good for setting player seeds, weather conditions, etc)
Improved countdown timeline window
"Return to beginning" option now reverts time as well as as camera position
Fixed shots not reading/writing the correct dof settings
Added support for renaming and deleting folders by right clicking the folder
Fixed not being able to end recording while in countdown
Add option to record dof focal size and distance in a shot
Fixed shots getting selected/unselected incorrectly when dragging a shot
Can drag shots into the root folder
Auto focus shot name field when opening the new shot UI