Kind of noobish but I hate doing something wrong and going wt…..
-
Ok 2 questions to make sure I’m making these changes correctly
1. If I want to change a weapons class would changing this line in weapon_equip
hp_gun_type = hp_gun_special_1
to
hp_gun_type = hp_gun_special_7change the weapon from a class 1 to a class 7?
2. This is the big one changing weapon hardpoint mount classes do I only have to change them in the shiparch.ini or do I have to do it somewhere else like the sur or cmp files?
Thanx guys and yes I’ve been reading the tutorials I just want to make sure I’m understanding
-
Spartan wrote:
1. If I want to change a weapons class would changing this line in weapon_equiphp_gun_type = hp_gun_special_1
to
hp_gun_type = hp_gun_special_7change the weapon from a class 1 to a class 7?
Class 1 is
hp_gun_type = hp_gun_special_1, HardpointClass 2 is
hp_gun_type = hp_gun_special_1, Hardpoint
hp_gun_type = hp_gun_special_2, HardpointClass 3 is
hp_gun_type = hp_gun_special_1, Hardpoint
hp_gun_type = hp_gun_special_2, Hardpoint
hp_gun_type = hp_gun_special_3, HardpointClass 4 is
hp_gun_type = hp_gun_special_1, Hardpoint
hp_gun_type = hp_gun_special_2, Hardpoint
hp_gun_type = hp_gun_special_3, Hardpoint
hp_gun_type = hp_gun_special_4, HardpointClass 5 is
hp_gun_type = hp_gun_special_1, Hardpoint
hp_gun_type = hp_gun_special_2, Hardpoint
hp_gun_type = hp_gun_special_3, Hardpoint
hp_gun_type = hp_gun_special_4, Hardpoint
hp_gun_type = hp_gun_special_5, HardpointClass 6 is
hp_gun_type = hp_gun_special_1, Hardpoint
hp_gun_type = hp_gun_special_2, Hardpoint
hp_gun_type = hp_gun_special_3, Hardpoint
hp_gun_type = hp_gun_special_4, Hardpoint
hp_gun_type = hp_gun_special_5, Hardpoint
hp_gun_type = hp_gun_special_6, HardpointClass 7 is
hp_gun_type = hp_gun_special_1, Hardpoint
hp_gun_type = hp_gun_special_2, Hardpoint
hp_gun_type = hp_gun_special_3, Hardpoint
hp_gun_type = hp_gun_special_4, Hardpoint
hp_gun_type = hp_gun_special_5, Hardpoint
hp_gun_type = hp_gun_special_6, Hardpoint
hp_gun_type = hp_gun_special_7, HardpointClass 8 is
hp_gun_type = hp_gun_special_1, Hardpoint
hp_gun_type = hp_gun_special_2, Hardpoint
hp_gun_type = hp_gun_special_3, Hardpoint
hp_gun_type = hp_gun_special_4, Hardpoint
hp_gun_type = hp_gun_special_5, Hardpoint
hp_gun_type = hp_gun_special_6, Hardpoint
hp_gun_type = hp_gun_special_7, Hardpoint
hp_gun_type = hp_gun_special_8, HardpointClass 9 is
hp_gun_type = hp_gun_special_1, Hardpoint
hp_gun_type = hp_gun_special_2, Hardpoint
hp_gun_type = hp_gun_special_3, Hardpoint
hp_gun_type = hp_gun_special_4, Hardpoint
hp_gun_type = hp_gun_special_5, Hardpoint
hp_gun_type = hp_gun_special_6, Hardpoint
hp_gun_type = hp_gun_special_7, Hardpoint
hp_gun_type = hp_gun_special_8, Hardpoint
hp_gun_type = hp_gun_special_9, HardpointClass 10 is
hp_gun_type = hp_gun_special_1, Hardpoint
hp_gun_type = hp_gun_special_2, Hardpoint
hp_gun_type = hp_gun_special_3, Hardpoint
hp_gun_type = hp_gun_special_4, Hardpoint
hp_gun_type = hp_gun_special_5, Hardpoint
hp_gun_type = hp_gun_special_6, Hardpoint
hp_gun_type = hp_gun_special_7, Hardpoint
hp_gun_type = hp_gun_special_8, Hardpoint
hp_gun_type = hp_gun_special_9, Hardpoint
hp_gun_type = hp_gun_special_10, HardpointIts like the subshell describing quantum number l
-
That is bad information you are giving, Nova.
The class of a weapon is as Spartan first said it:-
in weapon_equip.ini:-[Gun]
nickname = missile01_mark05
…
hp_gun_type = hp_gun_special_9
…The classes of weapons that a hardpoint can mount is in shiparch.ini:-
[Ship]
…
shield_link = l_elite2_shield01, HpMount, HpShield01
hp_type = hp_gun_special_6, HpWeapon01
hp_type = hp_gun_special_5, HpWeapon01
hp_type = hp_gun_special_4, HpWeapon01
hp_type = hp_gun_special_3, HpWeapon01
hp_type = hp_gun_special_2, HpWeapon01
hp_type = hp_gun_special_1, HpWeapon01
hp_type = hp_elite_shield_special_6, HpShield01
…You can also limit a hardpoint (or list of several hardpoints) to mount only a single class of weapon by having only one hp_gun_special_x entry:-
…
shield_link = l_elite2_shield01, HpMount, HpShield01
hp_type = hp_gun_special_4, HpWeapon01
hp_type = hp_elite_shield_special_6, HpShield01
…So in this example, HpWeapon01 can only mount Class 4 weapons.
And if you have this:-
…
shield_link = l_elite2_shield01, HpMount, HpShield01
hp_type = hp_gun_special_4, HpWeapon01
hp_type = hp_gun_special_2, HpWeapon01
hp_type = hp_elite_shield_special_6, HpShield01
…then HpWeapon01 can only mount class 4 and class 2 weapons.
You can also limit HpShieldxx hardpoints to accept only the shield classes that you specify, in the same way.
It’s very straightforward.
By the way:-
shield_link = l_elite2_shield01, HpMount, HpShield01, HpShield02, HpShield03
This is the list of hardpoints where shields can be mounted:-
l_elite2_shield01 points to an entry in select_equip.ini…
[Shield]
nickname = l_elite2_shield01
DA_archetype = Ships\liberty\li_elite2\li_elite2_shield.3db
HP_child = SpConnectAs you can see, that entry points to the location of the shield bubble li_elite2_shield.3db and its sur file, that will be used for this ship (it sets the size of the shield bubble around the ship). You can make your own shield bubbles too.
One “thing” here that I don’t like…
Many older mods put shields on engines and other non-shield hardpoints. This is amateurish.
It is very easy to add extra HpShieldxx hardpoints in the ship’s .cmp file. So do this and have only the HpMount and HpShieldxx hardpoints in the shield_link = line.
-
Ok well thanks startrader that is alot more informative, just one question can I name a hp anything like say hpomni01 and have the game recognize it mounts only equipment that is linked to that hardpoint type, like a cloak or other specialized equipment? Or does freelancer only recognize certain types of hp’s?
-
Freelancer only recognises hardcoded types.