YTread Logo
YTread Logo

Ruining FNaF by Dissecting the Animatronics' AI | Tech Rules

Feb 27, 2020
This video has been sponsored and approved by Skillshare. Beware of scenes in this educational video that may be disturbing to some viewers. It contains graphic education scenes and okay this is a bit silly, it's not necessary anyway because this video will be the opposite of scary, you know when you have to explain a joke it's not funny anymore. I think the same could easily apply to horror. This is not an excuse to miss a load of Halloween for three months and you can't prove otherwise. The fear that these kinds of things instill in you is by making you ask questions.
ruining fnaf by dissecting the animatronics ai tech rules
What exactly is out there? What do you want from me? Is going to kill me? These types of questions are what Five Nights at Freddy's takes advantage of, you are thrown into a room that is not safe and you can't escape from it, you can watch these

animatronics

approaching you but you can't stop them, all you can do is ask yourself, well , wonder no more because I think it's safe to say that Five Nights at Freddy's is, by most definitions, pretty dead. I'm not saying that the refined series itself is dead or anything, like they didn't even release that mobile game a while ago where you have to spin around in circles looking really scared.
ruining fnaf by dissecting the animatronics ai tech rules

More Interesting Facts About,

ruining fnaf by dissecting the animatronics ai tech rules...

I'm talking about the original standalone title of the first Five Nights at Freddy's and what you do with fascinating creatures if you dissect them at this point. It's not really a secret that you can decompile old Clickteam Fusion games and return them to their original project file format. The good thing about this is that clickteam fusion itself is a block-based coding software, which essentially means that coding in it is very fast and simple, whereas in a normal situation you would have to spend a huge amount of time doing engineering. reverse everything and discover what each one is. line of code and variable I managed to completely document everything I wanted to know about this game and how each character behaves in less than a couple of hours.
ruining fnaf by dissecting the animatronics ai tech rules
It really scores, to be honest, it was so easy it made me feel a little uncomfortable. I certainly wouldn't want someone else decompiling my software to examine every line of code and every coding decision I've made, but I guess the least I can do is refrain from showing the original code of things and focus solely on what the code does not do. Right words, I'm trying something a little different for this video in terms of background images. I recorded some gameplay from Five Nights at Freddys for the video, but it turns out I'm watching someone run the cameras the entire time without errors. really boring, that's why we're using player background images for this video, considering that's what the game is known for anyway.
ruining fnaf by dissecting the animatronics ai tech rules
I imagine none of these faces need an introduction, but in case you can find their channels in the description in order of appearance, but with that out of the way, welcome to the

tech

rules

, but before that, big thanks to Skillshare for sponsoring today's video when it comes to learning unique skills, such as putting together an educational video, designing your own blockbuster horror game, or simply acquiring important skills that will help you. For everyone throughout life, there is no better way to learn than from the experts themselves, that's where skill sharing comes into play. Skill Share is a community of passionate teachers and creators who want to share that passion with you.
You can learn countless new skills here, whether you're trying to start a new career or just want to take that hobby you love to the next level. If you're wondering where you should start, I recommend this class on real productivity, how to build lasting habits. A class hosted by a fellow YouTuber that reviews vital skills to get results. If you are like me, you will definitely want to try this one and if you click on the convenient link in the description, you can start the year off right by getting two months of Skillshare premium it is absolutely free and if you want to continue that learning streak, you can continue the subscription then for only about ten dollars a month, so give Skillshare a try and start expanding your skills today, I guess if I'm going to explain all the

animatronics

