Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

NPC target turrets

The general place to discuss MOD''ing Freelancer!

Post Sat Jan 20, 2007 6:40 am

NPC target turrets

Can I make npc's target a stations turrets rather than shooting at the middle or shooting at the hole in the center of the trade lane.

Post Thu Feb 08, 2007 8:08 am

...haven't been here for a long time...
Hi.
I guess yes, I was going to try it.
In pilots_population.ini there is something like subtarget_...
don't remember exactly. Try to play a bit with it.
Post please results

Post Thu Feb 08, 2007 10:06 am

Not tested this but the area you're looking for is the JOB BLOCK section in pilots_population.ini

[JobBlock
attack_preference = fighter, 5000, guns / guided / unguided
attack_preference = freighter, 5000, guns / guided / unguided
attack_preference = transport, 5000, guns / guided / unguided
attack_preference = gunboat, 5000, guns / guided / unguided
attack_preference = cruiser, 5000, guns / guided / unguided
attack_preference = capital, 5000, guns / guided / unguided
attack_preference = weapons_platform, 5000, guns / guided / unguided
attack_preference = solar, 5000, guns / guided / unguided
attack_preference = anything, 5000, guns / guided / unguided

These are all the options i can find, maybe setting it just to use the anything line would help. This obviously means the enemy ships would target everything including turrets or maybe using just the solar entry which means it would attack bases only for the appropiate pilot.

Just found this line as well in the JOB BLOCK section which might be what you're looking for,

attack_subtarget_order = anything

They all seem to be set to that so maybe some experimentation with that entry will help.

Edited by - Gibbon on 2/8/2007 10:09:37 AM

Post Thu Feb 08, 2007 11:12 am

Thanks for reminding, Gibbon

Return to Freelancer General Editing Forum