if its for BHD which mostly every one tried to mod, if you get the mod tools it has a costum script with weapons features, but the best way i find is to just open up the files and search, that way you could find something in the game and already know where it is
working on a small BF mod and just changing weapons maybe models