I want to add a section to allow testing / design of weapon loadouts.
I can see where they are created in the java, you have sections of code like this.
arrayOf_WeaponSlot[22] = new Aircraft._WeaponSlot(6, "RocketGunAIM9D", 1);
arrayOf_WeaponSlot[23] = new Aircraft._WeaponSlot(6, "RocketGunNull", 1);
arrayOf_WeaponSlot[24] = new Aircraft._WeaponSlot(6, "RocketGunAIM9D", 1);
arrayOf_WeaponSlot[25] = new Aircraft._WeaponSlot(6, "RocketGunNull", 1);
arrayOf_WeaponSlot[26] = new Aircraft._WeaponSlot(6, "RocketGunAIM9D", 1);
arrayOf_WeaponSlot[27] = new Aircraft._WeaponSlot(6, "RocketGunNull", 1);
arrayOf_WeaponSlot[28] = new Aircraft._WeaponSlot(6, "RocketGunAIM9D", 1);
arrayOf_WeaponSlot[29] = new Aircraft._WeaponSlot(6, "RocketGunNull", 1);
Which all makes perfect sense and I can read it from the java no problem at all.
What I can't see is the mapping between weapon slot and mesh hooks.
When you select a loadout, the meshes for the weapons have to be attached to the aircraft mesh using the various named hooks.
I just can't see anywhere that happens.
Anybody know?