Revert "Revert "Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch""

This reverts commit 109ec5c9a3.
This commit is contained in:
seelenapparat
2021-08-24 15:47:06 +02:00
parent c801365a1f
commit d1abb66e9f
145 changed files with 9200 additions and 627 deletions

View File

@@ -0,0 +1,527 @@
class M2_MG_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_M2_MG;
descriptionShort = $STR_DN_M2_MG;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "M2_MG_Static_DZ";
};
};
};
class M2_TriPod_MG_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_M2HD_MINITRIPOD;
descriptionShort = $STR_DN_M2HD_MINITRIPOD;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "M2_TriPod_MG_Static_DZ";
};
};
};
class DSHKM_MG_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_DSHKM;
descriptionShort = $STR_DN_DSHKM;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "DSHKM_MG_Static_DZ";
};
};
};
class DSHKM_TriPod_MG_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_DSHKM_MINITRIPOD;
descriptionShort = $STR_DN_DSHKM_MINITRIPOD;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "DSHKM_TriPod_MG_Static_DZ";
};
};
};
class KORD_TriPod_MG_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_KORD_LOW;
descriptionShort = $STR_DN_KORD_LOW;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "KORD_Tripod_MG_Static_DZ";
};
};
};
class KORD_MG_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_KORD;
descriptionShort = $STR_DN_KORD;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "KORD_MG_Static_DZ";
};
};
};
class L2A1_MG_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_BAF_BAF_L2A1_TRIPOD_D0;
descriptionShort = $STR_BAF_BAF_L2A1_TRIPOD_D0;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "L2A1_MG_Static_DZ";
};
};
};
class L2A1_Tripod_MG_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_BAF_BAF_L2A1_MINITRIPOD_D0;
descriptionShort = $STR_BAF_BAF_L2A1_MINITRIPOD_D0;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "L2A1_Tripod_MG_Static_DZ";
};
};
};
class GMG_Tripod_MG_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_BAF_BAF_GMG_TRIPOD_D0;
descriptionShort = $STR_BAF_BAF_GMG_TRIPOD_D0;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "GMG_Tripod_MG_Static_DZ";
};
};
};
class AGS30_GrenadeLauncher_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_AGS30;
descriptionShort = $STR_DN_AGS30;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "AGS30_GrenadeLauncher_Static_DZ";
};
};
};
class MK19_TriPod_GrenadeLauncher_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_MK19_TRIPOD;
descriptionShort = $STR_DN_MK19_TRIPOD;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "MK19_TriPod_GrenadeLauncher_Static_DZ";
};
};
};
class GPMG_TriPod_GrenadeLauncher_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_BAF_BAF_GPMG_MINITRIPOD_D0;
descriptionShort = $STR_BAF_BAF_GPMG_MINITRIPOD_D0;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "GPMG_TriPod_GrenadeLauncher_Static_DZ";
};
};
};
class M119_Artillery_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_M119;
descriptionShort = $STR_DN_M119;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "M119_Artillery_Static_DZ";
};
};
};
class D30_Artillery_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_D30;
descriptionShort = $STR_DN_D30;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "D30_Artillery_Static_DZ";
};
};
};
class SearchLight_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_SEARCHLIGHT;
descriptionShort = $STR_DN_SEARCHLIGHT;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "SearchLight_Static_DZ";
};
};
};
class M252_Mortar_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_M252;
descriptionShort = $STR_DN_M252;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "M252_Mortar_Static_DZ";
};
};
};
class 2b14_82mm_Mortar_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_2B14;
descriptionShort = $STR_DN_2B14;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "2b14_82mm_Mortar_Static_DZ";
};
};
};
class Metis_Launcher_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_AT13;
descriptionShort = $STR_DN_AT13;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Metis_Launcher_Static_DZ";
};
};
};
class SPG9_Launcher_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_SPG9;
descriptionShort = $STR_DN_SPG9;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "SPG9_Launcher_Static_DZ";
};
};
};
class Stinger_Tripod_Launcher_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_STINGER_POD;
descriptionShort = $STR_DN_STINGER_POD;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Stinger_Tripod_Launcher_Static_DZ";
};
};
};
class TOW_Tripod_Launcher_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_TOW_TRIPOD;
descriptionShort = $STR_DN_TOW_TRIPOD;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "TOW_Tripod_Launcher_Static_DZ";
};
};
};
class Rbs70_Launcher_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_ACR_DN_RBS70;
descriptionShort = $STR_ACR_DN_RBS70;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Rbs70_Launcher_Static_DZ";
};
};
};
class Igla_AntiAir_Launcher_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_IGLA_AA_POD_EAST;
descriptionShort = $STR_DN_IGLA_AA_POD_EAST;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Igla_AntiAir_Launcher_Static_DZ";
};
};
};
class ZU23_AntiAir_Static_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_DN_ZU23;
descriptionShort = $STR_DN_ZU23;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "ZU23_AntiAir_Static_DZ";
};
};
};

View File

@@ -65,5 +65,6 @@ class CfgMagazines
#include "Buildings\Fences.hpp"
#include "Buildings\Storage.hpp"
#include "Buildings\Tent.hpp"
#include "Buildings\Misc.hpp"
#include "Buildings\Misc.hpp"
#include "Buildings\StaticWeapons.hpp"
};

View File

@@ -262,6 +262,160 @@ class ItemCeramicParts : CA_Magazine
type = 256;
};
class ItemWeaponPartsPistol : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_PISTOL;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_PISTOL_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsSMG : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_SMG;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_SMG_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsShotgun : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_SHOTGUN;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_SHOTGUN_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsRifle : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_RIFLE;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_RIFLE_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsSniperRilfe : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_SNIPERRIFLE;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_SNIPERRIFLE_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsMG : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_MG;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_MG_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsUnknown : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_UNKNOWN_MG;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_UNKNOWN_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsBad : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_BAD;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_BAD_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsNormal : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_NORMAL;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_NORMAL_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsGood : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_GOOD;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_GOOD_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsExecellent : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_EXCELLENT;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_EXCELLENT_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemGunPowderSmall : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_GUN_POWDER_SMALL;
descriptionShort = $STR_EPOCH_GUN_POWDER_SMALL_DESC;
model = "\z\addons\dayz_communityassets\models\tin_powder.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_tin_powder_co.paa";
type = 256;
};
class ItemGunPowder : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_GUN_POWDER;
descriptionShort = $STR_EPOCH_GUN_POWDER_DESC;
model = "\z\addons\dayz_communityassets\models\tin_powder.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_tin_powder_co.paa";
type = 256;
};
class ItemGunPowderBig : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_GUN_POWDER_BIG;
descriptionShort = $STR_EPOCH_GUN_POWDER_BIG_DESC;
model = "\z\addons\dayz_communityassets\models\tin_powder.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_tin_powder_co.paa";
type = 256;
};
//No models
class equip_cable_tie : CA_Magazine
{

View File

@@ -9,4 +9,9 @@ class 7Rnd_50AE_Deagle: CA_Magazine
ammo = "B_357mag_Ball";
count = 7;
initSpeed = 400;
class ItemActions
{
COMBINE_MAG
};
};

View File

