I note that the config you posted above has cfgModels and cfgNonAiVehicles twice, you might want to fix that.
However, I did a little work on a copy, have a look and try it.
Hopefully it might help a bit till someone with weapon experience comes along.
// some basic defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
// type scope
#define private 0
#define protected 1
#define public 2
#define WeaponNoSlot 0// dummy weapons
#define WeaponSlotPrimary 1// primary weapons
#define WeaponSlotSecondary 16// secondary weapons
#define WeaponSlotItem 256// items
#define WeaponSlotBinocular 4096// binocular
#define WeaponHardMounted 65536
class CfgPatches
{
class M49
{
units[]={};
weapons[]={M49_Observation};
worlds[]={};
requiredVersion=1.85;
};
};
class CfgWeapons
{
class Default {};
class M49_Observation: Default
{
scopeWeapon=2;
scopeMagazine=1;
model="\M49\m49telecope_proxy.p3d";
modelOptics="";
valueWeapon = 5;
weaponType = WeaponSlotSecondary;
magazineType = WeaponNoSlot;
ammo=;
displayName="M49";
picture="\M49\w_m49.pac";
reloadTime=0.0;
canLock=LockNo;
optics = true;
forceOptics = true;
primary = false;
opticsZoomMin = 20;
opticsZoomMax = 20;
distanceZoomMin = 20;
distanceZoomMax =
magazines[] = {};
};
};
class CfgAmmo
{
class Default {};
};
class CfgModels
{
class Default { };
class M49: Default
{
sections[]={""};
sectionsInherit="";
};
};
class CfgNonAIVehicles
{
class ProxySecWeapon {};
class ProxyM49telescope_proxy: ProxySecWeapon {};
};
If you use this config, you need to rename your P3D file to:
m49telecope_proxy.p3d
Let me know if it helps any.
btw: Yes I knew about the Binocular section in the commented configs, haven't noticed anything in the command reference though.
Planck