en

From Valve Developer Community
Jump to: navigation, search
The Animation Set Editor

Areas of the Animation Set Editor:

  1. Add button—Use this button to create animation sets.
  2. Animation Set panel—Use this panel to select animation sets and controls.
  3. Preset Slider panel—Use these sliders to apply presets to selected controls.
  4. Control Slider panel—Use these sliders to adjust selected controls individually.

Every element you add to a shot manually—including models, cameras, lights, and particle systems—is represented by an animation set. The Animation Set Editor is where you add, delete, select, copy, and paste the animation sets for a specific shot. Animation sets allow you to change aspects of an element over time, from something as simple as a prop's location in the map to something as complex as the curl of the lip on a character's face.

The Animation Set Editor displays animation sets only for the currently selected shot. Although each shot contains potentially hundreds or thousands of elements, the Animation Set Editor lists only the elements that you add manually.

Note.pngNote:For convenience, the Animation Set Editor does not automatically display all the elements that were recorded directly from gameplay. You can, however, create a new animation set for a recorded element, which will then be displayed in the Animation Set Editor so it can be modified. To do so, click the Add button, and click Create Animation Set(s) for Existing Element(s).

Expanding an animation set will display a tree view of the animation set's controls and control groups. You can select and modify multiple animation sets, a single animation set, control groups, multiple controls, or a single control. When you select something in the Animation Set Editor, anything underneath it in the tree hierarchy is also automatically selected.

Note.pngNote:The controls and control groups for character models are often grouped for convenience rather than along joint hierarchies. In other words, you'll see Body, Arms, Fingers, and Legs as grouped controls for easy selection, instead of seeing the skeletal hierarchy of bip_pelvis > bip_hip_R > bip_knee_R > bip_foot_R.

You can copy, paste, and delete animation sets by selecting them, right-clicking, and then choosing the option you want from the context menu.

Animation sets and the timeline

What you see in the Animation Set Editor reflects the contents of the shot you currently have selected on the timeline. (If you have multiple shots selected, the Animation Set Editor reflects only the first shot you selected.) Select a different shot that contains different elements, and the Animation Set Editor will update to display the contents of that shot.

You can copy animation sets between shots. You can even copy animation sets into multiple shots at the same time by selecting the animation sets, selecting the shots on the timeline, right-clicking one selected shot, and clicking Paste Animation Set(s).

Note.pngNote:In order to modify a control in an animation set—to create animation—you must be in one of two specific modes on the timeline: the Motion Editor or the Graph Editor. If you're in the Clip Editor, you can select controls in the Animation Set Editor, but you can't modify them.

Animation sets and viewports

Because every animation set listed in the Animation Set Editor corresponds to a single model, light, camera, or particle system in your scene, when you select something in the Animation Set Editor, you select its corresponding controls in the viewport (as long as the playhead is somewhere in the selected shot). The same is true in reverse: selecting controls in the viewport selects those same controls in the Animation Set Editor.

If the scene camera for your current shot has no animation, you can navigate freely with it in the viewport. If, however, the scene camera does have animation, you must select that animation set before you can manipulate the camera in the viewport, and any manipulations you make will modify the camera's animation set. (If the scene camera has animation but no animation set, you must create one before you can manipulate the camera. To do so, click the Add button, and click Create Animation Set(s) for Existing Element(s).)

Note.pngNote:Right-clicking an animation set will give you a different context menu than right-clicking in an empty space in the Animation Set Editor.

See also