Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Giving AI a hand at selecting its weapons  (Read 1683 times)

0 Members and 1 Guest are viewing this topic.

Rubble_Maker

  • Guest
Giving AI a hand at selecting its weapons
« on: 20 Feb 2003, 21:54:23 »
Hi

I want to know: Is it possible to somehow influence which kinda weapon the AI uses against a specific target? For example, I'd like to tell a chopper to use a specific kind of rocket against tanks (the rocket causes a lot of damage, but has low hitRange), and use another kind of rocket against infantry and other soft targets. The problem I'm currently stuck at is that my chopper uses the cannon instead of firing the rockets most of the time, even if its under heavy fire from enemy tanks. It does use guided missiles, but once the last missile is fired it almost never fires rockets.

So far I tried the "weaponType" and "primary" commands but to no avail.