Hi!
1) Class to seek: in init field of unit with bolter write:
hint primaryWeapon this
OK, now you know what to seek in cfgWeapons superclass in config.cpp
2)
if you have patch 2.01 installed
http://forums.bohemia.net/forums/topic/215749-unofficial-patch-arma-resistance-201/just try this:
bolterName getWeaponParam "model"
and this
bolterName getWeaponParam "picture"
The result may contain path to config location.
else:
use PBOX utility to find pbo with infantry weapons.
If file has weapon models 90% probability what it has gun configs in config.cpp
If it has models but no config - try check PBOs with similar name.
As an alternative, you can use binary search:
a) move a half of addon files to some folder in /addons directory.
b) now try to add bolter to standard BIS Captive soldier:
this addWeapon bolterClassName
c) if error like "class bolterName not found" occures, you need to seek among moved addons, if not -
check out addons left.
And there is also a small chance what bolter class was defined in mod config.
So just seek for a "bolterName" in bin\config.cpp and in hpp files if any present in bin folder.