Sun Sep 04, 2005 10:48 am by Black Eagle
Hi!
In the pilots_population.ini scroll down to the job_block of the pilot you are using in your encounter. There you should see a section like this:
attack_preference = capital, 5000, guns / guided / unguided
attack_preference = cruiser, 5000, guns / guided / unguided
attack_preference = gunboat, 5000, guns / guided / unguided
attack_preference = fighter, 5000, guns / guided / unguided
attack_preference = freighter, 5000, guns / guided / unguided
attack_preference = transport, 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
now I changed it to this:
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, Torpedo / guided / guns / unguided
attack_preference = cruiser, 5000, Torpedo / guided / guns / unguided
attack_preference = capital, 5000, Torpedo / guided / guns / unguided
attack_preference = weapons_platform, 5000, guns / guided / unguided
attack_preference = solar, 5000, Torpedo / guided / guns / unguided
attack_preference = anything, 5000, guns / guided / unguided
and my encounters attack all capitals and stations with torpedos. It works perfectly in my mod (It should also work with fighters and all the other shipclasses).
So just change these lines to anything you want and be sure that the pilot, who is declared in your encounter file has the job_block you changed. Then your NPCs should use torpedos first.
If you delete all the other things, leaving the line like this:
attack_preference = gunboat, 5000, Torpedo
they should only use torpedos and no other weapons. However this last thing is not tested!
Hope this helps!
Black Eagle