Hello,

After a good night sleep and a second look I have made
a little progress...

I carefully examined all the skills in perfect AI and I know
A5 templates use skill 1 -32 but I saw nothing
in Perfect AI skills that would conflict and when it did
use the 1-32 skills it was calling a base function like
movement just as a template file would.


So I looked further.. I know I alwways hear a beeping
In Perfect AI "usually" right before the problems
start.

So I looked and found this line:

Quote:


if (vec_dist (my.x, player.x) > 1000)
// the player is far away? Pretend
//to "think" before choosing a new path


{
my.skill46 = 0; // get the new path
while (my.skill46 < 100)
{
ent_cycle("alert", my.skill46); // play "alert" frames animation
my.skill46 += 2 * time; // "alert" animation speed
wait (1);
}
}
else
{
wait (2); // needs to wait more than a frame; the enemy scans the nodes during this interval
}
temp_var = my.start_node;
if (my.start_node != target_node)
{
snd_play (getpath_wav, 100, 0);







Whether it was the proper way to do things or not..
dont know but I decided to do someting different:

I noticed the distance check set to 1000
if (vec_dist (my.x, player.x) > 1000)

and changed it to 5
if (vec_dist (my.x, player.x) > 5)
(which shold be practically right on top of enemy)

Now I did a test run picked up the projectile gun
ran to the usual spot where spinning, rolling or whatever
usally occurs.. To my suprise nothing.

I tested over and over.
I may have the most of the rolling/spinning problems beat.


I do still have the coolision problem with projectiles
but hey 1 thing at a time right?


Thanks for the help,


*** Teutonic Darkness ***