mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-11 10:42:58 +03:00
RC4
This commit is contained in:
@@ -103,6 +103,72 @@ class CfgMagazines {
|
||||
descriptionShort = "Caliber: 7.62x51mm NATO <br/>Rounds: 100 <br/>Used in: M240, Mk 48 Mod 0";
|
||||
model = "\ca\CommunityConfigurationProject_E\Gameplay_ActualModelsOfWeaponMagazinesVisibleOnTheGround\p3d\100Rnd_762x51_M240.p3d";
|
||||
};
|
||||
|
||||
|
||||
class ItemMixOil : CA_Magazine {
|
||||
scope = 2;
|
||||
displayName = "2-Stroke Engine Oil";
|
||||
picture = "\CA\weapons\data\equip\m_m240_ca.paa"; // TODO: Icon
|
||||
count = 1;
|
||||
type = "256";
|
||||
descriptionShort = "";
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = "Mix Chainsaw Gas"; // TODO: localize
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"CSGAS",1},{"ItemJerrycanEmpty",1}};
|
||||
input[] = {{"ItemMixOil",1},{"ItemJerrycan",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CSGAS : CA_Magazine {
|
||||
scope = 2;
|
||||
type = VSoft;
|
||||
displayName = "Gas";
|
||||
descriptionShort = "Gas for Chainsaw";
|
||||
count = 1000;
|
||||
picture = "\CA\weapons\data\equip\m_m240_ca.paa";
|
||||
ammo = "Chainsaw_Swing_Ammo";
|
||||
|
||||
initSpeed = 100;
|
||||
maxLeadSpeed = 15;
|
||||
tracersEvery = 0;
|
||||
lastRoundsTracer = 0;
|
||||
|
||||
optics = false;
|
||||
distanceZoomMin = 0;
|
||||
distanceZoomMax = 0;
|
||||
|
||||
showEmpty = 0;
|
||||
autoReload = true;
|
||||
canLock = LockNo;
|
||||
|
||||
//
|
||||
burst = 1;
|
||||
multiplier = 1;
|
||||
ffMagnitude = 0.1;
|
||||
ffFrequency = 1;
|
||||
ffCount = 1;
|
||||
|
||||
class HitEffects {
|
||||
hit_blood = "ImpactBlood";
|
||||
hit_concrete = "ImpactConcrete";
|
||||
hit_foliage = "ImpactWood";
|
||||
hit_foliage_green = "ImpactWood";
|
||||
hit_glass = "ImpactGlass";
|
||||
hit_glass_thin = "ImpactGlassThin";
|
||||
hit_metal = "ImpactMetal";
|
||||
hit_plaster = "ImpactPlaster";
|
||||
hit_rubber = "ImpactRubber";
|
||||
hit_wood = "ImpactWood";
|
||||
};
|
||||
};
|
||||
|
||||
class 200Rnd_762x51_M240 : 100Rnd_762x51_M240 {
|
||||
count = 200;
|
||||
};
|
||||
@@ -389,7 +455,7 @@ class CfgMagazines {
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "HowTo: Wood Ramp";
|
||||
displayName = "Wood Ramp";
|
||||
model = "\z\addons\dayz_epoch\models\doc_ramp.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_doc_ramp_ca.paa";
|
||||
descriptionShort = "Document used in building a wooden ramp.";
|
||||
@@ -998,8 +1064,8 @@ class CfgMagazines {
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_211;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"ItemGoldBar",10}};
|
||||
input[] = {{"ItemGoldBar10oz",1}};
|
||||
};
|
||||
@@ -1020,8 +1086,8 @@ class CfgMagazines {
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_210;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"ItemSilverBar10oz",1}};
|
||||
input[] = {{"ItemSilverBar",10}};
|
||||
};
|
||||
@@ -1043,8 +1109,8 @@ class CfgMagazines {
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_211;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"ItemSilverBar",10}};
|
||||
input[] = {{"ItemSilverBar10oz",1}};
|
||||
};
|
||||
@@ -1065,8 +1131,8 @@ class CfgMagazines {
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_210;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"ItemCopperBar10oz",1}};
|
||||
input[] = {{"ItemCopperBar",10}};
|
||||
};
|
||||
@@ -1088,8 +1154,8 @@ class CfgMagazines {
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_211;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"ItemCopperBar",10}};
|
||||
input[] = {{"ItemCopperBar10oz",1}};
|
||||
};
|
||||
@@ -1132,8 +1198,8 @@ class CfgMagazines {
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_211;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"ItemAluminumBar",10}};
|
||||
input[] = {{"ItemAluminumBar10oz",1}};
|
||||
};
|
||||
@@ -4839,6 +4905,7 @@ class CfgMagazines {
|
||||
};
|
||||
|
||||
#include "CfgMagazines\MeleeSwing.hpp"
|
||||
#include "CfgMagazines\Fuelcan.hpp"
|
||||
|
||||
class HandGrenade_Stone;
|
||||
class ItemTrashToiletpaper : HandGrenade_Stone {
|
||||
|
||||
@@ -1,3 +1,70 @@
|
||||
class Mode_SemiAuto
|
||||
{
|
||||
multiplier = 1;
|
||||
burst = 1;
|
||||
dispersion = 0.0002;
|
||||
sound[] = {"",10,1};
|
||||
soundBegin[] = {"sound",1};
|
||||
soundEnd[] = {};
|
||||
soundLoop[] = {};
|
||||
soundContinuous = 0;
|
||||
soundBurst = 1;
|
||||
reloadTime = 0.1;
|
||||
ffCount = 1;
|
||||
ffMagnitude = 0.5;
|
||||
ffFrequency = 11;
|
||||
flash = "gunfire";
|
||||
flashSize = 0.1;
|
||||
recoil = "Empty";
|
||||
recoilProne = "Empty";
|
||||
autoFire = 0;
|
||||
aiRateOfFire = 0.5;
|
||||
aiRateOfFireDistance = 500;
|
||||
useAction = 0;
|
||||
useActionTitle = "";
|
||||
showToPlayer = 1;
|
||||
minRange = 30;
|
||||
minRangeProbab = 0.25;
|
||||
midRange = 300;
|
||||
midRangeProbab = 0.58;
|
||||
maxRange = 600;
|
||||
maxRangeProbab = 0.04;
|
||||
artilleryDispersion = 1;
|
||||
artilleryCharge = 1;
|
||||
displayName = "Semi";
|
||||
};
|
||||
class Mode_Burst: Mode_SemiAuto
|
||||
{
|
||||
sound[] = {"",10,1};
|
||||
soundLoop[] = {"sound",1};
|
||||
soundEnd[] = {"sound",1};
|
||||
soundBurst = 1;
|
||||
burst = 3;
|
||||
dispersion = 0.0005;
|
||||
minRange = 10;
|
||||
minRangeProbab = 0.3;
|
||||
midRange = 60;
|
||||
midRangeProbab = 0.58;
|
||||
maxRange = 150;
|
||||
maxRangeProbab = 0.04;
|
||||
displayName = "Burst";
|
||||
};
|
||||
class Mode_FullAuto: Mode_SemiAuto
|
||||
{
|
||||
dispersion = 0.0005;
|
||||
sound[] = {"",10,1};
|
||||
soundEnd[] = {"sound",1};
|
||||
soundContinuous = 0;
|
||||
reloadTime = 0.08;
|
||||
autoFire = 1;
|
||||
minRange = 1;
|
||||
minRangeProbab = 0.2;
|
||||
midRange = 30;
|
||||
midRangeProbab = 0.58;
|
||||
maxRange = 80;
|
||||
maxRangeProbab = 0.04;
|
||||
displayName = "Full";
|
||||
};
|
||||
class CfgWeapons {
|
||||
|
||||
class Pecheneg;
|
||||
@@ -12,6 +79,108 @@ class CfgWeapons {
|
||||
class ItemCore;
|
||||
class Crossbow;
|
||||
class Rifle;
|
||||
|
||||
class ChainSaw: Rifle
|
||||
{
|
||||
scope = 2;
|
||||
|
||||
/*
|
||||
bullet1[] = {"ca\sounds\weapons\shells\big_shell_wood_01",0.0707946,1,15};
|
||||
bullet2[] = {"ca\sounds\weapons\shells\big_shell_wood_02",0.0707946,1,15};
|
||||
bullet3[] = {"ca\sounds\weapons\shells\big_shell_wood_03",0.0707946,1,15};
|
||||
bullet4[] = {"ca\sounds\weapons\shells\big_shell_wood_04",0.0707946,1,15};
|
||||
bullet5[] = {"ca\sounds\weapons\shells\big_shell_wood_05",0.0707946,1,15};
|
||||
bullet6[] = {"ca\sounds\weapons\shells\big_shell_wood_06",0.0707946,1,15};
|
||||
bullet7[] = {"ca\sounds\weapons\shells\big_shell_wood_07",0.0707946,1,15};
|
||||
bullet8[] = {"ca\sounds\weapons\shells\big_shell_dirt_04",0.0707946,1,15};
|
||||
bullet9[] = {"ca\sounds\weapons\shells\big_shell_soft_01",0.0707946,1,15};
|
||||
bullet10[] = {"ca\sounds\weapons\shells\big_shell_soft_02",0.0707946,1,15};
|
||||
bullet11[] = {"ca\sounds\weapons\shells\big_shell_soft_03",0.0707946,1,15};
|
||||
bullet12[] = {"ca\sounds\weapons\shells\big_shell_soft_04",0.0707946,1,15};
|
||||
*/
|
||||
|
||||
//soundBullet[] = {"bullet1",0.083,"bullet2",0.083,"bullet3",0.083,"bullet4",0.083,"bullet5",0.083,"bullet6",0.083,"bullet7",0.083,"bullet8",0.083,"bullet9",0.083,"bullet10",0.083,"bullet11",0.083,"bullet12",0.083};
|
||||
|
||||
emptySound[] = {"",10,1};
|
||||
soundBullet[] = {"emptySound",1};
|
||||
|
||||
|
||||
model = "\z\addons\dayz_epoch\models\chainsaw.p3d";
|
||||
|
||||
picture = "\CA\weapons\data\equip\w_m240_ca.paa";
|
||||
|
||||
displayName = "Chainsaw";
|
||||
|
||||
cursor = "";
|
||||
cursoraim = "\ca\Weapons\Data\clear_empty";
|
||||
|
||||
modes[] = {"manual"};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\z\addons\dayz_code\anim\saw_idle.rtm"
|
||||
};
|
||||
class manual: Mode_FullAuto
|
||||
{
|
||||
recoil = "recoil_auto_machinegun_10outof10";
|
||||
recoilProne = "recoil_auto_machinegun_prone_10outof10";
|
||||
|
||||
dispersion = 0.2;
|
||||
|
||||
begin1[] = {"\dayz_sfx\chainsaw\running2.ogg",1.77828,1,1000};
|
||||
soundBegin[] = {"begin1",1};
|
||||
|
||||
//end1[] = {"\dayz_sfx\chainsaw\running2.ogg",1.77828,1,1000};
|
||||
//soundEnd[] = {"end1",1};
|
||||
|
||||
distanceZoomMin = 50;
|
||||
distanceZoomMax = 50;
|
||||
canDrop = 0;
|
||||
UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";
|
||||
optics = 1;
|
||||
modelOptics = "-";
|
||||
|
||||
burst = 1;
|
||||
multiplier = 1;
|
||||
|
||||
soundContinuous = 0;
|
||||
soundBurst = 0;
|
||||
|
||||
useAction = 0;
|
||||
useActionTitle = "";
|
||||
|
||||
// from hatchet
|
||||
minRange = 0.5;
|
||||
minRangeProbab = 0.8;
|
||||
midRange = 1;
|
||||
midRangeProbab = 1.5;
|
||||
maxRange = 2;
|
||||
maxRangeProbab = 2.5;
|
||||
|
||||
showToPlayer = 1;
|
||||
//reloadTime = 0.0708762;
|
||||
reloadTime = 0.12;
|
||||
displayName = "Gas";
|
||||
};
|
||||
aiDispersionCoefY = 21;
|
||||
aiDispersionCoefX = 21;
|
||||
dexterity = 0.51;
|
||||
reloadMagazineSound[] = {"\dayz_sfx\effects\action_refuel_0.ogg",0.1,1,20};
|
||||
drySound[] = {"\dayz_sfx\chainsaw\start-attempt.ogg",0.01,1,10};
|
||||
magazines[] = {"CSGAS"};
|
||||
class Library
|
||||
{
|
||||
libTextDesc = "Horlite Chainsaw";
|
||||
};
|
||||
descriptionShort = "Horlite Chainsaw";
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class MeleeWeapon : Rifle {
|
||||
canDrop = true;
|
||||
};
|
||||
|
||||
@@ -58,7 +58,7 @@ class CfgAmmo {
|
||||
};
|
||||
class Melee;
|
||||
class Machete_Swing_Ammo : Melee {
|
||||
hit = 6;
|
||||
hit = 3;
|
||||
simulation = "shotSpread";
|
||||
minRange = 0.5;
|
||||
minRangeProbab = 0.8;
|
||||
@@ -73,14 +73,29 @@ class CfgAmmo {
|
||||
soundEngine[] = {"", db-80, 4};
|
||||
};
|
||||
class Hatchet_Swing_Ammo : Melee {
|
||||
hit = 6;
|
||||
simulation = "shotSpread";
|
||||
minRange = 0.5;
|
||||
hit = 9;
|
||||
simulation = "shotBullet";
|
||||
minRange = 1;
|
||||
minRangeProbab = 0.8;
|
||||
midRange = 2;
|
||||
midRangeProbab = 3.5;
|
||||
maxRange = 5;
|
||||
maxRangeProbab = 5;
|
||||
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;
|
||||
@@ -88,7 +103,7 @@ class CfgAmmo {
|
||||
soundEngine[] = {"", db-80, 4};
|
||||
};
|
||||
class Crowbar_Swing_Ammo : Melee {
|
||||
hit = 4;
|
||||
hit = 2;
|
||||
simulation = "shotSpread";
|
||||
minRange = 0.5;
|
||||
minRangeProbab = 0.8;
|
||||
@@ -118,7 +133,7 @@ class CfgAmmo {
|
||||
soundEngine[] = {"", db-80, 4};
|
||||
};
|
||||
class Sledge_Swing_Ammo : Melee {
|
||||
hit = 15;
|
||||
hit = 12;
|
||||
simulation = "shotBullet";
|
||||
minRange = 1;
|
||||
minRangeProbab = 0.8;
|
||||
|
||||
@@ -186,7 +186,7 @@ class TraderDialog
|
||||
};
|
||||
class RscShortcutButtonTraderDialog_1700: RscShortcutButtonTraderDialog
|
||||
{
|
||||
idc = -1;
|
||||
idc = 12004;
|
||||
text = $STR_EPOCH_PLAYER_291;
|
||||
x = 0.635221 * safezoneW + safezoneX;
|
||||
y = 0.720064 * safezoneH + safezoneY;
|
||||
@@ -196,7 +196,7 @@ class TraderDialog
|
||||
};
|
||||
class RscShortcutButtonTraderDialog_1701: RscShortcutButtonTraderDialog
|
||||
{
|
||||
idc = -1;
|
||||
idc = 12005;
|
||||
text = $STR_EPOCH_PLAYER_292;
|
||||
x = 0.540566 * safezoneW + safezoneX;
|
||||
y = 0.720064 * safezoneH + safezoneY;
|
||||
@@ -261,5 +261,13 @@ class TraderDialog
|
||||
w = 0.0743718 * safezoneW;
|
||||
h = 0.027508 * safezoneH;
|
||||
};
|
||||
class RscStructuredText_1100: RscStructuredText
|
||||
{
|
||||
idc = 12006;
|
||||
x = 0.359214 * safezoneW + safezoneX;
|
||||
y = 0.227167 * safezoneH + safezoneY;
|
||||
w = 0.369767 * safezoneW;
|
||||
h = 0.0543546 * safezoneH;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user