Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: aRaven on October 27, 2011, 03:57:39 am
-
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.
-
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.
-
So I understand by setting $Default Profile to a value will ensure this. Will try this weekend. Thanks!
-
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:
$Profile Name: FS2 RETAIL
+nocreate
Followed by any or all ai profile flags that will override defaults.
-
Ok this means I have to populate ai.tbm with the values from the wikientry of ai_profiles.tbm. will try :)