Sample from "\sebnam_wp\config.cpp":
class sebsks: Riffle
{
scopeWeapon=2;
scopeMagazine=0;
displayName = "Simonov SKS";
displayNameMagazine = "SKS- Mag";
shortNameMagazine = "SKS-";
model="\sebnam_wp\sebv_sks";
modelOptics="\data3d\optika_ak47.p3d";
picture="\sebnam_wp\w_sks.paa"
optics = true;
opticsZoomMin=0.35;
opticsZoomMax=0.35;
initSpeed=735;
magazines[]={"sebsksmag","sebsksmagn"};
modes[]={"Single"};
class Single
{
ammo = "BulletSingleE";
count = 10;
multiplier=1;
burst=1;
dispersion=0.0175;
sound[]={"Weapons\AK74Single",1.000000,1};
displayName = "SKS-";
soundContinuous=false;
reloadTime=.20;
ffCount=1;
recoil=sniperSingle;
autoFire = false;
aiRateOfFire=1;
aiRateOfFireDistance=450;
useAction = false;
useActionTitle = "";
};
canDrop = true;
};
class sebsksmag: sebsks
{
scopeWeapon=0;
scopeMagazine=2;
count = 10;
picture="\sebnam_wp\m_sks.paa";
canDrop = true;
};
class sebsksmagn: sebsks
{
scopeWeapon=0;
scopeMagazine=2;
count = 10;
displayName = "SEB Simonov (SKS)_N";
picture="\sebnam_wp\m_sks.paa";
canDrop = true;
modes[]={"Single"};
class Single
{
ammo = "BulletSingleE";
count = 10;
multiplier=1;
burst=1;
dispersion=0.0002;
sound[]={"Weapons\AK74Single",1.000000,1};
displayName = "SKS_N";
soundContinuous=false;
reloadTime=.20;
ffCount=1;
recoil=sniperSingle;
autoFire = false;
aiRateOfFire=1;
aiRateOfFireDistance=450;
useAction = false;
useActionTitle = "";
};
};
Any ideas?