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

infocard question

The general place to discuss MOD''ing Freelancer!

Post Tue Jul 29, 2003 2:51 am

infocard question

I was able to make new infocards for some new ships I made just fine, but when I made infocards for some weapons....the names appeared correctly, but the infocards that show up are the ones for the origional weapons I modified. I changed both the IDS names and the IDS info numbers, so I am perplexed as to how the game can remember the origional weapons...also, the stats shown are for the origional weapons, and there is no place to make new stats....where is this information being stored?

Post Wed Jul 30, 2003 6:52 am

I thought you might be interested in this page:
http://lancersreactor.com/t/forum/topic ... orum_ID=29
This is an in depth tutorial on infocards...
In your case you would want to use the id given for the weapon you are choosing to modify...
So, weapons ID pointers would be found at data/equipment/weapon_equip.ini
and the DLL file for the infocards would be found in EXE/equipresources.dll
so U would have to change the files you are going to modify accordingly...
I think thats how it would work...
For example... in the weapon_eqip.ini you can search for:
nickname = li_gun02_mark03
ids_name = 263366
ids_info = 264366

If you use resHack (see tutorial) U can identify where in the equipresources.dll
the infocard is located.... for the ID (here its 264366)...
In your case, you want to make NEW weapons...
So, U will have to figure out new ids_name , and ids_info
and alter the DLL etc...
its complex... but I believe the method is the same as for a ship, just have use different files than the tutorial...
Hope that helps.

Post Fri Aug 01, 2003 3:49 am

I figured out part of my problem....I had put the new IDS numbers in the weapons_equip.ini file, but forgot to correct the weapon_good.ini file. That cleared up everything but the stats....they still show damage points for the old weapons???? does anyone know how these stats are calculated?

Post Fri Aug 01, 2003 6:11 pm

If you see the stats for the old weapons you didn't really change what you thought you did, check again. The stats are automatically figured by the game based on your weapon as defined in wepon_equip.ini.

Post Sat Aug 02, 2003 4:12 am

i too created new type of weapons and created my own stats. My stats appear correctly.

Here's the deal:

when you create new weapons from old weapons. you will copy the exact stats of that weapon. Now creating its infocard i.e. ids_name and ids_info, will only create information about your new weapon.

Now to make your stats work

look for:
lifespan of the ammo hence lifespan is actually the distance traveled by your projectile - Math: lifespan = your desired distance / 750
projectie speed or something... i forgot about it

rate of fire of your gun = no. of shots/sec
Math: rate of fire = 1/desired no. of shots

changing this will eventually change the stats of the gun

of caourse this is all at weapons_equip.ini

Hope this will help

Working hard to earn... but too lazy to do something...

Post Sun Aug 03, 2003 4:09 pm

hmmmm......I did all those things, that's why I am puzzled as to why the old stats keep showing up. I changed damage, lifetime, muzzle velocity, and refire rate.....to no avail. The weapons seem to operate correctly, but the stats are whacked.

Post Mon Aug 04, 2003 3:26 am

That's odd i did mine with those things and it worked fine. Maybe it's complicting with another version of your weapon. instead of using your current configurations it uses the another configurations...

Working hard to earn... but too lazy to do something...

Post Mon Aug 04, 2003 6:50 am

Are you sure you used a unique name? If not it will pick the earlier version of the data set (probably the original).

Post Mon Aug 04, 2003 9:35 pm

Guys, I posted my tutorial above...
Did you modify the infocard With the properly referenced DLL as discussed in my 1st post?
Remember, that changing the Weapons DAMAGE does not affect the Weapon's STATS that U SEE in the game.
In otherwords... It might have 10,000 points of damage and do 10,000 points damage but unless you change the infocard... it only LISTS the weapon as the original from which you copied...
Think, of the infocard as the description of the a Car...
Just becasue the Car has had a new Engine put in... does not mean the description in the manual will change...
U have to go back and make the changes... in the infocard... which is simply the TEXT description of the weapon...
I hope that helps...

Post Thu Aug 07, 2003 3:58 am

I guess I am just not getting it.....I can find no place where you put damage stats into an Infocard. All the other stats seem to be calculated from the weapon_equip.ini file.....range, velocity and energy usage show up correctly, but the damage is from the origional weapon I modified. The new name is unique, and the data is put in a 7th DLL (add_nameresources.dll)

Post Sat Aug 09, 2003 7:17 am

I need more information to help you.
please paste the EXACT part of Weapon_equip.ini that you alterered/added
for example if you look at the liberty gun below...
It is the ORIGINAL...
what EXACTLY did you do?
Did You add a NEW ID and [gun type? or did you simply Modify the existing one?

And for the infocard... as well ... what changes did you make and to which infocard?
Remember that to make the mod work... you need to have the infocard in the appropriate mod folder... etc...


[Munition
nickname = li_gun01_mark01_ammo
hp_type = hp_gun
requires_ammo = false
hit_pts = 2
hull_damage = 16.299999
energy_damage = 0
weapon_type = W_Laser01
one_shot_sound = fire_laser1
munition_hit_effect = li_laser_01_impact
const_effect = li_laser_01_proj
lifetime = 0.800000
force_gun_ori = false
mass = 1
volume = 0.000100

[Gun
nickname = li_gun01_mark01
ids_name = 263357
ids_info = 264357
DA_archetype = equipment\models\weapons\li_heavy_ion_blaster.cmp
material_library = equipment\models\li_equip.mat
HP_child = HPConnect
hit_pts = 400
explosion_resistance = 1.000000
debris_type = debris_normal
parent_impulse = 20
child_impulse = 80
volume = 0.000000
mass = 10
hp_gun_type = hp_gun_special_1
damage_per_fire = 0
power_usage = 5.090000
refire_delay = 0.120000
muzzle_velocity = 750
use_animation = Sc_fire
toughness = 1.300000
flash_particle_name = li_laser_01_flash
flash_radius = 15
light_anim = l_gun01_flash
projectile_archetype = li_gun01_mark01_ammo
separation_explosion = sever_debris
auto_turret = false
turn_rate = 90
lootable = true
LODranges = 0, 20, 40, 80, 100

Please post your Changes in your reply so that I can see what U did...
also... in your freelancer.ini file did you add a new infocard DLL to the [resources section?

Post Mon Sep 01, 2003 11:49 pm

Well..... its been some time now since my last post...
I will assume you fixed the problem.
{HFH}MACK

Post Tue Sep 02, 2003 8:25 pm

Lol - seems so, but for future reference of others, the main reason your stats don't show up right is cos of one thing people overlook easily (and it is easy to do, i still do it every now and then!) and that is to change the projectile archetype........it often gets left unchanged so it takes the damage for another guns weapon, mixes it up with your refire rate and shot speed, and then makes it look very interesting indeed..........
Just a little tip for any other people new to making weapons!
Chips

Return to Freelancer General Editing Forum