Add winter camo tents

Models made by @Helion4
This commit is contained in:
AirwavesMan
2020-12-19 15:43:05 +01:00
parent e7028cbee5
commit 83012eb156
8 changed files with 275 additions and 41 deletions

View File

@@ -17,9 +17,11 @@ Generic[] =
};
tents[] = {
{Loot_MAGAZINE, 1, ItemDomeTent},
{Loot_MAGAZINE, 1, ItemTent},
{Loot_MAGAZINE, 1, ItemDesertTent} //EPOCH ADDITION
{Loot_MAGAZINE, 3, ItemDomeTent},
{Loot_MAGAZINE, 3, ItemTent},
{Loot_MAGAZINE, 1, ItemDesertTent},
{Loot_MAGAZINE, 1, ItemTentWinter},
{Loot_MAGAZINE, 1, ItemWinterDomeTent}
};
GenericSmall[] =

View File

@@ -18,18 +18,9 @@ class ItemTent : CA_Magazine
create = "TentStorage";
};
class Crafting
{
text = $STR_EPOCH_PLAYER_270;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"desert_net_kit",1}};
input[] = {{"ItemTent",2},{"equip_tent_poles",2}};
};
class Crafting1
{
text = $STR_EPOCH_PLAYER_271;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"forest_net_kit",1}};
@@ -38,6 +29,37 @@ class ItemTent : CA_Magazine
};
};
class ItemTentWinter : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "\dayz_equip\models\tentbag_gear.p3d";
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
displayName = $STR_VEH_NAME_TENTWINTER;
descriptionShort = $STR_EQUIP_DESC_20;
class ItemActions
{
class Build
{
text = $STR_PITCH_TENT;
script = "spawn player_build;";
require[] = {};
create = "TentStorageWinter";
};
class Crafting
{
text = $STR_EPOCH_PLAYER_272;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"winter_net_kit",1}};
input[] = {{"ItemTentWinter",2},{"equip_tent_poles",2}};
};
};
};
class ItemDomeTent : CA_Magazine
{
scope = 2;
@@ -69,6 +91,37 @@ class ItemDomeTent : CA_Magazine
};
};
class ItemWinterDomeTent : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "\dayz_equip\models\tentbag_gear.p3d";
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
displayName = $STR_VEH_NAME_WINTER_DOME_TENT;
descriptionShort = $STR_EQUIP_DESC_20;
class ItemActions
{
class Build
{
text = $STR_PITCH_TENT;
script = "spawn player_build;";
require[] = {};
create = "WinterDomeTentStorage";
};
class Crafting
{
text = $STR_EPOCH_PLAYER_272;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"winter_net_kit",1}};
input[] = {{"ItemWinterDomeTent",2},{"equip_tent_poles",2}};
};
};
};
class ItemDesertTent : CA_Magazine
{
scope = 2;

View File

@@ -46,7 +46,9 @@ class Category_35 {
class equip_tent_poles {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class ItemDesertTent {type = "trade_items";buy[] = {6,"ItemSilverBar10oz"};sell[] = {3,"ItemSilverBar10oz"};};
class ItemDomeTent {type = "trade_items";buy[] = {6,"ItemSilverBar10oz"};sell[] = {3,"ItemSilverBar10oz"};};
class ItemTent {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
class ItemTent {type = "trade_items";buy[] = {8,"ItemSilverBar10oz"};sell[] = {4,"ItemSilverBar10oz"};};
class ItemTentWinter {type = "trade_items";buy[] = {8,"ItemSilverBar10oz"};sell[] = {4,"ItemSilverBar10oz"};};
class ItemWinterDomeTent {type = "trade_items";buy[] = {6,"ItemSilverBar10oz"};sell[] = {3,"ItemSilverBar10oz"};};
class ItemLightBulb {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class ItemGenerator {type = "trade_items";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class equip_brick {type = "trade_items";buy[] = {4,"ItemSilverBar"};sell[] = {2,"ItemSilverBar"};};

View File

@@ -46,7 +46,9 @@ class Category_35 {
class equip_tent_poles {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};};
class ItemDesertTent {type = "trade_items";buy[] = {60,"worth"};sell[] = {30,"worth"};};
class ItemDomeTent {type = "trade_items";buy[] = {60,"worth"};sell[] = {30,"worth"};};
class ItemTent {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};};
class ItemTent {type = "trade_items";buy[] = {80,"worth"};sell[] = {40,"worth"};};
class ItemTentWinter {type = "trade_items";buy[] = {80,"worth"};sell[] = {40,"worth"};};
class ItemWinterDomeTent {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};};
class ItemLightBulb {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};};
class ItemGenerator {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};};
class equip_brick {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};};

View File

@@ -3,16 +3,16 @@ class TentStorage_base : DZ_storage_base {
model = "\z\addons\dayz_communityassets\models\tent_a.p3d";
destrType = DestructTent;
displayName = $STR_VEH_NAME_TENT;
vehicleClass = "DayZ Epoch Buildables";
vehicleClass = "DayZ Epoch Tents";
pack = "WeaponHolder_ItemTent";
transportMaxMagazines = 130;
transportMaxWeapons = 10;
transportMaxBackpacks = 5;
icon = "\Ca\buildings\Icons\i_Astan_CA.paa";
};
class TentStorage : TentStorage_base {
displayName = $STR_VEH_NAME_TENT;
pack = "WeaponHolder_ItemTent";
transportMaxMagazines = 130;
transportMaxWeapons = 10;
transportMaxBackpacks = 5;
@@ -59,12 +59,63 @@ class TentStorage4 : TentStorage_base {
create = "";
};
class TentStorageWinter_base: TentStorage_base {
pack = "WeaponHolder_ItemTentWinter";
model = "\z\addons\dayz_epoch_v\base_building\storage\tents\dze_a_tent.p3d";
};
class TentStorageWinter : TentStorageWinter_base {
displayName = $STR_VEH_NAME_TENTWINTER;
transportMaxMagazines = 130;
transportMaxWeapons = 10;
transportMaxBackpacks = 5;
upgradeBuilding[] = {"TentStorageWinter0",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",1}}};
};
class TentStorageWinter0 : TentStorageWinter_base {
displayName = $STR_VEH_NAME_TENTWINTER1;
armor = 20;
transportMaxMagazines = 140;
transportMaxWeapons = 12;
transportMaxBackpacks = 5;
upgradeBuilding[] = {"TentStorageWinter1",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",1},{"equip_tent_poles",1}}};
};
class TentStorageWinter1 : TentStorageWinter_base {
displayName = $STR_VEH_NAME_TENTWINTER2;
armor = 30;
transportMaxMagazines = 150;
transportMaxWeapons = 14;
transportMaxBackpacks = 5;
upgradeBuilding[] = {"TentStorageWinter2",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",2},{"equip_tent_poles",2}}};
};
class TentStorageWinter2 : TentStorageWinter_base {
displayName = $STR_VEH_NAME_TENTWINTER3;
armor = 40;
transportMaxMagazines = 160;
transportMaxWeapons = 16;
transportMaxBackpacks = 5;
upgradeBuilding[] = {"TentStorageWinter3",{"ItemToolbox","ItemKnife"},{{"equip_string",2},{"ItemBurlap",1},{"equip_tent_poles",1}}};
};
class TentStorageWinter3 : TentStorageWinter_base {
displayName = $STR_VEH_NAME_TENTWINTER4;
armor = 50;
transportMaxMagazines = 170;
transportMaxWeapons = 18;
transportMaxBackpacks = 5;
upgradeBuilding[] = {"TentStorageWinter4",{"ItemToolbox","ItemKnife"},{{"equip_rope",2},{"ItemBurlap",2},{"equip_tent_poles",4}}};
};
class TentStorageWinter4 : TentStorageWinter_base {
displayName = $STR_VEH_NAME_TENTWINTER5;
armor = 60;
transportMaxMagazines = 180;
transportMaxWeapons = 20;
transportMaxBackpacks = 5;
create = "";
};
class DomeTentStorage_base : TentStorage_base {
armor = 50;
model = "\z\addons\dayz_communityassets\models\tent_dome.p3d";
displayname = $STR_VEH_NAME_DOME_TENT;
vehicleClass = "DayZ Epoch Buildables";
icon = "\Ca\buildings\Icons\i_Astan_CA.paa";
displayname = $STR_VEH_NAME_DOME_TENT;
pack = "WeaponHolder_ItemDomeTent";
transportMaxMagazines = 150;
transportMaxWeapons = 15;
@@ -120,68 +171,118 @@ class DomeTentStorage4 : DomeTentStorage_base {
transportMaxBackpacks = 10;
};
class DesertTentStorage: DomeTentStorage_base {
armor = 50;
displayname = $STR_VEH_NAME_DESERT_TENT;
vehicleClass = "DayZ Epoch Buildables";
class DesertTentStorageBase: DomeTentStorage_base {
model = "\dayz_epoch_b\models\astan.p3d";
pack = "WeaponHolder_ItemDesertTent";
};
class DesertTentStorage: DesertTentStorageBase {
armor = 50;
displayname = $STR_VEH_NAME_DESERT_TENT;
transportMaxMagazines = 75;
transportMaxWeapons = 15;
transportMaxBackpacks = 5;
upgradeBuilding[] = {"DesertTentStorage0",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",1}}};
};
class DesertTentStorage0: DomeTentStorage_base {
class DesertTentStorage0: DesertTentStorageBase {
armor = 60;
displayname = $STR_VEH_NAME_DESERT_TENT1;
model = "\dayz_epoch_b\models\astan.p3d";
pack = "WeaponHolder_ItemDesertTent";
transportMaxMagazines = 100;
transportMaxWeapons = 20;
transportMaxBackpacks = 6;
upgradeBuilding[] = {"DesertTentStorage1",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",1},{"equip_tent_poles",1}}};
};
class DesertTentStorage1: DomeTentStorage_base {
class DesertTentStorage1: DesertTentStorageBase {
armor = 70;
displayname = $STR_VEH_NAME_DESERT_TENT2;
model = "\dayz_epoch_b\models\astan.p3d";
pack = "WeaponHolder_ItemDesertTent";
transportMaxMagazines = 125;
transportMaxWeapons = 25;
transportMaxBackpacks = 7;
upgradeBuilding[] = {"DesertTentStorage2",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",2},{"equip_tent_poles",2}}};
};
class DesertTentStorage2: DomeTentStorage_base {
class DesertTentStorage2: DesertTentStorageBase {
armor = 80;
displayname = $STR_VEH_NAME_DESERT_TENT3;
model = "\dayz_epoch_b\models\astan.p3d";
pack = "WeaponHolder_ItemDesertTent";
transportMaxMagazines = 150;
transportMaxWeapons = 30;
transportMaxBackpacks = 8;
upgradeBuilding[] = {"DesertTentStorage3",{"ItemToolbox","ItemKnife"},{{"equip_string",2},{"ItemBurlap",1},{"equip_tent_poles",1}}};
};
class DesertTentStorage3: DomeTentStorage_base {
class DesertTentStorage3: DesertTentStorageBase {
armor = 90;
displayname = $STR_VEH_NAME_DESERT_TENT4;
model = "\dayz_epoch_b\models\astan.p3d";
pack = "WeaponHolder_ItemDesertTent";
transportMaxMagazines = 175;
transportMaxWeapons = 35;
transportMaxBackpacks = 9;
upgradeBuilding[] = {"DesertTentStorage4",{"ItemToolbox","ItemKnife"},{{"equip_rope",2},{"ItemBurlap",2},{"equip_tent_poles",4}}};
};
class DesertTentStorage4 : DomeTentStorage_base {
class DesertTentStorage4 : DesertTentStorageBase {
armor = 100;
displayname = $STR_VEH_NAME_DESERT_TENT5;
model = "\dayz_epoch_b\models\astan.p3d";
pack = "WeaponHolder_ItemDesertTent";
transportMaxMagazines = 200;
transportMaxWeapons = 40;
transportMaxBackpacks = 10;
};
class WinterDomeTentStorageBase: DomeTentStorage_base {
model = "\z\addons\dayz_epoch_v\base_building\storage\tents\dze_dome_tent.p3d";
pack = "WeaponHolder_ItemWinterDomeTent";
};
class WinterDomeTentStorage: WinterDomeTentStorageBase {
armor = 50;
displayname = $STR_VEH_NAME_WINTER_DOME_TENT;
transportMaxMagazines = 75;
transportMaxWeapons = 15;
transportMaxBackpacks = 5;
upgradeBuilding[] = {"WinterDomeTentStorage0",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",1}}};
};
class WinterDomeTentStorage0: WinterDomeTentStorageBase {
armor = 60;
displayname = $STR_VEH_NAME_WINTER_DOME_TENT1;
transportMaxMagazines = 100;
transportMaxWeapons = 20;
transportMaxBackpacks = 6;
upgradeBuilding[] = {"WinterDomeTentStorage1",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",1},{"equip_tent_poles",1}}};
};
class WinterDomeTentStorage1: WinterDomeTentStorageBase {
armor = 70;
displayname = $STR_VEH_NAME_WINTER_DOME_TENT2;
transportMaxMagazines = 125;
transportMaxWeapons = 25;
transportMaxBackpacks = 7;
upgradeBuilding[] = {"WinterDomeTentStorage2",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",2},{"equip_tent_poles",2}}};
};
class WinterDomeTentStorage2: WinterDomeTentStorageBase {
armor = 80;
displayname = $STR_VEH_NAME_WINTER_DOME_TENT3;
transportMaxMagazines = 150;
transportMaxWeapons = 30;
transportMaxBackpacks = 8;
upgradeBuilding[] = {"WinterDomeTentStorage3",{"ItemToolbox","ItemKnife"},{{"equip_string",2},{"ItemBurlap",1},{"equip_tent_poles",1}}};
};
class WinterDomeTentStorage3: WinterDomeTentStorageBase {
armor = 90;
displayname = $STR_VEH_NAME_WINTER_DOME_TENT4;
transportMaxMagazines = 175;
transportMaxWeapons = 35;
transportMaxBackpacks = 9;
upgradeBuilding[] = {"WinterDomeTentStorage4",{"ItemToolbox","ItemKnife"},{{"equip_rope",2},{"ItemBurlap",2},{"equip_tent_poles",4}}};
};
class WinterDomeTentStorage4 : WinterDomeTentStorageBase {
armor = 100;
displayname = $STR_VEH_NAME_WINTER_DOME_TENT5;
transportMaxMagazines = 200;
transportMaxWeapons = 40;
transportMaxBackpacks = 10;
};

View File

@@ -131,6 +131,28 @@ class WeaponHolder_ItemDesertTent : WeaponHolderBase {
};
};
class WeaponHolder_ItemTentWinter : WeaponHolderBase {
scope = 2;
displayName = $STR_VEH_NAME_TENTWINTER;
model = "\dayz_equip\proxy\tentbag.p3d";
destrType = "DestructNo";
class eventHandlers {
init = "[(_this select 0),'cfgMagazines','ItemTentWinter'] execVM '\z\addons\dayz_code\actions\pickupActions\object_pickupAction.sqf';";
};
};
class WeaponHolder_ItemWinterDomeTent : WeaponHolderBase {
scope = 2;
displayName = $STR_VEH_NAME_WINTER_DOME_TENT;
model = "\dayz_equip\proxy\tentbag.p3d";
destrType = "DestructNo";
class eventHandlers {
init = "[(_this select 0),'cfgMagazines','ItemWinterDomeTent'] execVM '\z\addons\dayz_code\actions\pickupActions\object_pickupAction.sqf';";
};
};
class WeaponHolder_ItemCrate : WeaponHolderBase {
scope = 2;
displayName = $STR_ITEM_NAME_equip_crate;