New hp_type possible?
I'm working on the next version of my mod (The Monkeys 1.2) and I got a problem.
I made some new upgrades (shield upgrade, power upgrade, etc.) and want to make special hardpoints for them. I only need internal hardpoints that are fixed. I already added some new hardpoints to the .cmp file of all ships and I was able to mount the upgrades on it.
What I'm asking for is, if it is possible to make new hp_types. Every equipment got a special hp_type, where it is mounted. For example a shield:
[ShieldGenerator
nickname = order_shield
ids_name = 263879
ids_info = 264879
DA_archetype = equipment\models\st\li_refractor_shield.3db
material_library = equipment\models\li_equip.mat
HP_child = HpConnect
hit_pts = 2423
explosion_resistance = 0.500000
debris_type = debris_normal
parent_impulse = 20
child_impulse = 80
volume = 0.000000
mass = 10
regeneration_rate = 82
max_capacity = 3644
toughness = 36
hp_type = hp_elite_shield_special_6 <-- I want to change this line!!!!!!
offline_rebuild_time = 12
offline_threshold = 0.150000
constant_power_draw = 0
rebuild_power_draw = 10
shield_type = S_Graviton01
shield_collapse_sound = shield_offline
shield_rebuilt_sound = shield_rebuilt
shield_hit_effects = 0, gf_ku_shield01
shield_hit_effects = 100, gf_ku_shield02
shield_hit_effects = 500, gf_ku_shield03
separation_explosion = sever_debris
LODranges = 0, 20
lootable = true
I now want new hp_types for my upgrades. For example:
hp_type = shield_upgrade_special_10
hp_type = shield_upgrade_special_9
etc.
I did not find anything about this in any of the inis, but I found something in the common.dll. There is a block, where all the different hp_types are listed and there are also some unused hp_types (hp_fighter_shield_generator, hp_elite_shield_generator, hp_freighter_shield_generator). But I need more and tried to add new ones to the common.dll.
If I add them under the other hp_types Freelancer does not start, maybe because it searches for something in the common.dll and this thing is now not on the old position.
I also added them at the end of the file and FL started. But in the game I could not see any new hardpoints, and I could also not mount my new upgrades on any ship (I changed the shiparch.ini and the ini with the equipment to the right hp_type)
So, my question again: Is it possible to make new hp_types and how do I do this.
As I couldn't found anything in the forums I think that maybe noone really looked into this. I will try to solve the problem, but it would be nice if you could help me with this!
Thanks to all of you!