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

AI countermeasure usage

The general place to discuss MOD''ing Freelancer!

Post Thu May 20, 2004 8:08 pm

AI countermeasure usage

Does anyone know of a way to get the NPCs to drop countermeasures? In the default pilots_population.ini there are definitions such as the following:

[CountermeasureBlock
nickname = countermeasure_handicap_0
countermeasure_active_time = 3
countermeasure_unactive_time = 0

And in the pilot definitions towards the bottom of the same file, there are corresponding lines:

[Pilot
nickname = pilot_military_easy
...
countermeasure_id = countermeasure_handicap_0 <-----
...

Yet I have never, ever seen an NPC drop countermeasures. I was thinking that there might be a line somewhere else that I would have to add to make the AI realize that it should drop them (much like how you can add a line to constants.ini that defines the max cruise speed), but if that is the case then I'm out of luck until somebody enlightens me.

Also, if you know of a mod in which NPCs drop countermeasures, I'm plenty capable of reverse-engineering how it is done. Any leads at all would be greatly appreciated.

Post Fri May 21, 2004 1:50 am

lootprops.ini and random_lootinfo.ini file (think thats what its called -can't remember, and can't be arsed to look).

They are in the missions and random missions folder respectively. When you ask "how" - copy for something like a mines entry, then paste and rename it to the countermeasures nickname as per files.

Post Fri May 21, 2004 2:34 am

lol, Chips, i think he meant "using" CMs by "dropping" them

Im not sure, but i think NPCs use them. they have both the launchers and ammo for it.
i'd say experiment with them. get a ship with a missile launcher, scan and shoot some AI, scan again before they die, check ammo status.
in the fancy, with FX effects almost overloaded world of FL you probably just dont notice that they drop CMs

Fjord

---------------------------------
Excelcia Mod Leading Developer

Post Fri May 21, 2004 5:39 am

Yes they use them. There's a countermeasure block in pilot's population. You can go into there and make them drop more or less.

Post Fri May 21, 2004 6:30 am

he shoulda said used then! lmao.

Yeah - they do drop em, you have to get close - OR - just remove the engines from their loadouts, and then fly right up to a stationary one when they spawn, and launch missiles. See them tumble from his butt....


Edited by - Chips on 5/21/2004 7:55:03 AM

Return to Freelancer General Editing Forum