Ok forget about precognition - for now.
First create an ai routine where your npc's react to what they see NOW (which is difficult enough ;).
Once you got that to work, you should be able to relatively easy tweak it to what you want - by simply feeding the NPC's FALSE information!
So instead of providing the location of where the player is NOW for example, you give it the location of 'where you predict the player will be in 1 second from now'.
Direction Vector * velocity is your faked / predicted location.
With that idea you can take it further...
Predicting how the player would react is ofcourse slightly more tricky. But if he's attacked, good chance he will defend himself with his currently equipped weapon...
hope that helps,
Danny
First create an ai routine where your npc's react to what they see NOW (which is difficult enough ;).
Once you got that to work, you should be able to relatively easy tweak it to what you want - by simply feeding the NPC's FALSE information!
So instead of providing the location of where the player is NOW for example, you give it the location of 'where you predict the player will be in 1 second from now'.
Direction Vector * velocity is your faked / predicted location.
With that idea you can take it further...
Predicting how the player would react is ofcourse slightly more tricky. But if he's attacked, good chance he will defend himself with his currently equipped weapon...
hope that helps,
Danny