Clips
A clip is a document named after it, underanimation/, with the clip’s settings, and a resource with its key data. The game has 6,270 clips.
The document holds what you see in a clip’s details: its rig, its frame rate (60 in all but two clips), its length in frames, whether it loops (302 do), whether it carries the root’s movement through the world, and how far that moves. A clip’s length in seconds is its frames divided by its frame rate and its time scale.
Codecs
One resource type carries every clip; the document says which codec the keys are in. The game uses four:
Studio reads all four. It writes Eclipse only: a VBR or Frame clip you replace becomes an Eclipse clip. Eclipse stores a rotation in 48 bits (64 in 88 clips), a position in 16 bits between a minimum and a range, and a float in a byte, so a key comes back within a small step of what you animated.
Rigs
A clip has no joint names. Its channels are numbered: rotations, then positions, then floats. A shared channel list gives each channel the id of what it moves, and the clip’s rig turns those ids into joints by name, such asHips (.q a rotation, .t a position, .s a scale), and into values that are not joints: the root’s path, face controls, game values.
The game’s clips use five rigs. Most use the skater’s (5,894 clips) or the skateboard’s (370). The skater’s rig is used with different channel lists for the body and for the face.
- A channel whose id the rig does not have does nothing.
- A clip may move fewer joints than the rig has; the others keep the pose they had.
- A take you bring in must be on one of the game’s skeletons, with its joint names and rest pose. Save a game clip or its rig to FBX and animate that. Studio does not retarget a take from another skeleton.
What plays a clip
Nothing plays a clip by its name. A clip plays when something that points at it is played:- the game’s animation tree: sequences for the skater and the board, blends driven by a number, mirrors, layers, state machines, and the database that motion matching picks locomotion and tricks from;
- a timeline in a level: cut scenes, a mission’s intro, a splash screen;
- an item’s game state values, which the tree already switches on: see cosmetics.
- A replaced clip keeps the game clip’s name, rig, channel list, tags and root movement settings, so your take plays wherever that clip played. A channel your take leaves as the game has it keeps the game’s keys byte for byte; any other channel is encoded from your take.
- A new clip can be made, packed and checked, but nothing plays it. The tree would need an edit that every other animation mod may also make, a map would need a timeline Studio does not write, and the plugin API plays its own clips, not a mod’s. So today a new movement for the skater is a plugin’s clip: see animation.
Movies
The game has nine movies: the logo at start-up, the season intros and the first-time videos. Each is one WebM file kept as a chunk, with no bundle listing it:
The game does not read the WebM’s own structure. It plays a movie from lists in the movie’s document: where each frame is in the file, its size and its time. So a movie is replaced by putting your file in unchanged and writing those lists again from it. Swapping the file alone would point the lists at the wrong bytes.
What your file must be:
Studio does not encode video. Make the file with a video tool; with FFmpeg,
-c:v libvpx -auto-alt-ref 0 -c:a libvorbis -ar 48000 writes what the game’s movies are. A replaced movie drops the game’s subtitles, whose times belong to the game’s movie.
Playing a movie in Studio needs Windows’ own VP8 and Vorbis decoders. They come with two free packages from the Microsoft Store, “VP9 Video Extensions” (understood to bring VP8 too) and “Web Media Extensions”. Without them Studio cannot show the movie, but saving and replacing it still work.