Sun Mar 06, 2005 7:14 am by Accushot
Don't know if this will work, but...
All the ships/stations etc. have a specific pilot object assigned to them. Open up Data/Missions/pilots_population.ini and search for "nickname = pilot_solar". You should see several sections looking like this:
[Pilot
nickname = pilot_solar_hardest
gun_id = gun_solar_ace_style_a
missile_id = missile_solar_fast
Create a new section like this:
[Pilot
nickname = pilot_solar_hardest_target_only_freighters
gun_id = gun_solar_ace_style_a
missile_id = missile_solar_fast
job_id = job_attack_only_freighters
and underneath it, add:
[JobBlock
nickname = job_attack_only_freighters
attack_preference = freighter, 2500, guns / guided / unguided
NOTE: In the above line, replace the /'s with 'pipes' - the vertical line character
Now, in the system file, add "pilot = pilot_solar_hardest_target_only_freighters" to the station you want to attack only freighters.
I don't know if this will work or not as I haven't done it myself, but it should be OK. Normally, job blocks include several "attack_preference" entries for different classes of object, and then an "attack_preference = anything..." entry that allows them to attack any other class if there are no prefered targets around. Having only the one line for freighters should mean that the pilot only attacks freighters and nothing else.
Edited by - Accushot on 3/6/2005 11:46:43 AM