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

Tool to extract Weapon Info?

The general place to discuss MOD''ing Freelancer!

Post Wed Jun 21, 2006 4:02 pm

Tool to extract Weapon Info?

Is there a tool out there that can extract the data for weapons, shields, and other equipment? Price, Cost, refire rate, range, damage to hull and shields, ect?

I tried Datastorm, but there is no way to export this into a text file or excel spreadsheet,

Post Wed Jun 21, 2006 4:40 pm

Try this link



And this also Linky



"It doesn’t matter what universe you’re from. That’s got to hurt!"

Edit- Made your links clickable


Edited by - flybyu on 6/21/2006 5:41:30 PM

Edited by - Finalday on 6/21/2006 6:37:23 PM

Post Thu Jun 22, 2006 3:45 am

Thanks for the response, howeverm both of those already have data and do not look at the any new files or info for a mod.

Post Thu Jun 22, 2006 8:59 am

I do not believe that such a program exists, if I am to understand that you want a program that can look into the current game files and extract the altered information. It would be a great idea for a utility, though. Especially if it had the ability to edit that info...


What's your favorite letter?
Mine is the squiggly! (erm, tilde)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/()_()
/(o.0)
+(___)o

Post Fri Jun 23, 2006 12:03 am

Sounds like a worthy cause.

Looking in weapon_equip.ini I find:

[Gun ; <-- add right bracket here
nickname = fc_lr_gun01_mark01
ids_name = 263181
ids_info = 264181
...
hit_pts = 400
...
damage_per_fire = 0 ; <-- ?
power_usage = 6.110000
refire_delay = 0.120000

which I know from the Freelancer Misc Database (PC Weapon IDS Numbers)is:

IDS Name nickname
263181 Azrael fc_lr_gun01_mark01

and Freelancer Misc Database (General Info) is:

Azrael hull=19, shield=9, range=600

So if I build up a list of [Gun entries from weapon_equip.ini, I have an IDS and nickname, but where do I look up these to retrieve the display name "Azrael", and where is the hull / shield damage and range kept?

Post Fri Jun 23, 2006 9:59 am

The names and info that are displayed in the game are located in nameresources.dll and infocards.dll, you need a special program to edit these. Personally I like Fled-ids, which you can get here.

The other info is in the [munition entry for the gun. (energy is not shield damage, btw). I believe the game takes the hull damage, divides it in half, and adds it to the energy damage to get shield damage... or something like that. Range is determined by lifetime and muzzle velocity, i.e. how fast it goes for how long, so a weapon with lifetime 1s, and velocity 750m/s will have a range of 750m, etc.

Edited by - Xen()morph on 6/23/2006 11:05:41 AM

Post Sat Jun 24, 2006 12:44 am

thanks Xeno()morph.

I had a look at the script for the modified Justice gun that comes with FLMM so I worked out that gun and munition are tied together and what all the values - speed, range, refire rate, etc - are.

Looking at this I believe that hull damage is stated as hull_damage = ... and that shield damage is either listed explicitly as shield_damage = , or, if it is set to zero or not present then it is double the hull_damage. I could be wrong on this but the general rule seems to be that the shield damage is twice the hull damage except for pulse weapons (e.g. Stunpulse) where the shield damage is listed explicitly. E.g. Stunpulse has energy_damage = 153 which is the shield damage listed for the weap. in the Misc Database.

As this modification uses the IDS for the Justice it doesn't need to "know" the name of the gun displayed in the game, i.e. what a 263357 is.

So if all the above is correct I just need to know how to get to the weapon name as displayed in the game, e.g. IDS 263357 == Justice Mark I.

I'll have a look at dll info that you refer to. Thanks again.

Return to Freelancer General Editing Forum