I followed the code of Dr.Shadowborgh to make a new weapon in Quake1. I added the Q2 g_rail gun and assigned it to the double shotgun.
 
 So far so good.
 
 Now my concern is starting a game with the g_rail.mdl. 
 Although this weapon is coded on the doubleshotgun (3) it loses its touch when I switch to the shotgun. 
 So when I still have enough cells to shoot, the game only offers me the railgun again when I collect the DS. 
 So stop shooting is gone gun.
 
 I am forced to add a double shotgun too before I can acces the railgun again.
 
 Is there a model-code to solve this?.
 example:
 
http://members.home.nl/gimli/grail.zip