Animations

Tutorial · 2:57

Animations opens the files that decide how a character, an infected or an animal moves: animation graphs, anim sets and clips. You use it to study how the game's own creatures are set up, to edit the graphs and anim sets of your mod, and to play a clip on a skeleton. To browse the game's files you need the DayZ folder set in Settings; to list your own you need a workspace folder (also in Settings).

The page is marked Preview in the rail. Reading works on the game's files: graphs and anim sets open with everything they reference, the validation runs across them, and clips play on a skeleton. Editing graphs and anim sets works and saves with a backup, but files edited here have not been checked in the game: test them in game before you rely on them. Clips can be looked at, not edited.

The screen

First steps

  1. Leave the list on Game, type cow in the search field and click cow_sample.aw.
  2. The Graph tab opens on the sheet "Master". Drag the background to pan, use the wheel to zoom.
  3. Click a node: the inspector shows its class and properties. Its inputs are listed at the bottom; click an input's name to jump to that node.
  4. Choose another sheet in the list above the canvas ("Startled" is the largest).
  5. Open Variables & commands: three variables and two commands. These are what scripts use to drive the graph.
  6. Open Problems: the sample has none.

Take the tour (in the app)

Common tasks

Play a clip

  1. In the Game list, type at least 3 letters of the clip's name (for example walk_fast) and click an .anm row.
  2. Press play, or drag the frame slider. The marks under the slider are events; hover one for its name and frame.
  3. If the skeleton looks wrong, choose the matching model in "Preview on". The page picks the infected for z_ clips, the cow for cow clips and the player otherwise.
  4. Click a bone on the right to see its translation, rotation and scale keys.

Take the clip tour (in the app)

See which clip an action uses

  1. Open an anim set instance (.asi) or a workspace that lists one. The page opens on the Anim sets tab.
  2. Type part of a slot or clip name in the filter of the slot table.
  3. Click the play button at the end of a row to open that clip.

Find broken references in your anim set

  1. Open your .asi (or your .aw).
  2. In the slot table, click the filter Clip not found: these slots name an .anm that exists neither in your project nor in the game.
  3. Click No clip to see the slots nothing fills. Lines that match no slot of the template are listed under the table.

Edit a graph of your mod

  1. Open your .aw, .agr or .agf from the Workspace list or with the folder button.
  2. On the Graph tab, choose a node class, type a unique name and click Node. Drag the new node into place.
  3. Select the node that should use it, type the new node's name in "Connect a node…" and click Connect.
  4. Check the Problems tab, then press Ctrl+S.

Work from a game file

  1. Game files open read-only: you can edit on screen, but Save stays disabled and a red badge names the read-only files.
  2. Extract the files into your project (the P: drive or a workspace folder) first, for example with the PBO Packer, then open your copies.

Examples

Examples open from the game, read-only.

Concepts

Reference: the Animation Editor pages of the Bohemia Interactive community wiki (DayZ Workbench).

Pitfalls

For agents

Tools of dzt that do the same work without the window:

Files the page reads and writes:

What the page tells the assistant: the open file, the open clip if any, the current tab (graph, variables, sets, problems), whether there are unsaved changes, and the validation problems (errors and warnings). It offers the action "Explain this graph".

Anchors for guided steps: animations-save, animations-browser, animations-source, animations-open, animations-main, animations-tabs, animations-graph-bar, animations-graph, animations-slots, animations-inspector, animations-clip, animations-timeline, animations-bones.

See also