@@ -50,7 +50,14 @@ class 100Rnd_556x45_BetaCMagSD: 100Rnd_556x45_BetaCMag {
};
/* STANAG <-> G36 */
class 20Rnd_556x45_Stanag;
class 20Rnd_556x45_Stanag : CA_Magazine
{
class ItemActions
{
COMBINE_MAG
};
};
class 30Rnd_556x45_Stanag : 20Rnd_556x45_Stanag
{
displayName = $STR_DZ_MAG_30RND_556x45_STANAG_NAME;

View File

@@ -1484,7 +1484,7 @@ class 8Rnd_82mmILLUM_2B14: 8Rnd_82mmHE_2B14
};
class 200Rnd_40mmHE_FV510: Vehicle_ammo_base
{
scope = 1;
scope = 2;
displayName = $STR_DZ_MAG_200RND_FV510HE_NAME;
descriptionShort = $STR_DZ_MAG_200RND_FV510HE_DESC;
ammo = "Sh_40_HE";

View File

@@ -459,10 +459,10 @@ class Category_16 {
class AK74_GL_PSO1_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {1,"ItemGoldBar10oz"};};
class AK107_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
class AK107_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class AK107_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {5,"ItemGoldBar"};};
class AK107_PSO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {5,"ItemGoldBar"};};
class AK107_GL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class AK107_GL_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {5,"ItemGoldBar"};};
class AK107_GL_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {7,"ItemGoldBar"};};
class AK107_GL_PSO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {7,"ItemGoldBar"};};
class AN94_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
class AN94_GL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class SCAR_H_AK_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};

View File

@@ -16,4 +16,12 @@ class Category_50 {
class ItemRSJ {type = "trade_items";buy[] = {1,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar"};};
class ItemFuelBarrelEmpty {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class ItemFuelBarrel {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
};
class Category_52 {
class helipad_civil_kit {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
class helipad_rescue_kit {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
class helipad_army_kit {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
class helipad_cross_kit {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
class helipad_parkborder_kit {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
};

View File

@@ -459,10 +459,10 @@ class Category_16 {
class AK74_GL_PSO1_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};};
class AK107_DZ {type = "trade_weapons";buy[] = {200,"worth"};sell[] = {100,"worth"};};
class AK107_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};};
class AK107_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class AK107_PSO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class AK107_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};};
class AK107_GL_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class AK107_GL_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};};
class AK107_GL_PSO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};};
class AN94_DZ {type = "trade_weapons";buy[] = {200,"worth"};sell[] = {100,"worth"};};
class AN94_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};};
class SCAR_H_AK_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};};

View File

@@ -16,4 +16,12 @@ class Category_50 {
class ItemRSJ {type = "trade_items";buy[] = {1000,"worth"};sell[] = {500,"worth"};};
class ItemFuelBarrelEmpty {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};};
class ItemFuelBarrel {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};};
};
class Category_52 {
class helipad_civil_kit {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};};
class helipad_rescue_kit {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};};
class helipad_army_kit {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};};
class helipad_cross_kit {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};};
class helipad_parkborder_kit {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};};
};

View File

@@ -241,22 +241,6 @@ class Fort_RazorWire : BuiltItems {
nounderground = 0;
};
class USMC_WarfareBMGNest_M240;
class M240Nest_DZ: USMC_WarfareBMGNest_M240
{
destrType = "DestructBuilding";
armor = 450;
scope = 2;
offset[] = {0,3.5,0};
displayName = $STR_EPOCH_M240NEST;
vehicleClass = "DayZ Epoch Buildables";
transportMaxMagazines = 25;
transportMaxWeapons = 4;
transportMaxBackpacks = 1;
constructioncount = 10;
removeoutput[] = {{"m240_nest_kit",1}};
};
class WoodGate_DZ: BuiltItems
{
scope = 2;
@@ -333,7 +317,7 @@ class Greenhouse_DZ: MAP_Misc_Greenhouse
mapSize = 2;
displayName = $STR_EPOCH_GREENHOUSE;
constructioncount = 1;
offset[] = {0,3,2};
offset[] = {0,5,1.4};
removeoutput[] = {{"greenhouse_kit",1}};
vehicleClass = "DayZ Epoch Buildables";
};

View File

