{"id":430,"date":"2021-12-28T12:54:25","date_gmt":"2021-12-28T18:54:25","guid":{"rendered":"http:\/\/kezune.com\/designergenes\/?p=430"},"modified":"2021-12-29T10:23:22","modified_gmt":"2021-12-29T16:23:22","slug":"editing-new-shortcuts-cos","status":"publish","type":"post","link":"http:\/\/kezune.com\/designergenes\/2021\/12\/28\/editing-new-shortcuts-cos\/","title":{"rendered":"Editing New Shortcuts.cos"},"content":{"rendered":"\n<p>Because I&#8217;m still learning CAOS, I&#8217;m focusing largely on editing files that I enjoy. This time, I&#8217;m adding a feature to Amaikokonut&#8217;s amazing <a href=\"https:\/\/naturingnurturing.blogspot.com\/2009\/11\/ccsf-09-releases.html\" data-type=\"URL\" data-id=\"https:\/\/naturingnurturing.blogspot.com\/2009\/11\/ccsf-09-releases.html\">New Shortcuts.cos file<\/a>. Also, I&#8217;m sick with the flu so I hope this post makes some sense.<\/p>\n\n\n\n<p>You can snag a copy of her file at the link above.<\/p>\n\n\n\n<p>Likewise, if you&#8217;re here for a copy of the file, you can <a href=\"https:\/\/www.dropbox.com\/s\/4lfz3ab9ytelyqy\/New%20Shortcuts.cos?dl=0\" data-type=\"URL\" data-id=\"https:\/\/www.dropbox.com\/s\/4lfz3ab9ytelyqy\/New%20Shortcuts.cos?dl=0\">download it here<\/a>.<\/p>\n\n\n\n<p>I&#8217;ve always been fascinated by Amaikokonut&#8217;s agents and updates, so it was a treat to take a quick peek inside one of my favorites. What prompted this though was a Grendel wolfling run that I&#8217;m playing with. This might come across as monstrous of me, but I have a tribe of Grendels running around and 3 Ultimate Life Norns. I added the Ultimate Life Norns so that the Grendels could still satisfy their instincts to slap Norns and alleviate their anger without actually hurting anything. Unfortunately, Ultimate Life Norns tend to go on murder-sprees. To keep the Ultimate Life norns from <a href=\"http:\/\/kezune.com\/sim\/2013\/12\/05\/about-the-ultimate-life-genome\/\" data-type=\"URL\" data-id=\"http:\/\/kezune.com\/sim\/2013\/12\/05\/about-the-ultimate-life-genome\/\">slapping my Grendels to death<\/a> I decided to freeze them. I checked the internet for an agent or a script that would freeze an individual creature and asked a few members of the community but it didn&#8217;t seem like there was one available.<\/p>\n\n\n\n<p>I had to do something. Besides my&#8230; unorthodox purposes, I was confident other people needed to have the ability to freeze a single creature easily as well.<\/p>\n\n\n\n<p>Cue notepad.<\/p>\n\n\n\n<p>First, I had to clarify what I wanted to do. First, at the top of the New Shortcuts.cos file I added two comments.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>*Ctrl+6 -- Freeze the selected creature\n*Shift+Ctrl+6 -- Unfreeze the selected creature<\/code><\/pre>\n\n\n\n<p>This would describe, in a nutshell, what I was adding.<\/p>\n\n\n\n<p>Next, I needed to add the command to freeze the creatures. I added this below the section that handles Ctrl+7 and above the *Ctrl+Shift line.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>*Ctrl+6 -- Freeze selected creature\n\tdoif _p1_ = '6'\n\t\t\ttarg norn zomb 1\n\t\t\t\tmotr 0\n\t\t\t\tdirn 1\n\t\t\t\tpose 77\n\tendi<\/code><\/pre>\n\n\n\n<p>What this says is &#8220;if the key that&#8217;s pressed is 6, target the selected norn. Zombify, keep them from moving, make them face the camera and lie down.&#8221;<\/p>\n\n\n\n<p>Finally, I just needed to add the edit that would allow me to unfreeze a selected creature. Just above the line that says &#8220;*Ctrl+Shift+7 &#8212; Unfreeze all creatures&#8221; I added<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>*Ctrl+Shift+6 -- Unfreeze selected creature\n\t\tdoif _p1_ = '6'\n\t\t\ttarg norn zomb 0\n\t\t\tmotr 1\n\t\tendi<\/code><\/pre>\n\n\n\n<p>What this says is &#8220;if the key that&#8217;s pressed is 6, target the selected norn. Unzombify and allow them to move.&#8221;<\/p>\n\n\n\n<p>Pretty straightforward.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Because I&#8217;m still learning CAOS, I&#8217;m focusing largely on editing files that I enjoy. This time, I&#8217;m adding a feature to Amaikokonut&#8217;s amazing New Shortcuts.cos file. Also, I&#8217;m sick with the flu so I hope this post makes some sense. You can snag a copy of her file at the link above. Likewise, if you&#8217;re&hellip; <span class=\"kuorinka-read-more\"><a href=\"http:\/\/kezune.com\/designergenes\/2021\/12\/28\/editing-new-shortcuts-cos\/\" class=\"more-link\">Read more <span class=\"screen-reader-text\">Editing New Shortcuts.cos<\/span><\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[6,7,8],"tags":[13,12],"class_list":{"0":"post-430","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-creatures","7":"category-exodus","8":"category-game-edits-and-fixes","9":"tag-creatures-exodus","10":"tag-edits-and-fixes","11":"entry"},"_links":{"self":[{"href":"http:\/\/kezune.com\/designergenes\/wp-json\/wp\/v2\/posts\/430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/kezune.com\/designergenes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kezune.com\/designergenes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kezune.com\/designergenes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/kezune.com\/designergenes\/wp-json\/wp\/v2\/comments?post=430"}],"version-history":[{"count":2,"href":"http:\/\/kezune.com\/designergenes\/wp-json\/wp\/v2\/posts\/430\/revisions"}],"predecessor-version":[{"id":434,"href":"http:\/\/kezune.com\/designergenes\/wp-json\/wp\/v2\/posts\/430\/revisions\/434"}],"wp:attachment":[{"href":"http:\/\/kezune.com\/designergenes\/wp-json\/wp\/v2\/media?parent=430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kezune.com\/designergenes\/wp-json\/wp\/v2\/categories?post=430"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kezune.com\/designergenes\/wp-json\/wp\/v2\/tags?post=430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}