{"id":3111,"date":"2020-10-15T10:18:32","date_gmt":"2020-10-15T01:18:32","guid":{"rendered":"https:\/\/blog.criware.com\/?p=3111"},"modified":"2020-10-15T10:25:45","modified_gmt":"2020-10-15T01:25:45","slug":"creating-a-modular-weapon-in-atom-craft","status":"publish","type":"post","link":"https:\/\/blog.criware.com\/index.php\/2020\/10\/15\/creating-a-modular-weapon-in-atom-craft\/","title":{"rendered":"Creating a Modular Weapon in Atom Craft"},"content":{"rendered":"<p>\nIn this month\u2019s blog, we design and set up a modular weapons system. By separating a single gunshot into its core components, we can allow for a flexible, game-data driven approach during implementation. This system could be used in games that employ a procedural approach to weapon generation\/design or as a tool to compare layer variations in Atom Craft. Implementation should then be very straight-forward on the programming side.<\/p>\n<div style=\"max-width: 800px; margin: 0 auto; margin-bottom: 20px;\">\n<div style=\"width: 800px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-3111-1\" width=\"800\" height=\"450\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2020\/10\/2020-10_ModularWeapon-1.mp4?_=1\" \/><a href=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2020\/10\/2020-10_ModularWeapon-1.mp4\">https:\/\/blog.criware.com\/wp-content\/uploads\/2020\/10\/2020-10_ModularWeapon-1.mp4<\/a><\/video><\/div><\/div>\n<p><\/p>\n<div style=\"max-width: 800px; margin: 0 auto; margin-bottom: 20px; text-align:center;\"><a style=\"display: inline-block; border: 1px solid #ccc; padding: 20px;\" href=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2020\/10\/2020-10_ModularWeapon-1.zip\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1813\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2018\/06\/zip.png\" alt=\"zip\" width=\"80\" height=\"78\" style=\"\n    display: block;\n    margin: 0 auto;\n\">2020-10_ModularWeapon.zip<\/a>\n<\/div>\n<p><i>This project was created using CRI Atom Craft Ver.3.43.09<\/i><\/p>\n<p><!- ----------------------------------------------------------------------------------------------------- -><\/p>\n<h2 style=\"font-size: 150%; font-weight: bold; margin-top: 40px;\">Atom Craft<\/h2>\n<p>\nFor our weapon, let\u2019s separate it into Foley, Body, and Tail components. Together, these should produce a decently hefty gunfire shot. Then, let\u2019s create at least two sounds for each of these components to have different options to switch between in each case. To do this, lets:<\/p>\n<ul>\n<li>Create a Polyphonic Cue named \u201cGunshot\u201d<\/li>\n<li>Create 3 more Polyphonic Cues named \u201cFoley,\u201d \u201cBody,\u201d and \u201cTail\u201d\n<ul>\n<li>\nDrag all of these Cues onto the Gunshot Cue to link them\n<\/li>\n<\/ul\n<\/li>\n<li>Create 2 Random No Repeat Cues named \u201cMetal\u201d and \u201cPlastic\u201d\n<ul>\n<li>\nAdd the relevant Materials to each\n<\/li>\n<li>\nDrag both onto Foley Cue to link them\n<\/li>\n<\/ul>\n<\/li>\n<li>Create 2 Random No Repeat Cues named \u201cBoom\u201d and \u201cWhack\u201d\n<ul>\n<li>\nAdd the relevant Materials to each\n<\/li>\n<li>\nDrag both onto Body Cue to link them\n<\/li>\n<\/ul>\n<\/li>\n<li>Create 2 Random No Repeat Cues named \u201cWail\u201d and \u201cBellow\u201d\n<ul>\n<li>Add the relevant Materials to each<\/li>\n<li>\nDrag both onto Tail Cue to link them\n<\/li>\n<\/ul>\n<\/li>\n<li>Create Selectors with Selector Labels to match the structure of Cues above\n<ul>\n<li>\nWithin the Foley, Body, and Tail Cues, assign the relevant Selector Labels to each Track created by the Cue link process\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\n[TIP] For the sake of organization and to declutter our project, we can put our components into a Private CueSheet Folder. Using this folder prevents the individual parts from showing up in the game engine, which we won\u2019t likely need to access.\n<\/p>\n<p><img decoding=\"async\" style=\"display: block; margin: 0 auto;\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2020\/10\/2020-10_1.png\" alt=\"\"\/><\/p>\n<p>\nUsing Random No Repeat containers for each batch of sounds, with a select of pre-rendered variation, gives them a fair amount of variation. This variation can be further enhanced with some randomized pitch and offset modulation. We can batch change these settings by using the List Editor.\n<\/p>\n<p><img decoding=\"async\" style=\"display: block; margin: 0 auto;\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2020\/10\/2020-10_2.png\" alt=\"\"\/><\/p>\n<p>\nFor the Cues that make up our Foley and Body components, let\u2019s add 20 cents to our Pitch Random Range. Adding pitch randomization to the tail can sound strange since they contain the impression of a reverberant space.\n<\/p>\n<p><img decoding=\"async\" style=\"display: block; margin: 0 auto;\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2020\/10\/2020-10_3.png\" alt=\"\"\/><\/p>\n<p>Next, let\u2019s add some random offset. With our Gunshot Cue selected, let\u2019s filter to Cue Links in the List Editor and set Playback Timing Rnd to around 30ms to each of our components. If we use values much higher than this, each element tends to sound distinct and not as part of a cohesive whole.  <\/p>\n<p><img decoding=\"async\" style=\"display: block; margin: 0 auto;\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2020\/10\/2020-10_4.png\" alt=\"\"\/><\/p>\n<h2 style=\"font-size: 150%; font-weight: bold; margin-top: 40px;\">Session View<\/h2>\n<p>We can audition our system using the Session View. Despite our system containing 10 Cues, we only need to reference the one lead Cue for playback. Let\u2019s drag this Cue in and highlight the Selector tab. Testing out our variations is now as simple as choosing our Labels and pushing play. <\/p>\n<p><img decoding=\"async\" style=\"display: block; margin: 0 auto;\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2020\/10\/2020-10_5.png\" alt=\"\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this month\u2019s blog, we design and set up a modular weapons system. By separating a single gunshot into its<\/p>\n","protected":false},"author":2,"featured_media":3136,"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-3111","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\/3111","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=3111"}],"version-history":[{"count":12,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/3111\/revisions"}],"predecessor-version":[{"id":3135,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/3111\/revisions\/3135"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media\/3136"}],"wp:attachment":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media?parent=3111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/categories?post=3111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/tags?post=3111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}