@@ -0,0 +1,288 @@
class USMC_WarfareBMGNest_M240;
class M240Nest_DZ: USMC_WarfareBMGNest_M240
{
destrType = "DestructBuilding";
armor = 450;
scope = 2;
offset[] = {0,3.5,0};
displayName = $STR_EPOCH_M240NEST;
transportMaxMagazines = 25;
transportMaxWeapons = 4;
transportMaxBackpacks = 1;
constructioncount = 10;
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"m240_nest_kit",1}};
};
class M2StaticMG;
class M2_MG_Static_DZ: M2StaticMG {
side = 1;
faction = "USMC";
offset[] = {0,3,1};
GhostPreview = "M2_MG_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"M2_MG_Static_kit",1}};
};
class M2HD_mini_TriPod;
class M2_TriPod_MG_Static_DZ: M2HD_mini_TriPod {
side = 1;
faction = "USMC";
offset[] = {0,3,1};
GhostPreview = "M2_TriPod_MG_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"M2_TriPod_MG_Static_kit",1}};
};
class DSHKM_Ins;
class DSHKM_MG_Static_DZ: DSHKM_Ins {
side = 1;
faction = "USMC";
offset[] = {0,3,2};
GhostPreview = "DSHKM_MG_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"DSHKM_MG_Static_kit",1}};
};
class DSHkM_Mini_TriPod;
class DSHKM_TriPod_MG_Static_DZ: DSHkM_Mini_TriPod {
side = 1;
faction = "USMC";
offset[] = {0,3,1};
GhostPreview = "DSHKM_TriPod_MG_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"DSHKM_TriPod_MG_Static_kit",1}};
};
class KORD;
class KORD_Tripod_MG_Static_DZ: KORD {
side = 1;
faction = "USMC";
offset[] = {0,3,1};
GhostPreview = "KORD_Tripod_MG_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"KORD_TriPod_MG_Static_kit",1}};
};
class KORD_high;
class KORD_MG_Static_DZ: KORD_high {
side = 1;
faction = "USMC";
offset[] = {0,3,2};
GhostPreview = "KORD_MG_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"KORD_MG_Static_kit",1}};
};
class BAF_L2A1_ACOG_base;
class BAF_L2A1_Tripod_D: BAF_L2A1_ACOG_base {
class assembleInfo;
};
class L2A1_MG_Static_DZ: BAF_L2A1_Tripod_D {
side = 1;
faction = "USMC";
class assembleInfo: assembleInfo {
dissasembleTo[] = {};
};
offset[] = {0,3,1};
GhostPreview = "L2A1_MG_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"L2A1_MG_Static_kit",1}};
};
class BAF_L2A1_Minitripod_D: BAF_L2A1_ACOG_base {
class assembleInfo;
};
class L2A1_Tripod_MG_Static_DZ: BAF_L2A1_Minitripod_D {
side = 1;
faction = "USMC";
class assembleInfo: assembleInfo {
dissasembleTo[] = {};
};
offset[] = {0,3,1};
GhostPreview = "L2A1_Tripod_MG_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"L2A1_Tripod_MG_Static_kit",1}};
};
class GMG_TriPod;
class BAF_GMG_Tripod_D: GMG_TriPod {
class assembleInfo;
};
class GMG_Tripod_MG_Static_DZ: BAF_GMG_Tripod_D {
side = 1;
faction = "USMC";
class assembleInfo: assembleInfo {
dissasembleTo[] = {};
};
offset[] = {0,3,0};
GhostPreview = "GMG_Tripod_MG_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"GMG_Tripod_MG_Static_kit",1}};
};
class AGS_Ins;
class AGS30_GrenadeLauncher_Static_DZ: AGS_Ins {
side = 1;
faction = "USMC";
offset[] = {0,3,1};
GhostPreview = "AGS30_GrenadeLauncher_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"AGS30_GrenadeLauncher_Static_kit",1}};
};
class MK19_TriPod;
class MK19_TriPod_GrenadeLauncher_Static_DZ: MK19_TriPod {
side = 1;
faction = "USMC";
offset[] = {0,3,1};
GhostPreview = "MK19_TriPod_GrenadeLauncher_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"MK19_TriPod_GrenadeLauncher_Static_kit",1}};
};
class BAF_GPMG_Minitripod_D: BAF_L2A1_ACOG_base {
class assembleInfo;
};
class GPMG_TriPod_GrenadeLauncher_Static_DZ: BAF_GPMG_Minitripod_D {
side = 1;
faction = "USMC";
class assembleInfo: assembleInfo {
dissasembleTo[] = {};
};
offset[] = {0,3,1};
GhostPreview = "GPMG_TriPod_GrenadeLauncher_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"GPMG_TriPod_GrenadeLauncher_Static_kit",1}};
};
class M119;
class M119_Artillery_Static_DZ: M119 {
side = 1;
faction = "USMC";
offset[] = {0,5,0.5};
GhostPreview = "M119_Artillery_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"M119_Artillery_Static_kit",1}};
};
class D30_Ins;
class D30_Artillery_Static_DZ: D30_Ins {
side = 1;
faction = "USMC";
offset[] = {0,5,1};
GhostPreview = "D30_Artillery_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"D30_Artillery_Static_kit",1}};
};
class SearchLight_INS;
class SearchLight_Static_DZ: SearchLight_INS {
side = 1;
faction = "USMC";
offset[] = {0,3,0};
GhostPreview = "SearchLight_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"SearchLight_Static_kit",1}};
};
class M252;
class M252_Mortar_Static_DZ: M252 {
side = 1;
faction = "USMC";
offset[] = {0,3,1};
GhostPreview = "M252_Mortar_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"M252_Mortar_Static_kit",1}};
};
class 2b14_82mm;
class 2b14_82mm_Mortar_Static_DZ: 2b14_82mm {
side = 1;
faction = "USMC";
offset[] = {0,3,1};
GhostPreview = "2b14_82mm_Mortar_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"2b14_82mm_Mortar_Static_kit",1}};
};
class Metis;
class Metis_Launcher_Static_DZ: Metis {
side = 1;
faction = "USMC";
offset[] = {0,3,1};
GhostPreview = "Metis_Launcher_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"Metis_Launcher_Static_kit",1}};
};
class SPG9_Gue;
class SPG9_Launcher_Static_DZ: SPG9_Gue {
side = 1;
faction = "USMC";
offset[] = {0,3,0};
GhostPreview = "SPG9_Launcher_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"SPG9_Launcher_Static_kit",1}};
};
class Stinger_Pod;
class Stinger_Tripod_Launcher_Static_DZ: Stinger_Pod {
side = 1;
faction = "USMC";
offset[] = {0,3,0};
GhostPreview = "Stinger_Tripod_Launcher_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"Stinger_Tripod_Launcher_Static_kit",1}};
};
class TOW_TriPod;
class TOW_Tripod_Launcher_Static_DZ: TOW_TriPod {
side = 1;
faction = "USMC";
offset[] = {0,3,2};
GhostPreview = "TOW_Tripod_Launcher_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"TOW_Tripod_Launcher_Static_kit",1}};
};
class Stinger_Pod_base;
class Rbs70_ACR: Stinger_Pod_base {
class AssembleInfo;
};
class Rbs70_Launcher_Static_DZ: Rbs70_ACR {
side = 1;
faction = "USMC";
class AssembleInfo : AssembleInfo {
dissasembleTo[] = {};
};
offset[] = {0,3,4};
GhostPreview = "Rbs70_Launcher_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"Rbs70_Launcher_Static_kit",1}};
};
class Igla_AA_pod_East;
class Igla_AntiAir_Launcher_Static_DZ: Igla_AA_pod_East {
side = 1;
faction = "USMC";
offset[] = {0,3,2};
GhostPreview = "Igla_AntiAir_Launcher_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"Igla_AntiAir_Launcher_Static_kit",1}};
};
class ZU23_Ins;
class ZU23_AntiAir_Static_DZ: ZU23_Ins {
side = 1;
faction = "USMC";
offset[] = {0,3,2};
GhostPreview = "ZU23_AntiAir_Static_DZ";
vehicleClass = "DayZ Epoch Static Weapons";
removeoutput[] = {{"ZU23_AntiAir_Static_kit",1}};
};

View File

@@ -622,6 +622,7 @@ class CfgVehicles
#include "Zeds\WildZeds.hpp" //Wild type zeds
#include "Zeds\SwarmZeds.hpp" //Swarm type zeds
#include "Zeds\PlayerZeds.hpp" //Player type zeds
#include "Zeds\Bloodsuckers.hpp" //NS Bloodsuckers
//Skins
#include "Skins\Male.hpp"
#include "Skins\Female.hpp"
@@ -780,6 +781,7 @@ class CfgVehicles
#include "Buildables\Sandbags.hpp"
#include "Buildables\Billboards.hpp"
#include "Buildables\Misc.hpp"
#include "Buildables\StaticWeapons.hpp"
//Loot Container
#include "LootContainer\AmmoCrates.hpp"

View File

@@ -0,0 +1,134 @@
class z_bloodsucker : Zed_Base {
scope = 2;
glassesEnabled = 0;
vehicleClass = "Zombie";
displayName = $STR_ZNAME_BLOODSUCKER;
model = "\nst\NS_mutants\blood\bloodsucker.p3d";
hiddenSelections[] = {"invisible"};
//hiddenSelectionsTextures[] = {};
fsmDanger = "";
fsmFormation = "";
//zombieLoot = "bloodsucker";
moves = "CfgMovesBloodsucker";
isMan = false;
weapons[] = {};
magazines[] = {};
sensitivity = 1; // sensor sensitivity
sensitivityEar = 1;
identityTypes[] = {};
class TalkTopics {};
languages[] = {};
armor = 46;
damageScale = 250;
sepsisChance = 0;
BleedChance = 10; // Maybe this should be higher
forcedSpeed = 6; // Left here to prevent errors in player_zombieCheck
class Eventhandlers {
init = "[(_this select 0)] execFSM ""\z\AddOns\dayz_code\system\mutant_agent.fsm""";
local = "_z = _this select 0; if (!(_this select 1)) exitWith {}; if (isServer) exitWith { _z call sched_co_deleteVehicle; }; [_z,true] execFSM '\z\AddOns\dayz_code\system\mutant_agent.fsm';";
//HandleDamage = "_this call local_zombieDamage;";
//Killed = "[_this,'zombieKills'] call local_eventKill;";
};
class UserActions
{
class Butcher
{
displayName = $STR_EPOCH_ACTIONS_GUTBLOOD;
displayNameDefault = $STR_EPOCH_ACTIONS_GUTBLOOD;
priority = 0;
radius = 3;
position = "";
showWindow = 1;
onlyForPlayer = 1;
shortcut = "";
condition = "(['Butcher',this] call userActionConditions)";
statement = "this spawn player_butcher;";
};
};
class HitPoints {
class HitHead {
armor = 10;
material = -1;
name = "head_hit";
passThrough = true;
memoryPoint = "pilot";
};
class HitBody : HitHead {
armor = 20;
name = "body";
memoryPoint = "aimPoint";
};
class HitSpine : HitHead {
armor = 10;
name = "Spine2";
memoryPoint = "aimPoint";
};
class HitHands : HitHead {
armor = 10;
material = -1;
name = "hands";
passThrough = true;
};
class HitLArm : HitHands {
name = "LeftArm";
memoryPoint = "lelbow";
};
class HitRArm : HitHands {
name = "RightArm";
memoryPoint = "relbow";
};
class HitLForeArm : HitHands {
name = "LeftForeArm";
memoryPoint = "lwrist";
};
class HitRForeArm : HitHands {
name = "RightForeArm";
memoryPoint = "rwrist";
};
class HitLHand : HitHands {
name = "LeftHand";
memoryPoint = "LeftHandMiddle1";
};
class HitRHand : HitHands {
name = "RightHand";
memoryPoint = "RightHandMiddle1";
};
class HitLegs : HitHands {
name = "legs";
memoryPoint = "pelvis";
};
class HitLLeg : HitHands {
name = "LeftLeg";
memoryPoint = "lknee";
};
class HitLLegUp : HitHands {
name = "LeftUpLeg";
memoryPoint = "lfemur";
};
class HitRLeg : HitHands {
name = "RightLeg";
memoryPoint = "rknee";
};
class HitRLegUp : HitHands {
name = "RightUpLeg";
memoryPoint = "rfemur";
};
};
};

