for example:
lets say the ai is 10/20.
every second a random number will generate from 1-20 and if the number is less or equal to the number the AI iss set to (10) then a movement opertunity will occur. When that happens the AI will pick a random room around them to move to.
Thats how the AI works in fnaf 1 and thats probably the best way to go about it.
Then I could do a wait timer for 6 seconds or so and when the 6 seconds ends, if the door is closed the animatronic (bonnie, chica) will leave.
For FNS3 i did a more complicated ai door code where every 3 seconds it will check if the door is shut and if it isnt it will wait another 3 seconds and repeat that 3 times, if the door still isnt shut you will get jumpscared. I could probably do something like that for this game but im not sure
Next up
happy late birthday to candy the cat, only found out once i was rewatching markipliers playthrough on fnac 1. Funny how that works huh (heres a silly ms paint drawing i made in 2 minutes)
this project is (momentarily) on pause. Not canceled (read article)
rip bro
progress update on fns4, going to change the map layout so this preroom wont last. I will probably delete it actually, if not completely change it to a point and click into the office.
re upload because of audio being messed up. Anyways, heres some progress on the panel (temporary wallpaper)
Heres what im thinkin (you will be able to use the computer on the desk, just havent added that yet)
also why are my recordings so quiet???
fiddling around with camera systems before coding in the actual video footage, and then later coding in ai. Will probably change keybinds later, but whatever. For an outline its decent.
last update before going to bed: levers now work (only have one rn)
would ya look at that, progress!
coded the base for WORKING AI using the way fnaf 1 codes it's ai as a base. The clicking means the movement opportunity failed, and the camera switch meants it succeeded.
1 comment