Open an existing weapon with shadows in O2 and check the selections, you'll easily understand the problem, the LOD to make the shadows from,must have less than 300 polys
See also if you made the pilotView Lod and memory LOD the right way, if you didn't than I sugest a good reading of a nice tutorial.
The command line in the selections is called LodNoShadow, no need to say more