Author Topic: Override default AI behaviour?  (Read 1685 times)

0 Members and 1 Guest are viewing this topic.

Offline aRaven

  • 28
Override default AI behaviour?
Hello all,

is there a way to override the default FS2_RETAIL ai behaviour?
As far as I can remember you have to edit every retail mission to use a different  ai_profiles.tbl profile then default, since FS2_RETAIL is hardcoded.

My wish is to set a default ai behaviour without modifying anything else beyond ai_profiles.tbl or a similar file.

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Override default AI behaviour?
Yes it is possible and no mission editing is required. You need to use both ai_profiles.tbl (or tbm) and ai.tbl though. Read the wiki for details.

 

Offline aRaven

  • 28
Re: Override default AI behaviour?
So I understand by setting $Default Profile to a value will ensure this. Will try this weekend. Thanks!

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Override default AI behaviour?
Erm, no. $Default profile is what sets default AI profile to be used in new missions, not existing.

If you create an aip.tbm, you can override hardcoded AI profile values as follows:
Code: [Select]
$Profile Name: FS2 RETAIL
+nocreate
Followed by any or all ai profile flags that will override defaults.

 

Offline aRaven

  • 28
Re: Override default AI behaviour?
Ok this means I have to populate ai.tbm with the values from the wikientry of ai_profiles.tbm. will try :)