I just spent some time fiddling around with the GH1 code, and wanted to ask this before I broke anything else.
It looks like that in order to add a new type of weapon and a new type of ammunition for that weapon, I have to modify ghpmacro.txt and ghweapon.pp. Is there anything else I need to change? I've been trying to add two new weapon types, each with their own ammunition, but the game insists on calling them Missile Launchers, giving them 0.5 kg, and generating them destroyed. It's like the game doesn't realize that I'm trying to add a new weapon type.
Here are the entries for ghpmacro.txt that I made:
TechGun <4 6 ?3>
Bow <4 7 ?3>
PowerPack <5 6 ?3>
Arrows <5 7 ?3>
I've also altered the DefaultWeaponName array in ghweapon and added the following lines:
GS_TechGun = 6;
GS_Bow = 7;
Later I'm hoping to create addons for these weapons, which would also seem to involved ghpmacro and ghweapon.