Hi guys, sorry about the delay, but I got busy with the stuff I actually get payed for...anyway, I've got a patch here that implements the banking multiplier in ai_profiles. The trouble with this is (as it took me some time to figure out), most missions have the string "$AI Profile: FS2 RETAIL" in them somewhere. The presence of that statement effectively means that no custom ai profiles will ever be used, because you can't modify the FS2 RETAIL profile with an ai_profiles.tbl, and any other profile you put stuff in will just get ignored. This is true even of the Blueplanet mod missions; while they did, in fact, create a custom ai_profiles.tbl with a "BP" profile, and set "BP" as the default profile, every single mission file then has "$AI Profile: FS2 RETAIL" in it, so the custom ai_profiles.tbl never actually affects anything. By going in and editing the mission files to use the "BP" profile, and then adding the "$Delta Bank Multiplier" line to ai_profiles.tbl, you can get the behavior I originally wanted.
So, what I've done in this patch will allow mod builders to play with the banking multiplier, if they know what they're doing. But so far as I can see, there's no way to have a custom ai_profiles.tbl in a tacked-on personal "mini-mod" to disable banking, because everything uses the "FS2 RETAIL" profile anyway. I suppose we could modify things to ignore the "$AI Profile" statement in missions and always use the "default" profile, but that would make it impossible to have mission-specific profiles. Alternatively, since I suspect that FRED is automatically generating the $AI Profile: FS2 RETAIL" statement, someone could modify FRED to not do that. In the mean time, however, I don't see a way to use the ai_profiles patch I've made as a way to let me actually alter the behavior of anything without unpacking and editing all the mission files in a mod (which I should *not* have to do).
Again, there's a lot of code here that I'm not real familiar with, so if there's something obvious I'm missing, I'd appreciate it if someone would let me know. Otherwise, it looks like you need to hand-edit mission files for ai_profiles.tbl to actually do anything.
[attachment deleted by Tolwyn]