How do you program AI? (And some more...)
Posted: Sat May 16, 2015 12:12 am
I know this is a very general question, so i'll try to make the scope smaller. If your coding AI, is it basically a set of if statements, or is something more complex and algorithmic along the lines of like path-finding? No idea where to start making fairly complex AI, such as a boss for example. I'm not saying I want to program a boss, but along the lines of lower level enemies, like the logic behind the curtain. Also, when dealing with multiple AI enemies, how does one go "organizing" all the weaknesses and strengths of the enemy in a file(ex: is weak-spot is the head)? Would multiple enemies be each seperately coded in different files, or would you create a base AI structure, then apply that to separate files (would there be any extra files at all?)?
Thanks a bunch,
-redsled
Thanks a bunch,
-redsled