Home   Help Search Login Register  

Author Topic: AI Ranged AT accuraccy.  (Read 455 times)

0 Members and 1 Guest are viewing this topic.

PsyWarrior

  • Guest
AI Ranged AT accuraccy.
« on: 02 Feb 2004, 13:30:08 »
Greetings people,

I have an idea. It's not actually such a rare occurrance as people might think, but I digress already...

Concept: I want to improve the accuraccy of AI's using anti-tank weapons at longer ranges. I know from experiance that it's often necessary to elevate the AT launcher, and that AI's tend to attack tanks by aiming right at them, regardless of their distance.

Plan: An invisable target is placed a certain distance above the tank, depending on how far away it is from the rocket-launcher wielding AI. The AI is given orders to target this object instead of the tank. The rocket fires and hits the tank dead center, destroying it.

Problem: I don't know what elevation above the tank to use, or if this varies from launcher to launcher. I also don't know how it would be possible to detect which tanks the AI wants to attack. knowsAbout and type commands could be used to determine if the AI knows about any enemy armour in the area, but AFAIK, there is no way to determine what exactly the AI is targetting. You could use the direction command to see what he is watching, I suppose, but that would require maths...

Has anyone experimented at all with rocket launcher elevation?

Any and all help is appreciated, :thumbsup:

-Supreme Commander PsyWarrior
-Psychic Productions

EDIT: Due to lack of response, here's a clarification: I'm first of all looking for a way to detect what a certain unit is targetting. If anyone has a better idea than the one posted above, I would appreciate your input...
« Last Edit: 04 Feb 2004, 11:57:38 by PsyWarrior »

PsyWarrior

  • Guest
Re:AI Ranged AT accuraccy.
« Reply #1 on: 06 Feb 2004, 16:30:36 »
Okay,

Obviously no real interest in this.

That's fine, I can use the time to work on some other stuff  8)

-Supr. Cmdr. PsyWarrior
-Psychic Productions