mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
CFG WEAPONS DONE
This commit is contained in:
310
SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp
Normal file
310
SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp
Normal file
@@ -0,0 +1,310 @@
|
||||
class Mode_SemiAuto;
|
||||
class Mode_Burst;
|
||||
class Mode_FullAuto;
|
||||
class HandGrenade;
|
||||
|
||||
class CfgWeapons
|
||||
{
|
||||
class Default
|
||||
{
|
||||
canlock = LockNo;
|
||||
};
|
||||
|
||||
class ItemCore;
|
||||
class Rifle;
|
||||
class Pistol;
|
||||
class PistolCore;
|
||||
class GrenadeLauncher;
|
||||
|
||||
class Pecheneg;
|
||||
class Pecheneg_DZ: Pecheneg {
|
||||
type = "1";
|
||||
};
|
||||
class PK;
|
||||
class PK_DZ: PK {
|
||||
type = "1";
|
||||
};
|
||||
|
||||
|
||||
/* Dummy weapons */
|
||||
#include "Throw.hpp"
|
||||
#include "Loot.hpp"
|
||||
|
||||
//Sniper Rifles
|
||||
#include "Weapon\Sniper\AS50.hpp"
|
||||
#include "Weapon\Sniper\M107.hpp"
|
||||
#include "Weapon\Sniper\KSVK.hpp"
|
||||
|
||||
//each include is preceded by its required external references.
|
||||
|
||||
/* RIFLES */
|
||||
|
||||
class AK_74;
|
||||
class AKS_74_UN_kobra;
|
||||
#include "Rifles\AK74.hpp"
|
||||
|
||||
class AKS_74_U;
|
||||
#include "Rifles\AKS74U.hpp"
|
||||
|
||||
class AK_47_M;
|
||||
#include "Rifles\AKM.hpp"
|
||||
|
||||
#include "Rifles\RPK.hpp"
|
||||
|
||||
class DMR;
|
||||
#include "Rifles\DMR.hpp"
|
||||
|
||||
class FN_FAL;
|
||||
class FN_FAL_ANPVS4;
|
||||
#include "Rifles\FNFAL.hpp"
|
||||
|
||||
class G36C : Rifle
|
||||
{
|
||||
class Single;
|
||||
class Burst;
|
||||
class FullAuto;
|
||||
};
|
||||
class G36_C_SD_eotech : G36C
|
||||
{
|
||||
class Single;
|
||||
class Burst;
|
||||
class FullAuto;
|
||||
};
|
||||
#include "Rifles\G36.hpp"
|
||||
#include "Rifles\G36C.hpp"
|
||||
|
||||
class M4A1;
|
||||
class M4A1_AIM_SD_camo;
|
||||
#include "Rifles\M4A1.hpp"
|
||||
|
||||
class M14_EP1;
|
||||
#include "Rifles\M14.hpp"
|
||||
|
||||
class M24;
|
||||
#include "Rifles\M24.hpp"
|
||||
|
||||
class M40A3;
|
||||
#include "Rifles\M40A3.hpp"
|
||||
|
||||
class M249;
|
||||
#include "Rifles\M249.hpp"
|
||||
|
||||
class BAF_L110A1_Aim;
|
||||
#include "Rifles\L110A1.hpp"
|
||||
|
||||
class M240;
|
||||
#include "Rifles\M240.hpp"
|
||||
|
||||
#include "Weapon\LMG\M60A4.hpp"
|
||||
|
||||
class M1014 : Rifle
|
||||
{
|
||||
class Single;
|
||||
};
|
||||
#include "Rifles\M1014.hpp"
|
||||
|
||||
class Mk_48;
|
||||
#include "Rifles\Mk48.hpp"
|
||||
|
||||
class PK : Rifle
|
||||
{
|
||||
class manual;
|
||||
};
|
||||
#include "Rifles\PKM.hpp"
|
||||
|
||||
#include "Rifles\UK59.hpp"
|
||||
|
||||
class RPK_74;
|
||||
#include "Rifles\RPK74.hpp"
|
||||
|
||||
class SVD;
|
||||
#include "Rifles\SVD.hpp"
|
||||
|
||||
#include "Rifles\Mosin.hpp"
|
||||
|
||||
class MP5A5;
|
||||
class MP5SD;
|
||||
#include "Rifles\MP5.hpp"
|
||||
|
||||
class M16A2;
|
||||
class M16A2GL;
|
||||
#include "Rifles\M16A2.hpp"
|
||||
#include "Rifles\M16A4.hpp"
|
||||
|
||||
class Sa58V_EP1;
|
||||
#include "Rifles\SA58.hpp"
|
||||
|
||||
class BAF_L85A2_RIS_Holo;
|
||||
#include "Rifles\L85.hpp"
|
||||
|
||||
class bizon;
|
||||
class bizon_silenced;
|
||||
#include "Rifles\Bizon.hpp"
|
||||
|
||||
class huntingrifle;
|
||||
#include "Rifles\CZ550.hpp"
|
||||
|
||||
class LeeEnfield;
|
||||
#include "Rifles\LeeEnfield.hpp"
|
||||
|
||||
#include "Rifles\MR43.hpp"
|
||||
#include "Rifles\Winchester1866.hpp"
|
||||
#include "Rifles\Remington870.hpp"
|
||||
#include "Rifles\Crossbow.hpp"
|
||||
|
||||
/* PISTOLS */
|
||||
|
||||
class M9;
|
||||
class M9SD;
|
||||
#include "Pistols\M9.hpp"
|
||||
|
||||
class glock17_EP1;
|
||||
#include "Pistols\G17.hpp"
|
||||
|
||||
class Colt1911;
|
||||
#include "Pistols\M1911.hpp"
|
||||
|
||||
class Makarov;
|
||||
class MakarovSD;
|
||||
#include "Pistols\Makarov.hpp"
|
||||
|
||||
class UZI_EP1;
|
||||
#include "Pistols\PDW.hpp"
|
||||
|
||||
class revolver_EP1;
|
||||
#include "Pistols\Revolver.hpp"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* MELEE */
|
||||
|
||||
class MeleeWeapon : Rifle
|
||||
{
|
||||
melee = true;
|
||||
canDrop = true;
|
||||
|
||||
distanceZoomMin = 50;
|
||||
distanceZoomMax = 50;
|
||||
fireLightDuration = 0;
|
||||
fireLightIntensity = 0;
|
||||
|
||||
autoReload = true;
|
||||
magazineReloadTime = 0;
|
||||
|
||||
soundBullet[] = {"emptySound", 1};
|
||||
drySound[] = {"", 1, 1};
|
||||
reloadMagazineSound[] = {"", 1, 1};
|
||||
|
||||
cursor = "Vehicle_Grenade_W";
|
||||
cursorAim = "\ca\Weapons\Data\clear_empty";
|
||||
cursorSize = 1;
|
||||
|
||||
handAnim[] = {"OFP2_ManSkeleton","\dayz_weapons\anim\melee_hatchet_holding.rtm"};
|
||||
|
||||
modes[] = {Single};
|
||||
|
||||
class Single : Mode_FullAuto
|
||||
{
|
||||
displayName = $STR_ACTION_HACK;
|
||||
dispersion = 0.1;
|
||||
reloadTime = 1;
|
||||
recoil = "DZ_Swing";
|
||||
recoilProne = "DZ_Swing";
|
||||
|
||||
sound[] = {"", 0, 1};
|
||||
swing0[] = {"dayz_weapons\sounds\swing_0", 1.77828, 1, 30};
|
||||
swing1[] = {"dayz_weapons\sounds\swing_1", 1.77828, 1, 30};
|
||||
soundBegin[] = {"swing0", 0.5, "swing1", 0.5};
|
||||
};
|
||||
};
|
||||
|
||||
#include "Melee\Hatchet.hpp"
|
||||
#include "Melee\Crowbar.hpp"
|
||||
#include "Melee\Machete.hpp"
|
||||
#include "Melee\BaseballBat.hpp"
|
||||
#include "Melee\FishingPole.hpp"
|
||||
#include "Melee\MeleeSledgehammer.hpp"
|
||||
|
||||
|
||||
/* TOOLS */
|
||||
|
||||
#include "Tools\Binocular.hpp"
|
||||
#include "Tools\Chainsaw.hpp"
|
||||
|
||||
#include "Tools\Map.hpp"
|
||||
#include "Tools\Compass.hpp"
|
||||
#include "Tools\GPS.hpp"
|
||||
#include "Tools\Watch.hpp"
|
||||
|
||||
#include "Tools\Knife.hpp"
|
||||
#include "Tools\Matchbox.hpp"
|
||||
|
||||
#include "Tools\Toolbox.hpp"
|
||||
#include "Tools\Etool.hpp"
|
||||
|
||||
#include "Tools\FishingPole.hpp"
|
||||
#include "Tools\Shovel.hpp"
|
||||
#include "Tools\Pickaxe.hpp"
|
||||
#include "Tools\Sledgehammer.hpp"
|
||||
|
||||
#include "Tools\Crowbar.hpp"
|
||||
#include "Tools\Hatchet.hpp"
|
||||
#include "Tools\Machete.hpp"
|
||||
|
||||
#include "Tools\Flashlight.hpp"
|
||||
#include "Tools\FlashlightRed.hpp"
|
||||
|
||||
#include "Item\Flare.hpp"
|
||||
#include "Item\ItemKeyKit.hpp"
|
||||
#include "Item\ItemKeys.hpp"
|
||||
|
||||
|
||||
/* OTHER */
|
||||
|
||||
/*class ItemFlashlightEmpty : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_5;
|
||||
model = "\dayz_equip\models\flashlight.p3d";
|
||||
picture = "\dayz_equip\textures\equip_flashlight_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_5;
|
||||
};
|
||||
|
||||
class ItemSodaEmpty : HandGrenade
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_35;
|
||||
model = "\dayz_equip\models\soda_coke_e.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_empty_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_35;
|
||||
ammo = "SodaCan";
|
||||
class ItemActions
|
||||
{
|
||||
class Drink
|
||||
{
|
||||
text = "Drink";
|
||||
script = "spawn player_drinkWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class TrashTinCan : HandGrenade
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_33;
|
||||
model = "\dayz_equip\models\trash_tincan.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tincan_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_33;
|
||||
ammo = "TinCan";
|
||||
class ItemActions
|
||||
{
|
||||
class Drink
|
||||
{
|
||||
text = "Drink";
|
||||
script = "spawn player_drinkWater;";
|
||||
};
|
||||
};
|
||||
};*/
|
||||
};
|
||||
@@ -1,31 +0,0 @@
|
||||
class MeleeFlashlight : Pistol {
|
||||
class ItemActions {
|
||||
class Toolbelt {
|
||||
text = $STR_EPOCH_PLAYER_296;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemFlashlight : ItemCore {
|
||||
class ItemActions {
|
||||
class Toolbelt {
|
||||
text = $STR_EPOCH_PLAYER_295;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeFlashlightRed : MeleeFlashlight {
|
||||
class ItemActions {
|
||||
class Toolbelt {
|
||||
text = $STR_EPOCH_PLAYER_296;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemFlashlightRed : ItemCore {
|
||||
class ItemActions {
|
||||
class Toolbelt {
|
||||
text = $STR_EPOCH_PLAYER_295;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
class ItemCompass: ItemCore {
|
||||
model="z\addons\dayz_communityassets\models\compass.p3d";
|
||||
};
|
||||
@@ -1,6 +0,0 @@
|
||||
//NotWorking _DZ Remove
|
||||
class ItemEtool: ItemCore {
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_ETOOL;
|
||||
descriptionShort = $STR_EQUIP_DESC_1;
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
class ItemMap: ItemCore {
|
||||
model="z\addons\dayz_communityassets\models\map.p3d";
|
||||
};
|
||||
@@ -1,11 +0,0 @@
|
||||
class ItemMap_Debug: ItemCore {
|
||||
descriptionshort = "Debug Map - Admin use only";
|
||||
displayname = "Map";
|
||||
picture = "\ca\ui\data\gear_picture_map_ca.paa";
|
||||
scope = 2;
|
||||
simulation = "ItemMap";
|
||||
class Library {
|
||||
libtextdesc = "Debug Map - Admin use only";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
class ItemShovel: ItemCore
|
||||
{
|
||||
scope=2;
|
||||
displayName="Shovel";
|
||||
model="\z\addons\dayz_communityassets\models\shovel.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_shovel_ca.paa";
|
||||
descriptionShort="Shovel";
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
class ItemWatch: ItemCore {
|
||||
model="z\addons\dayz_communityassets\models\watch.p3d";
|
||||
};
|
||||
@@ -6,7 +6,47 @@ class Loot: Default
|
||||
displayName = "Use";
|
||||
canDrop = 0;
|
||||
muzzles[] = {"this"};
|
||||
magazines[] = {"FoodBioMeat","ItemZombieParts","ItemBandage","ItemHeatPack","PartWoodPile","PartFueltank","PartWheel","PartGeneric","PartEngine","PartVRotor","PartGlass","ItemWaterbottle","ItemWaterbottleUnfilled","ItemEpinephrine","ItemGoldBar","ItemSilverBar","ItemMorphine","ItemBloodbag","ItemAntibiotic","ItemPainkiller","ItemJerrycan","ItemOilBarrel","ItemGenerator","ItemTent","ItemSandbag","ItemTankTrap","ItemWire","FoodSteakRaw","TrashTinCan","ItemSodaCoke","ItemSodaPepsi","ItemSodaMdew","FoodEdible","FoodSteakCooked","FoodCanBakedBeans","FoodCanSardines","FoodCanFrankBeans","FoodCanPasta"};
|
||||
magazines[] = {
|
||||
"ItemSepsisBandage",
|
||||
"FoodBioMeat",
|
||||
"ItemZombieParts",
|
||||
"ItemBandage",
|
||||
"ItemHeatPack",
|
||||
"PartWoodPile",
|
||||
"PartFueltank",
|
||||
"PartWheel",
|
||||
"PartGeneric",
|
||||
"PartEngine",
|
||||
"PartVRotor",
|
||||
"PartGlass",
|
||||
"ItemWaterbottle",
|
||||
"ItemWaterbottleUnfilled",
|
||||
"ItemEpinephrine",
|
||||
"ItemGoldBar",
|
||||
"ItemSilverBar",
|
||||
"ItemMorphine",
|
||||
"ItemBloodbag",
|
||||
"ItemAntibiotic",
|
||||
"ItemPainkiller",
|
||||
"ItemJerrycan",
|
||||
"ItemOilBarrel",
|
||||
"ItemGenerator",
|
||||
"ItemTent",
|
||||
"ItemSandbag",
|
||||
"ItemTankTrap",
|
||||
"ItemWire",
|
||||
"FoodSteakRaw",
|
||||
"TrashTinCan",
|
||||
"ItemSodaCoke",
|
||||
"ItemSodaPepsi",
|
||||
"ItemSodaMdew",
|
||||
"FoodEdible",
|
||||
"FoodSteakCooked",
|
||||
"FoodCanBakedBeans",
|
||||
"FoodCanSardines",
|
||||
"FoodCanFrankBeans",
|
||||
"FoodCanPasta"
|
||||
};
|
||||
modes[] = {"this"};
|
||||
useAction = 0;
|
||||
useActionTitle = "";
|
||||
|
||||
56
SQF/dayz_code/Configs/CfgWeapons/Melee/BaseballBat.hpp
Normal file
56
SQF/dayz_code/Configs/CfgWeapons/Melee/BaseballBat.hpp
Normal file
@@ -0,0 +1,56 @@
|
||||
class MeleeBaseBallBat : MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\baseball_bat_weaponized.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_baseball_bat_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_BASEBALLBAT;
|
||||
descriptionShort = $STR_EQUIP_DESC_BASEBALLBAT;
|
||||
|
||||
magazines[] = {"Bat_Swing"};
|
||||
|
||||
droppeditem = "MeleeBaseBallBat";
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_BASEBALLBAT;
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeBaseBallBatBarbed : MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model="\z\addons\dayz_communityassets\models\baseball_bat_barbed_weaponized.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_baseball_bat_barbed_ca.paa";
|
||||
displayName=$STR_EQUIP_NAME_BASEBALLBATBARBED;
|
||||
descriptionShort=$STR_EQUIP_DESC_BASEBALLBATBARBED;
|
||||
|
||||
magazines[] = {"BatBarbed_Swing"};
|
||||
|
||||
droppeditem = "MeleeBaseBallBatBarbed";
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_BASEBALLBATBARBED;
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeBaseBallBatNails : MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model="\z\addons\dayz_communityassets\models\baseball_bat_nails_weaponized.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_baseball_bat_nails_ca.paa";
|
||||
displayName=$STR_EQUIP_NAME_BASEBALLBATNAILS;
|
||||
descriptionShort=$STR_EQUIP_DESC_BASEBALLBATNAILS;
|
||||
|
||||
magazines[] = {"BatNails_Swing"};
|
||||
|
||||
droppeditem = "MeleeBaseBallBatNails";
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_BASEBALLBATNAILS;
|
||||
};
|
||||
};
|
||||
@@ -1,4 +0,0 @@
|
||||
class Crossbow_DZ : Crossbow {
|
||||
displayName = $STR_EQUIP_CROSSBOW;
|
||||
magazines[] ={"Quiver","WoodenArrow"};
|
||||
};
|
||||
36
SQF/dayz_code/Configs/CfgWeapons/Melee/Crowbar.hpp
Normal file
36
SQF/dayz_code/Configs/CfgWeapons/Melee/Crowbar.hpp
Normal file
@@ -0,0 +1,36 @@
|
||||
class MeleeCrowbar : MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_weapons\models\crowbar_weaponized";
|
||||
picture = "\dayz_weapons\textures\equip_crowbar_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_CROWBAR;
|
||||
descriptionShort = $STR_EQUIP_DESC_CROWBAR;
|
||||
|
||||
magazines[] = {"Crowbar_Swing"};
|
||||
|
||||
droppeditem = "ItemCrowbar";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt";
|
||||
use[] = {"MeleeCrowbar"};
|
||||
output[] = {"ItemCrowbar"};
|
||||
};
|
||||
|
||||
class Drop
|
||||
{
|
||||
text = $STR_ACTIONS_DROP;
|
||||
script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;";
|
||||
use[] = {"Crowbar_Swing"};
|
||||
};
|
||||
};
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_CROWBAR;
|
||||
};
|
||||
};
|
||||
89
SQF/dayz_code/Configs/CfgWeapons/Melee/Hatchet.hpp
Normal file
89
SQF/dayz_code/Configs/CfgWeapons/Melee/Hatchet.hpp
Normal file
@@ -0,0 +1,89 @@
|
||||
class MeleeHatchet : MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_weapons\models\Hatchet_weaponized";
|
||||
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_HATCHET;
|
||||
descriptionShort = $STR_EQUIP_DESC_HATCHET;
|
||||
|
||||
magazines[] = {"Hatchet_Swing"};
|
||||
|
||||
droppeditem = "ItemHatchet";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_ACTIONS_CHOPWOOD;
|
||||
script = "spawn player_chopWood";
|
||||
};
|
||||
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt";
|
||||
use[] = {"MeleeHatchet"};
|
||||
output[] = {"ItemHatchet"};
|
||||
};
|
||||
|
||||
class Drop
|
||||
{
|
||||
text = $STR_ACTIONS_DROP;
|
||||
script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;";
|
||||
use[] = {"Hatchet_Swing"};
|
||||
};
|
||||
};
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_HATCHET;
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeHatchet_DZE: MeleeWeapon
|
||||
{
|
||||
scope=2;
|
||||
|
||||
model="\dayz_weapons\models\Hatchet_weaponized";
|
||||
picture="\dayz_equip\textures\equip_hatchet_CA.paa";
|
||||
displayName=$STR_EQUIP_NAME_41;
|
||||
droppeditem= "ItemHatchet_DZE";
|
||||
magazines[]=
|
||||
{
|
||||
"Hatchet_Swing"
|
||||
};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
||||
};
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_ACTIONS_CHOPWOOD;
|
||||
script = "spawn player_chopWood";
|
||||
};
|
||||
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt";
|
||||
use[] = {"MeleeHatchet_DZE"};
|
||||
output[] = {"ItemHatchet_DZE"};
|
||||
};
|
||||
|
||||
class Drop
|
||||
{
|
||||
text = $STR_ACTIONS_DROP;
|
||||
script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;";
|
||||
use[] = {"Hatchet_Swing"};
|
||||
};
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc=$STR_EQUIP_DESC_41;
|
||||
};
|
||||
descriptionShort=$STR_EQUIP_DESC_41;
|
||||
};
|
||||
@@ -1,24 +0,0 @@
|
||||
class ItemCrowbar: ItemCore
|
||||
{
|
||||
scope=2;
|
||||
displayName=$STR_EQUIP_CROWBAR;
|
||||
model="\dayz_equip\models\crowbar.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_crowbar_CA.paa";
|
||||
descriptionShort=$STR_EQUIP_CROWBAR_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_295;
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
{
|
||||
"ItemCrowbar"
|
||||
};
|
||||
output[]=
|
||||
{
|
||||
"MeleeCrowbar"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,23 +0,0 @@
|
||||
class ItemHatchet_DZE : ItemCore {
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_NAME_41;
|
||||
model = "\dayz_equip\models\hatchet.p3d";
|
||||
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_41;
|
||||
class ItemActions {
|
||||
|
||||
class Toolbelt
|
||||
{
|
||||
text=$STR_EPOCH_PLAYER_295;
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
{
|
||||
"ItemHatchet_DZE"
|
||||
};
|
||||
output[]=
|
||||
{
|
||||
"MeleeHatchet_DZE"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,25 +0,0 @@
|
||||
class ItemMachete: ItemCore
|
||||
{
|
||||
scope=2;
|
||||
displayName=$STR_EQUIP_MACHETE;
|
||||
model="\z\addons\dayz_communityassets\models\machete.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_machete_CA.paa";
|
||||
descriptionShort=$STR_EQUIP_MACHETE_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text=$STR_EPOCH_PLAYER_295;
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
{
|
||||
"ItemMachete"
|
||||
};
|
||||
output[]=
|
||||
{
|
||||
"MeleeMachete"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
36
SQF/dayz_code/Configs/CfgWeapons/Melee/Machete.hpp
Normal file
36
SQF/dayz_code/Configs/CfgWeapons/Melee/Machete.hpp
Normal file
@@ -0,0 +1,36 @@
|
||||
class MeleeMachete: MeleeWeapon
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\machete_weaponized.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_machete_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_MACHETE;
|
||||
descriptionShort = $STR_EQUIP_DESC_MACHETE;
|
||||
|
||||
magazines[] = {"Machete_Swing"};
|
||||
|
||||
droppeditem = "MeleeMachete";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"MeleeMachete"};
|
||||
output[] = {"ItemMachete"};
|
||||
};
|
||||
|
||||
class Drop
|
||||
{
|
||||
text = $STR_ACTIONS_DROP;
|
||||
script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;";
|
||||
use[] = {"Machete_Swing"};
|
||||
};
|
||||
};
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_MACHETE;
|
||||
};
|
||||
};
|
||||
@@ -1,25 +0,0 @@
|
||||
class MeleeBaseBallBat: MeleeWeapon
|
||||
{
|
||||
scope=2;
|
||||
melee= "true";
|
||||
autoreload=1;
|
||||
magazineReloadTime=0;
|
||||
model="\z\addons\dayz_communityassets\models\baseball_bat_weaponized.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_baseball_bat_ca.paa";
|
||||
displayName=$STR_EQUIP_NAME_BASEBALLBAT;
|
||||
droppeditem= "MeleeBaseBallBat";
|
||||
magazines[]=
|
||||
{
|
||||
"Bat_Swing"
|
||||
};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
||||
};
|
||||
class Library
|
||||
{
|
||||
libTextDesc=$STR_EQUIP_DESC_BASEBALLBAT;
|
||||
};
|
||||
descriptionShort=$STR_EQUIP_DESC_BASEBALLBAT;
|
||||
};
|
||||
@@ -1,25 +0,0 @@
|
||||
class MeleeBaseBallBatBarbed: MeleeWeapon
|
||||
{
|
||||
scope=2;
|
||||
melee= "true";
|
||||
autoreload=1;
|
||||
magazineReloadTime=0;
|
||||
model="\z\addons\dayz_communityassets\models\baseball_bat_barbed_weaponized.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_baseball_bat_barbed_ca.paa";
|
||||
displayName=$STR_EQUIP_NAME_BASEBALLBATBARBED;
|
||||
droppeditem= "MeleeBaseBallBatBarbed";
|
||||
magazines[]=
|
||||
{
|
||||
"BatBarbed_Swing"
|
||||
};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
||||
};
|
||||
class Library
|
||||
{
|
||||
libTextDesc=$STR_EQUIP_DESC_BASEBALLBATBARBED;
|
||||
};
|
||||
descriptionShort=$STR_EQUIP_DESC_BASEBALLBATBARBED;
|
||||
};
|
||||
@@ -1,25 +0,0 @@
|
||||
class MeleeBaseBallBatNails : MeleeWeapon
|
||||
{
|
||||
scope=2;
|
||||
melee= "true";
|
||||
autoreload=1;
|
||||
magazineReloadTime=0;
|
||||
model="\z\addons\dayz_communityassets\models\baseball_bat_nails_weaponized.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_baseball_bat_nails_ca.paa";
|
||||
displayName=$STR_EQUIP_NAME_BASEBALLBATNAILS;
|
||||
droppeditem= "MeleeBaseBallBatNails";
|
||||
magazines[]=
|
||||
{
|
||||
"BatNails_Swing"
|
||||
};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
||||
};
|
||||
class Library
|
||||
{
|
||||
libTextDesc=$STR_EQUIP_DESC_BASEBALLBATNAILS;
|
||||
};
|
||||
descriptionShort=$STR_EQUIP_DESC_BASEBALLBATNAILS;
|
||||
};
|
||||
@@ -1,41 +0,0 @@
|
||||
class MeleeCrowbar: MeleeWeapon
|
||||
{
|
||||
scope=2;
|
||||
melee= "true";
|
||||
autoreload=1;
|
||||
magazineReloadTime=0;
|
||||
model="\dayz_weapons\models\crowbar_weaponized";
|
||||
picture="\dayz_weapons\textures\equip_crowbar_CA.paa";
|
||||
displayName=$STR_EQUIP_CROWBAR;
|
||||
droppeditem= "ItemCrowbar";
|
||||
magazines[]=
|
||||
{
|
||||
"Crowbar_Swing"
|
||||
};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
||||
};
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text=$STR_EPOCH_PLAYER_296;
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
{
|
||||
"MeleeCrowbar"
|
||||
};
|
||||
output[]=
|
||||
{
|
||||
"ItemCrowbar"
|
||||
};
|
||||
};
|
||||
};
|
||||
class Library
|
||||
{
|
||||
libTextDesc=$STR_EQUIP_CROWBAR_DESC;
|
||||
};
|
||||
descriptionShort=$STR_EQUIP_CROWBAR_DESC;
|
||||
};
|
||||
@@ -1,41 +0,0 @@
|
||||
class MeleeHatchet_DZE: MeleeWeapon
|
||||
{
|
||||
scope=2;
|
||||
melee= "true";
|
||||
autoreload=1;
|
||||
magazineReloadTime=0;
|
||||
model="\dayz_weapons\models\Hatchet_weaponized";
|
||||
picture="\dayz_equip\textures\equip_hatchet_CA.paa";
|
||||
displayName=$STR_EQUIP_NAME_41;
|
||||
droppeditem= "ItemHatchet_DZE";
|
||||
magazines[]=
|
||||
{
|
||||
"Hatchet_Swing"
|
||||
};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
||||
};
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text=$STR_EPOCH_PLAYER_296;
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
{
|
||||
"MeleeHatchet_DZE"
|
||||
};
|
||||
output[]=
|
||||
{
|
||||
"ItemHatchet_DZE"
|
||||
};
|
||||
};
|
||||
};
|
||||
class Library
|
||||
{
|
||||
libTextDesc=$STR_EQUIP_DESC_41;
|
||||
};
|
||||
descriptionShort=$STR_EQUIP_DESC_41;
|
||||
};
|
||||
@@ -1,41 +0,0 @@
|
||||
class MeleeMachete: MeleeWeapon
|
||||
{
|
||||
scope=2;
|
||||
melee= "true";
|
||||
autoreload=1;
|
||||
magazineReloadTime=0;
|
||||
model="\z\addons\dayz_communityassets\models\machete_weaponized.p3d";
|
||||
picture="\z\addons\dayz_communityassets\pictures\equip_machete_CA.paa";
|
||||
displayName=$STR_EQUIP_MACHETE;
|
||||
droppeditem= "MeleeMachete";
|
||||
magazines[]=
|
||||
{
|
||||
"Machete_Swing"
|
||||
};
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\dayz_weapons\anim\melee_hatchet_holding.rtm"
|
||||
};
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text=$STR_EPOCH_PLAYER_296;
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
{
|
||||
"MeleeMachete"
|
||||
};
|
||||
output[]=
|
||||
{
|
||||
"ItemMachete"
|
||||
};
|
||||
};
|
||||
};
|
||||
class Library
|
||||
{
|
||||
libTextDesc="";
|
||||
};
|
||||
descriptionShort=$STR_EQUIP_MACHETE_DESC;
|
||||
};
|
||||
122
SQF/dayz_code/Configs/CfgWeapons/Pistols/G17.hpp
Normal file
122
SQF/dayz_code/Configs/CfgWeapons/Pistols/G17.hpp
Normal file
@@ -0,0 +1,122 @@
|
||||
class G17_DZ : glock17_EP1
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g17\g17.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g17\data\w_g17_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G17_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
17Rnd_9x19_glock17,
|
||||
17Rnd_9x19_glock17SD
|
||||
};
|
||||
|
||||
delete FlashLight;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "G17_SD_DZ";
|
||||
Attachment_FL_Pist = "G17_FL_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class G17_FL_DZ : G17_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g17\g17_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g17\data\w_g17_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G17_FL_NAME;
|
||||
|
||||
class FlashLight
|
||||
{
|
||||
color[] = {0.9, 0.9, 0.7, 0.9};
|
||||
ambient[] = {0.1, 0.1, 0.1, 1.0};
|
||||
position = "flash dir";
|
||||
direction = "flash";
|
||||
angle = 30;
|
||||
scale[] = {1, 1, 0.5};
|
||||
brightness = 0.1;
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "G17_SD_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_PST_RMVE;
|
||||
script = "; ['Attachment_FL_Pist',_id,'G17_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class G17_SD_DZ : M9SD
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g17\g17_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g17\data\w_g17_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G17_SD_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
17Rnd_9x19_glock17SD,
|
||||
17Rnd_9x19_glock17
|
||||
};
|
||||
|
||||
reloadMagazineSound[]={"Ca\Sounds_E\Weapons_E\Glock17\reload1",db0,1, 20};
|
||||
|
||||
recoil = "recoil_single_pistol_2outof3";
|
||||
recoilProne = "recoil_single_pistol_prone_2outof3";
|
||||
|
||||
class Library {libTextDesc = $STR_EP1_LIB_glock17;};
|
||||
descriptionShort = $STR_EP1_DSS_glock17_EP1;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL_Pist = "G17_SD_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP9_RMVE;
|
||||
script = "; ['Attachment_Sup9',_id,'G17_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class G17_SD_FL_DZ : G17_SD_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g17\g17_sd_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g17\data\w_g17_sd_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G17_SD_FL_NAME;
|
||||
|
||||
class FlashLight
|
||||
{
|
||||
color[] = {0.9, 0.9, 0.7, 0.9};
|
||||
ambient[] = {0.1, 0.1, 0.1, 1.0};
|
||||
position = "flash dir";
|
||||
direction = "flash";
|
||||
angle = 30;
|
||||
scale[] = {1, 1, 0.5};
|
||||
brightness = 0.1;
|
||||
};
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP9_RMVE;
|
||||
script = "; ['Attachment_Sup9',_id,'G17_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_PST_RMVE;
|
||||
script = "; ['Attachment_FL_Pist',_id,'G17_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Pistols/M1911.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Pistols/M1911.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class M1911_DZ : Colt1911
|
||||
{
|
||||
magazines[] = {7Rnd_45ACP_1911};
|
||||
};
|
||||
36
SQF/dayz_code/Configs/CfgWeapons/Pistols/M9.hpp
Normal file
36
SQF/dayz_code/Configs/CfgWeapons/Pistols/M9.hpp
Normal file
@@ -0,0 +1,36 @@
|
||||
class M9_DZ : M9
|
||||
{
|
||||
displayName = $STR_DZ_WPN_M9_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
15Rnd_9x19_M9,
|
||||
15Rnd_9x19_M9SD
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "M9_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class M9_SD_DZ : M9SD
|
||||
{
|
||||
//model = "z\addons\dayz_communityweapons\m9\m9_sd.p3d";
|
||||
displayName = $STR_DZ_WPN_M9_SD_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
15Rnd_9x19_M9SD,
|
||||
15Rnd_9x19_M9
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP9_RMVE;
|
||||
script = "; ['Attachment_Sup9',_id,'M9_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
31
SQF/dayz_code/Configs/CfgWeapons/Pistols/Makarov.hpp
Normal file
31
SQF/dayz_code/Configs/CfgWeapons/Pistols/Makarov.hpp
Normal file
@@ -0,0 +1,31 @@
|
||||
class Makarov_DZ : Makarov
|
||||
{
|
||||
magazines[] =
|
||||
{
|
||||
8Rnd_9x18_Makarov,
|
||||
8Rnd_9x18_MakarovSD
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_SupMakarov = "Makarov_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class Makarov_SD_DZ : MakarovSD
|
||||
{
|
||||
magazines[] =
|
||||
{
|
||||
8Rnd_9x18_MakarovSD,
|
||||
8Rnd_9x18_Makarov
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP545_RMVE;
|
||||
script = "; ['Attachment_SupMakarov',_id,'Makarov_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
8
SQF/dayz_code/Configs/CfgWeapons/Pistols/PDW.hpp
Normal file
8
SQF/dayz_code/Configs/CfgWeapons/Pistols/PDW.hpp
Normal file
@@ -0,0 +1,8 @@
|
||||
class PDW_DZ : UZI_EP1
|
||||
{
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_9x19_UZI,
|
||||
30Rnd_9x19_UZI_SD
|
||||
};
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Pistols/Revolver.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Pistols/Revolver.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class Revolver_DZ : revolver_EP1
|
||||
{
|
||||
magazines[] = {6Rnd_45ACP};
|
||||
};
|
||||
527
SQF/dayz_code/Configs/CfgWeapons/Rifles/AK74.hpp
Normal file
527
SQF/dayz_code/Configs/CfgWeapons/Rifles/AK74.hpp
Normal file
@@ -0,0 +1,527 @@
|
||||
/* Kobra */
|
||||
|
||||
class AK74_Kobra_DZ : AK_74
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\ak74\ak74_kobra.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_kobra_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AK74_KOBRA_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_545x39_AK,
|
||||
30Rnd_545x39_AKSD
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_GP25 = "AK74_GL_Kobra_DZ";
|
||||
Attachment_Sup545 = "AK74_Kobra_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'AK74_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AK74_Kobra_SD_DZ : AKS_74_UN_kobra
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\ak74\ak74_kobra_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_kobra_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AK74_KOBRA_SD_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_545x39_AKSD,
|
||||
30Rnd_545x39_AK
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_GP25 = "AK74_GL_Kobra_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'AK74_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP545_RMVE;
|
||||
script = "; ['Attachment_Sup545',_id,'AK74_Kobra_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AK74_GL_Kobra_DZ : AK74_Kobra_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\ak74\ak74_gl_kobra.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_gl_kobra_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AK74_GL_KOBRA_NAME;
|
||||
|
||||
//GP-25
|
||||
muzzles[] = {this, GP25Muzzle};
|
||||
handAnim[]={"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M16GL.rtm"};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup545 = "AK74_GL_Kobra_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'AK74_GL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_GP25_RMVE;
|
||||
script = "; ['Attachment_GP25',_id,'AK74_Kobra_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AK74_GL_Kobra_SD_DZ : AK74_Kobra_SD_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\ak74\ak74_gl_kobra_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_gl_kobra_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AK74_GL_KOBRA_SD_NAME;
|
||||
|
||||
//GP-25
|
||||
muzzles[] = {this, GP25Muzzle};
|
||||
handAnim[]={"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M16GL.rtm"};
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'AK74_GL_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_GP25_RMVE;
|
||||
script = "; ['Attachment_GP25',_id,'AK74_Kobra_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP545_RMVE;
|
||||
script = "; ['Attachment_Sup545',_id,'AK74_GL_Kobra_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* Iron sight */
|
||||
|
||||
class AK74_DZ : AK74_Kobra_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\ak74\ak74.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AK74_NAME;
|
||||
|
||||
//iron sight zeroing
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000};
|
||||
discreteDistanceInitIndex = 0;
|
||||
//iron sight zeroing end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "AK74_Kobra_DZ";
|
||||
Attachment_PSO1 = "AK74_PSO1_DZ";
|
||||
Attachment_GP25 = "AK74_GL_DZ";
|
||||
Attachment_Sup545 = "AK74_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions {};
|
||||
};
|
||||
|
||||
class AK74_SD_DZ : AK74_Kobra_SD_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\ak74\ak74_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AK74_SD_NAME;
|
||||
|
||||
//iron sight zeroing
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000};
|
||||
discreteDistanceInitIndex = 0;
|
||||
//iron sight zeroing end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "AK74_Kobra_SD_DZ";
|
||||
Attachment_PSO1 = "AK74_PSO1_SD_DZ";
|
||||
Attachment_GP25 = "AK74_GL_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP545_RMVE;
|
||||
script = "; ['Attachment_Sup545',_id,'AK74_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AK74_GL_DZ : AK74_GL_Kobra_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\ak74\ak74_gl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_gl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AK74_GL_NAME;
|
||||
|
||||
//iron sight zeroing
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000};
|
||||
discreteDistanceInitIndex = 0;
|
||||
//iron sight zeroing end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "AK74_GL_Kobra_DZ";
|
||||
Attachment_PSO1 = "AK74_GL_PSO1_DZ";
|
||||
Attachment_Sup545 = "AK74_GL_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_GP25_RMVE;
|
||||
script = "; ['Attachment_GP25',_id,'AK74_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AK74_GL_SD_DZ : AK74_GL_Kobra_SD_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\ak74\ak74_gl_SD.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_gl_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AK74_GL_SD_NAME;
|
||||
|
||||
//iron sight zeroing
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000};
|
||||
discreteDistanceInitIndex = 0;
|
||||
//iron sight zeroing end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "AK74_GL_Kobra_SD_DZ";
|
||||
Attachment_PSO1 = "AK74_GL_PSO1_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_GP25_RMVE;
|
||||
script = "; ['Attachment_GP25',_id,'AK74_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP545_RMVE;
|
||||
script = "; ['Attachment_Sup545',_id,'AK74_GL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* PSO */
|
||||
|
||||
class AK74_PSO1_DZ : AK74_Kobra_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\ak74\ak74_pso.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_pso_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AK74_PSO1_NAME;
|
||||
|
||||
//PSO-1
|
||||
optics = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
modelOptics = "\ca\weapons\optika_snpiere";
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
opticsZoomMin=0.0623; opticsZoomMax=0.0623;
|
||||
distanceZoomMin= 200; distanceZoomMax= 200;
|
||||
|
||||
class OpticsModes
|
||||
{
|
||||
class Scope
|
||||
{
|
||||
opticsID = 1;
|
||||
useModelOptics = true;
|
||||
opticsFlare = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
opticsZoomMin = 0.0623;
|
||||
opticsZoomMax = 0.0623;
|
||||
opticsZoomInit= 0.0623;
|
||||
distanceZoomMin= 200;
|
||||
distanceZoomMax= 200;
|
||||
memoryPointCamera = "opticView";
|
||||
visionMode[] = {"Normal"};
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
cameraDir = "";
|
||||
};
|
||||
|
||||
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 = "";
|
||||
};
|
||||
};
|
||||
//PSO-1 end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_GP25 = "AK74_GL_PSO1_DZ";
|
||||
Attachment_Sup545 = "AK74_PSO1_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemovePSO1
|
||||
{
|
||||
text = $STR_DZ_ATT_PSO1_RMVE;
|
||||
script = "; ['Attachment_PSO1',_id,'AK74_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AK74_PSO1_SD_DZ : AK74_Kobra_SD_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\ak74\ak74_pso_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_pso_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AK74_PSO1_SD_NAME;
|
||||
|
||||
//PSO-1
|
||||
optics = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
modelOptics = "\ca\weapons\optika_snpiere";
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
opticsZoomMin=0.0623; opticsZoomMax=0.0623;
|
||||
distanceZoomMin= 200; distanceZoomMax= 200;
|
||||
|
||||
class OpticsModes
|
||||
{
|
||||
class Scope
|
||||
{
|
||||
opticsID = 1;
|
||||
useModelOptics = true;
|
||||
opticsFlare = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
opticsZoomMin = 0.0623;
|
||||
opticsZoomMax = 0.0623;
|
||||
opticsZoomInit= 0.0623;
|
||||
distanceZoomMin= 200;
|
||||
distanceZoomMax= 200;
|
||||
memoryPointCamera = "opticView";
|
||||
visionMode[] = {"Normal"};
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
cameraDir = "";
|
||||
};
|
||||
|
||||
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 = "";
|
||||
};
|
||||
};
|
||||
//PSO-1 end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_GP25 = "AK74_GL_PSO1_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemovePSO1
|
||||
{
|
||||
text = $STR_DZ_ATT_PSO1_RMVE;
|
||||
script = "; ['Attachment_PSO1',_id,'AK74_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP545_RMVE;
|
||||
script = "; ['Attachment_Sup545',_id,'AK74_PSO1_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AK74_GL_PSO1_DZ : AK74_GL_Kobra_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\ak74\ak74_gl_pso.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_gl_pso_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AK74_GL_PSO1_NAME;
|
||||
|
||||
//PSO-1
|
||||
optics = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
modelOptics = "\ca\weapons\optika_snpiere";
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
opticsZoomMin=0.0623; opticsZoomMax=0.0623;
|
||||
distanceZoomMin= 200; distanceZoomMax= 200;
|
||||
|
||||
class OpticsModes
|
||||
{
|
||||
class Scope
|
||||
{
|
||||
opticsID = 1;
|
||||
useModelOptics = true;
|
||||
opticsFlare = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
opticsZoomMin = 0.0623;
|
||||
opticsZoomMax = 0.0623;
|
||||
opticsZoomInit= 0.0623;
|
||||
distanceZoomMin= 200;
|
||||
distanceZoomMax= 200;
|
||||
memoryPointCamera = "opticView";
|
||||
visionMode[] = {"Normal"};
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
cameraDir = "";
|
||||
};
|
||||
|
||||
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 = "";
|
||||
};
|
||||
};
|
||||
//PSO-1 end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup545 = "AK74_GL_PSO1_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemovePSO1
|
||||
{
|
||||
text = $STR_DZ_ATT_PSO1_RMVE;
|
||||
script = "; ['Attachment_PSO1',_id,'AK74_GL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_GP25_RMVE;
|
||||
script = "; ['Attachment_GP25',_id,'AK74_PSO1_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AK74_GL_PSO1_SD_DZ : AK74_GL_Kobra_SD_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\ak74\ak74_gl_pso_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_gl_pso_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AK74_GL_PSO1_SD_NAME;
|
||||
|
||||
//PSO-1
|
||||
optics = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
modelOptics = "\ca\weapons\optika_snpiere";
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
opticsZoomMin=0.0623; opticsZoomMax=0.0623;
|
||||
distanceZoomMin= 200; distanceZoomMax= 200;
|
||||
|
||||
class OpticsModes
|
||||
{
|
||||
class Scope
|
||||
{
|
||||
opticsID = 1;
|
||||
useModelOptics = true;
|
||||
opticsFlare = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
opticsZoomMin = 0.0623;
|
||||
opticsZoomMax = 0.0623;
|
||||
opticsZoomInit= 0.0623;
|
||||
distanceZoomMin= 200;
|
||||
distanceZoomMax= 200;
|
||||
memoryPointCamera = "opticView";
|
||||
visionMode[] = {"Normal"};
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
cameraDir = "";
|
||||
};
|
||||
|
||||
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 = "";
|
||||
};
|
||||
};
|
||||
//PSO-1 end
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemovePSO1
|
||||
{
|
||||
text = $STR_DZ_ATT_PSO1_RMVE;
|
||||
script = "; ['Attachment_PSO1',_id,'AK74_GL_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_GP25_RMVE;
|
||||
script = "; ['Attachment_GP25',_id,'AK74_PSO1_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP545_RMVE;
|
||||
script = "; ['Attachment_Sup545',_id,'AK74_GL_PSO1_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
108
SQF/dayz_code/Configs/CfgWeapons/Rifles/AKM.hpp
Normal file
108
SQF/dayz_code/Configs/CfgWeapons/Rifles/AKM.hpp
Normal file
@@ -0,0 +1,108 @@
|
||||
class AKM_DZ : AK_47_M
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\akm\akm.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\akm\data\w_akm_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AKM_NAME;
|
||||
|
||||
magazines[] = {30Rnd_762x39_AK47};
|
||||
|
||||
//iron sight zeroing
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000};
|
||||
discreteDistanceInitIndex = 2;
|
||||
//iron sight zeroing end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "AKM_Kobra_DZ";
|
||||
Attachment_PSO1 = "AKM_PSO1_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class AKM_Kobra_DZ : AKM_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\akm\akm_kobra.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\akm\data\w_akm_kobra_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AKM_KOBRA_NAME;
|
||||
|
||||
//kobra zeroing
|
||||
weaponInfoType = "RscWeaponEmpty";
|
||||
discreteDistance[] = {};
|
||||
discreteDistanceInitIndex = 0;
|
||||
distanceZoomMin = 200;
|
||||
distanceZoomMax = 200;
|
||||
//kobra zeroing end
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'AKM_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AKM_PSO1_DZ : AKM_Kobra_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\akm\akm_pso.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\akm\data\w_akm_pso_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AKM_PSO1_NAME;
|
||||
|
||||
//PSO-1
|
||||
optics = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
modelOptics = "\ca\weapons\optika_snpiere";
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
opticsZoomMin=0.0623; opticsZoomMax=0.0623;
|
||||
distanceZoomMin= 200; distanceZoomMax= 200;
|
||||
|
||||
class OpticsModes
|
||||
{
|
||||
class Scope
|
||||
{
|
||||
opticsID = 1;
|
||||
useModelOptics = true;
|
||||
opticsFlare = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
opticsZoomMin = 0.0623;
|
||||
opticsZoomMax = 0.0623;
|
||||
opticsZoomInit= 0.0623;
|
||||
distanceZoomMin= 200;
|
||||
distanceZoomMax= 200;
|
||||
memoryPointCamera = "opticView";
|
||||
visionMode[] = {"Normal"};
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
cameraDir = "";
|
||||
};
|
||||
|
||||
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 = "";
|
||||
};
|
||||
};
|
||||
//PSO-1 end
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemovePSO1
|
||||
{
|
||||
text = $STR_DZ_ATT_PSO1_RMVE;
|
||||
script = "; ['Attachment_PSO1',_id,'AKM_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
98
SQF/dayz_code/Configs/CfgWeapons/Rifles/AKS74U.hpp
Normal file
98
SQF/dayz_code/Configs/CfgWeapons/Rifles/AKS74U.hpp
Normal file
@@ -0,0 +1,98 @@
|
||||
class AKS74U_Kobra_DZ : AKS_74_U
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\aks74u\aks74u_kobra.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\aks74u\data\w_aks74u_kobra_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AKS74U_KOBRA_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_545x39_AK,
|
||||
30Rnd_545x39_AKSD
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup545 = "AKS74U_Kobra_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'AKS74U_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AKS74U_Kobra_SD_DZ : AKS_74_UN_kobra
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\aks74u\aks74u_kobra_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\aks74u\data\w_aks74u_kobra_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AKS74U_KOBRA_SD_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_545x39_AKSD,
|
||||
30Rnd_545x39_AK
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'AKS74U_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP545_RMVE;
|
||||
script = "; ['Attachment_Sup545',_id,'AKS74U_Kobra_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AKS74U_DZ : AKS74U_Kobra_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\aks74u\aks74u.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\aks74u\data\w_aks74u_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AKS74U_NAME;
|
||||
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {350,500};
|
||||
discreteDistanceInitIndex = 0;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "AKS74U_Kobra_DZ";
|
||||
Attachment_Sup545 = "AKS74U_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions {};
|
||||
};
|
||||
|
||||
class AKS74U_SD_DZ : AKS74U_Kobra_SD_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\aks74u\aks74u_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\aks74u\data\w_aks74u_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_AKS74U_SD_NAME;
|
||||
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {100,350,500};
|
||||
discreteDistanceInitIndex = 0;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "AKS74U_Kobra_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP545_RMVE;
|
||||
script = "; ['Attachment_Sup545',_id,'AKS74U_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
43
SQF/dayz_code/Configs/CfgWeapons/Rifles/Bizon.hpp
Normal file
43
SQF/dayz_code/Configs/CfgWeapons/Rifles/Bizon.hpp
Normal file
@@ -0,0 +1,43 @@
|
||||
class Bizon_DZ : bizon
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\bizon\bizon.p3d";
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
64Rnd_9x19_Bizon,
|
||||
64Rnd_9x19_SD_Bizon
|
||||
};
|
||||
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {50,100,150};
|
||||
discreteDistanceInitIndex = 1;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_SupBizon = "Bizon_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class Bizon_SD_DZ : bizon_silenced
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\bizon\bizon_sd.p3d";
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
64Rnd_9x19_SD_Bizon,
|
||||
64Rnd_9x19_Bizon
|
||||
};
|
||||
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {50,100,150};
|
||||
discreteDistanceInitIndex = 1;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP545_RMVE;
|
||||
script = "; ['Attachment_SupBizon',_id,'Bizon_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Rifles/CZ550.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Rifles/CZ550.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class CZ550_DZ : Huntingrifle
|
||||
{
|
||||
magazines[] = {5Rnd_17HMR};
|
||||
};
|
||||
193
SQF/dayz_code/Configs/CfgWeapons/Rifles/Crossbow.hpp
Normal file
193
SQF/dayz_code/Configs/CfgWeapons/Rifles/Crossbow.hpp
Normal file
@@ -0,0 +1,193 @@
|
||||
#define CROSSBOW_FLASHLIGHT class FlashLight\
|
||||
{\
|
||||
color[] = {0.9, 0.9, 0.7, 0.9};\
|
||||
ambient[] = {0.1, 0.1, 0.1, 1.0};\
|
||||
position = "fl_start";\
|
||||
direction = "fl_dir";\
|
||||
angle = 40;\
|
||||
scale[] = {1, 1, 0.5};\
|
||||
brightness = 0.1;\
|
||||
};
|
||||
|
||||
|
||||
|
||||
class Crossbow_Base : Rifle
|
||||
{
|
||||
magazines[] =
|
||||
{
|
||||
12Rnd_Quiver_Wood,
|
||||
1Rnd_Arrow_Wood,
|
||||
1Rnd_Bolt_Explosive,
|
||||
1Rnd_Bolt_Tranquilizer
|
||||
};
|
||||
|
||||
dexterity = 1.6;
|
||||
magazineReloadTime = 0;
|
||||
reloadMagazineSound[] = {"", 1, 1};
|
||||
handAnim[] = {"OFP2_ManSkeleton", "\Ca\weapons\data\Anim\Bizon.rtm"};
|
||||
distanceZoomMin = 20;
|
||||
distanceZoomMax = 20;
|
||||
fireLightDuration = 0;
|
||||
fireLightIntensity = 0;
|
||||
reloadTime = 2;
|
||||
drySound[] = {"Ca\sounds\Weapons\rifles\dry",0.00032,1,10};
|
||||
begin1[] = {"z\addons\community_crossbow\sound\crossbow.ogg", 0.177828, 1, 15};
|
||||
soundBegin[] = {"begin1",1};
|
||||
soundBullet[] = {"emptySound",1};
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*Iron sights*/
|
||||
|
||||
class Crossbow_DZ : Crossbow_Base
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\community_crossbow\models\crossbow.p3d";
|
||||
picture = "\z\addons\community_crossbow\icons\crossbow_icon.paa";
|
||||
displayName = $STR_DZ_WPN_CROSSBOW_NAME;
|
||||
descriptionShort = $STR_WPN_DESC_4;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "Crossbow_CCO_DZ";
|
||||
Attachment_FL = "Crossbow_FL_DZ";
|
||||
Attachment_SCOPED = "Crossbow_Scope_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class Crossbow_FL_DZ : Crossbow_DZ
|
||||
{
|
||||
model = "z\addons\community_crossbow\models\crossbow_fl.p3d";
|
||||
picture = "\z\addons\community_crossbow\icons\crossbow_fl.paa";
|
||||
displayName = $STR_DZ_WPN_CROSSBOW_FL_NAME;
|
||||
|
||||
CROSSBOW_FLASHLIGHT
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "Crossbow_CCO_FL_DZ";
|
||||
Attachment_SCOPED = "Crossbow_Scope_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'Crossbow_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*CCO*/
|
||||
|
||||
class Crossbow_CCO_DZ : Crossbow_DZ
|
||||
{
|
||||
model = "z\addons\community_crossbow\models\crossbow_cco.p3d";
|
||||
picture = "\z\addons\community_crossbow\icons\crossbow_cco.paa";
|
||||
displayName = $STR_DZ_WPN_CROSSBOW_CCO_NAME;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL = "Crossbow_CCO_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'Crossbow_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Crossbow_CCO_FL_DZ : Crossbow_CCO_DZ
|
||||
{
|
||||
model = "z\addons\community_crossbow\models\crossbow_cco_fl.p3d";
|
||||
picture = "\z\addons\community_crossbow\icons\crossbow_scoped.paa";
|
||||
displayName = $STR_DZ_WPN_CROSSBOW_CCO_FL_NAME;
|
||||
|
||||
CROSSBOW_FLASHLIGHT
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'Crossbow_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'Crossbow_CCO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*Scope*/
|
||||
|
||||
class Crossbow_Scope_DZ : Crossbow_DZ
|
||||
{
|
||||
model = "z\addons\community_crossbow\models\crossbow_scoped.p3d";
|
||||
picture = "\z\addons\community_crossbow\icons\crossbow_cco.paa";
|
||||
displayName = $STR_DZ_WPN_CROSSBOW_SCOPE_NAME;
|
||||
|
||||
opticsPPEffects[] = {"OpticsCHAbera2","OpticsBlur2"};
|
||||
opticsZoomInit = 0.071945;
|
||||
opticsZoomMin = 0.071945;
|
||||
opticsZoomMax = 0.071945;
|
||||
distanceZoomMin = 110;
|
||||
distanceZoomMax = 110;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL = "Crossbow_Scope_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveScope
|
||||
{
|
||||
text = "Remove Scope";
|
||||
script = "; ['Attachment_SCOPED',_id,'Crossbow_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Crossbow_Scope_FL_DZ : Crossbow_Scope_DZ
|
||||
{
|
||||
model = "z\addons\community_crossbow\models\crossbow_scoped_fl.p3d";
|
||||
picture = "\z\addons\community_crossbow\icons\crossbow_scoped_fl.paa";
|
||||
displayName = $STR_DZ_WPN_CROSSBOW_SCOPE_FL_NAME;
|
||||
|
||||
CROSSBOW_FLASHLIGHT
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveScope
|
||||
{
|
||||
text = "Remove Scope";
|
||||
script = "; ['Attachment_SCOPED',_id,'Crossbow_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'Crossbow_Scope_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#undef CROSSBOW_FLASHLIGHT
|
||||
43
SQF/dayz_code/Configs/CfgWeapons/Rifles/DMR.hpp
Normal file
43
SQF/dayz_code/Configs/CfgWeapons/Rifles/DMR.hpp
Normal file
@@ -0,0 +1,43 @@
|
||||
class DMR_DZ : DMR
|
||||
{
|
||||
//model = "z\addons\dayz_communityweapons\dmr\dmr.p3d";
|
||||
displayName = $STR_DZ_WPN_DMR_NAME;
|
||||
|
||||
//memoryPointCamera = "opticView";
|
||||
|
||||
magazines[] = {20Rnd_762x51_DMR};
|
||||
|
||||
class Single : Single
|
||||
{
|
||||
reloadTime = 0.6;
|
||||
recoil = "recoil_single_primary_4outof10";
|
||||
recoilProne = "recoil_single_primary_prone_4outof10";
|
||||
};
|
||||
|
||||
visionMode[] = {"Normal"};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Ghillie = "DMR_Gh_DZ";
|
||||
};
|
||||
};
|
||||
class DMR_SKN : DMR_DZ {};
|
||||
class DMR_Gh_DZ : DMR_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\dmr\dmr_ghillie.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\dmr\data\w_dmr_ghillie_ca.paa";
|
||||
displayName = $STR_DZ_WPN_DMR_GH_NAME;
|
||||
|
||||
memoryPointCamera = "opticView";
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGhillie
|
||||
{
|
||||
text = $STR_DZ_ATT_GHIL_RMVE;
|
||||
script = "; ['Attachment_Ghillie',_id,'DMR_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
61
SQF/dayz_code/Configs/CfgWeapons/Rifles/FNFAL.hpp
Normal file
61
SQF/dayz_code/Configs/CfgWeapons/Rifles/FNFAL.hpp
Normal file
@@ -0,0 +1,61 @@
|
||||
class FNFAL_DZ : FN_FAL
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\fnfal\fnfal.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\fnfal\data\w_fnfal_ca.paa";
|
||||
displayName = $STR_DZ_WPN_FNFAL_NAME;
|
||||
|
||||
magazines[] = {20Rnd_762x51_FNFAL};
|
||||
|
||||
modes[] = {Single};
|
||||
|
||||
distanceZoomMin = 300;
|
||||
distanceZoomMax = 300;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "FNFAL_CCO_DZ";
|
||||
Attachment_Holo = "FNFAL_Holo_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class FNFAL_CCO_DZ : FNFAL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\fnfal\fnfal_cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\fnfal\data\w_fnfal_cco_ca.paa";
|
||||
displayName = $STR_DZ_WPN_FNFAL_CCO_NAME;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'FNFAL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class FNFAL_Holo_DZ : FNFAL_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\fnfal\fnfal_holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\fnfal\data\w_fnfal_holo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_FNFAL_HOLO_NAME;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'FNFAL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class FNFAL_ANPVS4_DZ : FN_FAL_ANPVS4
|
||||
{
|
||||
modes[] = {Single};
|
||||
};
|
||||
class FN_FAL_ANPVS4_DZE:FN_FAL_ANPVS4 {
|
||||
visionMode[] = {"Normal", "NVG"};
|
||||
};
|
||||
207
SQF/dayz_code/Configs/CfgWeapons/Rifles/G36.hpp
Normal file
207
SQF/dayz_code/Configs/CfgWeapons/Rifles/G36.hpp
Normal file
@@ -0,0 +1,207 @@
|
||||
class G36K_Camo_DZ : G36C
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g36\g36k_camo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g36\data\w_g36k_camo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G36K_CAMO_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_556x45_G36,
|
||||
30Rnd_556x45_G36SD
|
||||
};
|
||||
|
||||
//G36 Optic
|
||||
optics = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
modelOptics = "z\addons\dayz_communityweapons\g36\2dscope_g36.p3d";
|
||||
opticsPPEffects[]={"OpticsCHAbera1","OpticsBlur2"};
|
||||
opticsZoomMin=0.083; opticsZoomMax=0.083;
|
||||
distanceZoomMin=100; distanceZoomMax=100;
|
||||
|
||||
dexterity = 1.8;
|
||||
|
||||
class Single : Single
|
||||
{
|
||||
dispersion = 0.0011;
|
||||
};
|
||||
|
||||
class Burst : Burst
|
||||
{
|
||||
dispersion = 0.0011;
|
||||
};
|
||||
|
||||
class FullAuto : FullAuto
|
||||
{
|
||||
dispersion = 0.0011;
|
||||
};
|
||||
|
||||
class OpticsModes
|
||||
{
|
||||
class Kolimator
|
||||
{
|
||||
opticsID = 1;
|
||||
useModelOptics = false;
|
||||
opticsFlare = false;
|
||||
opticsDisablePeripherialVision = false;
|
||||
opticsZoomMin=0.25;
|
||||
opticsZoomMax=1.1;
|
||||
opticsZoomInit=0.5;
|
||||
distanceZoomMin=100;
|
||||
distanceZoomMax=100;
|
||||
memoryPointCamera = "eye";
|
||||
visionMode[] = {};
|
||||
opticsPPEffects[]={"OpticsCHAbera1","OpticsBlur1"};
|
||||
cameraDir = "";
|
||||
};
|
||||
|
||||
class Scope
|
||||
{
|
||||
opticsID = 2;
|
||||
useModelOptics = true;
|
||||
opticsFlare = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
opticsZoomMin = 0.083;
|
||||
opticsZoomMax = 0.083;
|
||||
opticsZoomInit= 0.083;
|
||||
distanceZoomMin=200;
|
||||
distanceZoomMax=200;
|
||||
memoryPointCamera = "opticView";
|
||||
visionMode[] = {"Normal"};
|
||||
opticsPPEffects[]={"OpticsCHAbera1","OpticsBlur1"};
|
||||
cameraDir = "";
|
||||
};
|
||||
};
|
||||
//G36 Optic end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup556 = "G36K_Camo_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class G36K_Camo_SD_DZ : G36_C_SD_eotech
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g36\g36k_camo_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g36\data\w_g36k_camo_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G36K_CAMO_SD_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_556x45_G36SD,
|
||||
30Rnd_556x45_G36
|
||||
};
|
||||
|
||||
//G36 Optic
|
||||
optics = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
modelOptics = "z\addons\dayz_communityweapons\g36\2dscope_g36_noflash.p3d";
|
||||
opticsPPEffects[]={"OpticsCHAbera1","OpticsBlur2"};
|
||||
opticsZoomMin=0.083; opticsZoomMax=0.083;
|
||||
distanceZoomMin=100; distanceZoomMax=100;
|
||||
|
||||
dexterity = 1.7;
|
||||
|
||||
class Single : Single
|
||||
{
|
||||
dispersion = 0.0011;
|
||||
};
|
||||
|
||||
class Burst : Burst
|
||||
{
|
||||
dispersion = 0.0011;
|
||||
};
|
||||
|
||||
class FullAuto : FullAuto
|
||||
{
|
||||
dispersion = 0.0011;
|
||||
};
|
||||
|
||||
class OpticsModes
|
||||
{
|
||||
class Kolimator
|
||||
{
|
||||
opticsID = 1;
|
||||
useModelOptics = false;
|
||||
opticsFlare = false;
|
||||
opticsDisablePeripherialVision = false;
|
||||
opticsZoomMin=0.25;
|
||||
opticsZoomMax=1.1;
|
||||
opticsZoomInit=0.5;
|
||||
distanceZoomMin=100;
|
||||
distanceZoomMax=100;
|
||||
memoryPointCamera = "eye";
|
||||
visionMode[] = {};
|
||||
opticsPPEffects[]={"OpticsCHAbera1","OpticsBlur1"};
|
||||
cameraDir = "";
|
||||
};
|
||||
|
||||
class Scope
|
||||
{
|
||||
opticsID = 2;
|
||||
useModelOptics = true;
|
||||
opticsFlare = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
opticsZoomMin = 0.083;
|
||||
opticsZoomMax = 0.083;
|
||||
opticsZoomInit= 0.083;
|
||||
distanceZoomMin=200;
|
||||
distanceZoomMax=200;
|
||||
memoryPointCamera = "opticView";
|
||||
visionMode[] = {"Normal"};
|
||||
opticsPPEffects[]={"OpticsCHAbera1","OpticsBlur1"};
|
||||
cameraDir = "";
|
||||
};
|
||||
};
|
||||
//G36 Optic end
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP556_RMVE;
|
||||
script = "; ['Attachment_Sup556',_id,'G36K_Camo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class G36A_Camo_DZ : G36K_Camo_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g36\g36a_camo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g36\data\w_g36a_camo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G36A_CAMO_NAME;
|
||||
|
||||
dexterity = 1.66;
|
||||
|
||||
class Single : Single
|
||||
{
|
||||
dispersion = 0.0007;
|
||||
};
|
||||
|
||||
class Burst : Burst
|
||||
{
|
||||
dispersion = 0.0007;
|
||||
};
|
||||
|
||||
class FullAuto : FullAuto
|
||||
{
|
||||
dispersion = 0.0007;
|
||||
};
|
||||
|
||||
class Attachments {};
|
||||
};
|
||||
|
||||
/*class G36A_Camo_SD_DZ : G36K_Camo_SD_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g36\g36a_camo_sd";
|
||||
picture = "\z\addons\dayz_communityweapons\g36\data\w_g36a_camo_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G36K_CAMO_SD_NAME;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP556_RMVE;
|
||||
script = "; ['Attachment_Sup556',_id,'G36K_Camo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};*/
|
||||
223
SQF/dayz_code/Configs/CfgWeapons/Rifles/G36C.hpp
Normal file
223
SQF/dayz_code/Configs/CfgWeapons/Rifles/G36C.hpp
Normal file
@@ -0,0 +1,223 @@
|
||||
#define G36C_ACOG modelOptics = "\Ca\weapons_E\SCAR\ACOG_TA31_optic_4x.p3d";\
|
||||
class OpticsModes\
|
||||
{\
|
||||
class ACOG\
|
||||
{\
|
||||
opticsID = 1;\
|
||||
useModelOptics = true;\
|
||||
opticsFlare = true;\
|
||||
opticsDisablePeripherialVision = true;\
|
||||
opticsZoomMin = 0.0623;\
|
||||
opticsZoomMax = 0.0623;\
|
||||
opticsZoomInit = 0.0623;\
|
||||
distanceZoomMin = 300;\
|
||||
distanceZoomMax = 300;\
|
||||
memoryPointCamera = "opticView";\
|
||||
visionMode[] = {"Normal"};\
|
||||
opticsPPEffects[] = {"OpticsCHAbera3","OpticsBlur3"};\
|
||||
cameraDir = "";\
|
||||
};\
|
||||
\
|
||||
class Iron\
|
||||
{\
|
||||
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 = "";\
|
||||
};\
|
||||
}
|
||||
|
||||
class G36C_DZ : G36C
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g36c\g36c.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g36c\data\w_g36c_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G36C_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_556x45_G36,
|
||||
30Rnd_556x45_G36SD
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "G36C_CCO_DZ";
|
||||
Attachment_Holo = "G36C_Holo_DZ";
|
||||
Attachment_Sup556 = "G36C_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class G36C_SD_DZ : G36_C_SD_eotech
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g36c\g36c_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g36c\data\w_g36c_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G36C_SD_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_556x45_G36SD,
|
||||
30Rnd_556x45_G36
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "G36C_CCO_SD_DZ";
|
||||
Attachment_Holo = "G36C_Holo_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP556_RMVE;
|
||||
script = "; ['Attachment_Sup556',_id,'G36C_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class G36C_CCO_DZ : G36C_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g36c\g36c_cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g36c\data\w_g36c_cco_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G36C_CCO_NAME;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup556 = "G36C_CCO_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'G36C_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class G36C_CCO_SD_DZ : G36C_SD_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g36c\g36c_cco_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g36c\data\w_g36c_cco_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G36C_CCO_SD_NAME;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'G36C_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP556_RMVE;
|
||||
script = "; ['Attachment_Sup556',_id,'G36C_CCO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class G36C_Holo_DZ : G36C_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g36c\g36c_holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g36c\data\w_g36c_holo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G36C_HOLO_NAME;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup556 = "G36C_Holo_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'G36C_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class G36C_Holo_SD_DZ : G36C_SD_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g36c\g36c_holo_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g36c\data\w_g36c_holo_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G36C_HOLO_SD_NAME;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'G36C_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP556_RMVE;
|
||||
script = "; ['Attachment_Sup556',_id,'G36C_Holo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class G36C_ACOG_DZ : G36C_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g36c\g36c_acog.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g36c\data\w_g36c_acog_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G36C_ACOG_NAME;
|
||||
|
||||
G36C_ACOG;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup556 = "G36C_ACOG_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveACOG
|
||||
{
|
||||
text = $STR_DZ_ATT_ACOG_RMVE;
|
||||
script = "; ['Attachment_ACOG',_id,'G36C_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class G36C_ACOG_SD_DZ : G36C_SD_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\g36c\g36c_acog_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\g36c\data\w_g36c_acog_sd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_G36C_ACOG_SD_NAME;
|
||||
|
||||
G36C_ACOG;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveACOG
|
||||
{
|
||||
text = $STR_DZ_ATT_ACOG_RMVE;
|
||||
script = "; ['Attachment_ACOG',_id,'G36C_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP556_RMVE;
|
||||
script = "; ['Attachment_Sup556',_id,'G36C_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#undef G36C_ACOG
|
||||
65
SQF/dayz_code/Configs/CfgWeapons/Rifles/L110A1.hpp
Normal file
65
SQF/dayz_code/Configs/CfgWeapons/Rifles/L110A1.hpp
Normal file
@@ -0,0 +1,65 @@
|
||||
class BAF_L110A1_Aim_DZE:BAF_L110A1_Aim {
|
||||
type = "1";
|
||||
};
|
||||
class L110A1_CCO_DZ : BAF_L110A1_Aim
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\l110a1\l110a1_cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\l110a1\data\w_l110a1_cco_ca.paa";
|
||||
displayName = $STR_DZ_WPN_L110A1_CCO_NAME;
|
||||
|
||||
type = WeaponSlotPrimary;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
200Rnd_556x45_M249,
|
||||
100Rnd_556x45_M249,
|
||||
30Rnd_556x45_Stanag,
|
||||
30Rnd_556x45_StanagSD
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_REM;
|
||||
script = "; ['Attachment_CCO',_id,'L110A1_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class L110A1_Holo_DZ : L110A1_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\l110a1\l110a1_holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\l110a1\data\w_l110a1_holo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_L110A1_HOLO_NAME;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_REM;
|
||||
script = "; ['Attachment_Holo',_id,'L110A1_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class L110A1_DZ : L110A1_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\l110a1\l110a1.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\l110a1\data\w_l110a1_ca.paa";
|
||||
displayName = $STR_DZ_WPN_L110A1_NAME;
|
||||
|
||||
//iron sight zeroing
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {300,400,500,600,700,800,900,1000};
|
||||
discreteDistanceInitIndex = 0;
|
||||
//iron sight zeroing end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = L110A1_CCO_DZ;
|
||||
Attachment_Holo = L110A1_Holo_DZ;
|
||||
};
|
||||
|
||||
class ItemActions {};
|
||||
};
|
||||
8
SQF/dayz_code/Configs/CfgWeapons/Rifles/L85.hpp
Normal file
8
SQF/dayz_code/Configs/CfgWeapons/Rifles/L85.hpp
Normal file
@@ -0,0 +1,8 @@
|
||||
class L85_Holo_DZ : BAF_L85A2_RIS_Holo
|
||||
{
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_556x45_Stanag,
|
||||
30Rnd_556x45_StanagSD
|
||||
};
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Rifles/LeeEnfield.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Rifles/LeeEnfield.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class LeeEnfield_DZ : LeeEnfield
|
||||
{
|
||||
magazines[] = {10Rnd_303British};
|
||||
};
|
||||
65
SQF/dayz_code/Configs/CfgWeapons/Rifles/M1014.hpp
Normal file
65
SQF/dayz_code/Configs/CfgWeapons/Rifles/M1014.hpp
Normal file
@@ -0,0 +1,65 @@
|
||||
class M1014_DZ : M1014
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m1014\m1014.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m1014\data\w_m1014_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M1014_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
8Rnd_12Gauge_Slug,
|
||||
8Rnd_12Gauge_Buck,
|
||||
2Rnd_12Gauge_Slug,
|
||||
2Rnd_12Gauge_Buck
|
||||
};
|
||||
|
||||
class Single : Single
|
||||
{
|
||||
reloadTime = 0.27;
|
||||
};
|
||||
|
||||
distanceZoomMin=50;
|
||||
distanceZoomMax=50;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "M1014_CCO_DZ";
|
||||
Attachment_Holo = "M1014_Holo_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class M1014_CCO_DZ : M1014_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m1014\m1014_cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m1014\data\w_m1014_cco_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M1014_CCO_NAME;
|
||||
|
||||
distanceZoomMin=75;
|
||||
distanceZoomMax=75;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'M1014_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M1014_Holo_DZ : M1014_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m1014\m1014_holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m1014\data\w_m1014_holo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M1014_HOLO_NAME;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'M1014_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
136
SQF/dayz_code/Configs/CfgWeapons/Rifles/M14.hpp
Normal file
136
SQF/dayz_code/Configs/CfgWeapons/Rifles/M14.hpp
Normal file
@@ -0,0 +1,136 @@
|
||||
/* Iron sight */
|
||||
|
||||
class M14_DZ : M14_EP1
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m14\m14.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m14\data\w_m14_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M14_NAME;
|
||||
|
||||
magazines[] = {20Rnd_762x51_DMR};
|
||||
|
||||
distanceZoomMin = 300;
|
||||
distanceZoomMax = 300;
|
||||
|
||||
modes[] = {Single};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "M14_CCO_DZ";
|
||||
Attachment_Holo = "M14_Holo_DZ";
|
||||
Attachment_Ghillie = "M14_Gh_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class M14_Gh_DZ : M14_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m14\m14_ghillie.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m14\data\w_m14_ghillie_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M14_GH_NAME;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "M14_CCO_Gh_DZ";
|
||||
Attachment_Holo = "M14_Holo_Gh_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGhillie
|
||||
{
|
||||
text = $STR_DZ_ATT_GHIL_RMVE;
|
||||
script = "; ['Attachment_Ghillie',_id,'M14_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* CCO */
|
||||
|
||||
class M14_CCO_DZ : M14_DZ
|
||||
{
|
||||
model = "ca\weapons_e\m14\m14.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m14\data\w_m14_cco_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M14_CCO_NAME;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Ghillie = "M14_CCO_Gh_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'M14_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M14_CCO_Gh_DZ : M14_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m14\m14_ghillie_cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m14\data\w_m14_ghillie_cco_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M14_CCO_GH_NAME;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'M14_Gh_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGhillie
|
||||
{
|
||||
text = $STR_DZ_ATT_GHIL_RMVE;
|
||||
script = "; ['Attachment_Ghillie',_id,'M14_CCO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* Holo */
|
||||
|
||||
class M14_Holo_DZ : M14_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m14\m14_holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m14\data\w_m14_holo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M14_HOLO_NAME;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Ghillie = "M14_Holo_Gh_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'M14_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M14_Holo_Gh_DZ : M14_Holo_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m14\m14_ghillie_holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m14\data\w_m14_ghillie_holo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M14_HOLO_GH_NAME;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'M14_Gh_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGhillie
|
||||
{
|
||||
text = $STR_DZ_ATT_GHIL_RMVE;
|
||||
script = "; ['Attachment_Ghillie',_id,'M14_Holo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
18
SQF/dayz_code/Configs/CfgWeapons/Rifles/M16A2.hpp
Normal file
18
SQF/dayz_code/Configs/CfgWeapons/Rifles/M16A2.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
//no attachments on either of the M16A2s.
|
||||
class M16A2_DZ : M16A2
|
||||
{
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_556x45_Stanag,
|
||||
30Rnd_556x45_StanagSD
|
||||
};
|
||||
};
|
||||
|
||||
class M16A2_GL_DZ : M16A2GL
|
||||
{
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_556x45_Stanag,
|
||||
30Rnd_556x45_StanagSD
|
||||
};
|
||||
};
|
||||
478
SQF/dayz_code/Configs/CfgWeapons/Rifles/M16A4.hpp
Normal file
478
SQF/dayz_code/Configs/CfgWeapons/Rifles/M16A4.hpp
Normal file
@@ -0,0 +1,478 @@
|
||||
#define M16A4_FLASHLIGHT class FlashLight\
|
||||
{\
|
||||
color[] = {0.9, 0.9, 0.7, 0.9};\
|
||||
ambient[] = {0.1, 0.1, 0.1, 1.0};\
|
||||
position = "flash dir";\
|
||||
direction = "flash";\
|
||||
angle = 30;\
|
||||
scale[] = {1, 1, 0.5};\
|
||||
brightness = 0.1;\
|
||||
}
|
||||
|
||||
#define M16A4_ACOG modelOptics = "\Ca\weapons_E\SCAR\ACOG_TA31_optic_4x.p3d";\
|
||||
class OpticsModes\
|
||||
{\
|
||||
class ACOG\
|
||||
{\
|
||||
opticsID = 1;\
|
||||
useModelOptics = true;\
|
||||
opticsFlare = true;\
|
||||
opticsDisablePeripherialVision = true;\
|
||||
opticsZoomMin = 0.0623;\
|
||||
opticsZoomMax = 0.0623;\
|
||||
opticsZoomInit = 0.0623;\
|
||||
distanceZoomMin = 300;\
|
||||
distanceZoomMax = 300;\
|
||||
memoryPointCamera = "opticView";\
|
||||
visionMode[] = {"Normal"};\
|
||||
opticsPPEffects[] = {"OpticsCHAbera3","OpticsBlur3"};\
|
||||
cameraDir = "";\
|
||||
};\
|
||||
\
|
||||
class Iron\
|
||||
{\
|
||||
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 = "";\
|
||||
};\
|
||||
}
|
||||
|
||||
//Iron sights
|
||||
class M16A4_DZ : M16A2
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_556x45_Stanag,
|
||||
30Rnd_556x45_StanagSD
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "M16A4_CCO_DZ";
|
||||
Attachment_Holo = "M16A4_Holo_DZ";
|
||||
Attachment_ACOG = "M16A4_ACOG_DZ";
|
||||
Attachment_M203 = "M16A4_GL_DZ";
|
||||
Attachment_FL = "M16A4_FL_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_FL_DZ : M16A4_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_FL;
|
||||
|
||||
M16A4_FLASHLIGHT;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "M16A4_CCO_FL_DZ";
|
||||
Attachment_Holo = "M16A4_Holo_FL_DZ";
|
||||
Attachment_ACOG = "M16A4_ACOG_FL_DZ";
|
||||
Attachment_M203 = "M16A4_GL_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'M16A4_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_DZ : M16A4_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_GL;
|
||||
|
||||
muzzles[] = {this, M203Muzzle};
|
||||
handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M16GL.rtm"};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "M16A4_GL_CCO_DZ";
|
||||
Attachment_Holo = "M16A4_GL_Holo_DZ";
|
||||
Attachment_ACOG = "M16A4_GL_ACOG_DZ";
|
||||
Attachment_FL = "M16A4_GL_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M16A4_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_FL_DZ : M16A4_GL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_GL_FL;
|
||||
|
||||
M16A4_FLASHLIGHT;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "M16A4_GL_CCO_FL_DZ";
|
||||
Attachment_Holo = "M16A4_GL_Holo_FL_DZ";
|
||||
Attachment_ACOG = "M16A4_GL_ACOG_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M16A4_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'M16A4_GL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
//CCO
|
||||
class M16A4_CCO_DZ : M16A4_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_cco_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_CCO;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_M203 = "M16A4_GL_CCO_DZ";
|
||||
Attachment_FL = "M16A4_CCO_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'M16A4_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_CCO_FL_DZ : M16A4_FL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_cco_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_cco_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_CCO_FL;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_M203 = "M16A4_GL_CCO_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'M16A4_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'M16A4_CCO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_CCO_DZ : M16A4_GL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_cco_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_GL_CCO;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL = "M16A4_GL_CCO_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'M16A4_GL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M16A4_CCO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_CCO_FL_DZ : M16A4_GL_FL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_cco_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_cco_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_GL_CCO_FL;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'M16A4_GL_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M16A4_CCO_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'M16A4_GL_CCO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
//Holo
|
||||
class M16A4_Holo_DZ : M16A4_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_holo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_HOLO;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_M203 = "M16A4_GL_Holo_DZ";
|
||||
Attachment_FL = "M16A4_Holo_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'M16A4_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_Holo_FL_DZ : M16A4_FL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_holo_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_holo_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_HOLO_FL;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_M203 = "M16A4_GL_Holo_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'M16A4_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'M16A4_Holo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_Holo_DZ : M16A4_GL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_holo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_gl_HOLO;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL = "M16A4_GL_Holo_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'M16A4_GL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M16A4_Holo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_Holo_FL_DZ : M16A4_GL_FL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_holo_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_holo_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_GL_HOLO_FL;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'M16A4_GL_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M16A4_Holo_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'M16A4_GL_Holo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
//ACOG
|
||||
|
||||
class M16A4_ACOG_DZ : M16A4_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_acog.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_acog_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_ACOG_NAME;
|
||||
|
||||
M16A4_ACOG;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_M203 = M16A4_GL_ACOG_DZ;
|
||||
Attachment_FL_Rfl = M16A4_ACOG_FL_DZ;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveACOG
|
||||
{
|
||||
text = $STR_DZ_ATT_ACOG_RMVE;
|
||||
script = "; ['Attachment_ACOG',_id,'M16A4_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_ACOG_FL_DZ : M16A4_FL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_acog_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_acog_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_ACOG_FL_NAME;
|
||||
|
||||
M16A4_ACOG;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_M203 = M16A4_GL_ACOG_FL_DZ;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveACOG
|
||||
{
|
||||
text = $STR_DZ_ATT_ACOG_RMVE;
|
||||
script = "; ['Attachment_ACOG',_id,'M16A4_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL_Rfl',_id,'M16A4_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_ACOG_DZ : M16A4_GL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_acog.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_acog_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_GL_ACOG_NAME;
|
||||
|
||||
M16A4_ACOG;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL_Rfl = M16A4_GL_ACOG_FL_DZ;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveACOG
|
||||
{
|
||||
text = $STR_DZ_ATT_ACOG_RMVE;
|
||||
script = "; ['Attachment_ACOG',_id,'M16A4_GL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M16A4_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_ACOG_FL_DZ : M16A4_GL_FL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_acog_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_acog_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_GL_ACOG_FL_NAME;
|
||||
|
||||
M16A4_ACOG;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveACOG
|
||||
{
|
||||
text = $STR_DZ_ATT_ACOG_RMVE;
|
||||
script = "; ['Attachment_ACOG',_id,'M16A4_GL_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M16A4_ACOG_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL_Rfl',_id,'M16A4_GL_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
33
SQF/dayz_code/Configs/CfgWeapons/Rifles/M24.hpp
Normal file
33
SQF/dayz_code/Configs/CfgWeapons/Rifles/M24.hpp
Normal file
@@ -0,0 +1,33 @@
|
||||
class M24_DZ : M24
|
||||
{
|
||||
model = "ca\weapons\m24_green.p3d";
|
||||
displayName = $STR_DZ_WPN_M24_NAME;
|
||||
|
||||
magazines[] = {5Rnd_762x51_M24};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Ghillie = "M24_Gh_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class M24_Gh_DZ : M24_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m24\m24_ghillie.p3d";
|
||||
picture = "\ca\weapons\data\equip\w_m24_camo_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_WPN_M24_GH_NAME;
|
||||
|
||||
memoryPointCamera = "opticView";
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGhillie
|
||||
{
|
||||
text = $STR_DZ_ATT_GHIL_RMVE;
|
||||
script = "; ['Attachment_Ghillie',_id,'M24_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
54
SQF/dayz_code/Configs/CfgWeapons/Rifles/M240.hpp
Normal file
54
SQF/dayz_code/Configs/CfgWeapons/Rifles/M240.hpp
Normal file
@@ -0,0 +1,54 @@
|
||||
class M240_DZ : M240
|
||||
{
|
||||
picture = "\z\addons\dayz_communityweapons\m240\data\w_m240_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M240_NAME;
|
||||
|
||||
type = WeaponSlotPrimary;
|
||||
|
||||
magazines[] = {100Rnd_762x51_M240};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = M240_CCO_DZ;
|
||||
Attachment_Holo = M240_Holo_DZ;
|
||||
};
|
||||
};
|
||||
|
||||
class M240_CCO_DZ : M240_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m240\m240_cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m240\data\w_m240_cco_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M240_CCO_NAME;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_REM;
|
||||
script = "; ['Attachment_CCO',_id,'M240_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M240_Holo_DZ : M240_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m240\m240_holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m240\data\w_m240_holo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M240_HOLO_NAME;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_REM;
|
||||
script = "; ['Attachment_Holo',_id,'M240_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
class m240_scoped_EP1_DZE:m240_scoped_EP1 {
|
||||
type = "1";
|
||||
};
|
||||
70
SQF/dayz_code/Configs/CfgWeapons/Rifles/M249.hpp
Normal file
70
SQF/dayz_code/Configs/CfgWeapons/Rifles/M249.hpp
Normal file
@@ -0,0 +1,70 @@
|
||||
class M249_CCO_DZ : M249
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m249\m249_cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m249\data\w_m249_cco_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M249_CCO_NAME;
|
||||
|
||||
type = WeaponSlotPrimary;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
200Rnd_556x45_M249,
|
||||
100Rnd_556x45_M249,
|
||||
30Rnd_556x45_Stanag,
|
||||
30Rnd_556x45_StanagSD
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'M249_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M249_DZ : M249_CCO_DZ
|
||||
{
|
||||
model = "ca\weapons\m249.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m249\data\w_m249_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M249_NAME;
|
||||
|
||||
//iron sight zeroing
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {300,400,500,600,700,800,900,1000};
|
||||
discreteDistanceInitIndex = 0;
|
||||
//iron sight zeroing end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "M249_CCO_DZ";
|
||||
Attachment_Holo = "M249_Holo_DZ";
|
||||
};
|
||||
|
||||
class ItemActions {};
|
||||
};
|
||||
|
||||
class M249_Holo_DZ : M249_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m249\m249_holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m249\data\w_m249_holo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M249_HOLO_NAME;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'M249_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
class M249_EP1;
|
||||
class M249_EP1_DZ:M249_EP1 {
|
||||
type = "1";
|
||||
};
|
||||
class M249_m145_EP1;
|
||||
class M249_m145_EP1_DZE:M249_m145_EP1 {
|
||||
type = "1";
|
||||
};
|
||||
32
SQF/dayz_code/Configs/CfgWeapons/Rifles/M40A3.hpp
Normal file
32
SQF/dayz_code/Configs/CfgWeapons/Rifles/M40A3.hpp
Normal file
@@ -0,0 +1,32 @@
|
||||
class M40A3_Gh_DZ : M40A3
|
||||
{
|
||||
picture = "\z\addons\dayz_communityweapons\m40a3\data\w_m40a3_ghillie_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M40A3_GH_NAME;
|
||||
|
||||
magazines[] = {5Rnd_762x51_M24};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGhillie
|
||||
{
|
||||
text = $STR_DZ_ATT_GHIL_RMVE;
|
||||
script = "; ['Attachment_Ghillie',_id,'M40A3_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M40A3_DZ : M40A3_Gh_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m40a3\m40a3.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m40a3\data\w_m40a3_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M40A3_NAME;
|
||||
|
||||
memoryPointCamera = "opticView";
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Ghillie = "M40A3_Gh_DZ";
|
||||
};
|
||||
|
||||
class ItemActions {};
|
||||
};
|
||||
1029
SQF/dayz_code/Configs/CfgWeapons/Rifles/M4A1.hpp
Normal file
1029
SQF/dayz_code/Configs/CfgWeapons/Rifles/M4A1.hpp
Normal file
File diff suppressed because it is too large
Load Diff
39
SQF/dayz_code/Configs/CfgWeapons/Rifles/MP5.hpp
Normal file
39
SQF/dayz_code/Configs/CfgWeapons/Rifles/MP5.hpp
Normal file
@@ -0,0 +1,39 @@
|
||||
class MP5_DZ : MP5A5
|
||||
{
|
||||
picture = "\z\addons\dayz_communityweapons\mp5\data\w_mp5_ca.paa";
|
||||
displayName = $STR_DZ_WPN_MP5_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_9x19_MP5,
|
||||
30Rnd_9x19_MP5SD
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "MP5_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class MP5_SD_DZ : MP5SD
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\mp5\mp5_sd.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\mp5\data\w_mp5_sd_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_WPN_MP5_SD_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_9x19_MP5SD,
|
||||
30Rnd_9x19_MP5
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP9_RMVE;
|
||||
script = "; ['Attachment_Sup9',_id,'MP5_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
35
SQF/dayz_code/Configs/CfgWeapons/Rifles/MR43.hpp
Normal file
35
SQF/dayz_code/Configs/CfgWeapons/Rifles/MR43.hpp
Normal file
@@ -0,0 +1,35 @@
|
||||
class MR43_DZ : Rifle
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_weapons\models\mr43.p3d";
|
||||
picture = "\dayz_weapons\textures\equip_mr43_CA.paa";
|
||||
displayname = $STR_WPN_NAME_5;
|
||||
descriptionShort = $STR_WPN_DESC_5;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
2Rnd_12Gauge_Slug,
|
||||
2Rnd_12Gauge_Buck
|
||||
};
|
||||
|
||||
handAnim[] = {"OFP2_ManSkeleton", "\Ca\weapons_E\Data\Anim\LeeEnfield.rtm"};
|
||||
|
||||
distanceZoomMin = 100;
|
||||
distanceZoomMax = 100;
|
||||
|
||||
modes[] = {"Single"};
|
||||
|
||||
class Single : Mode_SemiAuto
|
||||
{
|
||||
dispersion = 0.003;
|
||||
soundContinuous = 0;
|
||||
reloadTime = 0.01;
|
||||
reloadMagazineSound[] = {"\ca\sounds\weapons\rifles\M1014-reload", 0.316228, 1, 20};
|
||||
DB_shotgun_1[] = {"dayz_weapons\sounds\DB_shotgun_1", 1.77828, 1, 1000};
|
||||
soundBegin[] = {"DB_shotgun_1", 1};
|
||||
drySound[] = {"ca\sounds\weapons\rifles\dry", 0.01, 1, 10};
|
||||
recoil = "recoil_single_primary_9outof10";
|
||||
recoilProne = "recoil_single_primary_prone_8outof10";
|
||||
};
|
||||
};
|
||||
59
SQF/dayz_code/Configs/CfgWeapons/Rifles/Mk48.hpp
Normal file
59
SQF/dayz_code/Configs/CfgWeapons/Rifles/Mk48.hpp
Normal file
@@ -0,0 +1,59 @@
|
||||
class Mk48_CCO_DZ : Mk_48
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\mk48\mk48_cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\mk48\data\w_mk48_cco_camo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_MK48_CCO_NAME;
|
||||
|
||||
type = WeaponSlotPrimary;
|
||||
|
||||
magazines[] = {100Rnd_762x51_M240};
|
||||
|
||||
distanceZoomMin = 300;
|
||||
distanceZoomMax = 300;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'Mk48_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Mk48_DZ : Mk48_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\mk48\mk48.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\mk48\data\w_mk48_camo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_MK48_NAME;
|
||||
|
||||
//iron sight zeroing
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {300,400,500,600,700,800,900,1000};
|
||||
discreteDistanceInitIndex = 0;
|
||||
//iron sight zeroing end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "Mk48_CCO_DZ";
|
||||
Attachment_Holo = "Mk48_Holo_DZ";
|
||||
};
|
||||
|
||||
class ItemActions {};
|
||||
};
|
||||
|
||||
class Mk48_Holo_DZ : Mk48_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\mk48\mk48_holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\mk48\data\w_mk48_holo_camo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_MK48_HOLO_NAME;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'Mk48_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
281
SQF/dayz_code/Configs/CfgWeapons/Rifles/Mosin.hpp
Normal file
281
SQF/dayz_code/Configs/CfgWeapons/Rifles/Mosin.hpp
Normal file
@@ -0,0 +1,281 @@
|
||||
#define MOSIN_FLASHLIGHT class FlashLight\
|
||||
{\
|
||||
color[] = {0.9, 0.9, 0.7, 0.9};\
|
||||
ambient[] = {0.1, 0.1, 0.1, 1.0};\
|
||||
position = "fl_start";\
|
||||
direction = "fl_dir";\
|
||||
angle = 40;\
|
||||
scale[] = {1, 1, 0.5};\
|
||||
brightness = 0.1;\
|
||||
};
|
||||
|
||||
#define MOSIN_BELT magazineReloadTime = 4.7;
|
||||
|
||||
#define MOSIN_BROKEN magazines[] = {};
|
||||
|
||||
class Mosin_Base : Rifle
|
||||
{
|
||||
magazineReloadTime = 7.5;
|
||||
reloadMagazineSound[] = {z\addons\dayz_communityweapons\models\mosin_nagant\sound\reload.ogg, 0.010000, 1};
|
||||
drySound[] = {"Ca\sounds\Weapons\rifles\dry",0.01,1,10};
|
||||
handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M24.rtm"};
|
||||
dexterity = 1.6;
|
||||
distanceZoomMin = 300;
|
||||
distanceZoomMax = 300;
|
||||
|
||||
magazines[] = {5Rnd_762x54_Mosin};
|
||||
|
||||
//recoil = "Mosin_NagantRecoil";
|
||||
//recoilProne = "Mosin_NagantRecoilProne";
|
||||
recoil = "recoil_single_primary_9outof10";
|
||||
recoilProne = "recoil_single_primary_prone_8outof10";
|
||||
|
||||
dispersion = 0.00091;
|
||||
reloadTime = 1.4;
|
||||
//sound[] = {z\addons\dayz_communityweapons\models\mosin_nagant\sound\Mosin.ogg,1.778279,1,1000};
|
||||
sound[] = {z\addons\dayz_communityweapons\models\mosin_nagant\sound\Mosin.ogg,db-20,1,800};
|
||||
};
|
||||
|
||||
|
||||
|
||||
/* Iron sights */
|
||||
|
||||
class Mosin_DZ : Mosin_Base
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_animated";
|
||||
picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891.paa";
|
||||
displayName = $STR_DZ_WPN_MOSIN_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_MOSIN_DESC;
|
||||
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900,2000};
|
||||
discreteDistanceInitIndex = 2;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_SCOPED = "Mosin_PU_DZ";
|
||||
Attachment_FL = "Mosin_FL_DZ";
|
||||
Attachment_BELT = "Mosin_Belt_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class Mosin_BR_DZ : Mosin_DZ
|
||||
{
|
||||
MOSIN_BROKEN
|
||||
};
|
||||
|
||||
class Mosin_FL_DZ : Mosin_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_FL_animated";
|
||||
picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891_FL.paa";
|
||||
displayName = $STR_DZ_WPN_MOSIN_FL_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_MOSIN_DESC;
|
||||
|
||||
MOSIN_FLASHLIGHT
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_SCOPED = "Mosin_PU_FL_DZ";
|
||||
Attachment_BELT = "Mosin_Belt_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'Mosin_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Mosin_Belt_DZ : Mosin_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_belt_animated";
|
||||
picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891B.paa";
|
||||
displayName = $STR_DZ_WPN_MOSIN_BELT_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_MOSIN_DESC;
|
||||
|
||||
MOSIN_BELT
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_SCOPED = "Mosin_PU_Belt_DZ";
|
||||
Attachment_FL = "Mosin_Belt_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveBelt
|
||||
{
|
||||
text = $STR_DZ_ATT_BELT_RMVE;
|
||||
script = "; ['Attachment_BELT',_id,'Mosin_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Mosin_Belt_FL_DZ : Mosin_FL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_belt_FL_animated";
|
||||
picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891B_FL.paa";
|
||||
displayName = $STR_DZ_WPN_MOSIN_BELT_FL_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_MOSIN_DESC;
|
||||
|
||||
MOSIN_BELT
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_SCOPED = "Mosin_PU_Belt_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveBelt
|
||||
{
|
||||
text = $STR_DZ_ATT_BELT_RMVE;
|
||||
script = "; ['Attachment_BELT',_id,'Mosin_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'Mosin_Belt_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
/* PU Scope */
|
||||
|
||||
class Mosin_PU_DZ : Mosin_Base
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_scoped_animated";
|
||||
picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891S.paa";
|
||||
displayName = $STR_DZ_WPN_MOSIN_PU_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_MOSIN_DESC;
|
||||
|
||||
opticsPPEffects[] = {"OpticsCHAbera2","OpticsBlur2"};
|
||||
opticsZoomInit = 0.083;
|
||||
opticsZoomMin = 0.071945;
|
||||
opticsZoomMax = 0.071945;
|
||||
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000,1100,1200,1300};
|
||||
discreteDistanceInitIndex = 2;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL = "Mosin_PU_FL_DZ";
|
||||
Attachment_BELT = "Mosin_PU_Belt_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveScope
|
||||
{
|
||||
text = $STR_DZ_ATT_PU_RMVE;
|
||||
script = "; ['Attachment_SCOPED',_id,'Mosin_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Mosin_PU_FL_DZ : Mosin_PU_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_scoped_FL_animated";
|
||||
picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891S_FL.paa";
|
||||
displayName = $STR_DZ_WPN_MOSIN_PU_FL_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_MOSIN_DESC;
|
||||
|
||||
MOSIN_FLASHLIGHT
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_BELT = "Mosin_PU_Belt_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveScope
|
||||
{
|
||||
text = $STR_DZ_ATT_PU_RMVE;
|
||||
script = "; ['Attachment_SCOPED',_id,'Mosin_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'Mosin_PU_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Mosin_PU_Belt_DZ : Mosin_PU_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_belt_scoped_animated";
|
||||
picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891SB.paa";
|
||||
displayName = $STR_DZ_WPN_MOSIN_PU_BELT_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_MOSIN_DESC;
|
||||
|
||||
MOSIN_BELT
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL = "Mosin_PU_Belt_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveScope
|
||||
{
|
||||
text = $STR_DZ_ATT_PU_RMVE;
|
||||
script = "; ['Attachment_SCOPED',_id,'Mosin_Belt_DZ'] call player_removeAttachment";
|
||||
};
|
||||
|
||||
class RemoveBelt
|
||||
{
|
||||
text = $STR_DZ_ATT_BELT_RMVE;
|
||||
script = "; ['Attachment_BELT',_id,'Mosin_PU_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Mosin_PU_Belt_FL_DZ : Mosin_PU_FL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\models\mosin_nagant\mosin_1891_belt_scoped_FL_animated";
|
||||
picture = "\z\addons\dayz_communityweapons\models\mosin_nagant\images\1891SB_FL.paa";
|
||||
displayName = $STR_DZ_WPN_MOSIN_PU_BELT_FL_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_MOSIN_DESC;
|
||||
|
||||
MOSIN_BELT
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveScope
|
||||
{
|
||||
text = $STR_DZ_ATT_PU_RMVE;
|
||||
script = "; ['Attachment_SCOPED',_id,'Mosin_Belt_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
|
||||
class RemoveBelt
|
||||
{
|
||||
text = $STR_DZ_ATT_BELT_RMVE;
|
||||
script = "; ['Attachment_BELT',_id,'Mosin_PU_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL',_id,'Mosin_PU_Belt_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#undef MOSIN_FLASHLIGHT
|
||||
#undef MOSIN_BELT
|
||||
20
SQF/dayz_code/Configs/CfgWeapons/Rifles/PKM.hpp
Normal file
20
SQF/dayz_code/Configs/CfgWeapons/Rifles/PKM.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
class PKM_DZ : PK
|
||||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
121
SQF/dayz_code/Configs/CfgWeapons/Rifles/RPK.hpp
Normal file
121
SQF/dayz_code/Configs/CfgWeapons/Rifles/RPK.hpp
Normal file
@@ -0,0 +1,121 @@
|
||||
//TODO: configure recoil, rate of fire etc (different from akm)
|
||||
|
||||
class RPK_DZ : AK_47_M
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\rpk\rpk.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\rpk\data\w_rpk_ca.paa";
|
||||
displayName = $STR_DZ_WPN_RPK_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_RPK_DESC;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
75Rnd_762x39_RPK,
|
||||
30Rnd_762x39_AK47
|
||||
};
|
||||
|
||||
modes[] = {FullAuto,Single};
|
||||
|
||||
//iron sight zeroing
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000};
|
||||
discreteDistanceInitIndex = 0;
|
||||
//iron sight zeroing end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = RPK_Kobra_DZ;
|
||||
Attachment_PSO1 = RPK_PSO1_DZ;
|
||||
};
|
||||
|
||||
class ItemActions {};
|
||||
};
|
||||
|
||||
class RPK_Kobra_DZ : RPK_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\rpk\rpk_kobra.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\rpk\data\w_rpk_kobra_ca.paa";
|
||||
displayName = $STR_DZ_WPN_RPK_KOBRA_NAME;
|
||||
|
||||
//kobra zeroing
|
||||
weaponInfoType = "RscWeaponEmpty";
|
||||
discreteDistance[] = {};
|
||||
discreteDistanceInitIndex = 0;
|
||||
distanceZoomMin = 200;
|
||||
distanceZoomMax = 200;
|
||||
//kobra zeroing end
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'RPK_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class RPK_PSO1_DZ : RPK_Kobra_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\rpk\rpk_pso.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\rpk\data\w_rpk_pso_ca.paa";
|
||||
displayName = $STR_DZ_WPN_RPK_PSO1_NAME;
|
||||
|
||||
//PSO-1
|
||||
optics = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
modelOptics = "\ca\weapons\optika_snpiere";
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
opticsZoomMin=0.0623; opticsZoomMax=0.0623;
|
||||
distanceZoomMin= 200; distanceZoomMax= 200;
|
||||
|
||||
class OpticsModes
|
||||
{
|
||||
class Scope
|
||||
{
|
||||
opticsID = 1;
|
||||
useModelOptics = true;
|
||||
opticsFlare = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
opticsZoomMin = 0.0623;
|
||||
opticsZoomMax = 0.0623;
|
||||
opticsZoomInit = 0.0623;
|
||||
distanceZoomMin = 200;
|
||||
distanceZoomMax = 200;
|
||||
memoryPointCamera = "opticView";
|
||||
visionMode[] = {"Normal"};
|
||||
opticsPPEffects[] = {"OpticsCHAbera3","OpticsBlur3"};
|
||||
cameraDir = "";
|
||||
};
|
||||
|
||||
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 = "";
|
||||
};
|
||||
};
|
||||
//PSO-1 end
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemovePSO1
|
||||
{
|
||||
text = $STR_DZ_ATT_PSO1_RMVE;
|
||||
script = "; ['Attachment_PSO1',_id,'RPK_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
107
SQF/dayz_code/Configs/CfgWeapons/Rifles/RPK74.hpp
Normal file
107
SQF/dayz_code/Configs/CfgWeapons/Rifles/RPK74.hpp
Normal file
@@ -0,0 +1,107 @@
|
||||
class RPK74_Kobra_DZ : RPK_74
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\rpk74\rpk74_kobra.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\rpk74\data\w_rpk74_kobra_ca.paa";
|
||||
displayName = $STR_DZ_WPN_RPK74_KOBRA_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
75Rnd_545x39_RPK,
|
||||
30Rnd_545x39_AK,
|
||||
30Rnd_545x39_AKSD
|
||||
};
|
||||
|
||||
modes[] = {FullAuto,Single};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'RPK74_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class RPK74_DZ : RPK74_Kobra_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\rpk74\rpk74.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\rpk74\data\w_rpk74_ca.paa";
|
||||
displayName = $STR_DZ_WPN_RPK74_NAME;
|
||||
|
||||
//iron sight zeroing
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000};
|
||||
discreteDistanceInitIndex = 0;
|
||||
//iron sight zeroing end
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "RPK74_Kobra_DZ";
|
||||
Attachment_PSO1 = "RPK74_PSO1_DZ";
|
||||
};
|
||||
|
||||
class ItemActions {};
|
||||
};
|
||||
|
||||
class RPK74_PSO1_DZ : RPK74_Kobra_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\rpk74\rpk74_pso.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\rpk74\data\w_rpk74_pso_ca.paa";
|
||||
displayName = $STR_DZ_WPN_RPK74_PSO1_NAME;
|
||||
|
||||
//PSO-1
|
||||
optics = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
modelOptics = "\ca\weapons\optika_snpiere";
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
opticsZoomMin=0.0623; opticsZoomMax=0.0623;
|
||||
distanceZoomMin= 200; distanceZoomMax= 200;
|
||||
|
||||
class OpticsModes
|
||||
{
|
||||
class Scope
|
||||
{
|
||||
opticsID = 1;
|
||||
useModelOptics = true;
|
||||
opticsFlare = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
opticsZoomMin = 0.0623;
|
||||
opticsZoomMax = 0.0623;
|
||||
opticsZoomInit= 0.0623;
|
||||
distanceZoomMin= 200;
|
||||
distanceZoomMax= 200;
|
||||
memoryPointCamera = "opticView";
|
||||
visionMode[] = {"Normal"};
|
||||
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
||||
cameraDir = "";
|
||||
};
|
||||
|
||||
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 = "";
|
||||
};
|
||||
};
|
||||
//PSO-1 end
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemovePSO1
|
||||
{
|
||||
text = $STR_DZ_ATT_PSO1_RMVE;
|
||||
script = "; ['Attachment_PSO1',_id,'RPK74_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
56
SQF/dayz_code/Configs/CfgWeapons/Rifles/Remington870.hpp
Normal file
56
SQF/dayz_code/Configs/CfgWeapons/Rifles/Remington870.hpp
Normal file
@@ -0,0 +1,56 @@
|
||||
class Remington870_DZ : Rifle
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_weapons\models\Remington870.p3d";
|
||||
picture = "\dayz_weapons\textures\equip_remington870_CA.paa";
|
||||
displayname = $STR_WPN_NAME_2;
|
||||
descriptionShort = $STR_WPN_DESC_2;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
8Rnd_12Gauge_Slug,
|
||||
8Rnd_12Gauge_Buck,
|
||||
2Rnd_12Gauge_Slug,
|
||||
2Rnd_12Gauge_Buck
|
||||
};
|
||||
|
||||
handAnim[] = {"OFP2_ManSkeleton", "\Ca\weapons_E\Data\Anim\LeeEnfield.rtm"};
|
||||
|
||||
distanceZoomMin = 100;
|
||||
distanceZoomMax = 100;
|
||||
|
||||
modes[] = {"Single"};
|
||||
|
||||
class Single : Mode_SemiAuto
|
||||
{
|
||||
dispersion = 0.003;
|
||||
soundContinuous = 0;
|
||||
reloadTime = 0.5;
|
||||
reloadMagazineSound[] = {"\ca\sounds\weapons\rifles\M1014-reload", 0.316228, 1, 20};
|
||||
begin1[] = {"dayz_weapons\sounds\shotgun_0", 1.77828, 1, 1000};
|
||||
begin2[] = {"dayz_weapons\sounds\shotgun_1", 1.77828, 1, 1000};
|
||||
soundBegin[] = {"begin1", 0.5, "begin2", 0.5};
|
||||
drySound[] = {"ca\sounds\weapons\rifles\dry", 0.01, 1, 10};
|
||||
recoil = "recoil_single_primary_9outof10";
|
||||
recoilProne = "recoil_single_primary_prone_8outof10";
|
||||
};
|
||||
};
|
||||
|
||||
class Remington870_FL_DZ : Remington870_DZ
|
||||
{
|
||||
model = "\dayz_weapons\models\Remington870_lamp.p3d";
|
||||
displayname = $STR_WPN_NAME_3;
|
||||
descriptionShort = $STR_WPN_DESC_3;
|
||||
|
||||
class FlashLight
|
||||
{
|
||||
color[] = {0.9, 0.9, 0.7, 0.9};
|
||||
ambient[] = {0.1, 0.1, 0.1, 1};
|
||||
position = "flash dir";
|
||||
direction = "flash";
|
||||
angle = 30;
|
||||
scale[] = {1, 1, 0.5};
|
||||
brightness = 0.1;
|
||||
};
|
||||
};
|
||||
252
SQF/dayz_code/Configs/CfgWeapons/Rifles/SA58.hpp
Normal file
252
SQF/dayz_code/Configs/CfgWeapons/Rifles/SA58.hpp
Normal file
@@ -0,0 +1,252 @@
|
||||
#define FLASHLIGHT class FlashLight\
|
||||
{\
|
||||
color[] = {0.9, 0.9, 0.7, 0.9};\
|
||||
ambient[] = {0.1, 0.1, 0.1, 1.0};\
|
||||
position = "flash dir";\
|
||||
direction = "flash";\
|
||||
angle = 30;\
|
||||
scale[] = {1, 1, 0.5};\
|
||||
brightness = 0.1;\
|
||||
}
|
||||
|
||||
class SA58_DZ : Sa58V_EP1
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_NAME;
|
||||
|
||||
modes[] = {Single, FullAuto};
|
||||
magazines[] = {30Rnd_762x39_SA58};
|
||||
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
discreteDistance[] = {100,200,300,400,500,600,700,800};
|
||||
discreteDistanceInitIndex = 2;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_SA58RIS = SA58_RIS_DZ;
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_RIS_DZ : SA58_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_ris.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_ris_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_RIS_NAME;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = SA58_CCO_DZ;
|
||||
Attachment_Holo = SA58_Holo_DZ;
|
||||
Attachment_ACOG = SA58_ACOG_DZ;
|
||||
Attachment_FL_Rfl = SA58_RIS_FL_DZ;
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_RIS_FL_FZ : SA58_RIS_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_ris_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_ris_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_RIS_FL_NAME;
|
||||
|
||||
FLASHLIGHT;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = SA58_CCO_FL_DZ;
|
||||
Attachment_Holo = SA58_Holo_FL_DZ;
|
||||
Attachment_ACOG = SA58_ACOG_FL_DZ;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL_Rfl',_id,'SA58_RIS_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_CCO_DZ : SA58_RIS_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_cco_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_CCO_NAME;
|
||||
|
||||
weaponInfoType = "RscWeaponEmpty";
|
||||
discreteDistance[] = {};
|
||||
discreteDistanceInitIndex = 0;
|
||||
distanceZoomMin = 200;
|
||||
distanceZoomMax = 200;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL_Rfl = SA58_CCO_FL_DZ;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'SA58_RIS_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_CCO_FL_DZ : SA58_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_cco_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_cco_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_CCO_FL_NAME;
|
||||
|
||||
FLASHLIGHT;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'SA58_RIS_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL_Rfl',_id,'SA58_CCO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_Holo_DZ : SA58_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_holo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_HOLO_NAME;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL_Rfl = SA58_Holo_FL_DZ;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'SA58_RIS_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_Holo_FL_DZ : SA58_Holo_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_holo_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_holo_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_HOLO_FL_NAME;
|
||||
|
||||
FLASHLIGHT;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'SA58_RIS_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL_Rfl',_id,'SA58_Holo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_ACOG_DZ : SA58_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_acog.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_acog_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_ACOG_NAME;
|
||||
|
||||
//TODO: new optic for acog
|
||||
modelOptics = "\Ca\weapons_E\SCAR\ACOG_TA31_optic_4x.p3d";
|
||||
class OpticsModes
|
||||
{
|
||||
class ACOG
|
||||
{
|
||||
opticsID = 1;
|
||||
useModelOptics = true;
|
||||
opticsFlare = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
opticsZoomMin = 0.0623;
|
||||
opticsZoomMax = 0.0623;
|
||||
opticsZoomInit = 0.0623;
|
||||
distanceZoomMin = 300;
|
||||
distanceZoomMax = 300;
|
||||
memoryPointCamera = "opticView";
|
||||
visionMode[] = {"Normal"};
|
||||
opticsPPEffects[] = {"OpticsCHAbera3","OpticsBlur3"};
|
||||
cameraDir = "";
|
||||
};
|
||||
|
||||
class Iron
|
||||
{
|
||||
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 = "";
|
||||
};
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL_Rfl = SA58_ACOG_FL_DZ;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveACOG
|
||||
{
|
||||
text = $STR_DZ_ATT_ACOG_RMVE;
|
||||
script = "; ['Attachment_ACOG',_id,'SA58_RIS_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_ACOG_FL_DZ : SA58_ACOG_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_acog_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_acog_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_ACOG_FL_NAME;
|
||||
|
||||
FLASHLIGHT;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveACOG
|
||||
{
|
||||
text = $STR_DZ_ATT_ACOG_RMVE;
|
||||
script = "; ['Attachment_ACOG',_id,'SA58_RIS_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL_Rfl',_id,'SA58_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
44
SQF/dayz_code/Configs/CfgWeapons/Rifles/SVD.hpp
Normal file
44
SQF/dayz_code/Configs/CfgWeapons/Rifles/SVD.hpp
Normal file
@@ -0,0 +1,44 @@
|
||||
class SVD_DZ : SVD
|
||||
{
|
||||
model = "ca\weapons\svd_dragunov_proxy.p3d";
|
||||
picture = "\ca\weapons\data\equip\w_svd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SVD_NAME;
|
||||
|
||||
weaponInfoType = "RscWeaponEmpty";
|
||||
discreteDistance[] = {};
|
||||
discreteDistanceInitIndex = 0;
|
||||
distanceZoomMin = 200;
|
||||
distanceZoomMax = 200;
|
||||
|
||||
magazines[] = {10Rnd_762x54_SVD};
|
||||
|
||||
reloadTime = 0.06;
|
||||
|
||||
recoil = "recoil_single_primary_4outof10";
|
||||
recoilProne = "recoil_single_primary_prone_4outof10";
|
||||
|
||||
dispersion = 0.00045;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Ghillie = "SVD_Gh_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class SVD_Gh_DZ : SVD_DZ
|
||||
{
|
||||
model = "ca\weapons\svd_camo.p3d";
|
||||
picture = "\ca\weapons\data\equip\w_svd_camo_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SVD_GH_NAME;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGhillie
|
||||
{
|
||||
text = $STR_DZ_ATT_GHIL_RMVE;
|
||||
script = "; ['Attachment_Ghillie',_id,'SVD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
18
SQF/dayz_code/Configs/CfgWeapons/Rifles/UK59.hpp
Normal file
18
SQF/dayz_code/Configs/CfgWeapons/Rifles/UK59.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
class UK59_DZ : PKM_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\uk59\uk59.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\uk59\data\w_uk59_ca.paa";
|
||||
displayName = $STR_DZ_WPN_UK59_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_UK59_DESC;
|
||||
|
||||
magazines[] = {50Rnd_762x54_UK59};
|
||||
|
||||
discreteDistance[] = {100,200,300,400,500,600,700,800};
|
||||
|
||||
class FullAuto : FullAuto
|
||||
{
|
||||
reloadTime = 0.10;
|
||||
begin1[] = {"\z\addons\dayz_communityweapons\uk59\data\uk_single_1", db8, 1, 1400};
|
||||
soundBegin[] = {begin1,1};
|
||||
};
|
||||
};
|
||||
37
SQF/dayz_code/Configs/CfgWeapons/Rifles/Winchester1866.hpp
Normal file
37
SQF/dayz_code/Configs/CfgWeapons/Rifles/Winchester1866.hpp
Normal file
@@ -0,0 +1,37 @@
|
||||
class Winchester1866_DZ : Rifle
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_weapons\models\Winchester1866.p3d";
|
||||
picture = "\dayz_weapons\textures\equip_winchester1866_CA.paa";
|
||||
displayname = $STR_WPN_NAME_1;
|
||||
descriptionShort = $STR_WPN_DESC_1;
|
||||
|
||||
magazines[] = {15Rnd_W1866_Slug};
|
||||
|
||||
handAnim[] = {"OFP2_ManSkeleton", "\Ca\weapons_E\Data\Anim\LeeEnfield.rtm"};
|
||||
|
||||
distanceZoomMin = 100;
|
||||
distanceZoomMax = 100;
|
||||
|
||||
modes[] = {"Single"};
|
||||
|
||||
class Single : Mode_SemiAuto
|
||||
{
|
||||
dispersion = 0.003;
|
||||
soundContinuous = 0;
|
||||
reloadTime = 0.5;
|
||||
reloadMagazineSound[] = {"\ca\sounds\weapons\rifles\M1014-reload", 0.316228, 1, 20};
|
||||
begin1[] = {"dayz_weapons\sounds\shotgun_0", 1.77828, 1, 1000};
|
||||
begin2[] = {"dayz_weapons\sounds\shotgun_1", 1.77828, 1, 1000};
|
||||
soundBegin[] = {"begin1", 0.5, "begin2", 0.5};
|
||||
drySound[] = {"ca\sounds\weapons\rifles\dry", 0.01, 1, 10};
|
||||
recoil = "recoil_single_primary_9outof10";
|
||||
recoilProne = "recoil_single_primary_prone_8outof10";
|
||||
};
|
||||
|
||||
class Library
|
||||
{
|
||||
libTextDesc = $STR_WPN_DESC_1;
|
||||
};
|
||||
};
|
||||
89
SQF/dayz_code/Configs/CfgWeapons/Throw.hpp
Normal file
89
SQF/dayz_code/Configs/CfgWeapons/Throw.hpp
Normal file
@@ -0,0 +1,89 @@
|
||||
class Throw : GrenadeLauncher
|
||||
{
|
||||
autoReload = true;
|
||||
backgroundReload = true;
|
||||
|
||||
muzzles[] =
|
||||
{
|
||||
HandGrenadeMuzzle,
|
||||
SmokeShellMuzzle,
|
||||
|
||||
RoadFlareMuzzle,
|
||||
ChemLightMuzzle,
|
||||
TrashMuzzle
|
||||
};
|
||||
|
||||
class ThrowMuzzle : GrenadeLauncher
|
||||
{
|
||||
cursor = "\ca\Weapons\Data\clear_empty";
|
||||
backgroundReload = true;
|
||||
};
|
||||
|
||||
class RoadFlareMuzzle : ThrowMuzzle
|
||||
{
|
||||
displayName = $STR_MAG_ACTION_4;
|
||||
magazines[] = {HandRoadFlare};
|
||||
|
||||
begin1[] = {"dayz_weapons\sounds\roadflare_start", 1.77828, 1, 1000};
|
||||
soundBegin[] = {begin1, 1};
|
||||
};
|
||||
|
||||
class ChemLightMuzzle : ThrowMuzzle
|
||||
{
|
||||
displayName = $STR_MAG_ACTION_5;
|
||||
magazines[] = {HandChemGreen, HandChemRed, HandChemBlue};
|
||||
};
|
||||
|
||||
class TrashMuzzle : ThrowMuzzle
|
||||
{
|
||||
displayName = $STR_ACTION_THROW;
|
||||
magazines[] =
|
||||
{
|
||||
TrashJackDaniels,
|
||||
|
||||
TrashTinCan,
|
||||
FoodCanGriffEmpty,
|
||||
FoodCanBadguyEmpty,
|
||||
FoodCanBoneboyEmpty,
|
||||
FoodCanCornEmpty,
|
||||
FoodCanCurgonEmpty,
|
||||
FoodCanDemonEmpty,
|
||||
FoodCanFraggleosEmpty,
|
||||
FoodCanHerpyEmpty,
|
||||
FoodCanDerpyEmpty,
|
||||
FoodCanOrlokEmpty,
|
||||
FoodCanPowellEmpty,
|
||||
FoodCanTylersEmpty,
|
||||
FoodCanUnlabeledEmpty,
|
||||
FoodCanRusUnlabeledEmpty,
|
||||
FoodCanRusPorkEmpty,
|
||||
FoodCanRusPeasEmpty,
|
||||
FoodCanRusMilkEmpty,
|
||||
FoodCanRusCornEmpty,
|
||||
FoodCanRusStewEmpty,
|
||||
FoodCanBeefEmpty,
|
||||
FoodCanPotatoesEmpty,
|
||||
|
||||
ItemSodaEmpty,
|
||||
ItemSodaClaysEmpty,
|
||||
ItemSodaCokeEmpty,
|
||||
ItemSodaDrwasteEmpty,
|
||||
ItemSodaFrankaEmpty,
|
||||
ItemSodaGrapeDrinkEmpty,
|
||||
ItemSodaLemonadeEmpty,
|
||||
ItemSodaLirikEmpty,
|
||||
ItemSodaLvgEmpty,
|
||||
ItemSodaMdewEmpty,
|
||||
ItemSodaMtngreenEmpty,
|
||||
ItemSodaMzlyEmpty,
|
||||
ItemSodaPeppsyEmpty,
|
||||
ItemSodaPepsiEmpty,
|
||||
ItemSodaR4z0rEmpty,
|
||||
ItemSodaRabbitEmpty,
|
||||
ItemSodaRocketFuelEmpty,
|
||||
ItemSodaSacriteEmpty,
|
||||
ItemSodaSherbetEmpty,
|
||||
ItemSodaSmashtEmpty
|
||||
};
|
||||
};
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Tools/Binocular.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Tools/Binocular.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class Binocular : Default
|
||||
{
|
||||
modelOptics = "z\addons\dayz_communityweapons\binocular\2dscope_binocular.p3d";
|
||||
};
|
||||
115
SQF/dayz_code/Configs/CfgWeapons/Tools/Chainsaw.hpp
Normal file
115
SQF/dayz_code/Configs/CfgWeapons/Tools/Chainsaw.hpp
Normal file
@@ -0,0 +1,115 @@
|
||||
class ChainSaw: Rifle
|
||||
{
|
||||
scope = 2;
|
||||
//melee= "true";
|
||||
|
||||
/*
|
||||
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 = "\z\addons\dayz_epoch\pictures\equip_chainsaw_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\chainsaw\start-attempt.ogg",0.1,1,20};
|
||||
drySound[] = {"\dayz_sfx\chainsaw\start-attempt.ogg",0.01,1,10};
|
||||
magazines[] = {"CSGAS"};
|
||||
class Library
|
||||
{
|
||||
libTextDesc = "Hermlite Chainsaw";
|
||||
};
|
||||
descriptionShort = "Hermlite Chainsaw";
|
||||
};
|
||||
class ChainSawB : ChainSaw {
|
||||
model = "\z\addons\dayz_epoch\models\chainsaw_B.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_chainsawB_CA.paa";
|
||||
descriptionShort = "Hermlite Chainsaw (Blue)";
|
||||
};
|
||||
class ChainSawG : ChainSaw {
|
||||
model = "\z\addons\dayz_epoch\models\chainsaw_G.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_chainsawG_CA.paa";
|
||||
descriptionShort = "Hermlite Chainsaw (Green)";
|
||||
};
|
||||
class ChainSawP : ChainSaw {
|
||||
model = "\z\addons\dayz_epoch\models\chainsaw_P.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_chainsawP_CA.paa";
|
||||
descriptionShort = "Hermlite Chainsaw (Pink)";
|
||||
};
|
||||
class ChainSawR : ChainSaw {
|
||||
model = "\z\addons\dayz_epoch\models\chainsaw_R.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_chainsawR_CA.paa";
|
||||
descriptionShort = "Hermlite Chainsaw (Red)";
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Tools/Compass.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Tools/Compass.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class ItemCompass : ItemCore
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\compass.p3d";
|
||||
};
|
||||
50
SQF/dayz_code/Configs/CfgWeapons/Tools/Crowbar.hpp
Normal file
50
SQF/dayz_code/Configs/CfgWeapons/Tools/Crowbar.hpp
Normal file
@@ -0,0 +1,50 @@
|
||||
class ItemCrowbar : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\crowbar.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_crowbar_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_CROWBAR;
|
||||
descriptionShort = $STR_EQUIP_DESC_CROWBAR;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] =
|
||||
{
|
||||
"ItemCrowbar"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"MeleeCrowbar"
|
||||
};
|
||||
};
|
||||
|
||||
class ToBack
|
||||
{
|
||||
text = $STR_ACTIONS_2BACK;
|
||||
script = "spawn player_addtoBack;";
|
||||
use[] =
|
||||
{
|
||||
"ItemCrowbar"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"MeleeCrowbar"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemCrowbarBent : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\crowbar.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_crowbar_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_CROWBARBENT;
|
||||
descriptionShort = $STR_EQUIP_DESC_CROWBARBENT;
|
||||
};
|
||||
30
SQF/dayz_code/Configs/CfgWeapons/Tools/Etool.hpp
Normal file
30
SQF/dayz_code/Configs/CfgWeapons/Tools/Etool.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
class ItemEtool : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
model = "\dayz_equip\models\etool.p3d";
|
||||
picture = "\dayz_equip\textures\equip_etool_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_1;
|
||||
descriptionShort = $STR_EQUIP_DESC_1;
|
||||
|
||||
stashsmall = "StashSmall";
|
||||
stashmedium = "StashMedium";
|
||||
consume = "ItemSandbag";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = "Build Sandbag Fence";
|
||||
script = "; ['ItemEtool','Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemEtool"};
|
||||
consume[] = {"ItemSandbag"};
|
||||
create = "Sandbag1_DZ";
|
||||
};
|
||||
|
||||
/*class Use
|
||||
{
|
||||
text=$STR_CREATE_STASH;
|
||||
script="spawn player_createstash; r_action_count = r_action_count + 1;";
|
||||
};*/
|
||||
};
|
||||
};
|
||||
@@ -9,13 +9,27 @@ class ItemFishingPole: ItemCore
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text=$STR_EPOCH_PLAYER_295;
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] =
|
||||
{
|
||||
"ItemFishingPole"
|
||||
};
|
||||
output[]=
|
||||
output[] =
|
||||
{
|
||||
"MeleeFishingPole"
|
||||
};
|
||||
};
|
||||
|
||||
class ToBack
|
||||
{
|
||||
text = $STR_ACTIONS_2BACK;
|
||||
script = "spawn player_addtoBack;";
|
||||
use[] =
|
||||
{
|
||||
"ItemFishingPole"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"MeleeFishingPole"
|
||||
};
|
||||
55
SQF/dayz_code/Configs/CfgWeapons/Tools/Flashlight.hpp
Normal file
55
SQF/dayz_code/Configs/CfgWeapons/Tools/Flashlight.hpp
Normal file
@@ -0,0 +1,55 @@
|
||||
class ItemFlashlight : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\flashlight.p3d";
|
||||
picture = "\dayz_equip\textures\equip_flashlight_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_5;
|
||||
descriptionShort = $STR_EQUIP_DESC_5;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"ItemFlashlight"};
|
||||
output[] = {"MeleeFlashlight"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeFlashlight : Pistol
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\flashlight.p3d";
|
||||
picture = "\dayz_equip\textures\equip_flashlight_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_5;
|
||||
descriptionShort = $STR_EQUIP_DESC_5;
|
||||
|
||||
modelOptics = "-";
|
||||
magazines[] = {};
|
||||
|
||||
class FlashLight
|
||||
{
|
||||
color[] = {0.9, 0.9, 0.7, 0.9};
|
||||
ambient[] = {0.1, 0.1, 0.1, 1};
|
||||
position = "flash dir";
|
||||
direction = "flash";
|
||||
angle = 30;
|
||||
scale[] = {1, 1, 0.5};
|
||||
brightness = 0.1;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"MeleeFlashlight"};
|
||||
output[] = {"ItemFlashlight"};
|
||||
};
|
||||
};
|
||||
};
|
||||
48
SQF/dayz_code/Configs/CfgWeapons/Tools/FlashlightRed.hpp
Normal file
48
SQF/dayz_code/Configs/CfgWeapons/Tools/FlashlightRed.hpp
Normal file
@@ -0,0 +1,48 @@
|
||||
class ItemFlashlightRed : ItemFlashlight
|
||||
{
|
||||
model = "\dayz_equip\models\flashlight_mil.p3d";
|
||||
picture = "\dayz_equip\textures\equip_flashlight_mil_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_6;
|
||||
descriptionShort = $STR_EQUIP_DESC_6;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"ItemFlashlightRed"};
|
||||
output[] = {"MeleeFlashlightRed"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeFlashlightRed : MeleeFlashlight
|
||||
{
|
||||
model = "\dayz_equip\models\flashlight_mil.p3d";
|
||||
picture = "\dayz_equip\textures\equip_flashlight_mil_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_6;
|
||||
descriptionShort = $STR_EQUIP_DESC_6;
|
||||
|
||||
class FlashLight
|
||||
{
|
||||
color[] = {0.9, 0.0, 0.0, 0.9};
|
||||
ambient[] = {0.1, 0.0, 0.0, 1};
|
||||
position = "flash dir";
|
||||
direction = "flash";
|
||||
angle = 30;
|
||||
scale[] = {1, 1, 0.5};
|
||||
brightness = 0.08;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_2TB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"MeleeFlashlightRed"};
|
||||
output[] = {"ItemFlashlightRed"};
|
||||
};
|
||||
};
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Tools/GPS.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Tools/GPS.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class ItemGPS : ItemCore
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\gps.p3d";
|
||||
};
|
||||
79
SQF/dayz_code/Configs/CfgWeapons/Tools/Hatchet.hpp
Normal file
79
SQF/dayz_code/Configs/CfgWeapons/Tools/Hatchet.hpp
Normal file
@@ -0,0 +1,79 @@
|
||||
class ItemHatchet : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\dayz_equip\models\hatchet.p3d";
|
||||
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_HATCHET;
|
||||
descriptionShort = $STR_EQUIP_DESC_HATCHET;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_ACTIONS_CHOPWOOD;
|
||||
script = "spawn player_chopWood;";
|
||||
};
|
||||
|
||||
class ToBack
|
||||
{
|
||||
text = $STR_ACTIONS_2BACK;
|
||||
script = "spawn player_addtoBack;";
|
||||
use[] = {"ItemHatchet"};
|
||||
output[] = {"MeleeHatchet"};
|
||||
};
|
||||
|
||||
class Toolbelt
|
||||
{
|
||||
text = "Remove from Toolbelt";
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"ItemHatchet"};
|
||||
output[] = {"MeleeHatchet"};
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemHatchet_DZE : ItemCore {
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_NAME_41;
|
||||
model = "\dayz_equip\models\hatchet.p3d";
|
||||
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_41;
|
||||
class ItemActions
|
||||
{
|
||||
class ToBack
|
||||
{
|
||||
text = $STR_ACTIONS_2BACK;
|
||||
script = "spawn player_addtoBack;";
|
||||
use[] = {"ItemHatchet_DZE"};
|
||||
output[] = {"MeleeHatchet_DZE"};
|
||||
};
|
||||
|
||||
class Toolbelt
|
||||
{
|
||||
text = "Remove from Toolbelt";
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"ItemHatchet_DZE"};
|
||||
output[] = {"MeleeHatchet_DZE"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemHatchetBroken : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
picture = "\dayz_equip\textures\equip_hatchet_CA.paa";
|
||||
displayName = $STR_name_ItemHatchetBroken;
|
||||
descriptionShort = $STR_desc_ItemHatchetBroken;
|
||||
|
||||
fixedTool = "ItemHatchet";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = "Fix Hatchet"; //TODO: move to stringtable
|
||||
script="spawn player_fixHatchet;";
|
||||
};
|
||||
};
|
||||
};
|
||||
64
SQF/dayz_code/Configs/CfgWeapons/Tools/Knife.hpp
Normal file
64
SQF/dayz_code/Configs/CfgWeapons/Tools/Knife.hpp
Normal file
@@ -0,0 +1,64 @@
|
||||
class ItemKnife_Base : ItemCore
|
||||
{
|
||||
scope = private;
|
||||
|
||||
model = "\dayz_equip\models\knife_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_knife_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_4;
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text="Harvest Plant";
|
||||
script="spawn player_harvestPlant;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemKnife : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_4;
|
||||
sharpnessRemaining = "ItemKnife5";
|
||||
};
|
||||
|
||||
class ItemKnife5 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_A;
|
||||
sharpnessRemaining = "ItemKnife4";
|
||||
};
|
||||
|
||||
class ItemKnife4 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_B;
|
||||
sharpnessRemaining = "ItemKnife3";
|
||||
};
|
||||
|
||||
class ItemKnife3 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_C;
|
||||
sharpnessRemaining = "ItemKnife2";
|
||||
};
|
||||
|
||||
class ItemKnife2 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_D;
|
||||
sharpnessRemaining = "ItemKnife1";
|
||||
};
|
||||
|
||||
class ItemKnife1 : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_DESC_4_E;
|
||||
sharpnessRemaining = "ItemKnifeBlunt";
|
||||
};
|
||||
|
||||
class ItemKnifeBlunt : ItemKnife_Base
|
||||
{
|
||||
scope = public;
|
||||
descriptionShort = $STR_EQUIP_CODE_DESC_4;
|
||||
};
|
||||
28
SQF/dayz_code/Configs/CfgWeapons/Tools/Machete.hpp
Normal file
28
SQF/dayz_code/Configs/CfgWeapons/Tools/Machete.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
class ItemMachete : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\machete.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_machete_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_MACHETE;
|
||||
descriptionShort = $STR_EQUIP_DESC_MACHETE;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
script = "spawn player_addToolbelt;";
|
||||
use[] = {"ItemMachete"};
|
||||
output[] = {"MeleeMachete"};
|
||||
};
|
||||
|
||||
class ToBack
|
||||
{
|
||||
text = $STR_ACTIONS_2BACK;
|
||||
script = "spawn player_addtoBack;";
|
||||
use[] = {"ItemMachete"};
|
||||
output[] = {"MeleeMachete"};
|
||||
};
|
||||
};
|
||||
};
|
||||
20
SQF/dayz_code/Configs/CfgWeapons/Tools/Map.hpp
Normal file
20
SQF/dayz_code/Configs/CfgWeapons/Tools/Map.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
class ItemMap : ItemCore
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\map.p3d";
|
||||
};
|
||||
|
||||
class ItemMap_Debug: ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
displayname = "Debug Map";
|
||||
descriptionshort = "Debug Map - Admin use only";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\gear_picture_map_debug.paa";
|
||||
|
||||
simulation = "ItemMap";
|
||||
|
||||
class Library
|
||||
{
|
||||
libtextdesc = "Debug Map - Admin use only";
|
||||
};
|
||||
};
|
||||
98
SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp
Normal file
98
SQF/dayz_code/Configs/CfgWeapons/Tools/Matchbox.hpp
Normal file
@@ -0,0 +1,98 @@
|
||||
class ItemMatchbox_base : ItemCore
|
||||
{
|
||||
scope = private;
|
||||
model = "\dayz_equip\models\matchbox_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_matchbox_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_3;
|
||||
descriptionShort = $STR_EQUIP_DESC_3;
|
||||
};
|
||||
|
||||
class ItemMatchboxEmpty : ItemMatchbox_base
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_3_EMPTY;
|
||||
descriptionShort = $STR_EQUIP_DESC_3_EMPTY;
|
||||
};
|
||||
|
||||
//Loot Spawn Table.
|
||||
class ItemMatchbox : ItemMatchbox_base
|
||||
{
|
||||
scope = public;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
chance = 0.12;
|
||||
matches = -1;
|
||||
qtyRemaining = "Item5Matchbox";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_ACTIONS_LIGHTFIRE;
|
||||
script = "spawn player_makeFire;";
|
||||
use[] = {"PartWoodPile"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//Do not add to loot tables.
|
||||
class Item5Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_A;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
matches = 5;
|
||||
qtyRemaining = "Item4Matchbox";
|
||||
};
|
||||
};
|
||||
class Item4Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_B;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
qtyRemaining = "Item3Matchbox";
|
||||
matches = 4;
|
||||
};
|
||||
};
|
||||
class Item3Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_C;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
qtyRemaining = "Item2Matchbox";
|
||||
matches = 3;
|
||||
};
|
||||
};
|
||||
class Item2Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_D;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
qtyRemaining = "Item1Matchbox";
|
||||
matches = 2;
|
||||
};
|
||||
};
|
||||
class Item1Matchbox : ItemMatchbox
|
||||
{
|
||||
descriptionShort = $STR_EQUIP_DESC_3_E;
|
||||
|
||||
class Ignators
|
||||
{
|
||||
qtyRemaining = "ItemMatchboxEmpty";
|
||||
matches = 1;
|
||||
};
|
||||
};
|
||||
class ItemMatchbox_DZE: ItemCore
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_NAME_3;
|
||||
model = "\dayz_equip\models\matchbox_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_matchbox_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_3;
|
||||
};
|
||||
39
SQF/dayz_code/Configs/CfgWeapons/Tools/Pickaxe.hpp
Normal file
39
SQF/dayz_code/Configs/CfgWeapons/Tools/Pickaxe.hpp
Normal file
@@ -0,0 +1,39 @@
|
||||
class ItemPickaxe : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityweapons\models\pickaxe\pickaxe.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\models\pickaxe\pickaxe.paa";
|
||||
displayName = $STR_EQUIP_NAME_PICKAXE;
|
||||
descriptionShort = $STR_EQUIP_DESC_PICKAXE;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_ACTIONS_MINE_STONE;
|
||||
script = "spawn player_mineStone;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemPickaxeBroken : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityweapons\models\pickaxe\pickaxe.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\models\pickaxe\pickaxe.paa";
|
||||
displayName = $STR_name_ItemPickaxeBroken;
|
||||
descriptionShort = $STR_desc_ItemPickaxeBroken;
|
||||
|
||||
fixedTool = "ItemPickaxe";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_PICKAXE;
|
||||
script = "spawn player_fixHatchet;";
|
||||
};
|
||||
};
|
||||
};
|
||||
32
SQF/dayz_code/Configs/CfgWeapons/Tools/Shovel.hpp
Normal file
32
SQF/dayz_code/Configs/CfgWeapons/Tools/Shovel.hpp
Normal file
@@ -0,0 +1,32 @@
|
||||
class ItemShovel : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\shovel.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_shovel_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_1b;
|
||||
descriptionShort = $STR_EQUIP_DESC_1b;
|
||||
|
||||
stashsmall = "StashSmall";
|
||||
stashmedium = "StashMedium";
|
||||
consume = "ItemSandbag";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_CREATE_STASH;
|
||||
script = "spawn player_createstash; r_action_count = r_action_count + 1;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemShovelBroken : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\shovel.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_shovel_ca.paa";
|
||||
displayName = "Broken Shovel";
|
||||
descriptionShort = $STR_EQUIP_DESC_1b;
|
||||
};
|
||||
@@ -29,3 +29,24 @@ class ItemSledge: ItemCore
|
||||
*/
|
||||
};
|
||||
};
|
||||
|
||||
class ItemSledgeHammerBroken : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model = "z\addons\dayz_communityweapons\models\sledge_hammer\sledgehammer.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\models\sledge_hammer\sledgehammer.paa";
|
||||
displayName = $STR_name_ItemSledgeHammerBroken;
|
||||
descriptionShort = $STR_desc_ItemSledgeHammerBroken;
|
||||
|
||||
fixedTool = "ItemSledgeHammer";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_SLEDGE_HAMMER;
|
||||
script = "spawn player_fixHatchet;";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
class ItemToolbox: ItemCore
|
||||
class ItemToolbox : ItemCore
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_NAME_2;
|
||||
scope = public;
|
||||
model = "\dayz_equip\models\toolbox.p3d";
|
||||
picture = "\dayz_equip\textures\equip_toolbox_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_2;
|
||||
descriptionShort = $STR_EQUIP_DESC_2;
|
||||
class ItemActions
|
||||
{
|
||||
@@ -18,4 +18,5 @@ class ItemToolbox: ItemCore
|
||||
script="spawn player_removeTankTrap;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Tools/Watch.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Tools/Watch.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class ItemWatch : ItemCore
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\watch.p3d";
|
||||
};
|
||||
@@ -1,4 +0,0 @@
|
||||
class BAF_L110A1_Aim;
|
||||
class BAF_L110A1_Aim_DZE:BAF_L110A1_Aim {
|
||||
type = "1";
|
||||
};
|
||||
@@ -1,4 +0,0 @@
|
||||
class M249_EP1;
|
||||
class M249_EP1_DZ:M249_EP1 {
|
||||
type = "1";
|
||||
};
|
||||
@@ -1,4 +0,0 @@
|
||||
class M249_m145_EP1;
|
||||
class M249_m145_EP1_DZE:M249_m145_EP1 {
|
||||
type = "1";
|
||||
};
|
||||
@@ -1,4 +0,0 @@
|
||||
class m240_scoped_EP1;
|
||||
class m240_scoped_EP1_DZE:m240_scoped_EP1 {
|
||||
type = "1";
|
||||
};
|
||||
@@ -1,19 +0,0 @@
|
||||
class Makarov;
|
||||
class MakarovSD : Makarov {
|
||||
fireLightDuration = 0;
|
||||
fireLightIntensity = 0;
|
||||
picture = "\CA\weapons\data\equip\w_makarovSD_ca.paa";
|
||||
begin1[] = {"ca\sounds\weapons\pistols\makarovSD_single1", 0.316228, 1, 200};
|
||||
soundBegin[] = {"begin1", 1};
|
||||
reloadMagazineSound[] = {"\ca\Weapons\Data\Sound\pistol_reload", 0.0316228, 1, 20};
|
||||
minRange = 0;
|
||||
minRangeProbab = 0.1;
|
||||
midRange = 15;
|
||||
midRangeProbab = 0.3;
|
||||
maxRange = 20;
|
||||
maxRangeProbab = 0.04;
|
||||
descriptionShort = "Silenced semi-automatic pistol <br/>Caliber: 9x18mm";
|
||||
model = "ca\weapons_E\makarov\makarov_silenced";
|
||||
displayName = "Makarov SD";
|
||||
magazines[] = {"8Rnd_9x18_MakarovSD"};
|
||||
};
|
||||
@@ -1,4 +0,0 @@
|
||||
class FN_FAL_ANPVS4;
|
||||
class FN_FAL_ANPVS4_DZE:FN_FAL_ANPVS4 {
|
||||
visionMode[] = {"Normal", "NVG"};
|
||||
};
|
||||
@@ -1,20 +0,0 @@
|
||||
class DMR_DZ : DMR {
|
||||
model = "\ca\weapons\DMR\us_dmr";
|
||||
picture = "\ca\weapons\data\equip\W_US_DMR_CA.paa";
|
||||
UiPicture = "\CA\weapons\data\Ico\i_sniper_CA.paa";
|
||||
modelOptics = "\ca\Weapons\2Dscope_MilDot_10";
|
||||
opticsFlare = 1;
|
||||
opticsDisablePeripherialVision = 1;
|
||||
opticsZoomInit = 0.0711;
|
||||
opticsZoomMin = 0.0249;
|
||||
distanceZoomMin = 400;
|
||||
opticsZoomMax = 0.0711;
|
||||
distanceZoomMax = 120;
|
||||
dexterity = 1.55;
|
||||
magazines[] = {"20Rnd_762x51_DMR"};
|
||||
reloadTime = 2;
|
||||
backgroundReload = 1;
|
||||
handAnim[] = {"OFP2_ManSkeleton", "\Ca\weapons\data\Anim\M24.rtm"};
|
||||
modes[] = {"Single"};
|
||||
};
|
||||
class DMR_SKN : DMR_DZ {};
|
||||
Reference in New Issue
Block a user