Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: jtrainor on August 07, 2008, 04:43:27 am
-
I want to enable the following features, but I'm not sure how, though I have figured out there's a table file somewhere I can edit.
$big ships can attack beam turrets on untargeted ships:
$smart primary weapon selection:
$smart secondary weapon selection:
$allow rapid secondary dumbfire:
$huge turret weapons ignore bombs:
$hack improve non-homing swarm turret fire accuracy:
$shockwaves damage small ship subsystems:
-
http://www.hard-light.net/wiki/index.php/Ai_profiles.tbl
-
That just tells me the stuff in it, it doesn't tell me where the ai file is or anything like that. That's where I found the definitions. :P
-
FS2 retail doesn't have one. There may be one in the media VPs but what I did last time was simply nick the one on there and stick it in a file called ai_profiles.tbl
-
It isn't anywhere until you make it, as the retail AI profile is hardcoded in. Once you make one with the changes you desire, it goes in the data\tables folder (you should also use a mod directory so you can easily turn it off again without a fuss, by the way).
-
And its really better if you use a modular table, so put a file lile:
fabian-aip.tbm into the data/tables/ folder with the necessary attributes like:
[...]
$AI Profile: "name"
+nocreate
$AIoption: foo
Best Wishes,
Fabian