Open up rocketlauncher.cs, chaingun.cs, mortar.cs, and skyboltlauncher.cs and copy paste which code you want in each file. For instance, you'd want to copy pretty much everything between lines 6 and 61 from rocketlauncher.cs into chaingun.cs if you want it to fire rockets.
live\server\game\dataBlocks\weapons