Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Rifles/PKM.hpp
ebaydayz 61f38fc259 Use number instead of string for weapon slot type in configs
This is consistent with the rest of the weapon configs.

It also avoids issues with using isNumber or getNumber to check slot
type in scripts.
2016-09-18 14:58:35 -04:00

24 lines
504 B
C++

class PKM_DZ : PK //Iron sight PKM
{
type = WeaponSlotPrimary;
model = "z\addons\dayz_communityweapons\pkm\pkm.p3d";
displayName = $STR_DZ_WPN_PKM_NAME;
magazines[] = {100Rnd_762x54_PK};
weaponInfoType = "RscWeaponZeroing";
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000};
discreteDistanceInitIndex = 2;
modes[] = {FullAuto};
class FullAuto : manual
{
reloadTime = 0.08;
};
};
class Pecheneg_DZ: Pecheneg { //PKP with long range scope
type = WeaponSlotPrimary;
};