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

Targeting specific ships

The general place to discuss MOD''ing Freelancer!

Post Sun Mar 06, 2005 6:54 am

Targeting specific ships

I'm no modder, but I know alot of people who are, and need an answer to this question:

Is it possible for a station to always target freighters and not fighters?

Post Sun Mar 06, 2005 7:14 am

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

Post Mon Mar 07, 2005 1:35 pm

Thanks, I'm actually looing for ways to make a Death Star out of a giant turret and a planet, and dont want the superlaser targeting fighters.

Post Tue Mar 08, 2005 1:00 pm

that whould be funny!

think, a huge deathstar strining to fire at a tiney fighter!

and then think of it succeeding lol

"um, luke?"
"yeah?"
"its fireing again!"
"oh no! what at!"
"um, you!"
"what!how-Ahhhhhhhh...."

"If im phased and can walk through stuff, then why am I not falling through the floor?"

Return to Freelancer General Editing Forum