Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Skalisty Castle by t.hundero.us
- // Military camp inside a castle on Skalisty Island
- // Installing This Modification
- // 1. Save this code as "skacast.sqf"
- // 2. Place the .sqf file inside your mission.pbo file
- // 3. Open "init.sqf" and add the following line to the very end -
- // [] execVM "skacast.sqf";
- if (isServer) then {
- _vehicle_0 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Bastion", [13697.672, 2894.5037, -2.2388093], [], 0, "CAN_COLLIDE"];
- _vehicle_0 = _this;
- _this setDir -119.30221;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13697.672, 2894.5037, -2.2388093];
- };
- _vehicle_2 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Bergfrit", [13699.776, 2936.365, 0.26249903], [], 0, "CAN_COLLIDE"];
- _vehicle_2 = _this;
- _this setDir -173.32167;
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13699.776, 2936.365, 0.26249903];
- };
- _vehicle_3 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Gate", [13733.961, 2883.187, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_3 = _this;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13733.961, 2883.187, 5.3405762e-005];
- };
- _vehicle_4 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_20_Turn", [13716.368, 2884.6875, -1.8351257], [], 0, "CAN_COLLIDE"];
- _vehicle_4 = _this;
- _this setDir -142.85243;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13716.368, 2884.6875, -1.8351257];
- };
- _vehicle_7 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_20_Turn", [13698.758, 2918.6707, -3.1613488], [], 0, "CAN_COLLIDE"];
- _vehicle_7 = _this;
- _this setDir -79.450256;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13698.758, 2918.6707, -3.1613488];
- };
- _vehicle_10 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Bastion", [13788.563, 2931.1196, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_10 = _this;
- _this setDir -275.10861;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13788.563, 2931.1196, 3.0517578e-005];
- };
- _vehicle_13 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_20_Turn", [13781.288, 2911.9641, -1.3199061], [], 0, "CAN_COLLIDE"];
- _vehicle_13 = _this;
- _this setDir 98.455971;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13781.288, 2911.9641, -1.3199061];
- };
- _vehicle_15 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_WallS_10", [13760.168, 2922.2861, 6.4849854e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_15 = _this;
- _this setDir 94.061562;
- _this setPos [13760.168, 2922.2861, 6.4849854e-005];
- };
- _vehicle_16 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_WallS_5_D", [13768.44, 2919.937, -8.7738037e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_16 = _this;
- _this setDir 4.5077634;
- _this setPos [13768.44, 2919.937, -8.7738037e-005];
- };
- _vehicle_18 = objNull;
- if (true) then
- {
- _this = createVehicle ["USMC_WarfareBFieldhHospital", [13719.559, 2904.6333, 0.00017929077], [], 0, "CAN_COLLIDE"];
- _vehicle_18 = _this;
- _this setDir 183.48973;
- _this setPos [13719.559, 2904.6333, 0.00017929077];
- };
- _vehicle_23 = objNull;
- if (true) then
- {
- _this = createVehicle ["CampEast", [13728.248, 2929.1465, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
- _vehicle_23 = _this;
- _this setDir 2.1390476;
- _this setPos [13728.248, 2929.1465, 7.6293945e-006];
- };
- _vehicle_24 = objNull;
- if (true) then
- {
- _this = createVehicle ["CampEast", [13747.288, 2911.1006, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_24 = _this;
- _this setDir 93.267456;
- _this setPos [13747.288, 2911.1006, 6.1035156e-005];
- };
- _vehicle_26 = objNull;
- if (true) then
- {
- _this = createVehicle ["CampEast", [13746.381, 2899.5278, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_26 = _this;
- _this setDir 93.267456;
- _this setPos [13746.381, 2899.5278, 3.0517578e-005];
- };
- _vehicle_28 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_End_2", [13705.06, 2953.3838, 0.9162218], [], 0, "CAN_COLLIDE"];
- _vehicle_28 = _this;
- _this setDir -70.523132;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13705.06, 2953.3838, 0.9162218];
- };
- _vehicle_29 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall2_End", [13731.878, 2942.1497, -0.67625016], [], 0, "CAN_COLLIDE"];
- _vehicle_29 = _this;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13731.878, 2942.1497, -0.67625016];
- };
- _vehicle_30 = objNull;
- if (true) then
- {
- _this = createVehicle ["PowGen_Big_EP1", [13758.893, 2894.4548, -0.00012969971], [], 0, "CAN_COLLIDE"];
- _vehicle_30 = _this;
- _this setDir -20.498384;
- _this setPos [13758.893, 2894.4548, -0.00012969971];
- };
- _vehicle_31 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_Antenna", [13763.767, 2897.8579, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_31 = _this;
- _this setPos [13763.767, 2897.8579, -6.1035156e-005];
- };
- _vehicle_32 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_CamoNet_EAST", [13706.344, 2917.9856, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_32 = _this;
- _this setDir -87.321846;
- _this setPos [13706.344, 2917.9856, 1.1444092e-005];
- };
- _vehicle_33 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall2_End_2", [13747.672, 2925.1187, -7.3511338], [], 0, "CAN_COLLIDE"];
- _vehicle_33 = _this;
- _this setDir -266.83856;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13747.672, 2925.1187, -7.3511338];
- };
- _vehicle_34 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_WallS_End", [13763.284, 2925.7715, -3.8146973e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_34 = _this;
- _this setPos [13763.284, 2925.7715, -3.8146973e-005];
- };
- _vehicle_38 = objNull;
- if (true) then
- {
- _this = createVehicle ["MASH", [13738.884, 2931.4124, 5.7220459e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_38 = _this;
- _this setDir 182.87373;
- _this setPos [13738.884, 2931.4124, 5.7220459e-005];
- };
- _vehicle_41 = objNull;
- if (true) then
- {
- _this = createVehicle ["Barrel4", [13741.39, 2924.063, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_41 = _this;
- _this setPos [13741.39, 2924.063, 1.9073486e-005];
- };
- _vehicle_42 = objNull;
- if (true) then
- {
- _this = createVehicle ["Barrel4", [13742.653, 2923.5903, 8.0108643e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_42 = _this;
- _this setPos [13742.653, 2923.5903, 8.0108643e-005];
- };
- _vehicle_43 = objNull;
- if (true) then
- {
- _this = createVehicle ["Barrel4", [13741.814, 2922.5461, 6.8664551e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_43 = _this;
- _this setPos [13741.814, 2922.5461, 6.8664551e-005];
- };
- _vehicle_44 = objNull;
- if (true) then
- {
- _this = createVehicle ["Barrels", [13742.835, 2926.0457, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_44 = _this;
- _this setDir -15.438997;
- _this setPos [13742.835, 2926.0457, 6.1035156e-005];
- };
- _vehicle_45 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_transport_crates_EP1", [13735.547, 2926.0635, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_45 = _this;
- _this setDir -83.480148;
- _this setPos [13735.547, 2926.0635, 5.3405762e-005];
- };
- _vehicle_46 = objNull;
- if (true) then
- {
- _this = createVehicle ["Fort_Crate_wood", [13735.588, 2923.2385, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
- _vehicle_46 = _this;
- _this setDir -3.8893273;
- _this setPos [13735.588, 2923.2385, 3.8146973e-006];
- };
- _vehicle_47 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Donjon", [13750.241, 2940.575, 0.00019836426], [], 0, "CAN_COLLIDE"];
- _vehicle_47 = _this;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13750.241, 2940.575, 0.00019836426];
- };
- _vehicle_48 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_Misc_Garb_Heap_EP1", [13710.622, 2900.5044, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_48 = _this;
- _this setPos [13710.622, 2900.5044, -1.5258789e-005];
- };
- _vehicle_50 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_Misc_IronPipes_EP1", [13727.86, 2891.5745], [], 0, "CAN_COLLIDE"];
- _vehicle_50 = _this;
- _this setDir 12.664001;
- _this setPos [13727.86, 2891.5745];
- };
- _vehicle_51 = objNull;
- if (true) then
- {
- _this = createVehicle ["Paleta2", [13708.501, 2903.5789, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
- _vehicle_51 = _this;
- _this setDir 23.939722;
- _this setPos [13708.501, 2903.5789, 7.6293945e-006];
- };
- _vehicle_53 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_Pneu", [13728.547, 2893.9893, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_53 = _this;
- _this setPos [13728.547, 2893.9893, 6.1035156e-005];
- };
- _vehicle_55 = objNull;
- if (true) then
- {
- _this = createVehicle ["Loudspeakers_EP1", [13732.971, 2903.46, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
- _vehicle_55 = _this;
- _this setPos [13732.971, 2903.46, -7.6293945e-006];
- };
- _vehicle_56 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_Toilet", [13751.186, 2931.4673, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
- _vehicle_56 = _this;
- _this setPos [13751.186, 2931.4673, 7.6293945e-006];
- };
- _vehicle_58 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_Toilet", [13754.053, 2931.0413, 9.9182129e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_58 = _this;
- _this setDir 7.4626689;
- _this setPos [13754.053, 2931.0413, 9.9182129e-005];
- };
- _vehicle_60 = objNull;
- if (true) then
- {
- _this = createVehicle ["Barrel1", [13755.725, 2930.5938, 0.0001411438], [], 0, "CAN_COLLIDE"];
- _vehicle_60 = _this;
- _this setPos [13755.725, 2930.5938, 0.0001411438];
- };
- _vehicle_61 = objNull;
- if (true) then
- {
- _this = createVehicle ["AmmoCrates_NoInteractive_Large", [13707.207, 2913.894, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_61 = _this;
- _this setDir 55.489185;
- _this setPos [13707.207, 2913.894, -1.5258789e-005];
- };
- _vehicle_62 = objNull;
- if (true) then
- {
- _this = createVehicle ["AmmoCrates_NoInteractive_Medium", [13708.048, 2916.0046, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
- _vehicle_62 = _this;
- _this setPos [13708.048, 2916.0046, -3.8146973e-006];
- };
- _vehicle_63 = objNull;
- if (true) then
- {
- _this = createVehicle ["Misc_cargo_cont_tiny", [13708.167, 2920.5725, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
- _vehicle_63 = _this;
- _this setPos [13708.167, 2920.5725, -3.8146973e-006];
- };
- _vehicle_65 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_End", [13775.425, 2956.4827, -1.5480461], [], 0, "CAN_COLLIDE"];
- _vehicle_65 = _this;
- _this setDir 75.65683;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13775.425, 2956.4827, -1.5480461];
- };
- _vehicle_68 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_End", [13755.208, 2885.0305, -1.33132], [], 0, "CAN_COLLIDE"];
- _vehicle_68 = _this;
- _this setDir 168.80649;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13755.208, 2885.0305, -1.33132];
- };
- _vehicle_70 = objNull;
- if (true) then
- {
- _this = createVehicle ["Barrel5", [13705.643, 2915.438, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
- _vehicle_70 = _this;
- _this setPos [13705.643, 2915.438, -7.6293945e-006];
- };
- _vehicle_71 = objNull;
- if (true) then
- {
- _this = createVehicle ["Barrel5", [13755.522, 2892.9126, 8.7738037e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_71 = _this;
- _this setDir 23.464479;
- _this setPos [13755.522, 2892.9126, 8.7738037e-005];
- };
- _vehicle_72 = objNull;
- if (true) then
- {
- _this = createVehicle ["Barrel5", [13756.257, 2892.0386, 3.4332275e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_72 = _this;
- _this setDir 100.43547;
- _this setPos [13756.257, 2892.0386, 3.4332275e-005];
- };
- _vehicle_73 = objNull;
- if (true) then
- {
- _this = createVehicle ["Camp_EP1", [13760.332, 2903.0549, -5.7220459e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_73 = _this;
- _this setDir -86.926193;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13760.332, 2903.0549, -5.7220459e-005];
- };
- _vehicle_75 = objNull;
- if (true) then
- {
- _this = createVehicle ["Camp_EP1", [13760.798, 2911.2029, 7.2479248e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_75 = _this;
- _this setDir -86.926193;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13760.798, 2911.2029, 7.2479248e-005];
- };
- _vehicle_79 = objNull;
- if (true) then
- {
- _this = createVehicle ["Info_Board_EP1", [13733.653, 2902.7405, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
- _vehicle_79 = _this;
- _this setDir -0.17154908;
- _this setPos [13733.653, 2902.7405, 3.8146973e-006];
- };
- _vehicle_81 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_transport_crates_EP1", [13733.877, 2906.1101, -2.6702881e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_81 = _this;
- _this setDir 11.315941;
- _this setPos [13733.877, 2906.1101, -2.6702881e-005];
- };
- _vehicle_83 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Stairs_A", [13707.076, 2928.3967, 0.056749247], [], 0, "CAN_COLLIDE"];
- _vehicle_83 = _this;
- _this setDir -86.40583;
- _this setVehicleLock "LOCKED";
- _this setVehicleInit "this setvectorup [0,0,1];";
- _this setPos [13707.076, 2928.3967, 0.056749247];
- };
- _vehicle_84 = objNull;
- if (true) then
- {
- _this = createVehicle ["Barrel1", [13735.218, 2903.9197, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_84 = _this;
- _this setPos [13735.218, 2903.9197, 1.1444092e-005];
- };
- _vehicle_85 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_CamoNetVar_EAST", [13771.641, 2909.8816, -6.4849854e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_85 = _this;
- _this setDir 86.78141;
- _this setPos [13771.641, 2909.8816, -6.4849854e-005];
- };
- _vehicle_86 = objNull;
- if (true) then
- {
- _this = createVehicle ["AmmoCrates_NoInteractive_Medium", [13773.36, 2907.29, -2.6702881e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_86 = _this;
- _this setPos [13773.36, 2907.29, -2.6702881e-005];
- };
- _vehicle_87 = objNull;
- if (true) then
- {
- _this = createVehicle ["AmmoCrates_NoInteractive_Small", [13772.018, 2906.3381, -8.0108643e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_87 = _this;
- _this setDir 69.049774;
- _this setPos [13772.018, 2906.3381, -8.0108643e-005];
- };
- _vehicle_88 = objNull;
- if (true) then
- {
- _this = createVehicle ["AmmoCrate_NoInteractive_", [13771.177, 2907.8113, 7.6293945e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_88 = _this;
- _this setDir -13.844513;
- _this setPos [13771.177, 2907.8113, 7.6293945e-005];
- };
- _vehicle_89 = objNull;
- if (true) then
- {
- _this = createVehicle ["Misc_Backpackheap", [13772.407, 2909.446, 9.9182129e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_89 = _this;
- _this setPos [13772.407, 2909.446, 9.9182129e-005];
- };
- _vehicle_90 = objNull;
- if (true) then
- {
- _this = createVehicle ["FoldChair", [13770.679, 2914.9055, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_90 = _this;
- _this setDir 7.8285961;
- _this setPos [13770.679, 2914.9055, 9.1552734e-005];
- };
- _vehicle_92 = objNull;
- if (true) then
- {
- _this = createVehicle ["FoldChair", [13773.002, 2913.6213, 8.0108643e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_92 = _this;
- _this setDir 61.270672;
- _this setPos [13773.002, 2913.6213, 8.0108643e-005];
- };
- _vehicle_94 = objNull;
- if (true) then
- {
- _this = createVehicle ["FoldTable", [13770.99, 2913.1631, 8.0108643e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_94 = _this;
- _this setPos [13770.99, 2913.1631, 8.0108643e-005];
- };
- _vehicle_95 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_Crates_EP1", [13768.812, 2912.9646, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_95 = _this;
- _this setDir 54.67944;
- _this setPos [13768.812, 2912.9646, 3.0517578e-005];
- };
- _vehicle_96 = objNull;
- if (true) then
- {
- _this = createVehicle ["Barrel4", [13706.786, 2940.7329, -8.392334e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_96 = _this;
- _this setPos [13706.786, 2940.7329, -8.392334e-005];
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement