Important MessageYou are browsing the archived Lancers Reactor forums. You cannot register or login. |
infocard question
The general place to discuss MOD''ing Freelancer!
13 posts
• Page 1 of 1
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?
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.
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.
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...
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...
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...
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...
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)
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?
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?
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
Just a little tip for any other people new to making weapons!
Chips
13 posts
• Page 1 of 1
Return to Freelancer General Editing Forum