mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add trader billboards for admins
Models made by @Helion4 Also, make different config files for sand bags and camo nettings.
This commit is contained in:
74
SQF/dayz_code/Configs/CfgVehicles/Buildables/Billboards.hpp
Normal file
74
SQF/dayz_code/Configs/CfgVehicles/Buildables/Billboards.hpp
Normal file
@@ -0,0 +1,74 @@
|
||||
class Billboards_Base_DZ: Strategic
|
||||
{
|
||||
scope = 0;
|
||||
model = "\z\addons\dayz_epoch_v\props\billboards\h4_dz_billboard.p3d";
|
||||
icon = "\Ca\buildings\Icons\i_camosmall_CA.paa";
|
||||
displayName = "";
|
||||
animated = false;
|
||||
vehicleClass = "DayZ Epoch Billboards";
|
||||
typicalCargo[] = {};
|
||||
destrType = "DestructNo";
|
||||
transportAmmo = 0;
|
||||
transportRepair = 0;
|
||||
transportFuel = 0;
|
||||
mapSize = 2;
|
||||
cost = 0;
|
||||
armor = 1000;
|
||||
hiddenSelections[] = {"camo1"};
|
||||
hiddenSelectionsTextures[] = {"\z\addons\dayz_epoch_v\props\billboards\data\ammo_co.paa"};
|
||||
|
||||
};
|
||||
class Billboard_Ammo_DZ: Billboards_Base_DZ
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EPOCH_TRADER_CATEGORY_AMMUNITION;
|
||||
model = "\z\addons\dayz_epoch_v\props\billboards\h4_dz_billboard_ammo.p3d";
|
||||
};
|
||||
class Billboard_Bandit_DZ: Billboards_Base_DZ
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_PLAYERSTATS_BANDIT;
|
||||
model = "\z\addons\dayz_epoch_v\props\billboards\h4_dz_billboard_bandit.p3d";
|
||||
};
|
||||
class Billboard_Black_Market_DZ: Billboards_Base_DZ
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EPOCH_TRADER_CATEGORY_BLACKMARKET;
|
||||
model = "\z\addons\dayz_epoch_v\props\billboards\h4_dz_billboard_black.p3d";
|
||||
};
|
||||
class Billboard_Building_DZ: Billboards_Base_DZ
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES;
|
||||
model = "\z\addons\dayz_epoch_v\props\billboards\h4_dz_billboard_build.p3d";
|
||||
};
|
||||
class Billboard_Hero_DZ: Billboards_Base_DZ
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_PLAYERSTATS_HERO;
|
||||
model = "\z\addons\dayz_epoch_v\props\billboards\h4_dz_billboard_hero.p3d";
|
||||
};
|
||||
class Billboard_Items_DZ: Billboards_Base_DZ
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EPOCH_TRADER_CATEGORY_MISCELLANEOUS;
|
||||
model = "\z\addons\dayz_epoch_v\props\billboards\h4_dz_billboard_items.p3d";
|
||||
};
|
||||
class Billboard_Medical_DZ: Billboards_Base_DZ
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EPOCH_TRADER_CATEGORY_MEDICALSUPPLIES;
|
||||
model = "\z\addons\dayz_epoch_v\props\billboards\h4_dz_billboard_medical.p3d";
|
||||
};
|
||||
class Billboard_Weapons_DZ: Billboards_Base_DZ
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EPOCH_TRADER_CATEGORY_WEAPONS;
|
||||
model = "\z\addons\dayz_epoch_v\props\billboards\h4_dz_billboard_weapons.p3d";
|
||||
};
|
||||
class Billboard_Wholesale_DZ: Billboards_Base_DZ
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_EPOCH_TRADER_CATEGORY_WHOLESALE;
|
||||
model = "\z\addons\dayz_epoch_v\props\billboards\h4_dz_billboard_whole.p3d";
|
||||
};
|
||||
66
SQF/dayz_code/Configs/CfgVehicles/Buildables/CamoNets.hpp
Normal file
66
SQF/dayz_code/Configs/CfgVehicles/Buildables/CamoNets.hpp
Normal file
@@ -0,0 +1,66 @@
|
||||
class Land_CamoNet_EAST_EP1;
|
||||
class DesertCamoNet_DZ: Land_CamoNet_EAST_EP1
|
||||
{
|
||||
armor = 300;
|
||||
destrType = "DestructNo";
|
||||
scope = 2;
|
||||
offset[] = {0,9,0};
|
||||
displayName = $STR_EPOCH_DESERTCAMONET;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"desert_net_kit",1}};
|
||||
};
|
||||
class WinterCamoNet_DZ: Land_CamoNet_EAST_EP1
|
||||
{
|
||||
armor = 300;
|
||||
destrType = "DestructNo";
|
||||
scope = 2;
|
||||
offset[] = {0,9,0};
|
||||
model = "\z\addons\dayz_epoch_v\props\nets\CamoNet_EAST.p3d";
|
||||
displayName = $STR_EPOCH_WINTERCAMONET;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"winter_net_kit",1}};
|
||||
};
|
||||
class Land_CamoNet_EAST;
|
||||
class ForestCamoNet_DZ: Land_CamoNet_EAST
|
||||
{
|
||||
armor = 300;
|
||||
destrType = "DestructNo";
|
||||
scope = 2;
|
||||
offset[] = {0,9,0};
|
||||
displayName = $STR_EPOCH_FORESTCAMONET;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"forest_net_kit",1}};
|
||||
};
|
||||
class WinterLargeCamoNet_DZ: Land_CamoNet_EAST
|
||||
{
|
||||
armor = 300;
|
||||
destrType = "DestructNo";
|
||||
scope = 2;
|
||||
offset[] = {0,9,0};
|
||||
model = "\z\addons\dayz_epoch_v\props\nets\CamoNetB_EAST.p3d";
|
||||
displayName = $STR_EPOCH_LARGEWINTERCAMONET;
|
||||
vehicleClass = "Fortifications";
|
||||
removeoutput[] = {{"winter_large_net_kit",1}};
|
||||
};
|
||||
class Land_CamoNetB_EAST_EP1;
|
||||
class DesertLargeCamoNet_DZ: Land_CamoNetB_EAST_EP1
|
||||
{
|
||||
armor = 300;
|
||||
destrType = "DestructNo";
|
||||
scope = 2;
|
||||
offset[] = {0,9,0};
|
||||
displayName = $STR_EPOCH_LARGEDESERTCAMONET;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"desert_large_net_kit",1}};
|
||||
};
|
||||
class Land_CamoNetB_EAST;
|
||||
class ForestLargeCamoNet_DZ: Land_CamoNetB_EAST
|
||||
{
|
||||
armor = 300;
|
||||
destrType = "DestructNo";
|
||||
scope = 2;
|
||||
offset[] = {0,9,0};
|
||||
displayName = $STR_EPOCH_LARGEFORESTCAMONET;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"forest_large_net_kit",1}};
|
||||
};
|
||||
138
SQF/dayz_code/Configs/CfgVehicles/Buildables/Sandbags.hpp
Normal file
138
SQF/dayz_code/Configs/CfgVehicles/Buildables/Sandbags.hpp
Normal file
@@ -0,0 +1,138 @@
|
||||
class Sandbag1_DZ: BuiltItems {
|
||||
scope = 2;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
model = "\ca\misc2\BagFenceLong.p3d";
|
||||
icon = "\Ca\misc3\data\Icons\icon_fortBagFenceLong_ca.paa";
|
||||
offset[] = {0,3,0.5};
|
||||
mapSize = 2;
|
||||
armor = 400;
|
||||
displayName = $STR_BUILT_SANDBAG;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
constructioncount = 3;
|
||||
removeoutput[] = {{"ItemSandbag",1}};
|
||||
nounderground = 0;
|
||||
//Remove vanilla dismantle action
|
||||
class UserActions {delete Dismantle;};
|
||||
};
|
||||
|
||||
class BagFenceRound_DZ: BuiltItems {
|
||||
scope = 2;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
model = "\ca\misc2\BagFenceRound.p3d";
|
||||
icon = "\Ca\misc3\data\Icons\icon_bagFenceRound_ca.paa";
|
||||
offset[] = {0,3,0.5};
|
||||
mapSize = 2;
|
||||
armor = 400;
|
||||
displayName = $STR_EQUIP_NAME_21_ROUND;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
constructioncount = 3;
|
||||
removeoutput[] = {{"BagFenceRound_DZ_kit",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class Land_HBarrier1_DZ : BuiltItems {
|
||||
scope = 2;
|
||||
animated = 0;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
typicalCargo[] = {};
|
||||
offset[] = {0,2,0};
|
||||
irTarget = 0;
|
||||
accuracy = 0.3;
|
||||
transportAmmo = 0;
|
||||
transportRepair = 0;
|
||||
transportFuel = 0;
|
||||
destrType = "DestructBuilding";
|
||||
armor = 500;
|
||||
coefInside = 0.5;
|
||||
coefInsideHeur = 0.8;
|
||||
cost = 0;
|
||||
picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
|
||||
model = "\ca\misc2\HBarrier1.p3d";
|
||||
icon = "\Ca\misc2\data\Icons\icon_hescoBarrier1_ca.paa";
|
||||
mapSize = 2;
|
||||
displayName = $STR_EQUIP_NAME_21_HBARRIER;
|
||||
GhostPreview = "Land_HBarrier1Preview";
|
||||
constructioncount = 4;
|
||||
removeoutput[] = {{"ItemSandbagLarge",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class Land_HBarrier3_DZ : BuiltItems {
|
||||
model = "\ca\misc2\HBarrier3.p3d";
|
||||
icon = "\Ca\misc2\data\Icons\icon_hescoBarrier3_ca.paa";
|
||||
mapSize = 3.5;
|
||||
displayName = $STR_EQUIP_NAME_21_3XHBARRIER;
|
||||
GhostPreview = "Land_HBarrier3ePreview";
|
||||
scope = 2;
|
||||
animated = 0;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
typicalCargo[] = {};
|
||||
irTarget = 0;
|
||||
accuracy = 0.3;
|
||||
transportAmmo = 0;
|
||||
transportRepair = 0;
|
||||
transportFuel = 0;
|
||||
destrType = "DestructBuilding";
|
||||
armor = 500;
|
||||
coefInside = 0.5;
|
||||
coefInsideHeur = 0.8;
|
||||
cost = 0;
|
||||
picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
|
||||
offset[] = {0,2.5,0};
|
||||
constructioncount = 8;
|
||||
removeoutput[] = {{"ItemSandbagExLarge",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class Land_HBarrier5_DZ:BuiltItems {
|
||||
model = "\ca\misc2\HBarrier5.p3d";
|
||||
icon = "\Ca\misc2\data\Icons\icon_hescoBarrier5_ca.paa";
|
||||
mapSize = 7;
|
||||
displayName = $STR_EQUIP_NAME_21_5XHBARRIER;
|
||||
GhostPreview = "Land_HBarrier5Preview";
|
||||
scope = 2;
|
||||
animated = 0;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
typicalCargo[] = {};
|
||||
irTarget = 0;
|
||||
accuracy = 0.3;
|
||||
transportAmmo = 0;
|
||||
transportRepair = 0;
|
||||
transportFuel = 0;
|
||||
destrType = "DestructBuilding";
|
||||
armor = 500;
|
||||
coefInside = 0.5;
|
||||
coefInsideHeur = 0.8;
|
||||
cost = 0;
|
||||
picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
|
||||
offset[] = {0,2.5,0};
|
||||
constructioncount = 8;
|
||||
removeoutput[] = {{"ItemSandbagExLarge5x",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class SandNest_DZ : BuiltItems {
|
||||
scope = 2;
|
||||
model = "\ca\Misc_E\fortified_nest_small_ep1";
|
||||
displayName = $STR_EQUIP_NAME_21_NEST;
|
||||
expansion = 1;
|
||||
icon = "\Ca\misc3\data\Icons\icon_fortNestSmall_ca.paa";
|
||||
mapSize = 5;
|
||||
armor = 500;
|
||||
irTarget = 0;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
GhostPreview = "Land_fortified_nest_smallPreview";
|
||||
animated = 0;
|
||||
simulation = "house";
|
||||
accuracy = 0.2;
|
||||
cost = 0;
|
||||
ladders[] = {};
|
||||
TextPlural = "Houses";
|
||||
TextSingular = "House";
|
||||
nameSound = "obj_house";
|
||||
offset[] = {0,3,1};
|
||||
removeoutput[] = {{"sandbag_nest_kit",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
@@ -492,6 +492,9 @@ class CfgVehicles
|
||||
#include "Buildables\FencesWood.hpp"
|
||||
#include "Buildables\FencesMetal.hpp"
|
||||
#include "Buildables\FencesGates.hpp"
|
||||
#include "Buildables\CamoNets.hpp"
|
||||
#include "Buildables\Sandbags.hpp"
|
||||
#include "Buildables\Billboards.hpp"
|
||||
#include "Buildables\Misc.hpp"
|
||||
|
||||
//Loot Container
|
||||
|
||||
Reference in New Issue
Block a user