View File

@@ -346,9 +346,10 @@ class CfgWeapons
#include "Tools\Scissors.hpp"
#include "Tools\ScrewExtractor.hpp"
#include "Tools\Wrench.hpp"
#include "Tools\MutantHeart.hpp"
#include "Item\ItemKeys.hpp"
#include "Item\Documents.hpp"
#include "VehicleWeapons.hpp"
#include "VehicleWeapons.hpp"
};

View File

@@ -1,3 +1,24 @@
#define G3_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 G3_DZ: FNFAL_DZ
{
scope = 2;
@@ -10,30 +31,30 @@ class G3_DZ: FNFAL_DZ
fireLightDuration = 0.000;
fireLightIntensity = 0.000;
drySound[] = {"Ca\sounds\Weapons\rifles\dry",db-50,1,10};
reloadMagazineSound[] = {"ca\sounds\weapons\rifles\reload-m16-3",db-25,1,25};
reloadMagazineSound[] = {"\C1987_G3\sound\G3_Reload.wss",0.056234,1,20};
distanceZoomMin = 50;
distanceZoomMax = 50;
handAnim[] = {"OFP2_ManSkeleton"};
modes[] = {Single, FullAuto};
class Single : Mode_SemiAuto
{
begin1[] = {"rh_mgswp\sound\scarAk", db5, 1,1000};
soundBegin[] = {begin1,1};
begin1[] = {"\C1987_G3\sound\G3.wss",1.778279,1,1000};
soundBegin[] = {"begin1",1};
reloadTime = 0.07;
recoil = "recoil_single_primary_3outof10";
recoilProne = "recoil_single_primary_prone_3outof10";
dispersion = 0.003;
minRange = 2;
minRangeProbab = 0.25;
midRange = 20;
midRange = 200;
midRangeProbab = 0.7;
maxRange = 50;
maxRange = 500;
maxRangeProbab = 0.05;
};
class FullAuto : Mode_FullAuto
{
begin1[] = {"rh_mgswp\sound\scarAk", db5, 1,1000};
soundBegin[] = {begin1,1};
begin1[] = {"\C1987_G3\sound\G3.wss",1.778279,1,1000};
soundBegin[] = {"begin1",1};
soundContinuous = 0;
reloadTime = 0.1;
ffCount = 1;
@@ -43,10 +64,142 @@ class G3_DZ: FNFAL_DZ
dispersion = 0.003; //0.007;
minRange = 0;
minRangeProbab = 0.20;
midRange = 7;
midRange = 150;
midRangeProbab = 0.7;
maxRange = 15;
maxRange = 400;
maxRangeProbab = 0.05;
};
class Attachments {};
};
};
class G3A3_DZ: G3_DZ
{
displayName = $STR_DZ_WPN_G3A3_NAME;
model = "\C1987_G3\g3.p3d";
picture = "\C1987_G3\equip\g3.paa";
class Attachments
{
Attachment_CCO = "G3A3_CCO_DZ";
Attachment_Holo = "G3A3_HOLO_DZ";
Attachment_ACOG = "G3A3_ACOG_DZ";
};
};
class G3A3_CCO_DZ: G3A3_DZ
{
displayName = $STR_DZ_WPN_G3A3_CCO_NAME;
model = "\C1987_G3\g3_aimshot.p3d";
picture = "\C1987_G3\equip\g3_aim.paa";
class Attachments {};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'G3A3_DZ'] call player_removeAttachment";
};
};
};
class G3A3_Holo_DZ: G3A3_DZ
{
displayName = $STR_DZ_WPN_G3A3_HOLO_NAME;
model = "\C1987_G3\g3_eotech.p3d";
picture = "\C1987_G3\equip\g3_eotech.paa";
class Attachments {};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'G3A3_DZ'] call player_removeAttachment";
};
};
};
class G3A3_ACOG_DZ: G3A3_DZ
{
displayName = $STR_DZ_WPN_G3A3_ACOG_NAME;
model = "\C1987_G3\g3_acog.p3d";
picture = "\C1987_G3\equip\g3_acog.paa";
class Attachments {};
G3_ACOG;
class ItemActions
{
class RemoveACOG
{
text = $STR_DZ_ATT_ACOG_RMVE;
script = "; ['Attachment_ACOG',_id,'G3A3_DZ'] call player_removeAttachment";
};
};
};
class G3_SG1_DZ: G3A3_DZ
{
displayName = $STR_DZ_WPN_G3_SG1_NAME;
model = "\C1987_G3\g3sg1.p3d";
picture = "\C1987_G3\equip\g3sg1.paa";
modelOptics = "\ca\weapons\2Dscope_MilDot_10";
opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
opticsZoomMin = 0.029624;
opticsZoomMax = 0.09222;
opticsZoomInit = 0.09222;
distanceZoomMin = 329;
distanceZoomMax = 329;
optics = 1;
class Single : Mode_SemiAuto
{
begin1[] = {"\C1987_G3\sound\G3.wss",1.778279,1,1000};
soundBegin[] = {"begin1",1};
reloadTime = 0.07;
recoil = "recoil_single_primary_3outof10";
recoilProne = "recoil_single_primary_prone_3outof10";
dispersion = 0.003;
minRange = 2;
minRangeProbab = 0.25;
midRange = 400;
midRangeProbab = 0.7;
maxRange = 800;
maxRangeProbab = 0.05;
};
class FullAuto : Mode_FullAuto
{
begin1[] = {"\C1987_G3\sound\G3.wss",1.778279,1,1000};
soundBegin[] = {"begin1",1};
soundContinuous = 0;
reloadTime = 0.1;
ffCount = 1;
recoil = "recoil_auto_primary_3outof10";
recoilProne = "recoil_auto_primary_prone_3outof10";
aiRateOfFire = 0.001;
dispersion = 0.003; //0.007;
minRange = 0;
minRangeProbab = 0.20;
midRange = 350;
midRangeProbab = 0.7;
maxRange = 700;
maxRangeProbab = 0.05;
};
class Attachments {};
};
class G3_SG1_Bipod_DZ: G3_SG1_DZ
{
displayName = $STR_DZ_WPN_G3_SG1_BIPOD_NAME;
model = "\C1987_G3\g3sg1_bipod.p3d";
picture = "\C1987_G3\equip\g3sg1_bipod.paa";
class Single : Single
{
recoilProne = "recoil_single_primary_prone_1outof10";
};
class FullAuto : FullAuto
{
recoilProne = "recoil_auto_primary_prone_2outof10";
};
};
#undef G3_ACOG

