JailWall mission configs

This commit is contained in:
He-Man 2018-11-03 13:07:27 +01:00
parent 4ba1ae9cc8
commit acc0ff6467
5 changed files with 54 additions and 2 deletions

View File

@ -648,6 +648,40 @@ class CfgBaseBuilding
allowedSnapObjects[] = {"Const_floors_static_F","Const_WoodWalls_static_F","Const_Cinder_static_F"};
};
class WoodLargeWall_Ghost_EPOCH : WoodLargeWall_SIM_EPOCH {};
class JailWall_EPOCH : Default
{
upgradeBuilding[] = {{"JailWallDoor_EPOCH",{{"ItemPipe",2},{"ItemCorrugated",2}}}};
removeParts[] = {{"ItemPipe",2},{"ItemScraps",2}};
simulClass = "JailWall_SIM_EPOCH";
staticClass = "JailWall_EPOCH";
GhostPreview = "JailWall_Ghost_EPOCH";
snapType = "snapPointsPara";
snapPointsPara[] = {"N","E","W"};
allowedSnapPoints[] = {"N","S","E","W"};
// snap points for WoodLargeWall_EPOCH
N[] = {0,0,3.06034};
E[] = {5.237,0,0};
W[] = {-5.237,0,0};
};
class JailWall_SIM_EPOCH : JailWall_EPOCH
{
upgradeBuilding[] = {};
removeParts[] = {};
allowedSnapObjects[] = {"Const_floors_static_F","Const_WoodWalls_static_F","Const_Cinder_static_F"};
};
class JailWall_Ghost_EPOCH : JailWall_SIM_EPOCH {};
class JailWallDoor_EPOCH : Default
{
removeParts[] = {{"ItemPipe",3},{"ItemScraps",4}};
staticClass = "JailWallDoor_EPOCH";
snapType = "snapPointsPara";
snapPointsPara[] = {"N","E","W"};
allowedSnapPoints[] = {"N","S","E","W"};
// snap points for WoodLargeWall_EPOCH
N[] = {0,0,3.06034};
E[] = {5.237,0,0};
W[] = {-5.237,0,0};
};
class PlyThirdWall_EPOCH : Default
{
upgradeBuilding[] = {};

View File

@ -424,7 +424,7 @@ class CfgCrafting
};
class ItemCorrugated : Item
{
usedIn[] = {"KitShelf","ItemCorrugatedLg","VehicleRepairLg","EngineParts","KitSink","KitFieldToilet","KitWaterPump","KitLightPole","FuelTank"};
usedIn[] = {"KitShelf","ItemCorrugatedLg","VehicleRepairLg","EngineParts","KitSink","KitFieldToilet","KitWaterPump","KitLightPole","FuelTank","KitJailWall"};
nearby[] = {{"Fire","","fire",{1,{"ALL"}},3,1,1,0}};
recipe[] = {{"ItemScraps",2}};
previewPosition[] = {0.791088,1,0.300004};
@ -893,6 +893,15 @@ class CfgCrafting
previewScale = 0.07;
previewVector = 0;
};
class KitJailWall : Kit
{
recipe[] = {{"ItemPipe",4},{"ItemCorrugated",2}};
model = "\x\addons\a3_epoch_community\models\jail_walls\jail_wall_01.p3d";
nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}};
previewPosition[] = {0.797675,1,0.398882};
previewScale = 0.07;
previewVector = 0;
};
class KitPlyThirdWall_EPOCH : Kit
{
recipe[] = {{"PartPlankPack",2},{"ItemPlywoodPack",1}};
@ -1468,7 +1477,7 @@ class CfgCrafting
};
class ItemPipe : Part
{
usedIn[] = {"KitVehicleUpgradeIII_200_EPOCH","KitTentA","KitTentDome","KitScaffolding","KitSink","KitSunShade","KitWaterPump"};
usedIn[] = {"KitVehicleUpgradeIII_200_EPOCH","KitTentA","KitTentDome","KitScaffolding","KitSink","KitSunShade","KitWaterPump","KitJailWall"};
previewPosition[] = {0.802374,1,0.26};
previewScale = 0.2;
previewVector = 0.5;

View File

@ -382,6 +382,10 @@ class CfgItemInteractions
{
buildClass = "WoodLargeWall_EPOCH";
};
class KitJailWall : Item_Build_base
{
buildClass = "JailWall_EPOCH";
};
class KitWoodFloor : Item_Build_base
{
buildClass = "WoodFloor_EPOCH";

View File

@ -1058,6 +1058,7 @@ class CfgItemSort
"ItemCorrugated",
"ItemCorrugatedLg",
"KitStudWall",
"KitJailWall",
"KitPlyThirdWall_EPOCH",
"KitWoodFloor",
"KitWoodHalfFloor",

View File

@ -3081,6 +3081,10 @@ class CfgPricing
class KitStudWall
{
price = 16;
};
class KitJailWall
{
price = 56;
};
class KitPlyThirdWall_EPOCH {
price = 18;