Skip to reading
Shaders, Effects & Layered Scenery

75. Make cutscene cleanup explicit

Edition 0.86.4.0

Revised 0.86.4.0 edition with new supplements; earlier 0.86.3.4 lessons and screenshot labels are retained within the supplied PDF.

Download PDFView PDF page

Cutscene skipping does not mean “execute all remaining events instantly.” Future events can be skipped. If a late event was going to hide an aura or stop a sound, an early skip may never reach it.

1. List every temporary effect the sequence starts: particles, attachment links, extra GUIs, sound channels, room tint, held blur and shake.

2. Decide the useful final state for normal completion and for a skip.

3. Keep a cleanup script outside the cutscene timeline. Call it after the cutscene finishes or is skipped.

4. Disable/hide temporary emitters, detach links that should end and stop named sounds.

5. Clear a held Zoom Blur or Screen Shake and restore the intended screen look.

6. Test skipping during the first title, during movement and while a major effect is active.

Source table from 75. Make cutscene cleanup explicit, page 79
Temporary changeDeliberate cleanup
Hand auraDisable/hide it and release the link if the ability ends.
Brazier lit permanently by the storyKeep it lit and save the appropriate story state.
Held blur or tintRestore the intended normal look.
Extra frame built as a GUIHide that GUI.
Looping effect soundStop its specific channel rather than every sound in the game.

Automatic camera/HUD restoration is not a complete undo system for every scene edit. A good effect script owns its beginning and its ending.

Page 79 of 93Permalink
Go to page