View File

@@ -172,6 +172,26 @@ class SVD_Gold_DZ : SVD_PSO1_DZ {
model = "\RH_aks\RH_svdg.p3d";
picture = "\RH_aks\inv\svdg.paa";
class OpticsModes {
class Scope {
discreteDistance[] = {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000};
discreteDistanceInitIndex = 2;
cameraDir = "";
distanceZoomMax = 300;
distanceZoomMin = 300;
memoryPointCamera = "opticView";
opticsDisablePeripherialVision = 1;
opticsFlare = 1;
opticsID = 1;
opticsPPEffects[] = {"OpticsCHAbera3", "OpticsBlur3"};
opticsZoomInit = 0.0623;
opticsZoomMax = 0.0623;
opticsZoomMin = 0.0623;
useModelOptics = 1;
visionMode[] = {"Normal"};
};
};
class ItemActions {};
class Attachments {};
};

View File

@@ -8,4 +8,24 @@ class SVU_PSO1_DZ: SVD_PSO1_DZ {
magazines[] = {"10Rnd_762x54_SVD"};
class ItemActions {};
class Attachments {};
class OpticsModes {
class Scope {
discreteDistance[] = {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000};
discreteDistanceInitIndex = 2;
cameraDir = "";
distanceZoomMax = 300;
distanceZoomMin = 300;
memoryPointCamera = "opticView";
opticsDisablePeripherialVision = 1;
opticsFlare = 1;
opticsID = 1;
opticsPPEffects[] = {"OpticsCHAbera3", "OpticsBlur3"};
opticsZoomInit = 0.0623;
opticsZoomMax = 0.0623;
opticsZoomMin = 0.0623;
useModelOptics = 1;
visionMode[] = {"Normal"};
};
};
};

View File

@@ -0,0 +1,7 @@
class ItemMutantHeart: ItemCore
{
scope = 2;
displayName = $STR_MUTANT_HEART;
picture = "\nst\ns_mutants\blood\heart_icon_ca.paa";
descriptionShort = $STR_MUTANT_HEART_DESC;
};

View File

@@ -931,4 +931,24 @@ class RscTitles
};
};
};
class mutant_attack
{
idd=-1;
movingEnable=0;
duration=1;
fadein=0;
name="Skrabanec";
controls[]=
{
"skrabanec"
};
class skrabanec: RscPicture
{
x=0;
y=0;
w=1;
h=1;
text="\nst\textures\skrabanec.paa";
};
};
};

View File

@@ -0,0 +1,304 @@
class rv_RscText {
idc = -1;
x = 0;
y = 0;
h = 0.037;
w = 0.3;
type = 0;
style = 0;
shadow = 2;
colorShadow[] = {0, 0, 0, 0.5};
font = "Zeppelin32";
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
text = "";
colorText[] = {1, 1, 1, 1.0};
colorBackground[] = {0, 0, 0, 0};
linespacing = 1;
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
};
class rv_RscTitle : rv_RscText {
idc = -1;
style = 0;
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorText[] = {0.95, 0.95, 0.95, 1};
};
class rv_RscShortcutButton {
idc = -1;
style = 0;
default = 0;
shadow = 2;
w = 0.183825;
h = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)";
color[] = {1,1,1,1.0};
colorFocused[] = {1,1,1,1.0};
color2[] = {0.95,0.95,0.95,1};
colorDisabled[] = {1,1,1,0.25};
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
colorBackgroundFocused[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
colorBackground2[] = {1,1,1,1};
animTextureDefault = "gza\scripts\gold\gui\normal_ca.paa";
animTextureNormal = "gza\scripts\gold\gui\normal_ca.paa";
animTextureDisabled = "gza\scripts\gold\gui\normal_ca.paa";
animTextureOver = "gza\scripts\gold\gui\over_ca.paa";
animTextureFocused = "gza\scripts\gold\gui\focus_ca.paa";
animTexturePressed = "gza\scripts\gold\gui\down_ca.paa";
periodFocus = 1.2;
periodOver = 0.8;
class HitZone {
left = 0.0;
top = 0.0;
right = 0.0;
bottom = 0.0;
};
class ShortcutPos {
left = 0;
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
};
class TextPos {
left = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
right = 0.005;
bottom = 0.0;
};
period = 0.4;
font = "Zeppelin32";
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
text = "";
action = "";
class Attributes {
font = "Zeppelin32";
color = "#E5E5E5";
align = "left";
shadow = 1;
};
class AttributesImage {
font = "Zeppelin32";
color = "#E5E5E5";
align = "left";
};
soundPush[] = { "", 0, 1 };
soundEnter[] ={ "", 0, 1 };
soundClick[] ={ "", 0, 1 };
soundEscape[] ={ "", 0, 1 };
sound[] ={ "", 0, 1 };
};
class rv_RscButtonMenu : rv_RscShortcutButton {
idc = -1;
type = 16;
style = "0x02 + 0xC0";
default = 0;
shadow = 0;
x = 0;
y = 0;
w = 0.095589;
h = 0.039216;
animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)";
animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)";
animTextureOver = "#(argb,8,8,3)color(1,1,1,1)";
animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
colorBackground[] = {0,0,0,0.8};
colorBackgroundFocused[] = {1,1,1,1};
colorBackground2[] = {0.75,0.75,0.75,1};
color[] = {1,1,1,1};
colorFocused[] = {0,0,0,1};
color2[] = {0,0,0,1};
colorText[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.25};
period = 1.2;
periodFocus = 1.2;
periodOver = 1.2;
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
class TextPos {
left = "0.25 * (((safezoneW / safezoneH) min 1.2) / 40)";
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
right = 0.005;
bottom = 0.0;
};
class Attributes {
font = "Zeppelin32";
color = "#E5E5E5";
align = "center";
shadow = 0;
};
class ShortcutPos {
left = "(6.25 * (((safezoneW / safezoneH) min 1.2) / 40)) - 0.0225 - 0.005";
top = 0.005;
w = 0.0225;
h = 0.03;
};
textureNoShortcut = "";
};
class rv_RscListBox {
style = 16;
idc = -1;
type = 5;
w = 0.275;
h = 0.04;
font = "Zeppelin32";
colorSelect[] = {0.11,0.686,0.831,1};
colorText[] = {1, 1, 1, 1};
colorBackground[] = {0.28,0.28,0.28,0.28};
colorSelect2[] = {1, 1, 1, 1};
colorSelectBackground[] = {0.95, 0.95, 0.95, 0.5};
colorSelectBackground2[] = {1, 1, 1, 0.5};
colorScrollbar[] = {0.2, 0.2, 0.2, 1};
arrowFull = "\ca\ui\data\igui_arrow_top_active_ca.paa";
arrowEmpty = "\ca\ui\data\igui_arrow_top_ca.paa";
wholeHeight = 0.45;
rowHeight = 0.04;
color[] = {0.7, 0.7, 0.7, 1};
colorActive[] = {0,0,0,1};
colorDisabled[] = {0,0,0,0.3};
sizeEx = 0.023;
maxHistoryDelay = 1;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
class ScrollBar {
color[] = {1, 1, 1, 0.6};
colorActive[] = {1, 1, 1, 1};
colorDisabled[] = {1, 1, 1, 0.3};
thumb = "\ca\ui\data\igui_scrollbar_thumb_ca.paa";
arrowFull = "\ca\ui\data\igui_arrow_top_active_ca.paa";
arrowEmpty = "\ca\ui\data\igui_arrow_top_ca.paa";
border = "\ca\ui\data\igui_border_scroll_ca.paa";
};
soundPush[] = { "", 0, 1 };
soundEnter[] ={ "", 0, 1 };
soundClick[] ={ "", 0, 1 };
soundEscape[] ={ "", 0, 1 };
sound[] ={ "", 0, 1 };
soundSelect[] = { "", 0, 1 };
};
class rv_RscStructuredText {
type = 13;
style = 0;
x = 0;
y = 0;
h = 0.035;
w = 0.1;
text = "";
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorText[] = {1, 1, 1, 1.0};
shadow = 1;
class Attributes {
font = "Zeppelin32";
color = "#ffffff";
align = "left";
shadow = 1;
};
};
class remoteVehicle {
idd = 8800;
name="remoteVehicle";
onLoad = "uiNamespace setVariable ['rv_dialog', _this select 0]";
movingEnabled = 0;
enableSimulation = 1;
class controlsBackground {
class rv_RscTitleBackground : rv_RscText {
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
idc = -1;
x = 0.1;
y = 0.2;
w = 0.8;
h = (1 / 25);
};
class MainBackground : rv_RscText {
colorBackground[] = {0,0,0,0.7};
idc = -1;
x = 0.1;
y = 0.2 + (11 / 250);
w = 0.8;
h = 0.7 - (22 / 250);
};
class VehicleInfoHeader : rv_RscText {
idc = 8830;
text = $STR_CL_RV_VEHICLE_INFO;
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
x = 0.47; y = 0.26;
w = 0.42;
h = (1 / 25);
};
class CloseBtn : rv_RscButtonMenu {
idc = -1;
text = $STR_UI_CLOSE;
onButtonClick = "closeDialog 2;";
x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 40);
h = (1 / 25);
};
};
class controls {
class Title : rv_RscTitle {
idc = 8801;
text = "";
x = 0.1;
y = 0.2;
w = 0.8;
h = (1 / 25);
};
class VehicleList : rv_RscListBox {
idc = 8802;
text = "";
sizeEx = 0.04;
colorBackground[] = {0.1,0.1,0.1,0.9};
onLBSelChanged = "[_this] call rv_vehicleInfo;";
x = 0.11; y = 0.302;
w = 0.35; h = 0.49;
};
class VehicleTitleBox : rv_RscText {
idc = 8804;
text = $STR_CL_RV_VEHICLE_LIST;
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
x = 0.11; y = 0.26;
w = 0.35;
h = (1 / 25);
};
class selectVehicle : rv_RscButtonMenu {
idc = 8850;
text = $STR_CL_RV_SELECT_VEHICLE;
onButtonClick = "rv_isOk = true;closeDialog 0;";
x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 20);
h = (1 / 25);
};
class vehicleInfomationList : rv_RscStructuredText {
idc = 8803;
text = "";
sizeEx = 0.035;
x = 0.47; y = 0.3;
w = 0.41; h = 0.5;
};
};
};

