HappySqurriel said:
I don't think you understand how scripting works though ...Currently everything that happens in the game is scripted. Most AI scripting is still based off of a state machine which means (essentially) that you create a set of states for an object/person to be in (each of these states would then have appropriate actions scripted for them), you then create a set of rules which determine the transition from one state to another. As an example: State 1: Attack
State 2: Flee
Transition 1: State 1 to State 2
Now, that is a pretty basic pseudo script (the type of thing you'd see in a MMORPG from 1999) but it demonstrates the concept. A complicated state machine will end up having states within states, and they will attempt to have non-deterministic state transitions. |
I understand a script.
I also understand that is a simple AI.
the most complex part of the equation is.
"Do I run for 3 seconds to hide behind burning bus, do I run for 5 seconds to get in phone booth, or do I run for 10 seconds and hide behind stairs? Threats are here, here, here and there. Need to avoid."
FarCry (the one that came out 3 years ago) Uses AI. Then agian, alot of new computers bought today, cant run it.
PSN ID: Kwaad
I fly this flag in victory!