View Single Post
Old 06-01-06, 07:27 PM   #1
LoBlo
Subsim Diehard
 
Join Date: May 2006
Location: Texas!
Posts: 971
Downloads: 78
Uploads: 3
Default Better Aircraft Behavior Experiment

I'm trying to improve the AAW behavior of fighters like the CVN escorts (Migs and F14/F18). I've modifed the FighterEvade Doctrine as an experiment to see if they're behavior is any better... trying to get them to vector in and attack planes that maybe threatening friendly ships.

What I've done is to create a new doctrine called "Interceptor" for the fighters and tried some changes. So far here's what I've tried with the doctrine to see if its an improvement:

Code:
 
; $Header: FighterEvade.txt   Wed Apr 23 16:04:39 EDT 2003    $
; $Revision: 1 $
; $Copyrt1: Copyright (c) 2003, Sonalysts, Inc.  All rights reserved. $
;
; FighterEvade
; LoBlo attempted Edits,June 2006
; attempting to script better anti-air behavior from interceptors to make them better protectors
; currently untested
; Set Tactic
IF NEWTRACK THEN {
 ; AAM or SAM Missile?
 IF TgtClass $= "MISSILE" AND ( TgtMissileClass "AAM" OR TgtMissileClass "SAM" ) THEN {
  SETTACTIC "AirEvadeMissile"
 } ENDIF
 ; SSM or ASM Missile?
 IF TgtClass $= "MISSILE" AND ( TgtMissileClass "ASM" OR TgtMissileClass "SSM" ) THEN {
  ATTACKBEST
 } ENDIF
 
 ;What about enemy fighter response?
 IF TgtClass $= "AIR" AND ( TgtID $= "HOSTILE" OR ( TgtID $= "UAE" ) OR ( TgtID $= "UPD" ) ) THEN {
  ATTACKBEST
 } ENDIF
} ENDIF
I'm not sure if this improves Interceptor/Fighter escort behavior though. The next step that I'll probably try is to script some behavior to set better intercept course and speeds instead of planes just waiting for an enemy to get into firing range they would actively set up some intercept courses and then fire... that's the next step anyway.

If anyone tries out the above doctrine give some feedback. Better? Worse? No Change really?

thx,
lb
__________________
"Seek not to offend or annoy... only to speak the truth"-a wise man
LoBlo is offline   Reply With Quote