Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Rifles/PKM.hpp
A Man d9b9874532 Change scope and type of configs from name to numbers
This got discussed earlier. Since epoch got merged with DayZ Mod we have a different name for the scope and type of configs.  A proper config should use numbers for those entries. This is the same how arma configs are written.  The basicDefines.hpp has all the needed information stored.

Also, this removes the weight entries from the magazines since we have them in a separate folder, so admins can edit them.
2020-05-29 02:04:06 +02:00

25 lines
473 B
C++

class PKM_DZ : PK //Iron sight PKM
{
type = 1;
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 = 1;
};