iCEtIMed Posted March 10, 2015 Report Share Posted March 10, 2015 I made a Castle near Stary Trader which is used on my server as an admin base. if (isServer) then { _vehicle_0 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Bastion_ruins", [6237.0005, 6862.3828, -0.47182339], [], 0, "CAN_COLLIDE"]; _vehicle_0 = _this; _this setDir -11.761461; _this setPos [6237.0005, 6862.3828, -0.47182339]; }; _vehicle_1 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Bastion", [6211.9717, 6887.6338, -0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_1 = _this; _this setDir -295.9057; _this setPos [6211.9717, 6887.6338, -0.00012207031]; }; _vehicle_3 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Bergfrit_dam", [6191.8608, 6839.3301, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3 = _this; _this setDir 29.435511; _this setPos [6191.8608, 6839.3301, -6.1035156e-005]; }; _vehicle_5 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Donjon", [6138.7358, 6852.7661, 0.034434061], [], 0, "CAN_COLLIDE"]; _vehicle_5 = _this; _this setDir -148.03482; _this setPos [6138.7358, 6852.7661, 0.034434061]; }; _vehicle_6 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Donjon_dam", [6173.7612, 6904.1943, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_6 = _this; _this setDir 120.07014; _this setPos [6173.7612, 6904.1943, 3.0517578e-005]; }; _vehicle_7 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Donjon_ruins", [6190.0903, 6905.7676, -0.52377176], [], 0, "CAN_COLLIDE"]; _vehicle_7 = _this; _this setDir -238.41978; _this setPos [6190.0903, 6905.7676, -0.52377176]; }; _vehicle_8 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Gate", [6201.0005, 6854.2847, 0.14263789], [], 0, "CAN_COLLIDE"]; _vehicle_8 = _this; _this setDir -240.42902; _this setPos [6201.0005, 6854.2847, 0.14263789]; }; _vehicle_9 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Gate_ruins", [6108.8633, 6870.7729, -0.82086283], [], 0, "CAN_COLLIDE"]; _vehicle_9 = _this; _this setDir 76.163231; _this setPos [6108.8633, 6870.7729, -0.82086283]; }; _vehicle_10 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Stairs_A", [6188.2744, 6849.7397, 0.73230135], [], 0, "CAN_COLLIDE"]; _vehicle_10 = _this; _this setDir -242.45879; _this setPos [6188.2744, 6849.7397, 0.73230135]; }; _vehicle_14 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20_Turn", [6186.0068, 6900.1265, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_14 = _this; _this setDir 37.294022; _this setPos [6186.0068, 6900.1265, 6.1035156e-005]; }; _vehicle_29 = objNull; if (true) then { _this = createVehicle ["MAP_R2_RockWall", [6141.647, 6902.6079, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_29 = _this; _this setDir 155.60983; _this setPos [6141.647, 6902.6079, 6.1035156e-005]; }; _vehicle_30 = objNull; if (true) then { _this = createVehicle ["MAP_R2_RockTower", [6197.1836, 6893.4722, -13.197665], [], 0, "CAN_COLLIDE"]; _vehicle_30 = _this; _this setDir -60.604149; _this setPos [6197.1836, 6893.4722, -13.197665]; }; _vehicle_31 = objNull; if (true) then { _this = createVehicle ["MAP_R2_Rock1", [6148.0996, 6837.166, 0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_31 = _this; _this setDir 199.44971; _this setPos [6148.0996, 6837.166, 0.00012207031]; }; _vehicle_34 = objNull; if (true) then { _this = createVehicle ["MAP_R2_RockWall", [6125.4395, 6880.2686, -14.2119], [], 0, "CAN_COLLIDE"]; _vehicle_34 = _this; _this setDir 70.436302; _this setPos [6125.4395, 6880.2686, -14.2119]; }; _vehicle_39 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20_Turn", [6157.165, 6834.0649, -1.8685927], [], 0, "CAN_COLLIDE"]; _vehicle_39 = _this; _this setDir 197.16888; _this setPos [6157.165, 6834.0649, -1.8685927]; }; _vehicle_42 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Bergfrit_dam", [6208.0864, 6868.0322, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_42 = _this; _this setDir 30.367138; _this setPos [6208.0864, 6868.0322, 6.1035156e-005]; }; _vehicle_50 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Bastion", [6176.9077, 6825.937, 0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_50 = _this; _this setDir -184.25952; _this setPos [6176.9077, 6825.937, 0.00012207031]; }; _vehicle_52 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Stairs_A", [6204.4268, 6878.582, 0.04551965], [], 0, "CAN_COLLIDE"]; _vehicle_52 = _this; _this setDir -242.45879; _this setPos [6204.4268, 6878.582, 0.04551965]; }; _vehicle_55 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Donjon_ruins", [6158.6758, 6825.9946, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_55 = _this; _this setDir -88.160362; _this setPos [6158.6758, 6825.9946, 6.1035156e-005]; }; _vehicle_58 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Bastion_ruins", [6148.249, 6924.9463, 0.00036621094], [], 0, "CAN_COLLIDE"]; _vehicle_58 = _this; _this setDir -177.34589; _this setPos [6148.249, 6924.9463, 0.00036621094]; }; _vehicle_61 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Bastion_ruins", [6157.1235, 6753.7012, -0.27340889], [], 0, "CAN_COLLIDE"]; _vehicle_61 = _this; _this setDir -10.717921; _this setPos [6157.1235, 6753.7012, -0.27340889]; }; _vehicle_66 = objNull; if (true) then { _this = createVehicle ["MAP_b_corylus2s", [6102.1538, 6841.2632, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_66 = _this; _this setPos [6102.1538, 6841.2632, -9.1552734e-005]; }; _vehicle_67 = objNull; if (true) then { _this = createVehicle ["MAP_b_craet1", [6103.3745, 6835.8481], [], 0, "CAN_COLLIDE"]; _vehicle_67 = _this; _this setPos [6103.3745, 6835.8481]; }; _vehicle_82 = objNull; if (true) then { _this = createVehicle ["MAP_misc_FallenTree1", [6108.4434, 6886.3467, -0.00030517578], [], 0, "CAN_COLLIDE"]; _vehicle_82 = _this; _this setDir -188.90701; _this setPos [6108.4434, 6886.3467, -0.00030517578]; }; _vehicle_83 = objNull; if (true) then { _this = createVehicle ["MAP_misc_FallenTree2", [6132.0254, 6835.4917, -0.00018310547], [], 0, "CAN_COLLIDE"]; _vehicle_83 = _this; _this setDir -43.638077; _this setPos [6132.0254, 6835.4917, -0.00018310547]; }; _vehicle_86 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6119.5093, 6835.0684, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_86 = _this; _this setPos [6119.5093, 6835.0684, -6.1035156e-005]; }; _vehicle_87 = objNull; if (true) then { _this = createVehicle ["MAP_t_betula2w", [6135.9224, 6832.3267, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_87 = _this; _this setPos [6135.9224, 6832.3267, -9.1552734e-005]; }; _vehicle_89 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6120.2266, 6818.6982, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_89 = _this; _this setPos [6120.2266, 6818.6982, -6.1035156e-005]; }; _vehicle_92 = objNull; if (true) then { _this = createVehicle ["MAP_t_larix3s", [6129.8936, 6807.2021, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_92 = _this; _this setPos [6129.8936, 6807.2021, -6.1035156e-005]; }; _vehicle_94 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6111.9497, 6825.123, 0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_94 = _this; _this setPos [6111.9497, 6825.123, 0.00012207031]; }; _vehicle_95 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6091.186, 6849.0879, -0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_95 = _this; _this setPos [6091.186, 6849.0879, -0.00012207031]; }; _vehicle_98 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6099.1685, 6828.3594, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_98 = _this; _this setPos [6099.1685, 6828.3594, -6.1035156e-005]; }; _vehicle_100 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6134.3799, 6815.9707, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_100 = _this; _this setPos [6134.3799, 6815.9707, -9.1552734e-005]; }; _vehicle_102 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6071.0601, 6834.7744, -0.00024414063], [], 0, "CAN_COLLIDE"]; _vehicle_102 = _this; _this setPos [6071.0601, 6834.7744, -0.00024414063]; }; _vehicle_104 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6087.0132, 6838.6724, -0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_104 = _this; _this setPos [6087.0132, 6838.6724, -0.00012207031]; }; _vehicle_106 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6062.4771, 6813.6479, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_106 = _this; _this setPos [6062.4771, 6813.6479, -9.1552734e-005]; }; _vehicle_108 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6090.0146, 6870.7769, -0.00018310547], [], 0, "CAN_COLLIDE"]; _vehicle_108 = _this; _this setPos [6090.0146, 6870.7769, -0.00018310547]; }; _vehicle_110 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6096.6987, 6887.395, 0.00015258789], [], 0, "CAN_COLLIDE"]; _vehicle_110 = _this; _this setPos [6096.6987, 6887.395, 0.00015258789]; }; _vehicle_112 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6091.9546, 6809.5796, 0.00024414063], [], 0, "CAN_COLLIDE"]; _vehicle_112 = _this; _this setPos [6091.9546, 6809.5796, 0.00024414063]; }; _vehicle_114 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6152.1514, 6808.8701, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_114 = _this; _this setPos [6152.1514, 6808.8701, 6.1035156e-005]; }; _vehicle_116 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6113.6748, 6811.063, -0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_116 = _this; _this setPos [6113.6748, 6811.063, -0.00012207031]; }; _vehicle_118 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6055.1934, 6801.127, -0.00036621094], [], 0, "CAN_COLLIDE"]; _vehicle_118 = _this; _this setPos [6055.1934, 6801.127, -0.00036621094]; }; _vehicle_120 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6079.4272, 6832.1592, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_120 = _this; _this setPos [6079.4272, 6832.1592, -3.0517578e-005]; }; _vehicle_122 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6160.0703, 6945.8857, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_122 = _this; _this setPos [6160.0703, 6945.8857, 6.1035156e-005]; }; _vehicle_124 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6173.3081, 6940.8569, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_124 = _this; _this setPos [6173.3081, 6940.8569, 3.0517578e-005]; }; _vehicle_126 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6201.416, 6934.6611, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_126 = _this; _this setPos [6201.416, 6934.6611, 6.1035156e-005]; }; _vehicle_128 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6125.7891, 6939.7842, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_128 = _this; _this setPos [6125.7891, 6939.7842, 6.1035156e-005]; }; _vehicle_130 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6149.9487, 6777.1797, 0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_130 = _this; _this setPos [6149.9487, 6777.1797, 0.00012207031]; }; _vehicle_132 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6186.0283, 6761.8862, 0.0002746582], [], 0, "CAN_COLLIDE"]; _vehicle_132 = _this; _this setPos [6186.0283, 6761.8862, 0.0002746582]; }; _vehicle_135 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6132.1064, 6792.9761, 0.00018310547], [], 0, "CAN_COLLIDE"]; _vehicle_135 = _this; _this setPos [6132.1064, 6792.9761, 0.00018310547]; }; _vehicle_137 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6165.687, 6779.4917, -0.00015258789], [], 0, "CAN_COLLIDE"]; _vehicle_137 = _this; _this setPos [6165.687, 6779.4917, -0.00015258789]; }; _vehicle_139 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6156.8193, 6738.0708, 0.00015258789], [], 0, "CAN_COLLIDE"]; _vehicle_139 = _this; _this setPos [6156.8193, 6738.0708, 0.00015258789]; }; _vehicle_141 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6179.0303, 6763.5786, -0.00036621094], [], 0, "CAN_COLLIDE"]; _vehicle_141 = _this; _this setPos [6179.0303, 6763.5786, -0.00036621094]; }; _vehicle_143 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6181.2251, 6800.5425, 0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_143 = _this; _this setPos [6181.2251, 6800.5425, 0.00012207031]; }; _vehicle_145 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6074.4326, 6848.644, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_145 = _this; _this setPos [6074.4326, 6848.644, -9.1552734e-005]; }; _vehicle_147 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6121.8066, 6806.6333, 0], [], 0, "CAN_COLLIDE"]; _vehicle_147 = _this; _this setPos [6121.8066, 6806.6333, 0]; }; _vehicle_149 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6070.1118, 6781.6973, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_149 = _this; _this setPos [6070.1118, 6781.6973, -6.1035156e-005]; }; _vehicle_151 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6150.7773, 6944.6572, 0.00030517578], [], 0, "CAN_COLLIDE"]; _vehicle_151 = _this; _this setPos [6150.7773, 6944.6572, 0.00030517578]; }; _vehicle_153 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6167.6953, 6939.2275, 0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_153 = _this; _this setPos [6167.6953, 6939.2275, 0.00012207031]; }; _vehicle_155 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6110.1431, 6931.3311, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_155 = _this; _this setPos [6110.1431, 6931.3311, -9.1552734e-005]; }; _vehicle_157 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6224.3608, 6927.9561, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_157 = _this; _this setPos [6224.3608, 6927.9561, 3.0517578e-005]; }; _vehicle_160 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6098.6406, 6815.6108, 9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_160 = _this; _this setPos [6098.6406, 6815.6108, 9.1552734e-005]; }; _vehicle_162 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6148.1816, 6790.8291, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_162 = _this; _this setPos [6148.1816, 6790.8291, 3.0517578e-005]; }; _vehicle_164 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6171.8359, 6790.856, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_164 = _this; _this setPos [6171.8359, 6790.856, -3.0517578e-005]; }; _vehicle_166 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6164.5171, 6793.6553, -0.00021362305], [], 0, "CAN_COLLIDE"]; _vehicle_166 = _this; _this setPos [6164.5171, 6793.6553, -0.00021362305]; }; _vehicle_168 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6179.3315, 6749.1265, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_168 = _this; _this setPos [6179.3315, 6749.1265, -3.0517578e-005]; }; _vehicle_170 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6078.6108, 6854.0581, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_170 = _this; _this setPos [6078.6108, 6854.0581, -3.0517578e-005]; }; _vehicle_172 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6050.9536, 6824.2256, -0.00030517578], [], 0, "CAN_COLLIDE"]; _vehicle_172 = _this; _this setPos [6050.9536, 6824.2256, -0.00030517578]; }; _vehicle_174 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6039.0659, 6803.6187, 0.00042724609], [], 0, "CAN_COLLIDE"]; _vehicle_174 = _this; _this setPos [6039.0659, 6803.6187, 0.00042724609]; }; _vehicle_176 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6090.5596, 6838.4629, -0.00042724609], [], 0, "CAN_COLLIDE"]; _vehicle_176 = _this; _this setPos [6090.5596, 6838.4629, -0.00042724609]; }; _vehicle_178 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6119.5752, 6933.2466, 0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_178 = _this; _this setPos [6119.5752, 6933.2466, 0.00012207031]; }; _vehicle_180 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6165.7935, 6946.9258, 0.00015258789], [], 0, "CAN_COLLIDE"]; _vehicle_180 = _this; _this setPos [6165.7935, 6946.9258, 0.00015258789]; }; _vehicle_182 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6080.687, 6915.9067, 0], [], 0, "CAN_COLLIDE"]; _vehicle_182 = _this; _this setPos [6080.687, 6915.9067, 0]; }; _vehicle_184 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6046.8481, 6915.626, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_184 = _this; _this setPos [6046.8481, 6915.626, -9.1552734e-005]; }; _vehicle_186 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6129.3198, 6980.0444, -0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_186 = _this; _this setPos [6129.3198, 6980.0444, -0.00012207031]; }; _vehicle_188 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6097.0654, 6897.4014, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_188 = _this; _this setPos [6097.0654, 6897.4014, -6.1035156e-005]; }; _vehicle_191 = objNull; if (true) then { _this = createVehicle ["MAP_t_larix3s", [6138.8862, 6786.897, -0.00021362305], [], 0, "CAN_COLLIDE"]; _vehicle_191 = _this; _this setPos [6138.8862, 6786.897, -0.00021362305]; }; _vehicle_193 = objNull; if (true) then { _this = createVehicle ["MAP_t_larix3s", [6175.9629, 6771.918, -0.00048828125], [], 0, "CAN_COLLIDE"]; _vehicle_193 = _this; _this setPos [6175.9629, 6771.918, -0.00048828125]; }; _vehicle_196 = objNull; if (true) then { _this = createVehicle ["MAP_t_fagus2s", [6073.1118, 6816.708, -0.00015258789], [], 0, "CAN_COLLIDE"]; _vehicle_196 = _this; _this setPos [6073.1118, 6816.708, -0.00015258789]; }; _vehicle_199 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea2s", [6078.6748, 6817.9131, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_199 = _this; _this setPos [6078.6748, 6817.9131, 6.1035156e-005]; }; _vehicle_202 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6070.6235, 6802.73, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_202 = _this; _this setPos [6070.6235, 6802.73, 3.0517578e-005]; }; _vehicle_204 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6056.6958, 6819.2383, 9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_204 = _this; _this setPos [6056.6958, 6819.2383, 9.1552734e-005]; }; _vehicle_206 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6067.9204, 6839.0171, 0.00018310547], [], 0, "CAN_COLLIDE"]; _vehicle_206 = _this; _this setPos [6067.9204, 6839.0171, 0.00018310547]; }; _vehicle_208 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6082.5659, 6863.6309, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_208 = _this; _this setPos [6082.5659, 6863.6309, 3.0517578e-005]; }; _vehicle_210 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6086.5356, 6828.8066, 0.00030517578], [], 0, "CAN_COLLIDE"]; _vehicle_210 = _this; _this setPos [6086.5356, 6828.8066, 0.00030517578]; }; _vehicle_212 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6087.8467, 6814.019, 0], [], 0, "CAN_COLLIDE"]; _vehicle_212 = _this; _this setPos [6087.8467, 6814.019, 0]; }; _vehicle_214 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6096.9097, 6846.7964, -0.00024414063], [], 0, "CAN_COLLIDE"]; _vehicle_214 = _this; _this setPos [6096.9097, 6846.7964, -0.00024414063]; }; _vehicle_216 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6107.3413, 6835.0083, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_216 = _this; _this setPos [6107.3413, 6835.0083, 6.1035156e-005]; }; _vehicle_218 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6094.7222, 6861.4756, 0.00018310547], [], 0, "CAN_COLLIDE"]; _vehicle_218 = _this; _this setPos [6094.7222, 6861.4756, 0.00018310547]; }; _vehicle_220 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6135.5889, 6941.1162, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_220 = _this; _this setPos [6135.5889, 6941.1162, -6.1035156e-005]; }; _vehicle_222 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6146.2256, 6952.832, 0.00015258789], [], 0, "CAN_COLLIDE"]; _vehicle_222 = _this; _this setPos [6146.2256, 6952.832, 0.00015258789]; }; _vehicle_224 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6158.5688, 6945.4233, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_224 = _this; _this setPos [6158.5688, 6945.4233, -3.0517578e-005]; }; _vehicle_226 = objNull; if (true) then { _this = createVehicle ["MAP_t_picea3f", [6180.9063, 6938.1685, 0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_226 = _this; _this setPos [6180.9063, 6938.1685, 0.00012207031]; }; _vehicle_233 = objNull; if (true) then { _this = createVehicle ["MAP_b_corylus2s", [6143.4033, 6802.4194, -0.00021362305], [], 0, "CAN_COLLIDE"]; _vehicle_233 = _this; _this setPos [6143.4033, 6802.4194, -0.00021362305]; }; _vehicle_235 = objNull; if (true) then { _this = createVehicle ["MAP_b_corylus2s", [6159.3843, 6764.9497, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_235 = _this; _this setPos [6159.3843, 6764.9497, 3.0517578e-005]; }; _vehicle_237 = objNull; if (true) then { _this = createVehicle ["MAP_b_corylus2s", [6161.7095, 6743.5264, 0.00091552734], [], 0, "CAN_COLLIDE"]; _vehicle_237 = _this; _this setPos [6161.7095, 6743.5264, 0.00091552734]; }; _vehicle_239 = objNull; if (true) then { _this = createVehicle ["MAP_b_corylus2s", [6166.7451, 6816.4854, 0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_239 = _this; _this setPos [6166.7451, 6816.4854, 0.00012207031]; }; _vehicle_241 = objNull; if (true) then { _this = createVehicle ["MAP_b_corylus2s", [6191.4844, 6826.9536, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_241 = _this; _this setPos [6191.4844, 6826.9536, -3.0517578e-005]; }; _vehicle_243 = objNull; if (true) then { _this = createVehicle ["MAP_b_corylus2s", [6098.4829, 6807.8765, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_243 = _this; _this setPos [6098.4829, 6807.8765, 3.0517578e-005]; }; _vehicle_245 = objNull; if (true) then { _this = createVehicle ["MAP_b_corylus2s", [6074.9341, 6840.3564, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_245 = _this; _this setPos [6074.9341, 6840.3564, 6.1035156e-005]; }; _vehicle_247 = objNull; if (true) then { _this = createVehicle ["MAP_b_corylus2s", [6195.6367, 6934.9473, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_247 = _this; _this setPos [6195.6367, 6934.9473, -3.0517578e-005]; }; _vehicle_249 = objNull; if (true) then { _this = createVehicle ["MAP_b_corylus2s", [6162.2861, 6942.1221, 9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_249 = _this; _this setPos [6162.2861, 6942.1221, 9.1552734e-005]; }; _vehicle_252 = objNull; if (true) then { _this = createVehicle ["MAP_t_betula2w", [6115.418, 6854.7139, -0.00018310547], [], 0, "CAN_COLLIDE"]; _vehicle_252 = _this; _this setPos [6115.418, 6854.7139, -0.00018310547]; }; _vehicle_254 = objNull; if (true) then { _this = createVehicle ["MAP_t_betula2w", [6199.4111, 6902.6675, 0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_254 = _this; _this setPos [6199.4111, 6902.6675, 0.00012207031]; }; _vehicle_256 = objNull; if (true) then { _this = createVehicle ["MAP_t_betula2w", [6211.8096, 6902.2119, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_256 = _this; _this setPos [6211.8096, 6902.2119, 6.1035156e-005]; }; _vehicle_258 = objNull; if (true) then { _this = createVehicle ["MAP_t_betula2w", [6172.3354, 6920.7324, 9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_258 = _this; _this setPos [6172.3354, 6920.7324, 9.1552734e-005]; }; _vehicle_264 = objNull; if (true) then { _this = createVehicle ["MAP_misc_FallenTree1", [6132.5337, 6923.0415, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_264 = _this; _this setDir -188.90701; _this setPos [6132.5337, 6923.0415, 3.0517578e-005]; }; _vehicle_266 = objNull; if (true) then { _this = createVehicle ["MAP_misc_FallenTree1", [6127.8794, 6916.2266, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_266 = _this; _this setDir -127.67059; _this setPos [6127.8794, 6916.2266, 3.0517578e-005]; }; _vehicle_268 = objNull; if (true) then { _this = createVehicle ["MAP_misc_FallenTree1", [6085.5391, 6858.3716, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_268 = _this; _this setDir -74.850952; _this setPos [6085.5391, 6858.3716, -6.1035156e-005]; }; _vehicle_271 = objNull; if (true) then { _this = createVehicle ["MAP_misc_FallenTree2", [6127.0723, 6844.6006, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_271 = _this; _this setDir -76.833405; _this setPos [6127.0723, 6844.6006, -6.1035156e-005]; }; _vehicle_273 = objNull; if (true) then { _this = createVehicle ["MAP_misc_FallenTree2", [6187.4541, 6933.6357], [], 0, "CAN_COLLIDE"]; _vehicle_273 = _this; _this setDir -236.83739; _this setPos [6187.4541, 6933.6357]; }; _vehicle_276 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6123.2656, 6824.1431, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_276 = _this; _this setPos [6123.2656, 6824.1431, -9.1552734e-005]; }; _vehicle_278 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6081.2861, 6843.6294, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_278 = _this; _this setPos [6081.2861, 6843.6294, -6.1035156e-005]; }; _vehicle_280 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6108.2637, 6857.2627, 0], [], 0, "CAN_COLLIDE"]; _vehicle_280 = _this; _this setPos [6108.2637, 6857.2627, 0]; }; _vehicle_282 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6105.7231, 6881.7588, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_282 = _this; _this setPos [6105.7231, 6881.7588, -3.0517578e-005]; }; _vehicle_284 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6095.2729, 6882.2134, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_284 = _this; _this setPos [6095.2729, 6882.2134, 6.1035156e-005]; }; _vehicle_286 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6105.8945, 6906.8296], [], 0, "CAN_COLLIDE"]; _vehicle_286 = _this; _this setDir -41.048668; _this setPos [6105.8945, 6906.8296]; }; _vehicle_288 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6131.0571, 6941.3101, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_288 = _this; _this setDir -34.384407; _this setPos [6131.0571, 6941.3101, 6.1035156e-005]; }; _vehicle_290 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6146.7104, 6931.4395, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_290 = _this; _this setPos [6146.7104, 6931.4395, 3.0517578e-005]; }; _vehicle_292 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6211.5688, 6929.9331, 0.00015258789], [], 0, "CAN_COLLIDE"]; _vehicle_292 = _this; _this setPos [6211.5688, 6929.9331, 0.00015258789]; }; _vehicle_294 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6176.4419, 6937.937, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_294 = _this; _this setPos [6176.4419, 6937.937, -3.0517578e-005]; }; _vehicle_296 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6147.834, 6828.4248, 0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_296 = _this; _this setDir -30.687386; _this setPos [6147.834, 6828.4248, 0.00012207031]; }; _vehicle_298 = objNull; if (true) then { _this = createVehicle ["MAP_t_stub_picea", [6189.1167, 6823.0498, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_298 = _this; _this setDir 39.4063; _this setPos [6189.1167, 6823.0498, 3.0517578e-005]; }; }; Save the script in the spoiler as a .sqf file named StaryCastle and add it to the root of your server. Open your init.sqf and add to the very bottom, [] ExecVM "StaryCastle.sqf"; //iCEtIMeds Stary Castle (Or if you keep your custom edits somewhere else, adjust the address.) Screenshots It is without all the ingame building. The install of the Castle is done. If you want to add a protective dome over it so only admin can enter the area then create 2 new sqf's and place them in a folder called admindome. dome // Dome if ((getPlayerUID player) in ["11111111111111111","22222222222222222","333333333333333"]) exitWith { //titleText ["Welcome to the Admin Dome!", "PLAIN DOWN", 3]; titleText [format ["Welcome home my Friend, %1" name player], "PLAIN DOWN"]; // welcomes you with your name }; // Everyone Else titleText ["This dome is an Admin-only area, please leave immediately.", "PLAIN DOWN", 3]; sleep 5; titleText ["If you do not turn back you will be executed in 15 seconds.", "PLAIN DOWN", 3]; sleep 5; titleText ["You have 10 seconds!", "PLAIN DOWN", 3]; sleep 5; titleText ["5 seconds ... Guards, Make Ready", "PLAIN DOWN", 3]; sleep 5; titleText ["Times up, You were warned!", "PLAIN DOWN", 3]; sleep 3; player setDamage 1; Edit the IDs for your admin and domexit if ((getPlayerUID player) in ["11111111111111111","22222222222222222","333333333333333"]) exitWith { player_zombieCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_zombieCheck.sqf"; fnc_usec_damageHandler = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandler.sqf"; fnc_usec_unconscious = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_unconscious.sqf"; player allowDamage true; titleText [format ["You Have Left the Base, Stay Safe, %1" name player], "PLAIN DOWN"]; }; titleText ["You Have Left The Restricted Area, Thank You", "PLAIN DOWN", 3]; Edit the IDs for your admin Once you have these saved in the location you would like (for me I created a folder called admindome and saved them in that), you need to add a sensor. Open your mission sqf and find the Class Sensors }; class Sensors { under that you will see items= you add 1 onto the number you have. For example mine said items=7; so I would change it to 8. then scroll down and find the last class item you have (it will always be one less thatn you have because it satrts with item0) add this to the bottom class Item? { position[]={6160.51,0.001,6868.38}; a=50; b=50; rectangular=1; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="dome"; expCond="(vehicle player) in thislist;"; expActiv="dome = [] execVM ""??\admindome\dome.sqf"";"; expDesactiv="terminate dome;[] execVM ""??\admindome\domexit.sqf"";"; class Effects { }; }; Remember to change the question marked locations to suit your item numbers and dome sqf locations. And also that it needs to be placed in the sensor code block. So there needs to be 2x }; befor you place the sensor and 4x }; after. Example class Item5 { position[]={6160.51,0.001,6868.38}; a=50; b=50; rectangular=1; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="dome"; expCond="(vehicle player) in thislist;"; expActiv="dome = [] execVM ""custom\admindome\dome.sqf"";"; expDesactiv="terminate dome;[] execVM ""custom\admindome\domexit.sqf"";"; class Effects { }; }; class Item6 { position[]={2246.7434,210.19823,6248.9956}; a=100; b=100; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="zonegem"; expCond="(player distance zonehero) < 100;"; expActiv="[""Hero Trader"",false,""enter""] spawn player_traderCity;"; expDesactiv="[""Hero Trader"",false,""leave""] spawn player_traderCity;"; class Effects { }; }; }; }; In that I have my dome as item 5 and my gem tradre safe zone as item 6. (I have 7 items in total.) Now you shoudl have a protective dome over your castle. Enjoy guys. Link to comment Share on other sites More sharing options...
KillKillKill Posted March 10, 2015 Report Share Posted March 10, 2015 Very nice. Link to comment Share on other sites More sharing options...
iCEtIMed Posted March 10, 2015 Author Report Share Posted March 10, 2015 Thanks man Link to comment Share on other sites More sharing options...
SilverWind252 Posted March 19, 2015 Report Share Posted March 19, 2015 Can we have an accurate location please? Link to comment Share on other sites More sharing options...
iCEtIMed Posted March 19, 2015 Author Report Share Posted March 19, 2015 Can we have an accurate location please? If you look at the screenshots, you can see it is on the hill up from stary trader. You can see the exact location by looking at the protective dome coordinates - position[]={6160.51,0.001,6868.38}; Or I have marked this map for you. (Its the DayZ standalone map, but you can see in relation to Stary and Vyshnoye where it is.) Hope that helps. Regards. Link to comment Share on other sites More sharing options...
Disturbed2015 Posted July 7, 2015 Report Share Posted July 7, 2015 Very nice :D Link to comment Share on other sites More sharing options...
Disturbed2015 Posted July 9, 2015 Report Share Posted July 9, 2015 Anyway to intergrade the entire base? Or was that what you built within the base? Link to comment Share on other sites More sharing options...
Disturbed2015 Posted July 10, 2015 Report Share Posted July 10, 2015 The dome doesnt seem to be working? Link to comment Share on other sites More sharing options...
iCEtIMed Posted July 16, 2015 Author Report Share Posted July 16, 2015 It is probably an issue with your class sensors. Make sure you have added 1 more to the total amount at the top. For example if you added this and it was your 19th class sensor it would be 20 in total at the top (as the first is counted as sensor 0). Alos make sure you have edited the "expActiv" in the mission file to the correct address. And that you have named the 2 files the same as the address. If you need any more help, Pm me and I can have a look at the sqf. ~iCE Ohh and the base inside was what had been built by the admin and myself. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now