AI I should at least start with the basics, after all it's been a while since that the game came out, so it's probably easy to forget some of the smaller details Five Nights at Freddy's features four main animatronics Freddy Bonnie Chica and Foxy For the sake of unnecessary categorization let's put Freddy Bonnie and Chica in a category called bullies because you They constantly harass and let's put the remaining animatronics in a group called Foxy because that's their name, the bullies constantly move around during the night and approach your office forcing you to keep track of them and close the doors when necessary.
Foxie, on the other hand, acts a little more calm/aggressive. He spends most of his time in Pirates Cove, only leaving to close your office door at top speed. The trigger for this is the misuse of the camera. The less you use the camera to keep them in place, the more inches he will get away from the stage and if he escapes, you will only have a short period of time to close the door and force him to run back when one of the thugs reaches their final destination, which which may be inside or outside your office depending on the animatronic, they will not attack you immediately, but will simply sit back and wait for you to open the camera.
Foxy is the opposite of the strategy because he doesn't care what you're looking at he just wants to eat you, you can let him carry you and then block them with your door but that takes away your precious power which you have to keep all night long, the first time that charges, it takes away 1% and that. The penalty increases by 6 percent each time he does this, meaning that if you don't keep him locked up, your power will plummet. Evading Bonnie and Chica is simple, although if they appear at your door, close it, they will eventually go somewhere else.
Freddy however never backs down, you can use the camera to impede his progress, but he will eventually reach the corner of the hallway right next to the office, from here he will wait until you are busy looking at a camera other than his and he will attack. Assuming you've left the door open for him to come in, that's the extent of common knowledge of this game, so you might be wondering if people have figured that out already, how much could there be left to know? In fact, I'd go as far as saying that the information is basic when it comes to how this AI works probably seems like an absurd statement considering how popular the game became and how closely the AI ​​was studied to beat the notorious mode. 2020 2020 where everyone The animatronics are said to have maximum aggression in this scenario.
How is it possible that people have missed the rest? That would be because the game is intentionally designed to have extremely confusing and inconsistent AI. Almost every action or decision the animatronics can make has some form of luck. There is a factor in them, and I mean almost every single one of them, that makes it difficult to understand how AI actually works because the patterns that people can detect may simply be the result of lucky limericks, it's part of the aspect. horror of the game, it is actually more unpredictable. Your potential robotic killers are naturally scarier, after all, your ability to control what they're doing is literally the only thing saving you from a scare and subsequent death.
Some of the things I'm about to talk about. about how we've already been discovered by creative people who tried things based on a hunch, but the only reason I can tell you most of this is because I'm looking at the game code, otherwise I'd only know a fraction of the same. It brings me to my next point: keep seeing patterns where there is actually nothing. Yes, it happened frequently. In fact, let's play a little game of true or false with some of the most common theories. Game theories. I should mention, not tradition. Anyway, don't open that can of worms, feel free to follow along and see how many of these you actually get the theory right.
You have to watch Foxy to keep him in Pirates Cove, but watching him too much will cause him to become aggressive. Answer false to this. one is not even hard to test, but it seems very common, just set up the Fox AI 220 and start panning the camera up and down, you will see that it can't move another inch about how Foxy works, then in theory , actually it doesn't. I have to look at Foxy to keep him away. Using the camera is the only thing that matters. Answer true. This is actually also something that's really useful to know because it allows you to keep the camera on something more important.
Usually Freddy. I feel like more people should know this. However, because the game literally tells you something like Siri, when you run out of energy, don't move, this will buy you a little time before Freddy attacks. He responded that it was false. I'm pretty sure this theory comes from the game and people interpreted it in an understandable way. as a hint, but surprisingly there's nothing here that checks whether or not you're moving during the blackout phase, the length of each blackout phase is extremely variable, so I can see how easy it would be to believe this just from simple confirmation of "okay." The latest theory is that there is a hole behind the Freddy Fazbear poster in the office that Freddie can use to bypass the door.
I answered what I know. It sounds like I'm making this up, but I used to hear this all the time in 2014, my best guess. Does the theory come from this old Markiplier video where he closed both doors and was still attacked shortly after? I'll explain why that might happen in a second, but it's definitely not why I can't find evidence of anyone saying this now, but I swear. I'm telling the truth, so when you back me up on this in the comments, show everyone I'm not crazy, including myself. I guess anyway the point I'm trying to make here is that many of these incorrect theories are just as highly regarded as the correct ones, which I suppose is a testament to how well the game kept its secrets hidden, it almost makes me want to refrain from revealing everything about AI, unfortunately it is almost not enough, let's get started.
I'm going to guess the thing people are most interested in learning about is probably the AI ​​aggression system. Basically, this game has a custom night mode where you can set each individual animatronic to an AI level ranging from zero to twenty, with zero being completely disabled and twenty obviously being maximum aggression as well. if you select a 987 the game does this, this mode was very popular not only because it resulted in an extremely difficult challenge that returned in almost every game, but also because it was really cool that the developer went out of their way to develop a custom mode like this well, I guess I should mention one thing: it probably didn't take much effort to implement this because the zero to 20 AI system is actually used throughout the game, in fact, I have the numbers here to share. your night 1 use AI levels zero zero zero zero night 2 use zero three one one night three use one zero five two night four has a random chance of being one two four six or 2:246 night five use three five seven five and night six uses four 10 12 16 being the only night that actually hit double digits this list is probably raising some red flags right after all I said AI level 0 means the animatronic is disabled even though night 1 has zeroes across the board That shouldn't make sense because night 1 still has a lot of movement from the three animatronics, that's because the game does something really clever as it turns out that the animatronics' AI levels actually increase to as the night progresses at 2:00 a.m. m.
Bonnie raises 1 AI. level at 3:00 a.m. m., everyone except Freddy goes up 1 AI level and at 4:00 a.m. m. everyone but Freddy goes up another AI level, meaning the night's AI levels are from 0-3 to 2 at 4am. m. and night 6 goes as high as 4 13 14 18 with foxy being only two levels away from his max AI, this also means that freddy is the only animatronic who doesn't level up during the night and as such is the only one who It will remain deactivated all night. So if you enter those numbers in the custom night mode, you will get an experience similar to playing that night; however, there will be one major difference and that difference is the energy consumption when you reach night 2 and thereafter additional penalties will be added. your energy consumption the penalty in question is to reduce your energy by 1% every few seconds how many seconds it takes depends on the night night 2 takes one every 6 seconds night 3 every 5 seconds night for every 4 seconds and night 5 onwards every 3 seconds That said, custom night mode also shares the 3 second penalty, so using night AI levels 5 and 6 will also give you a nearly identical experience with no noticeable differences.
It is alsoIt's important to mention that these levels can never exceed 20. Well, they can, but that doesn't make the animatronics more aggressive. The reason for this is simply because AI levels are somewhat based on percentages. This is how Five Nights at Freddy's uses these numbers approximately every 4 or 5 seconds the animatronics are allowed to. To make what we'll call a movement opportunity, the game decides if each animatronic can move during this opportunity. By pure luck, the game will choose a random number between 1 and 20, that number will then be compared to the current animatronics. AI Level: If the level reaches or exceeds the random number the animatronic will move, this makes the AI ​​levels as percentages.
AI level 1 gives the animatronic a 1 in 20 or 5% chance to move at each movement opportunity. AI level 5 will give them a 25% chance, 10 will give them a 50% and finally a maximum AI level of 20 will give the animatronic a 100% guaranteed chance to move at every movement opportunity, this will not make every movement be non-tronic at the same time, although each takes a slightly different amount of time to get their move opportunity. Freddie gets one every 3.0 two seconds bonnie every 4.9 seven seconds chika every 4.9 eight seconds and foxy every 5.0 one second, so while the animatronics will be able to move in similar times at first, their movements will quickly synchronize when one of the animatronics exceeds their opportunity for movement, they will know how to move boy. will randomly choose adjacent rooms on the right side and bonnie will teleport directly to different rooms on the left just because it looks like it's Lorne outside, that's Canada Foxy, on the other hand, uses her movement opportunities a little differently, each opportunity to successful movement will do it. get him one face closer to the attack, but as we mentioned his biggest weakness is the cameras themselves, while the cameras are on Foxy goes into a state that will simply call locked, while a small lock state Foxy will automatically fail all of his chances to attack. movement, regardless of what happens. random number you rolled or what the AI ​​level of it is, it will remain locked as long as the cameras are on;
However, when you finally turn off the cameras, he won't immediately jump back into action - in fact, he'll stay locked for a random amount of time. of time which can range from around zero point eight three seconds to around sixteen point six seven seconds, it becomes very specific for the random amount of time the song decides the game can be literally any frame between the two numbers as well which yes, quite a range once it hits In phase four, it will attack when you check the left hallway or for twenty-five seconds. It is better if he is blocked by the door.
He will take whatever amount of power he is supposed to take at that time and immediately return to Pirates Cove starting at either. phase one or two you probably know what happens if the door isn't closed which reminds me I should actually explain how the attacks work for the rest of the bony cast and the girls are super simple when they come to your door they will try to get to you. On their next successful movement opportunity if the doors close they will reset to the dining area, but if they enter that door will be disabled and they will wait the next time you lower the chamber to attack if you stay in the chamber. for too long, which in this case would be about thirty seconds, your camera will be forced down and you will be attacked anyway.
This may sound strange, but something good happens when Bonnie and Chica reach AI level 20 that makes your life a little bit. It's easier when they are right outside your door, they still need to move at the next movement opportunity, why is that okay? Well, unless our difficulties aren't weirdos who have a streak of repeatedly failing their movement opportunities, this keeps them in place. and forces you to keep the door closed for much longer than you would like, knowing that they will always attempt an attack within 5 seconds is a nice break in an otherwise very interesting challenge, in fact if you are literally the person More unluckily you could have animatronics at night move towards you with speeds comparable to level 20 AI and then just stay there all night.
Makes me wonder if 20 19 19 20 mode would theoretically be harder in 20 20 20 20 now. You may have noticed that I've avoided talking about Freddy a lot so far, that's intentional because Freddy is a fool similar to Foxy. Using the cameras while Freddy takes a move to look for an opportunity will automatically cause him to fail, however when he gets a successful move opportunity he doesn't start moving well right away, it usually starts some sort of countdown. The simplest way to describe the countdown would probably be that it's 1000 minus 100 frames. X is the current level of Freddy, for example, the countdown would be 900 pictures at the level of ia 1, 800 pictures at level 2, etc., this game is executed at 60 cadres per second, so those those times would be approximately 15 seconds and 13.33 seconds respectively, and each AI level increase will take another 1.6 7 seconds once Freddy's AI level reaches 10 or higher.
You may notice that the countdown will start at 0, while the countdown may not exist at high Rai levels. It is important to remember that Freddy only reaches 4 outside of the custom night. It's pretty clear that Freddy wasn't exactly designed to be a very fair fight above 9 let alone 20, which is why controlling him is such an important part of 20 20 20 20 racing as foxy, although Freddy's biggest weakness is the Basic use of the camera, as we just established, looking at any of the cameras will lock Freddy in his place and miss as movement opportunities, however, the cameras do not affect the countdown of his movement and will reactivate the moment he the camera down, more specifically if your move countdown ends while the camera is on, he will simply wait very patiently for you to lower the camera at the moment you do, he will pick up your move since, essentially, once you Freddy is ready to move, there is no way to stop him, all you can do is slow them down.
His attacks are also interesting because they behave in a completely different scenario. of

