Add CZ550 and Enfield bolt animations by @Streatman

Vanilla commits:

a9dfb45bec

4d4373ba80

8dc4f22346

7fa4ba43fe

d8fd0dd0dc
This commit is contained in:
ebayShopper
2017-06-10 09:13:06 -04:00
parent 72df07bdf2
commit 90d84648cd
4 changed files with 37 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
[NEW] Added DZE_limitPlots so admins can limit plot poles to 1 per UID, disabled by default. @oiad [NEW] Added DZE_limitPlots so admins can limit plot poles to 1 per UID, disabled by default. @oiad
[NEW] Pumpkin, sunflower, and hemp plants spawned with createVehicle can be harvested with a knife now. #1928 @F507DMT [NEW] Pumpkin, sunflower, and hemp plants spawned with createVehicle can be harvested with a knife now. #1928 @F507DMT
[NEW] The journal and dayz_survived variable now contain actual play time [array] instead of days since the character was created [number]. [NEW] The journal and dayz_survived variable now contain actual play time [array] instead of days since the character was created [number].
[NEW] Added secondary iron sight to CZ550 and bolt animations to CZ550 and LeeEnfield by @Streatman
[UPDATED] Zombie pathing. Zeds should now run more direct to players. [UPDATED] Zombie pathing. Zeds should now run more direct to players.
[UPDATED] The RIS attachment can be removed from the SA58_RIS_DZ now. @LunaCB [UPDATED] The RIS attachment can be removed from the SA58_RIS_DZ now. @LunaCB

View File

@@ -78,7 +78,13 @@ class CfgWeapons
class M14_EP1; class M14_EP1;
#include "Rifles\M14.hpp" #include "Rifles\M14.hpp"
class M24; class M24 : Rifle
{
class OpticsModes
{
class StepScope;
};
};
#include "Rifles\M24.hpp" #include "Rifles\M24.hpp"
class M40A3; class M40A3;
@@ -141,7 +147,7 @@ class CfgWeapons
class bizon_silenced; class bizon_silenced;
#include "Rifles\Bizon.hpp" #include "Rifles\Bizon.hpp"
class huntingrifle; class huntingrifle : M24 {};
#include "Rifles\CZ550.hpp" #include "Rifles\CZ550.hpp"
class LeeEnfield; class LeeEnfield;

View File

@@ -1,4 +1,31 @@
class CZ550_DZ : Huntingrifle class CZ550_DZ : Huntingrifle
{ {
model = "z\addons\dayz_communityweapons\CZ550\CZ550.p3d";
magazines[] = {5Rnd_17HMR}; magazines[] = {5Rnd_17HMR};
//CZ550_SCOPE
optics = true;
modelOptics = "\ca\weapons\2Dscope_Hunter_12";
class OpticsModes : OpticsModes
{
class StepScope : StepScope {};
class Ironsights
{
opticsID = 2;
useModelOptics = false;
opticsFlare = false;
opticsDisablePeripherialVision = false;
opticsZoomMin = 0.25;
opticsZoomMax = 1.1;
opticsZoomInit = 0.5;
distanceZoomMin = 100;
distanceZoomMax = 100;
memoryPointCamera = "eye";
visionMode[] = {};
opticsPPEffects[] = {};
cameraDir = "";
};
};
//CZ550_SCOPE end
}; };

View File

@@ -1,4 +1,5 @@
class LeeEnfield_DZ : LeeEnfield class LeeEnfield_DZ : LeeEnfield
{ {
model = "z\addons\dayz_communityweapons\LeeEnfield\LeeEnfield.p3d";
magazines[] = {10Rnd_303British}; magazines[] = {10Rnd_303British};
}; };