LAW
class LAW: AT3 // soldier RPG
{
hit=500;indirectHit=150;indirectHitRange=2.5;
minRange=20;minRangeProbab=0.50;
midRange=75;midRangeProbab=0.95;
maxRange=250;maxRangeProbab=0.10;
model=LAW;
simulation=shotRocket;
simulationStep=0.05;
cost=5000;
soundHit[]={Explosions\explosion_at3,db30,1};
soundFly[]={objects\noise,db-80,4};
maxSpeed=350;
irLock=true; // no lock on soldier
manualControl=true;
maxControlRange=0; // max range for manual control
initTime=0;
thrustTime=0.2;
thrust=2000;
maneuvrability=0;
};
class RPG: LAW // soldier RPG
{
model=RPG;
};
M203
class M16GrenadeLauncher
{
//--
scopeWeapon = public;
scopeMagazine = private;
weaponType = WeaponSlotPrimary;
valueWeapon = 2;
valueMagazine = 2;
displayName = $STR_DN_M16_GRENADE;
model="m16_granatomet_proxy";
picture="";
uiPicture = igrenadier;
muzzles[] = {M16Muzzle, M203Muzzle};
class M16Muzzle : M16
{
magazines[] = {M16};
};
class M203Muzzle : GrenadeLauncher
{
displayName=$STR_DN_M203;
sound[]={weapons\M16GrenadeLaunch, db-70,1};
magazines[] = {GrenadeLauncher, Flare, FlareGreen, FlareRed, FlareYellow};
//optics = true;
//opticsZoomMin=0.40;
//opticsZoomMax=0.40;
//modelOptics="optika_m16_granatomet";
}
canDrop = true;
};
Handgun
class CfgWeapons
{
class Default {};
class MGun: Default {};
class Riffle: MGun {};
class HandGunBase: Riffle {};
class KEGsw44mBase: HandGunBase
{
access=2;
scopeWeapon=0;
scopeMagazine=0;
aiRateOfFire=0.900000;
aiRateOfFireDistance=50
model="\KEGsw44m\KEGsw44m";
modelOptics="\KEGsw629c\optics_sw66";
picture="\KEGsw44m\gear1.paa";
displayName="S&W .44 Magnum";
displayNameMagazine="S&W .44 Magnum Magazine";
shortNameMagazine="SW .44 Mag";
count=6;
weaponType=2;
magazineType=32;
reloadTime=0.30000;
magazineReloadTime=6;
autoReload=0;
soundContinuous=0;
sound[]={"\KEGsw44m\shot.wav",0.141623,0.85000};
drySound[]={"\KEGsw44m\dry.wav",0.008162,0.9};
reloadMagazineSound[]={"\KEGsw44m\reload.wav",0.004623,0.800000};
magazines[]={"KEGsw44mMag","KEGharryMag"};
recoil="KEGRevolver3Recoil";
backgroundReload=0;
burst=1
multiplier=1
autoFire=0
initSpeed=490;
dispersion=0.002400;
ammo="KEGrev44Ammo";
revolving="mag";
revolvingAxis="mag_ax";
};
};
Note - Handgun config by Kegetys