{"id":3286,"date":"2021-02-22T19:27:32","date_gmt":"2021-02-22T10:27:32","guid":{"rendered":"https:\/\/blog.criware.com\/?p=3286"},"modified":"2021-02-22T19:31:13","modified_gmt":"2021-02-22T10:31:13","slug":"using-adx2-in-ue4s-sequence-editor","status":"publish","type":"post","link":"https:\/\/blog.criware.com\/index.php\/2021\/02\/22\/using-adx2-in-ue4s-sequence-editor\/","title":{"rendered":"Using ADX2 in UE4\u2019s Sequence Editor"},"content":{"rendered":"<h2 style=\"font-size: 150%; font-weight: bold; margin-top: 40px;\">Introduction<\/h2>\n<p>\nIf we want to make small in-game cutscenes using content already available in the project, the Sequence Editor can be a fantastic tool. It allows us to treat our game like a movie set, where we can set up cameras, sounds, and scripted events to create cinematic moments. If our project already has Cues set up in Atom Craft, we can use these in the Sequence Editor as well!\n<\/p>\n<h2 style=\"font-size: 150%; font-weight: bold; margin-top: 40px;\">Atom Track<\/h2>\n<p>\nTo create a new sequence, navigate to the Cinematics button at the top of the main Editor window, and select Add Level Sequence.\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_1.png\" alt=\"2021-02_SeqEditor_1\" width=\"507\" height=\"301\" class=\"alignnone size-full wp-image-3288\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_1.png 507w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_1-300x178.png 300w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/p>\n<p>\nAfter defining a name and opening the Editor, we can add some Cues to our timeline. At the top-left, select Track \u2192 Atom Track.\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_2.png\" alt=\"2021-02_SeqEditor_2\" width=\"430\" height=\"384\" class=\"alignnone size-full wp-image-3291\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_2.png 430w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_2-300x268.png 300w\" sizes=\"auto, (max-width: 430px) 100vw, 430px\" \/><\/p>\n<p>\nClicking the + icon will reveal a list of available Cues. Selecting one of these will add a new Cue to the timeline.\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_3.png\" alt=\"2021-02_SeqEditor_3\" width=\"806\" height=\"225\" class=\"alignnone size-full wp-image-3289\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_3.png 806w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_3-300x84.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_3-768x214.png 768w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/p>\n<p>\nThe left and right extents of this Cue can be moved to adjust the start and end. If a Cue has been appropriately looped, the edges can be dragged further, and the audio will be correctly looped.\n<\/p>\n<p>\nClicking the arrow next to the speaker icon will reveal additional pitch and volume parameters. These can be adjusted directly, and in the case of volume, can be used for mixing purposes.\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_4.png\" alt=\"2021-02_SeqEditor_4\" width=\"807\" height=\"254\" class=\"alignnone size-full wp-image-3293\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_4.png 807w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_4-300x94.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_4-768x242.png 768w\" sizes=\"auto, (max-width: 807px) 100vw, 807px\" \/><\/p>\n<p>\nWe can even create custom curves for these parameters to create fades over time. Clicking the + icon at the end of the <i>Pitch <\/i>or <i>Volume <\/i>parameters will add a key to the timeline under the playhead. We can add two keys to set up a fade and click the \u201cShow the animation keys in a curve editor\u201d icon at the top of the editor window.\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_5.png\" alt=\"2021-02_SeqEditor_5\" width=\"821\" height=\"254\" class=\"alignnone size-full wp-image-3294\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_5.png 821w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_5-300x93.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_5-768x238.png 768w\" sizes=\"auto, (max-width: 821px) 100vw, 821px\" \/><\/p>\n<p>\nIn the Sequencer Curves window, the keys can be freely moved around, and moving the handles on each point will allow for easy curve shaping.\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_6.png\" alt=\"2021-02_SeqEditor_6\" width=\"1000\" height=\"409\" class=\"alignnone size-full wp-image-3295\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_6.png 1000w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_6-300x123.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_6-768x314.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<h2 style=\"font-size: 150%; font-weight: bold; margin-top: 40px;\">Event Track<\/h2>\n<p>\nOne last feature to truly gain access to all ADX2 can offer is the native UE4 Event Track. If we go back and click the Track button at the top-left of the Sequencer window, we can select Event Track <span lang=\"en-GB\">\u2192 Trigger to add this track type.\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_7.png\" alt=\"2021-02_SeqEditor_7\" width=\"349\" height=\"343\" class=\"alignnone size-full wp-image-3296\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_7.png 349w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_7-300x295.png 300w\" sizes=\"auto, (max-width: 349px) 100vw, 349px\" \/><\/p>\n<p>\nWe can then add Event keys in the same way we added <i>Volume <\/i>points by clicking the little + icon at the end of the Events lane on this track.\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_8.png\" alt=\"2021-02_SeqEditor_8\" width=\"895\" height=\"279\" class=\"alignnone size-full wp-image-3297\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_8.png 895w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_8-300x94.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_8-768x239.png 768w\" sizes=\"auto, (max-width: 895px) 100vw, 895px\" \/><\/p>\n<p>\nThen, by double-clicking these keys, we can open up a Blueprints editor to add Blueprints scripts. These can be used in the same way that Blueprints are used for in-game purposes. This includes adding dynamic features such as updating AISACs or changing Snapshots.\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_9.png\" alt=\"2021-02_SeqEditor_9\" width=\"720\" height=\"498\" class=\"alignnone size-full wp-image-3300\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_9.png 720w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_9-300x208.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_9-392x272.png 392w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_9-130x90.png 130w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/p>\n<p>\nIf we want to reuse Events, back in the Sequencer window, we can right-click any of the keys \u2192 Properties \u2192 Event \u2192 Rebind To \u2192 and select a pre-existing call function.\n<\/p>\n<p>\nIt is also worth noting that some Blueprint features might not work without playing this Sequence in-game. For testing purposes, we can change any of our events to work in the Editor by right-clicking any of the keys, then \u2192 Properties \u2192 , and tick <i>Call In Editor<\/i>. This should allow playback to work as intended.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_10-1.png\" alt=\"2021-02_SeqEditor_10\" width=\"527\" height=\"241\" class=\"alignnone size-full wp-image-3299\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_10-1.png 527w, https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/02\/2021-02_SeqEditor_10-1-300x137.png 300w\" sizes=\"auto, (max-width: 527px) 100vw, 527px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction If we want to make small in-game cutscenes using content already available in the project, the Sequence Editor can<\/p>\n","protected":false},"author":2,"featured_media":3302,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[5,7],"tags":[],"class_list":["post-3286","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-adx","category-tutorials"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/3286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/comments?post=3286"}],"version-history":[{"count":2,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/3286\/revisions"}],"predecessor-version":[{"id":3301,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/3286\/revisions\/3301"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media\/3302"}],"wp:attachment":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media?parent=3286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/categories?post=3286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/tags?post=3286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}