In shiparch.ini, you’ll see a section like this for every ship:
hp_type = hp_gun_special_6, HpWeapon01
hp_type = hp_gun_special_5, HpWeapon01, HpWeapon02, HpWeapon03
hp_type = hp_gun_special_4, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HPWeapon05
hp_type = hp_gun_special_3, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HPWeapon05
hp_type = hp_gun_special_2, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HPWeapon05
hp_type = hp_gun_special_1, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HPWeapon05
hp_type = hp_elite_shield_special_3, HpShield01
hp_type = hp_elite_shield_special_2, HpShield01
hp_type = hp_elite_shield_special_1, HpShield01
hp_type = hp_thruster, HpThruster01
hp_type = hp_mine_dropper, HpMine01
hp_type = hp_countermeasure_dropper, HpCM01
hp_type = hp_torpedo_special_2, HpTorpedo01, HPWeapon06
All the hp_type’s are weapon slots. Here is a breakdown:
hp_type = hp_gun_special_5, HpWeapon01, HpWeapon02, HpWeapon03
hp_gun_special_5 (Class 5 Gun) can mount on the model hardpoints HpWeapon01, 02 and 03.
So for the ship above, it has 5 weapon slots. Class 1, 2, 3, and 4 guns can be mounted on HpWeapon01, 02, 03, 04, and 05. While Class 5 guns can be mounted HpWeapon01, 02 and 03. A Class 6 gun can mount on HpWeapon01.
You can also mount a thruster, mine dropper, and a cm on their respective hp’s. You can mount a cruise disruptor (I think?) (hp_torpedo_special_2) on two hardpoints - HpWeapon06 and HpTorpedo01.
etc.
To add more guns, you will need to use, create or find more hardpoints on the model. You can also make the current weapon slots able to hold higher level guns by adding hp_gun_special_7 to hp_gun_special_10 and assign them hardpoints to use. You can also allow turrets by adding hp_turret_special_1 (to 10, etc).