View File

@@ -0,0 +1,315 @@
class vkc_RscText {
idc = -1;
x = 0;
y = 0;
h = 0.037;
w = 0.3;
type = 0;
style = 0;
shadow = 2;
colorShadow[] = {0, 0, 0, 0.5};
font = "Zeppelin32";
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
text = "";
colorText[] = {1, 1, 1, 1.0};
colorBackground[] = {0, 0, 0, 0};
linespacing = 1;
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
};
class vkc_RscTitle : vkc_RscText {
idc = -1;
style = 0;
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorText[] = {0.95, 0.95, 0.95, 1};
};
class vkc_RscShortcutButton {
idc = -1;
style = 0;
default = 0;
shadow = 2;
w = 0.183825;
h = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)";
color[] = {1,1,1,1.0};
colorFocused[] = {1,1,1,1.0};
color2[] = {0.95,0.95,0.95,1};
colorDisabled[] = {1,1,1,0.25};
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
colorBackgroundFocused[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
colorBackground2[] = {1,1,1,1};
animTextureDefault = "gza\scripts\gold\gui\normal_ca.paa";
animTextureNormal = "gza\scripts\gold\gui\normal_ca.paa";
animTextureDisabled = "gza\scripts\gold\gui\normal_ca.paa";
animTextureOver = "gza\scripts\gold\gui\over_ca.paa";
animTextureFocused = "gza\scripts\gold\gui\focus_ca.paa";
animTexturePressed = "gza\scripts\gold\gui\down_ca.paa";
periodFocus = 1.2;
periodOver = 0.8;
class HitZone {
left = 0.0;
top = 0.0;
right = 0.0;
bottom = 0.0;
};
class ShortcutPos {
left = 0;
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
};
class TextPos {
left = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
right = 0.005;
bottom = 0.0;
};
period = 0.4;
font = "Zeppelin32";
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
text = "";
action = "";
class Attributes {
font = "Zeppelin32";
color = "#E5E5E5";
align = "left";
shadow = 1;
};
class AttributesImage {
font = "Zeppelin32";
color = "#E5E5E5";
align = "left";
};
soundPush[] = { "", 0, 1 };
soundEnter[] ={ "", 0, 1 };
soundClick[] ={ "", 0, 1 };
soundEscape[] ={ "", 0, 1 };
sound[] ={ "", 0, 1 };
};
class vkc_RscButtonMenu : vkc_RscShortcutButton {
idc = -1;
type = 16;
style = "0x02 + 0xC0";
default = 0;
shadow = 0;
x = 0;
y = 0;
w = 0.095589;
h = 0.039216;
animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)";
animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)";
animTextureOver = "#(argb,8,8,3)color(1,1,1,1)";
animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
colorBackground[] = {0,0,0,0.8};
colorBackgroundFocused[] = {1,1,1,1};
colorBackground2[] = {0.75,0.75,0.75,1};
color[] = {1,1,1,1};
colorFocused[] = {0,0,0,1};
color2[] = {0,0,0,1};
colorText[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.25};
period = 1.2;
periodFocus = 1.2;
periodOver = 1.2;
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
class TextPos {
left = "0.25 * (((safezoneW / safezoneH) min 1.2) / 40)";
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
right = 0.005;
bottom = 0.0;
};
class Attributes {
font = "Zeppelin32";
color = "#E5E5E5";
align = "center";
shadow = 0;
};
class ShortcutPos {
left = "(6.25 * (((safezoneW / safezoneH) min 1.2) / 40)) - 0.0225 - 0.005";
top = 0.005;
w = 0.0225;
h = 0.03;
};
textureNoShortcut = "";
};
class vkc_RscListBox {
style = 16;
idc = -1;
type = 5;
w = 0.275;
h = 0.04;
font = "Zeppelin32";
colorSelect[] = {0.11,0.686,0.831,1};
colorText[] = {1, 1, 1, 1};
colorBackground[] = {0.28,0.28,0.28,0.28};
colorSelect2[] = {1, 1, 1, 1};
colorSelectBackground[] = {0.95, 0.95, 0.95, 0.5};
colorSelectBackground2[] = {1, 1, 1, 0.5};
colorScrollbar[] = {0.2, 0.2, 0.2, 1};
arrowFull = "\ca\ui\data\igui_arrow_top_active_ca.paa";
arrowEmpty = "\ca\ui\data\igui_arrow_top_ca.paa";
wholeHeight = 0.45;
rowHeight = 0.04;
color[] = {0.7, 0.7, 0.7, 1};
colorActive[] = {0,0,0,1};
colorDisabled[] = {0,0,0,0.3};
sizeEx = 0.023;
maxHistoryDelay = 1;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
class ScrollBar {
color[] = {1, 1, 1, 0.6};
colorActive[] = {1, 1, 1, 1};
colorDisabled[] = {1, 1, 1, 0.3};
thumb = "\ca\ui\data\igui_scrollbar_thumb_ca.paa";
arrowFull = "\ca\ui\data\igui_arrow_top_active_ca.paa";
arrowEmpty = "\ca\ui\data\igui_arrow_top_ca.paa";
border = "\ca\ui\data\igui_border_scroll_ca.paa";
};
soundPush[] = { "", 0, 1 };
soundEnter[] ={ "", 0, 1 };
soundClick[] ={ "", 0, 1 };
soundEscape[] ={ "", 0, 1 };
sound[] ={ "", 0, 1 };
soundSelect[] = { "", 0, 1 };
};
class vkc_RscStructuredText {
type = 13;
style = 0;
x = 0;
y = 0;
h = 0.035;
w = 0.1;
text = "";
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorText[] = {1, 1, 1, 1.0};
shadow = 1;
class Attributes {
font = "Zeppelin32";
color = "#ffffff";
align = "left";
shadow = 1;
};
};
class vkc {
idd = 4800;
name="vkc";
onload = "player setVariable['isBusy',true,true];";
onUnload = "player setVariable['isBusy',false,true];";
movingEnabled = 0;
enableSimulation = 1;
class controlsBackground {
class vkc_RscTitleBackground : vkc_RscText {
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
idc = -1;
x = 0.1;
y = 0.2;
w = 0.8;
h = (1 / 25);
};
class MainBackground : vkc_RscText {
colorBackground[] = {0,0,0,0.7};
idc = -1;
x = 0.1;
y = 0.2 + (11 / 250);
w = 0.8;
h = 0.7 - (22 / 250);
};
class Title : vkc_RscTitle {
idc = 4801;
text = $STR_CL_VKC_TITLE;
x = 0.1;
y = 0.2;
w = 0.8;
h = (1 / 25);
};
class VehicleInfoHeader : vkc_RscText {
idc = 4830;
text = $STR_CL_VKC_INFO;
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
x = 0.47; y = 0.26;
w = 0.42;
h = (1 / 25);
};
class CloseBtn : vkc_RscButtonMenu {
idc = -1;
text = $STR_UI_CLOSE;
onButtonClick = "closeDialog 2;";
x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 40);
h = (1 / 25);
};
};
class controls {
class VehicleList : vkc_RscListBox {
idc = 4802;
text = "";
sizeEx = 0.04;
colorBackground[] = {0.1,0.1,0.1,0.9};
onLBSelChanged = "vkc_charID = (vkc_keyList select 0) select (lbCurSel 4802);vkc_keyName = (vkc_keyList select 1) select (lbCurSel 4802);";
x = 0.11; y = 0.302;
w = 0.35; h = 0.49;
};
class VehicleTitleBox : vkc_RscText {
idc = 4804;
text = $STR_CL_VKC_KEYS;
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
x = 0.11; y = 0.26;
w = 0.35;
h = (1 / 25);
};
class claimVehicle : vkc_RscButtonMenu {
idc = 4850;
text = $STR_CL_VKC_CLAIM;
onButtonClick = "vkc_isOk = true;closeDialog 0;";
x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 20);
h = (1 / 25);
};
class changeKey : vkc_RscButtonMenu {
idc = 4851;
text = $STR_CL_VKC_CHANGE;
onButtonClick = "vkc_isOk = true;closeDialog 0;";
x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 20);
h = (1 / 25);
};
class vehicleInfomationList : vkc_RscStructuredText {
idc = 4803;
text = "";
sizeEx = 0.035;
x = 0.47; y = 0.3;
w = 0.41; h = 0.5;
};
};
};

