Files
DayZ-Epoch/SQF/dayz_code/Configs/cfgAmmo.hpp
[VB]AWOL 953315c5fc RC4
2013-12-03 11:49:53 -06:00

151 lines
3.0 KiB
C++

class CfgAmmo {
class BulletBase;
//mak
class B_9x18_Ball : BulletBase {
airfriction = -0.002751;
audiblefire = 15;
caliber = 0.33;
cartridge = "FxCartridge_9mm";
cost = 5;
hit = 6;
typicalspeed = 350;
visiblefire = 15;
};
//macSD
class B_9x18_SD : B_9x18_Ball {
airfriction = -0.001893;
audiblefire = 0.035;
cost = 5;
hit = 6;
typicalspeed = 310;
visiblefire = 0.035;
visiblefiretime = 2;
};
//1911
class B_45ACP_Ball : BulletBase {
airfriction = -0.0013522;
audiblefire = 16;
caliber = 0.33; //33
cartridge = "FxCartridge_9mm";
cost = 5;
hit = 9;
indirecthit = 0;
indirecthitrange = 0;
typicalspeed = 260;
visiblefire = 16;
};
//VSS_Vintorez
class B_9x39_SP5 : BulletBase {
hit = 13;
indirectHit = 0;
indirectHitRange = 0;
cartridge = "FxCartridge_9mm";
cost = 5;
typicalSpeed = 300;
visibleFire = 0.07;
audibleFire = 0.07;
visibleFireTime = 2;
airFriction = -0.001;
caliber = 0.33;
};
class Bolt;
class WoodenArrow : Bolt {
model = "\dayz_weapons\models\bolt";
hit = 8;
caliber = 0.33;
};
class Melee;
class Machete_Swing_Ammo : Melee {
hit = 3;
simulation = "shotSpread";
minRange = 0.5;
minRangeProbab = 0.8;
midRange = 2;
midRangeProbab = 3.5;
maxRange = 5;
maxRangeProbab = 5;
explosive = 0;
simulationStep = 0.001;
timeToLive = 0.03;
soundHit[] = {"", db-90, 1};
soundEngine[] = {"", db-80, 4};
};
class Hatchet_Swing_Ammo : Melee {
hit = 9;
simulation = "shotBullet";
minRange = 1;
minRangeProbab = 0.8;
midRange = 2;
midRangeProbab = 1.5;
maxRange = 3;
maxRangeProbab = 2.5;
explosive = 0;
simulationStep = 0.001;
timeToLive = 0.03;
soundHit[] = {"", db-90, 1};
soundEngine[] = {"", db-80, 4};
};
class Chainsaw_Swing_Ammo : Melee {
hit = 9;
simulation = "shotBullet";
minRange = 1;
minRangeProbab = 0.8;
midRange = 2;
midRangeProbab = 1.5;
maxRange = 3;
maxRangeProbab = 2.5;
explosive = 0;
simulationStep = 0.001;
timeToLive = 0.03;
soundHit[] = {"", db-90, 1};
soundEngine[] = {"", db-80, 4};
};
class Crowbar_Swing_Ammo : Melee {
hit = 2;
simulation = "shotSpread";
minRange = 0.5;
minRangeProbab = 0.8;
midRange = 2;
midRangeProbab = 3.5;
maxRange = 5;
maxRangeProbab = 5;
explosive = 0;
simulationStep = 0.001;
timeToLive = 0.03;
soundHit[] = {"", db-90, 1};
soundEngine[] = {"", db-80, 4};
};
class Fishing_Swing_Ammo : Melee {
hit = 1;
simulation = "shotSpread";
minRange = 0.5;
minRangeProbab = 0.8;
midRange = 2;
midRangeProbab = 3.5;
maxRange = 5;
maxRangeProbab = 5;
explosive = 0;
simulationStep = 0.001;
timeToLive = 0.03;
soundHit[] = {"", db-90, 1};
soundEngine[] = {"", db-80, 4};
};
class Sledge_Swing_Ammo : Melee {
hit = 12;
simulation = "shotBullet";
minRange = 1;
minRangeProbab = 0.8;
midRange = 2;
midRangeProbab = 1.5;
maxRange = 3;
maxRangeProbab = 2.5;
explosive = 0;
simulationStep = 0.001;
timeToLive = 0.03;
soundHit[] = {"", db-90, 1};
soundEngine[] = {"", db-80, 4};
};
};