rules

once Freddy moves from the stage of his show to Camphor B, which he is comfortably in the corner behind his office. Freddy enters his attack phase while in the attack phase Freddy can no longer be frozen using his cameras. However, he reveals a couple of new weaknesses as the cameras themselves no longer hold him in place looking directly at camera four, B will and unlike Bonnie and Chica, Freddy cannot enter your office while the cameras are off, that means the only chance he'll have to attack is while you're looking at a camera that's a kiss and don't forget that movement opportunities are still a factor in this, no matter what the circumstances are, Freddy still can't attack until you succeed on a movement opportunity since you caught up to it for meat, that becomes less significant.
His AI is more aggressive, but is still a notable factor once these two conditions are met. However, Freddy will try to attack immediately if he blocks the correct door. He won't go back to the dining room like Bonnie and Chica, he'll just go back into the hallway and try to get to the corner for another try, yes once Freddy is there he'll be there forever and of course if you're unlucky enough to By ignoring Freddy while the right door is open, you will enter the office, now all that is left is What you need to do is perform your jump scare, which it turns out may not be guaranteed, after all, in the first place, the Joker will only appear when the camera is down, and if you choose to hide in your camera, Freddy will never lower it himself. and when you're not on your camera, there only seems to be a 25% chance of Freddy giving a scare every second, meaning the range of time it takes for Freddy to jump scare can vary from a second to never, speaking realistically.
You're not going to dodge every 25% chance all night unless you're really close to winning I guess, but I thought it was interesting, okay I think that's a pretty detailed summary of the animatronics, at least I don't think so. you missed something I guess we can move on to the final phase of the night that you never want to see when you run out of power the game essentially stops normal gameplay there is nothing you can do during a blackout other than look around and wait for the clock arrives at 6 a.m. m. before you die, there's not much to explain, whether all the animatronic AI essentially stops at this point, even if Foxy was on his way or Freddy was already in your office, none of that matters, the only thing that matters is the timers every 5 seconds you have. a 20% chance that Freddy will appear and start playing his music box up to a maximum of 20 seconds if he does not appear within the allotted 20 seconds he will automatically appear the duration of the music box has the same chance 20% every 5 seconds up to a maximum of 20 seconds after that, the lights will go out and the final section will begin.
This one has a 20% chance every 2 seconds and when that chance succeeds, we'll jump in fear and then finish the screen while I'm at it. on the topic, the game over screen actually has a special property that I never knew about, well this screen is supposed to take you back to the title. There is a 1 in 10,000 chance that it will lead you to the Golden Freddy Jumpscare, that's a 0.0001 percent chance. from happening every time you finish a game, I can safely say, although I've never seen this before out of curiosity, is there any player who has actually had a scare like this?
As small as the possibility is, I would really be surprised. if no one found him while recording, oh, speaking of Golden Freddy, I don't really have anything special to say about him, he behaves exactly how he seems to behave. I guess the only important information to note is the Golden Freddy sign that invokes him. he has a 0.00001% chance of appearing every time you look at that particular camera. You can spam the camera to increase your chances, but keep in mind that the random chance only updates every second. Yeah, not much to talk about, but I thought someone would bring it up.
Other than that, that's pretty much all I found interesting enough to talk about this game, and boy, did I talk a lot more than I thought I would. This video was originally supposed to be about deconstruction of horror games in general. I already liked a whole list of notes made about Resident Evil 2 and how Mr. X behaves, but I will be lucky to meet what I already have within the 15 -minute goal, although I never managed to stay below that. I guess I can at least call him here and ask everyone if they would like a guy.
From series that delve into horror games like this one, I can't promise they'll be as detailed as this one, but I'm sure I can at least find a decent amount of interesting stuff for other horror games anyway. I want to give credit to Reddit user Bucks Figs for the existence of this video back in 2016 or something. Someone shared a Reddit post this user made that made me realize that you can do this kind of thing with fusion games while I wasn't doing it. use any of your existing findings for this video, not because it's bad or anything, I just prefer to do my own research to make sure everything is okay.
I don't think I would have discovered that I could decompile this game if I had never seen that post. You can find the original post in the description if you want to see it. I'll also include a link to the subreddit where they moderate our cutting

tech

nique finesse, which is all about deconstructing subtleties like this again, think about letting me know if you want to see more horror game deconstruction as a sort of series and as always, I hope Keep an eye out for more technological rules.

If you have any copyright issue, please Contact