Game
Cyberamic Pizza
2 years ago

ive got somewhat of an idea on how to code the ai for the robots but damn its confusing


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



1 comment

Loading...

Next up

working on this r32 model for a game (texturing needs work ik)

the skrunkly

heres some WIP new office

fb rx7 so fun

I should probably work on the outfit or something along those lines

why are most rocket league players actually brainded mf i have 600 points and you arent doing shit going "what a save"

me when I click the button that turns my models into the physical recreation of doom and dispair

sorry for not updating much, Ive just been trying to figure a lot of stuff out about the game