{"id":1344,"date":"2022-01-24T11:54:48","date_gmt":"2022-01-24T16:54:48","guid":{"rendered":"https:\/\/www.polymorph.games\/foundation\/news\/?p=1344"},"modified":"2022-01-24T13:30:21","modified_gmt":"2022-01-24T18:30:21","slug":"modding-mondays-episode-4-crime-punishment-with-the-security-mod","status":"publish","type":"post","link":"https:\/\/www.polymorph.games\/foundation\/news\/2022\/01\/24\/modding-mondays-episode-4-crime-punishment-with-the-security-mod\/","title":{"rendered":"Modding Mondays Episode 4: Crime &#038; Punishment with the Security mod"},"content":{"rendered":"\n<p>Hello everyone and welcome to this fourth episode of our Modding Mondays series.<\/p>\n\n\n\n<p>This week, we\u2019ll share the discovery of Batyuski\u2019s <a href=\"https:\/\/foundation.mod.io\/security1\">Security mod<\/a>. This prolific creator has been credited for over 60 mods and shows no signs of slowing down.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What exactly is the Security mod, anyway? <\/h2>\n\n\n\n<p>The main idea behind the Security mod is to add a new layer of realism to our city builder while beefing up its challenge.<\/p>\n\n\n\n<p>At the time of writing, Foundation&#8217;s vanilla experience (i.e. without mods) does not offer crime in any form or fashion.<\/p>\n\n\n\n<p>Batyuski took this opportunity to add a whole new dynamic to the game: players are now able to protect their village from outlaws and punish them accordingly.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><\/p><cite>I have a huge list of mod ideas and spend a lot of time thinking about ways to make Foundation more true to medieval life while also keeping it fun. Castles and security played a central role in medieval towns and I always wanted to make a mod to replicate both the visuals and the functionality of a castle, and to introduce some mild challenges to the game in the form of outlaws.<br><br>-Batyushki<\/cite><\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"574\" src=\"https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-1.jpg\" alt=\"\" class=\"wp-image-1363\" srcset=\"https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-1.jpg 1020w, https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-1-300x169.jpg 300w, https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-1-768x432.jpg 768w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How do you protect your village?<\/h2>\n\n\n\n<p>When playing with the Security mod, you will have access to new buildings once you reach a population of 20 villagers. The most important one is undoubtedly the Constable&#8217;s Keep, which includes a prison part where outlaws will eventually be housed before being released a week later, jobless and with the Newcomer rank.<\/p>\n\n\n\n<p>The mod also adds guard towers. Guards assigned to them will patrol the surrounding streets: a powerful deterrent to crime! You are free to change their route with special arrows placed on your territory.<\/p>\n\n\n\n<p>Each keep, tower, wall, barrier or guard adds to the overall sense of security in your village. It is therefore important to place them in strategic locations to prevent the crime rate from increasing.<\/p>\n\n\n\n<p>At any time, you can check the security level of a given building by clicking on it:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Green: fully protected<\/li><li>Orange: prone to theft<\/li><li>Red: might encourage new outlaws<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"574\" src=\"https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-2.jpg\" alt=\"\" class=\"wp-image-1364\" srcset=\"https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-2.jpg 1020w, https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-2-300x169.jpg 300w, https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-2-768x432.jpg 768w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Outlaws<\/h2>\n\n\n\n<p>If a workplace is located too far from the above-mentioned security buildings or patrol routes, after two weeks workers will be tempted to steal food, goods and gold.<\/p>\n\n\n\n<p>When a villager commits a crime, he becomes an outlaw. But this is not the only factor that can make them fall to the dark side: being unemployed for more than two weeks can also be the spark that leads to crime.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><\/p><cite>In this mod, villagers turn Outlaw if they are unemployed for too long or work in an area with low security. Outlaws live in forest camps and come back to the town to steal from other villagers. The player can build keeps, towers, walls and gates to increase security. Guards capture outlaws and go out on missions to destroy outlaw camps.<\/cite><\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"574\" src=\"https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-3.jpg\" alt=\"\" class=\"wp-image-1366\" srcset=\"https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-3.jpg 1020w, https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-3-300x169.jpg 300w, https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-3-768x432.jpg 768w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">The genesis of the Security mod\u2026 and its future!<\/h2>\n\n\n\n<p>Mods require a ton of preparation, testing and patience. This was certainly the case with Security.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><\/p><cite>In 2021, working with another modder, Minotorious, I learned more complex modding techniques, including behaviours (making villagers act in a certain way) and how to overlay information above buildings. These made possible my second Security mod which is now available at foundation.mod.io.<\/cite><\/blockquote>\n\n\n\n<p>While we strive to create the best possible modding environment with Foundation, there are times when creators find themselves in a bind and have to really think outside the box.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><\/p><cite>One significant obstacle I faced was how to spawn Outlaw camps away from the village but in places that the outlaws could reach. By using a behavior script I was able to send an invisible pathfinder to potential locations, to verify that outlaws could get there without being blocked by water or mountains.<\/cite><\/blockquote>\n\n\n\n<p>Other ideas will have to wait, despite all our best intentions:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><\/p><cite>There are still more things to be done for the Security mod, once Foundation releases a few new features to modders. One would be to improve the way the player can view the security of each building, similar to how they can now see residential desirability. Another would be to zoom in on an area where outlaws have stolen something, when the player clicks a theft notification.<\/cite><\/blockquote>\n\n\n\n<p>To conclude, Batyushki looks forward to the future of Foundation&#8217;s modding:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><\/p><cite>Even with its current limitations I am delighted at how the mod has turned out and really enjoy building my own castles, seeing the guards go on patrol, and watching the outlaws travel through the forest to their camps. Someday I hope to have entire villages of outlaws, Robin Hood style, living their own lives in the forest.<br><br>Foundation is truly a unique game and an amazing platform for modders!<br><\/cite><\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"574\" src=\"https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-4.jpg\" alt=\"\" class=\"wp-image-1369\" srcset=\"https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-4.jpg 1020w, https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-4-300x169.jpg 300w, https:\/\/www.polymorph.games\/foundation\/news\/wp-content\/uploads\/2022\/01\/security-mod-4-768x432.jpg 768w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/figure>\n\n\n\n<h2 class=\"has-text-align-center wp-block-heading\"><a href=\"https:\/\/foundation.mod.io\/security1\">Download the Security mod today!<\/a><\/h2>\n","protected":false},"excerpt":{"rendered":"<p>Hello everyone and welcome to this fourth episode of our Modding Mondays series. This week, we\u2019ll share the discovery of Batyuski\u2019s Security mod. This prolific creator has been credited for over 60 mods and shows no signs of slowing down. What exactly is the Security mod, anyway? The main idea behind the Security mod is <a class=\"read-more\" href=\"https:\/\/www.polymorph.games\/foundation\/news\/2022\/01\/24\/modding-mondays-episode-4-crime-punishment-with-the-security-mod\/\">&hellip;&nbsp;<span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1379,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[141],"tags":[184],"class_list":["post-1344","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-modding-mondays","tag-security"],"_links":{"self":[{"href":"https:\/\/www.polymorph.games\/foundation\/news\/wp-json\/wp\/v2\/posts\/1344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.polymorph.games\/foundation\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.polymorph.games\/foundation\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.polymorph.games\/foundation\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.polymorph.games\/foundation\/news\/wp-json\/wp\/v2\/comments?post=1344"}],"version-history":[{"count":20,"href":"https:\/\/www.polymorph.games\/foundation\/news\/wp-json\/wp\/v2\/posts\/1344\/revisions"}],"predecessor-version":[{"id":1382,"href":"https:\/\/www.polymorph.games\/foundation\/news\/wp-json\/wp\/v2\/posts\/1344\/revisions\/1382"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.polymorph.games\/foundation\/news\/wp-json\/wp\/v2\/media\/1379"}],"wp:attachment":[{"href":"https:\/\/www.polymorph.games\/foundation\/news\/wp-json\/wp\/v2\/media?parent=1344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.polymorph.games\/foundation\/news\/wp-json\/wp\/v2\/categories?post=1344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.polymorph.games\/foundation\/news\/wp-json\/wp\/v2\/tags?post=1344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}