AI that follows me sees to much beyond his range.....
Posted: Fri Jun 20, 2003 12:22 am
HI all,
How can I limit the distance of an AI that I have following me around, so that he does not recognize snipers that are well out of the sight range I had assigned him from automatically telling me "watch out, then shooting
the particular sniper he spots?
I have a enemy sniper on a building roof some 6000 feet away (based on using the ruler tool in Radiant), and tried to set the AI's sight down to 100.
I also set the sight range for $player to 100 just so that there should be no way that when I look in the direction of the building, that I would somehow transmit to the AI following soldier that I have sited an enemy.
BUT as soon as I gaze in the direction of the building, I can hardly see the enemy sniper up on the roof, he is so far away, the AI follow guy
says "there he is" then nails him in one shot! I even turned down his accuracy to 80% so that he should not be able to nail the sniper with one shot!
Any suggestion as how one can limit the distance that a AI that is set up to follow the player cannot detect such distant enemy targets and nail them so easily?
Just for the record. When I set the radius for an enemy, e.g. sight = 1000. He will not detect me until I am 2000 feet away. Which is correct.
But this AI soldier I have following me does not seem to play by the rules!
Now if I do not look in the direction that the sniper is located.....the AI guy
just stands there waiting for me to start moving in some direction.
OK, the AI and I start off standing behind a hill so he does not see any other enemies, just the sniper which is not hidden by the hill. So if I pull out my binoculars then slowly move in the direction of that sniper up on the roof some 6000 feet away....as soon as he comes into the view of the binocular lens, bingo, my AI guy detects him and then shoots him.
Very unrealistic to say the least.
What am I not understanding here?
How can I limit the distance of an AI that I have following me around, so that he does not recognize snipers that are well out of the sight range I had assigned him from automatically telling me "watch out, then shooting
the particular sniper he spots?
I have a enemy sniper on a building roof some 6000 feet away (based on using the ruler tool in Radiant), and tried to set the AI's sight down to 100.
I also set the sight range for $player to 100 just so that there should be no way that when I look in the direction of the building, that I would somehow transmit to the AI following soldier that I have sited an enemy.
BUT as soon as I gaze in the direction of the building, I can hardly see the enemy sniper up on the roof, he is so far away, the AI follow guy
says "there he is" then nails him in one shot! I even turned down his accuracy to 80% so that he should not be able to nail the sniper with one shot!
Any suggestion as how one can limit the distance that a AI that is set up to follow the player cannot detect such distant enemy targets and nail them so easily?
Just for the record. When I set the radius for an enemy, e.g. sight = 1000. He will not detect me until I am 2000 feet away. Which is correct.
But this AI soldier I have following me does not seem to play by the rules!
Now if I do not look in the direction that the sniper is located.....the AI guy
just stands there waiting for me to start moving in some direction.
OK, the AI and I start off standing behind a hill so he does not see any other enemies, just the sniper which is not hidden by the hill. So if I pull out my binoculars then slowly move in the direction of that sniper up on the roof some 6000 feet away....as soon as he comes into the view of the binocular lens, bingo, my AI guy detects him and then shoots him.
Very unrealistic to say the least.
What am I not understanding here?