View File

@@ -0,0 +1,367 @@
// Developed by [GZA] David for German Zombie Apocalypse Servers (https://zombieapo.eu/)
// Rewritten by salival (https://github.com/oiad)
class vg_RscText {
idc = -1;
x = 0;
y = 0;
h = 0.037;
w = 0.3;
type = 0;
style = 0;
shadow = 2;
colorShadow[] = {0, 0, 0, 0.5};
font = "Zeppelin32";
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
text = "";
colorText[] = {1, 1, 1, 1.0};
colorBackground[] = {0, 0, 0, 0};
linespacing = 1;
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
};
class vg_RscTitle : vg_RscText {
idc = -1;
style = 0;
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorText[] = {0.95, 0.95, 0.95, 1};
};
class vg_RscShortcutButton {
idc = -1;
style = 0;
default = 0;
shadow = 2;
w = 0.183825;
h = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)";
color[] = {1,1,1,1.0};
colorFocused[] = {1,1,1,1.0};
color2[] = {0.95,0.95,0.95,1};
colorDisabled[] = {1,1,1,0.25};
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
colorBackgroundFocused[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
colorBackground2[] = {1,1,1,1};
animTextureDefault = "gza\scripts\gold\gui\normal_ca.paa";
animTextureNormal = "gza\scripts\gold\gui\normal_ca.paa";
animTextureDisabled = "gza\scripts\gold\gui\normal_ca.paa";
animTextureOver = "gza\scripts\gold\gui\over_ca.paa";
animTextureFocused = "gza\scripts\gold\gui\focus_ca.paa";
animTexturePressed = "gza\scripts\gold\gui\down_ca.paa";
periodFocus = 1.2;
periodOver = 0.8;
class HitZone {
left = 0.0;
top = 0.0;
right = 0.0;
bottom = 0.0;
};
class ShortcutPos {
left = 0;
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
};
class TextPos {
left = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
right = 0.005;
bottom = 0.0;
};
period = 0.4;
font = "Zeppelin32";
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
text = "";
action = "";
class Attributes {
font = "Zeppelin32";
color = "#E5E5E5";
align = "left";
shadow = 1;
};
class AttributesImage {
font = "Zeppelin32";
color = "#E5E5E5";
align = "left";
};
soundPush[] = { "", 0, 1 };
soundEnter[] ={ "", 0, 1 };
soundClick[] ={ "", 0, 1 };
soundEscape[] ={ "", 0, 1 };
sound[] ={ "", 0, 1 };
};
class vg_RscButtonMenu : vg_RscShortcutButton {
idc = -1;
type = 16;
style = "0x02 + 0xC0";
default = 0;
shadow = 0;
x = 0;
y = 0;
w = 0.095589;
h = 0.039216;
animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)";
animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)";
animTextureOver = "#(argb,8,8,3)color(1,1,1,1)";
animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
colorBackground[] = {0,0,0,0.8};
colorBackgroundFocused[] = {1,1,1,1};
colorBackground2[] = {0.75,0.75,0.75,1};
color[] = {1,1,1,1};
colorFocused[] = {0,0,0,1};
color2[] = {0,0,0,1};
colorText[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.25};
period = 1.2;
periodFocus = 1.2;
periodOver = 1.2;
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
class TextPos {
left = "0.25 * (((safezoneW / safezoneH) min 1.2) / 40)";
top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
right = 0.005;
bottom = 0.0;
};
class Attributes {
font = "Zeppelin32";
color = "#E5E5E5";
align = "center";
shadow = 0;
};
class ShortcutPos {
left = "(6.25 * (((safezoneW / safezoneH) min 1.2) / 40)) - 0.0225 - 0.005";
top = 0.005;
w = 0.0225;
h = 0.03;
};
textureNoShortcut = "";
};
class vg_RscListBox {
style = 16;
idc = -1;
type = 5;
w = 0.275;
h = 0.04;
font = "Zeppelin32";
colorSelect[] = {0.11,0.686,0.831,1};
colorText[] = {1, 1, 1, 1};
colorBackground[] = {0.28,0.28,0.28,0.28};
colorSelect2[] = {1, 1, 1, 1};
colorSelectBackground[] = {0.95, 0.95, 0.95, 0.5};
colorSelectBackground2[] = {1, 1, 1, 0.5};
colorScrollbar[] = {0.2, 0.2, 0.2, 1};
arrowFull = "\ca\ui\data\igui_arrow_top_active_ca.paa";
arrowEmpty = "\ca\ui\data\igui_arrow_top_ca.paa";
wholeHeight = 0.45;
rowHeight = 0.04;
color[] = {0.7, 0.7, 0.7, 1};
colorActive[] = {0,0,0,1};
colorDisabled[] = {0,0,0,0.3};
sizeEx = 0.023;
maxHistoryDelay = 1;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
class ScrollBar {
color[] = {1, 1, 1, 0.6};
colorActive[] = {1, 1, 1, 1};
colorDisabled[] = {1, 1, 1, 0.3};
thumb = "\ca\ui\data\igui_scrollbar_thumb_ca.paa";
arrowFull = "\ca\ui\data\igui_arrow_top_active_ca.paa";
arrowEmpty = "\ca\ui\data\igui_arrow_top_ca.paa";
border = "\ca\ui\data\igui_border_scroll_ca.paa";
};
soundPush[] = { "", 0, 1 };
soundEnter[] ={ "", 0, 1 };
soundClick[] ={ "", 0, 1 };
soundEscape[] ={ "", 0, 1 };
sound[] ={ "", 0, 1 };
soundSelect[] = { "", 0, 1 };
};
class vg_RscStructuredText {
type = 13;
style = 0;
x = 0;
y = 0;
h = 0.035;
w = 0.1;
text = "";
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
colorText[] = {1, 1, 1, 1.0};
shadow = 1;
class Attributes {
font = "Zeppelin32";
color = "#ffffff";
align = "left";
shadow = 1;
};
};
class virtualGarage {
idd = 2800;
name="virtualGarage";
onload = "player setVariable['isBusy',true,true]; [] spawn vg_maintainSetText;";
onUnload = "player setVariable['isBusy',false,true];dayz_actionInProgress = false;";
movingEnabled = 0;
enableSimulation = 1;
class controlsBackground {
class vg_RscTitleBackground : vg_RscText {
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
idc = -1;
x = 0.1;
y = 0.2;
w = 0.8;
h = (1 / 25);
};
class MainBackground : vg_RscText {
colorBackground[] = {0,0,0,0.7};
idc = -1;
x = 0.1;
y = 0.2 + (11 / 250);
w = 0.8;
h = 0.7 - (22 / 250);
};
class Title : vg_RscTitle {
idc = 2801;
text = $STR_CL_VG_VIRTUAL_GARAGE;
x = 0.1;
y = 0.2;
w = 0.8;
h = (1 / 25);
};
class VehicleInfoHeader : vg_RscText {
idc = 2830;
text = $STR_CL_VG_VEHICLE_INFO;
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
x = 0.47; y = 0.26;
w = 0.42;
h = (1 / 25);
};
class CloseBtn : vg_RscButtonMenu {
idc = -1;
text = $STR_UI_CLOSE;
onButtonClick = "closeDialog 2;";
x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 40);
h = (1 / 25);
};
};
class controls {
class VehicleList : vg_RscListBox {
idc = 2802;
text = "";
sizeEx = 0.04;
colorBackground[] = {0.1,0.1,0.1,0.9};
onLBSelChanged = "[_this] call vehicleInfo;";
x = 0.11; y = 0.302;
w = 0.35; h = 0.49;
};
class VehicleTitleBox : vg_RscText {
idc = 2804;
text = "";
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
x = 0.11; y = 0.26;
w = 0.35;
h = (1 / 25);
};
class storeVehicle : vg_RscButtonMenu {
idc = 2850;
text = $STR_CL_VG_STORE_VEHICLE;
onButtonClick = "if (!vg_hasRun) then {vg_hasRun = true;[true] spawn player_storeVehicle;};";
x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 36);
h = (1 / 25);
};
class storeVehicleGear : vg_RscButtonMenu {
idc = 2851;
text = $STR_CL_VG_STORE_VEHICLE_GEAR;
onButtonClick = "if (!vg_hasRun) then {vg_hasRun = true;[false] spawn player_storeVehicle;};";
x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 15.85);
h = (1 / 25);
};
class getVehicle : vg_RscButtonMenu {
idc = 2852;
text = $STR_CL_VG_GET_VEHICLE;
onButtonClick = "if (!vg_hasRun) then {vg_hasRun = true;[] spawn player_getVehicle;};";
x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 20);
h = (1 / 25);
};
class removePad : vg_RscButtonMenu {
idc = 2853;
text = $STR_CL_VG_REMOVE_PAD;
onButtonClick = "call player_removePad;";
x = 0.5 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = 0.241;
h = (1 / 25);
};
class MaintainGarage : vg_RscButtonMenu {
idc = 2854;
text = $STR_CL_VG_MAINTAIN_GARAGE;
onButtonClick = "if (!vg_hasRun) then {vg_hasRun = true;[] spawn Player_MaintainVG;};";
x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.903;
w = 0.8;
h = (1 / 25);
};
class vehicleInfomationList : vg_RscStructuredText {
idc = 2803;
text = "";
sizeEx = 0.035;
x = 0.47; y = 0.3;
w = 0.41; h = 0.5;
};
class MainBackgroundHider : vg_RscText {
colorBackground[] = {0,0,0,1};
idc = 2810;
x = 0.1;
y = 0.2 + (11 / 250);
w = 0.8;
h = 0.7 - (22 / 250);
};
class MainHideText : vg_RscText {
idc = 2811;
text = $STR_CL_VG_SEARCH_VEHICLES;
sizeEx = 0.06;
x = 0.10;
y = 0.5;
w = 0.8;
h = (1 / 15);
};
};
};

File diff suppressed because it is too large Load Diff