From ba4f569233605ba967772c8391f2f154bcf7049c Mon Sep 17 00:00:00 2001 From: A Clark Date: Sat, 29 Dec 2012 11:03:38 -0600 Subject: [PATCH] updated Shapur and Chenarus missions to 0.5 --- .../DayZ_Epoch_11.Chernarus/cdetect.fsm | 96 --- MPMissions/DayZ_Epoch_11.Chernarus/init.sqf | 111 ++- .../DayZ_Epoch_11.Chernarus/mission.sqf | 634 ++++++++++++++++++ .../DayZ_Epoch_11.Chernarus/mission.sqm | 5 +- MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf | 141 ++-- .../DayZ_Epoch_3.Shapur_BAF/mission.sqm | 23 +- 6 files changed, 814 insertions(+), 196 deletions(-) delete mode 100644 MPMissions/DayZ_Epoch_11.Chernarus/cdetect.fsm create mode 100644 MPMissions/DayZ_Epoch_11.Chernarus/mission.sqf diff --git a/MPMissions/DayZ_Epoch_11.Chernarus/cdetect.fsm b/MPMissions/DayZ_Epoch_11.Chernarus/cdetect.fsm deleted file mode 100644 index ae8d808ed..000000000 --- a/MPMissions/DayZ_Epoch_11.Chernarus/cdetect.fsm +++ /dev/null @@ -1,96 +0,0 @@ -/*%FSM*/ -/*%FSM*/ -/* -item0[] = {"init",0,250,-52.011097,-242.579758,37.988903,-192.579758,0.000000,"init"}; -item1[] = {"true",8,218,-42.857147,-180.166443,47.142853,-130.166443,0.000000,"true"}; -item2[] = {"Broadcast",2,250,-37.031898,-113.592247,52.968117,-63.592247,0.000000,"Broadcast"}; -item3[] = {"isRetard",4,218,-85.298180,-33.703201,4.701797,16.296804,0.000000,"isRetard"}; -item4[] = {"I_has_small_dick",2,250,-27.045757,58.668503,62.954262,108.668503,0.000000,"I has small dick"}; -item5[] = {"isOwned",4,218,43.689316,-30.790573,133.689301,19.209412,0.000000,"isOwned"}; -link0[] = {0,1}; -link1[] = {1,2}; -link2[] = {2,3}; -link3[] = {3,4}; -link4[] = {4,5}; -link5[] = {5,2}; -globals[] = {0.000000,0,0,0,16777215,640,480,1,8,6316128,1,-306.241333,293.758667,267.741943,-346.774170,372,381,1}; -window[] = {0,-1,-1,-1,-1,576,50,812,50,1,390}; -*//*%FSM*/ -class FSM -{ - fsmName = "stdin"; - class States - { - /*%FSM*/ - class init - { - name = "init"; - init = /*%FSM*/""/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class true - { - priority = 0.000000; - to="Broadcast"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/""/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - /*%FSM*/ - class Broadcast - { - name = "Broadcast"; - init = /*%FSM*/""/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class isRetard - { - priority = 0.000000; - to="I_has_small_dick"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"(dialog&&isNull(findDisplay 106)&&isNull(findDisplay 6902))||(!isNil(""nil"")&&alive(player))"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - /*%FSM*/ - class I_has_small_dick - { - name = "I_has_small_dick"; - init = /*%FSM*/"closeDialog 0;" \n - "player enableSimulation false;" \n - "_tinypenis = format[""AntiCheat: Incredibly small penis detected for %1 with UID %2"",name player,getPlayerUID player];" \n - "player setVariable [""cheat"",_tinypenis,true];"/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class isOwned - { - priority = 0.000000; - to="Broadcast"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"!dialog&&!alive(player)"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - }; - initState="init"; - finalStates[] = - { - }; -}; -/*%FSM*/ \ No newline at end of file diff --git a/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf b/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf index d00728c9c..70c286e5b 100644 --- a/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf +++ b/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf @@ -1,17 +1,25 @@ -startLoadingScreen ["","DayZ_loadingScreen"]; /* INITILIZATION */ +startLoadingScreen ["","RscDisplayLoadCustom"]; +cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES dayZ_hivePipe1 = "\\.\pipe\dayz"; //The named pipe dayZ_instance = 11; //The instance hiveInUse = true; +dayzHiveRequest = []; initialized = false; dayz_previousID = 0; -// AMP config +//disable greeting menu +player setVariable ["BIS_noCoreConversations", true]; +//disable radio messages to be heard and shown in the left lower corner of the screen +enableRadio false; + + +// DayZ Epoch config spawnShoremode = 1; // Default = 1 (on shore) spawnArea= 1500; // Default = 1500 MaxHeliCrashes= 5; // Default = 5 @@ -20,6 +28,18 @@ MaxDynamicDebris = 200; // Default = 100 dayz_MapArea = 12000; // Default = 10000 dayz_maxLocalZombies = 40; // Default = 40 +// DayZ Epoch TRADERS +weapon_trader = 'Functionary1'; +parts_trader = 'Profiteer2'; +can_trader = 'Woodlander4'; +ammo_trader = 'RU_Citizen2'; +auto_trader = 'TK_CIV_Worker01_EP1'; +auto_trader_2 = 'Worker4'; +mad_sci = 'RU_Doctor'; +metals_trader = 'RU_Citizen4'; +boat_trader = 'Villager3'; + +//Load in compiled functions call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early) progressLoadingScreen 0.1; call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers @@ -44,22 +64,93 @@ if ((!isServer) && (player != player)) then }; if (isServer) then { - //Run the server monitor + + // TODO: Still Needs major overhaul current method is not ideal + AllowedVehiclesList = [ "Old_moto_TK_Civ_EP1", + "MMT_Civ", + "ATV_US_EP1", + "hilux1_civil_3_open_EP1", + "datsun1_civil_3_open", + "Pickup_PK_TK_GUE_EP1", + "Lada1", + "Skoda", + "car_sedan", + "Volha_1_TK_CIV_EP1", + "UAZ_Unarmed_TK_EP1", + "Ikarus", + "SUV_TK_CIV_EP1", + "UH1H_DZ", + "Mi17_Civilian", + "LandRover_CZ_EP1", + "HMMWV_Ambulance", + "ArmoredSUV_PMC", + "PBX", + "RHIB", + "M113Ambul_UN_EP1", + "KamazRefuel", + "CSJ_GyroP"]; + + AllowedVehiclesChance = [ 0.25, // "Old_moto_TK_Civ_EP1", + 0.55, // "MMT_Civ" + 0.45, // "ATV_US_EP1", + 0.55, // "hilux1_civil_3_open_EP1", + 0.25, // "datsun1_civil_3_open", + 0.40, // "Pickup_PK_TK_GUE_EP1", + 0.25, // "Lada1", + 0.25, // "Skoda", + 0.2, // "car_sedan", + 0.2, // "Volha_1_TK_CIV_EP1", + 0.15, // "UAZ_Unarmed_TK_EP1" + 0.01, // "Ikarus" + 0.1, // "SUV_TK_CIV_EP1" + 0.05, // "UH1H_DZ" + 0.09, // "Mi17_Civilian" + 0.11, // "LandRover_CZ_EP1" + 0.11, // "HMMWV_Ambulance" + 0.05, // "ArmoredSUV_PMC" + 0.15, // "PBX" + 0.01, // "RHIB" + 0.01, // "M113Ambul_UN_EP1" + 0.01, // "KamazRefuel" + 0.1]; // "CSJ_GyroP" + + AllowedVehiclesLimit = [ 2, // "Old_moto_TK_Civ_EP1", + 5, // "MMT_Civ" + 2, // "ATV_US_EP1", + 2, // "hilux1_civil_3_open_EP1", + 2, // "datsun1_civil_3_open", + 1, // "Pickup_PK_TK_GUE_EP1", + 2, // "Lada1", + 2, // "Skoda", + 2, // "car_sedan", + 2, // "Volha_1_TK_CIV_EP1", + 2, // "UAZ_Unarmed_TK_EP1" + 1, // "Ikarus" + 1, // "SUV_TK_CIV_EP1" + 1, // "UH1H_DZ" + 1, // "Mi17_Civilian" + 2, // "LandRover_CZ_EP1" + 2, // "HMMWV_Ambulance" + 1, // "ArmoredSUV_PMC" + 2, // "PBX" + 1, // "RHIB" + 1, // "M113Ambul_UN_EP1" + 1, // "KamazRefuel" + 3]; // "CSJ_GyroP" + hiveInUse = true; - _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf"; + _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf"; + // Add trader citys + _nil = [] execVM "mission.sqf"; }; if (!isDedicated) then { //Conduct map operations 0 fadeSound 0; - 0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60]; + waitUntil {!isNil "dayz_loadScreenMsg"}; + dayz_loadScreenMsg = (localize "STR_AUTHENTICATING"); //Run the player monitor _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; - - // Create burn effect for each helicopter wreck - { - nul = [_x, 2, time, false, false] spawn BIS_Effects_Burn; - } forEach allMissionObjects "UH1Wreck_DZ"; }; \ No newline at end of file diff --git a/MPMissions/DayZ_Epoch_11.Chernarus/mission.sqf b/MPMissions/DayZ_Epoch_11.Chernarus/mission.sqf new file mode 100644 index 000000000..e23a4b2bd --- /dev/null +++ b/MPMissions/DayZ_Epoch_11.Chernarus/mission.sqf @@ -0,0 +1,634 @@ +_vehicle_92 = objNull; +if (true) then +{ + _this = createVehicle ["CDF_WarfareBVehicleServicePoint", [4025.6907, 2908.1194, 5.1498413e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_92 = _this; + _this setDir 258.08118; + _this setPos [4025.6907, 2908.1194, 5.1498413e-005]; +}; + +_vehicle_102 = objNull; +if (true) then +{ + _this = createVehicle ["LADAWreck", [4012.5, 2916.2891, 0.00010299683], [], 0, "CAN_COLLIDE"]; + _vehicle_102 = _this; + _this setDir 197.64871; + _this setPos [4012.5, 2916.2891, 0.00010299683]; +}; + +_vehicle_104 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Misc_Well_C_EP1", [4021.4529, 2896.2212, 0.0003490448], [], 0, "CAN_COLLIDE"]; + _vehicle_104 = _this; + _this setDir 217.9931; + _this setPos [4021.4529, 2896.2212, 0.0003490448]; +}; + +_vehicle_109 = objNull; +if (true) then +{ + _this = createVehicle ["Land_bags_EP1", [4012.4514, 2889.9351, -5.3405762e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_109 = _this; + _this setDir 217.9931; + _this setPos [4012.4514, 2889.9351, -5.3405762e-005]; +}; + +_vehicle_110 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Fire_barrel", [4014.3674, 2895.147, 0.00026893616], [], 0, "CAN_COLLIDE"]; + _vehicle_110 = _this; + _this setDir 217.9931; + _this setPos [4014.3674, 2895.147, 0.00026893616]; +}; + +_vehicle_119 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Fire_barrel", [4015.436, 2888.7407, -1.5258789e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_119 = _this; + _this setDir 121.70435; + _this setPos [4015.436, 2888.7407, -1.5258789e-005]; +}; + +_vehicle_121 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Campfire", [4050.1423, 2874.9639, -4.7683716e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_121 = _this; + _this setDir 220.05432; + _this setPos [4050.1423, 2874.9639, -4.7683716e-005]; +}; + +_vehicle_122 = objNull; +if (true) then +{ + _this = createVehicle ["Land_covering_hut_EP1", [4012.9688, 2890.4353, -5.1498413e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_122 = _this; + _this setDir 261.60434; + _this setPos [4012.9688, 2890.4353, -5.1498413e-005]; +}; + +_vehicle_131 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Barrel_water", [4012.0623, 2891.2166, 1.1444092e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_131 = _this; + _this setDir 217.9931; + _this setPos [4012.0623, 2891.2166, 1.1444092e-005]; +}; + +_vehicle_137 = objNull; +if (true) then +{ + _this = createVehicle ["Land_stand_small_EP1", [4015.7219, 2893.5242, -1.1444092e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_137 = _this; + _this setDir 259.97235; + _this setPos [4015.7219, 2893.5242, -1.1444092e-005]; +}; + +_vehicle_142 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Crates_stack_EP1", [4011.8152, 2894.2056, -2.6702881e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_142 = _this; + _this setDir 169.90182; + _this setPos [4011.8152, 2894.2056, -2.6702881e-005]; +}; + +_vehicle_146 = objNull; +if (true) then +{ + _this = createVehicle ["Gunrack2", [4027.1052, 2889.6902, -3.8146973e-006], [], 0, "CAN_COLLIDE"]; + _vehicle_146 = _this; + _this setDir 384.36307; + _this setPos [4027.1052, 2889.6902, -3.8146973e-006]; +}; + +_vehicle_151 = objNull; +if (true) then +{ + _this = createVehicle ["Land_stand_meat_EP1", [4012.54, 2892.9128, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; + _vehicle_151 = _this; + _this setDir 259.97116; + _this setPos [4012.54, 2892.9128, 1.9073486e-006]; +}; + +_vehicle_153 = objNull; +if (true) then +{ + _this = createVehicle ["Land_transport_crates_EP1", [4029.2156, 2887.863, -1.335144e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_153 = _this; + _this setDir 161.36229; + _this setPos [4029.2156, 2887.863, -1.335144e-005]; +}; + +_vehicle_157 = objNull; +if (true) then +{ + _this = createVehicle ["AmmoCrates_NoInteractive_Large", [4030.0212, 2894.5513, -2.6702881e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_157 = _this; + _this setDir 275.12604; + _this setPos [4030.0212, 2894.5513, -2.6702881e-005]; +}; + +_vehicle_158 = objNull; +if (true) then +{ + _this = createVehicle ["AmmoCrates_NoInteractive_Medium", [4028.688, 2895.6108, 9.5367432e-006], [], 0, "CAN_COLLIDE"]; + _vehicle_158 = _this; + _this setDir 275.12604; + _this setPos [4028.688, 2895.6108, 9.5367432e-006]; +}; + +_vehicle_159 = objNull; +if (true) then +{ + _this = createVehicle ["AmmoCrates_NoInteractive_Small", [4030.3958, 2892.7344, 5.7220459e-006], [], 0, "CAN_COLLIDE"]; + _vehicle_159 = _this; + _this setDir 275.12604; + _this setPos [4030.3958, 2892.7344, 5.7220459e-006]; +}; + +_vehicle_165 = objNull; +if (true) then +{ + _this = createVehicle ["Gunrack1", [4028.3096, 2889.3672, 3.2424927e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_165 = _this; + _this setDir 425.41; + _this setPos [4028.3096, 2889.3672, 3.2424927e-005]; +}; + +_vehicle_169 = objNull; +if (true) then +{ + _this = createVehicle ["FoldTable", [4024.6101, 2890.2097, -1.9073486e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_169 = _this; + _this setDir 305.57144; + _this setPos [4024.6101, 2890.2097, -1.9073486e-005]; +}; + +_vehicle_170 = objNull; +if (true) then +{ + _this = createVehicle ["FoldChair", [4026.1899, 2889.1526, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; + _vehicle_170 = _this; + _this setDir 140.21655; + _this setPos [4026.1899, 2889.1526, 1.9073486e-006]; +}; + +_vehicle_172 = objNull; +if (true) then +{ + _this = createVehicle ["FoldTable", [4026.8833, 2894.4133, -1.5258789e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_172 = _this; + _this setDir 290.23499; + _this setPos [4026.8833, 2894.4133, -1.5258789e-005]; +}; + +_vehicle_175 = objNull; +if (true) then +{ + _this = createVehicle ["FoldChair", [4028.4377, 2893.2314, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_175 = _this; + _this setDir 150.9807; + _this setPos [4028.4377, 2893.2314, 1.7166138e-005]; +}; + +_vehicle_178 = objNull; +if (true) then +{ + _this = createVehicle ["Land_GuardShed", [4017.2102, 2885.5955, 4.5776367e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_178 = _this; + _this setDir 208.17784; + _this setPos [4017.2102, 2885.5955, 4.5776367e-005]; +}; + +_vehicle_187 = objNull; +if (true) then +{ + _this = createVehicle ["Axe_woodblock", [4012.8875, 2897.125, 1.1444092e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_187 = _this; + _this setDir 400.72034; + _this setPos [4012.8875, 2897.125, 1.1444092e-005]; +}; + +_vehicle_188 = objNull; +if (true) then +{ + _this = createVehicle ["Pile_of_wood", [4011.3523, 2898.5742, 2.2888184e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_188 = _this; + _this setDir 356.23578; + _this setPos [4011.3523, 2898.5742, 2.2888184e-005]; +}; + +_vehicle_195 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Crates_EP1", [4022.4785, 2889.937, -2.0980835e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_195 = _this; + _this setDir 106.6861; + _this setPos [4022.4785, 2889.937, -2.0980835e-005]; +}; + +_vehicle_196 = objNull; +if (true) then +{ + _this = createVehicle ["WoodChair", [4016.345, 2885.5608, 6.8664551e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_196 = _this; + _this setDir 238.8746; + _this setPos [4016.345, 2885.5608, 6.8664551e-005]; +}; + +_vehicle_197 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Water_pipe_EP1", [4017.0591, 2885.23, -1.7166138e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_197 = _this; + _this setDir 122.34731; + _this setPos [4017.0591, 2885.23, -1.7166138e-005]; +}; + +_this = createCenter civilian; +_center_1 = _this; + +_group_1 = createGroup _center_1; + +_unit_15 = objNull; +if (true) then +{ + _this = _group_1 createUnit ["Worker4", [4014.1775, 2917.584, -3.8146973e-006], [], 0, "CAN_COLLIDE"]; + _unit_15 = _this; + _this setDir 114.73703; + _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; + _this setUnitAbility 0.60000002; + if (false) then {_group_1 selectLeader _this;}; +}; + +_unit_23 = objNull; +if (true) then +{ + _this = _group_1 createUnit ["Functionary1", [4025.5176, 2889.5044, -7.6293945e-006], [], 0, "CAN_COLLIDE"]; + _unit_23 = _this; + _this setDir 308.4227; + _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; + _this setUnitAbility 0.60000002; + if (false) then {_group_1 selectLeader _this;}; +}; + +_unit_25 = objNull; +if (true) then +{ + _this = _group_1 createUnit ["RU_Citizen2", [4027.6382, 2894.0718, -1.1444092e-005], [], 0, "CAN_COLLIDE"]; + _unit_25 = _this; + _this setDir 275.81802; + _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; + _this setUnitAbility 0.60000002; + if (false) then {_group_1 selectLeader _this;}; +}; + +_unit_26 = objNull; +if (true) then +{ + _this = _group_1 createUnit ["TK_CIV_Worker01_EP1", [4021.2134, 2913.4302], [], 0, "CAN_COLLIDE"]; + _unit_26 = _this; + _this setDir 249.54565; + _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; + _this setUnitAbility 0.60000002; + if (false) then {_group_1 selectLeader _this;}; +}; + +_vehicle_207 = objNull; +if (true) then +{ + _this = createVehicle ["Land_transport_crates_EP1", [4026.9253, 2886.9719, 2.8610229e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_207 = _this; + _this setDir 249.20943; + _this setPos [4026.9253, 2886.9719, 2.8610229e-005]; +}; + +_vehicle_220 = objNull; +if (true) then +{ + _this = createVehicle ["Desk", [4014.3704, 2903.3914, 7.6293945e-006], [], 0, "CAN_COLLIDE"]; + _vehicle_220 = _this; + _this setDir 269.05447; + _this setPos [4014.3704, 2903.3914, 7.6293945e-006]; +}; + +_vehicle_221 = objNull; +if (true) then +{ + _this = createVehicle ["FoldChair", [4012.9309, 2903.5608, 4.0054321e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_221 = _this; + _this setDir 307.32248; + _this setPos [4012.9309, 2903.5608, 4.0054321e-005]; +}; + +_vehicle_226 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Canister_EP1", [4020.908, 2914.3606, 2.0980835e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_226 = _this; + _this setDir 490.82101; + _this setPos [4020.908, 2914.3606, 2.0980835e-005]; +}; + +_vehicle_236 = objNull; +if (true) then +{ + _this = createVehicle ["Land_tires_EP1", [4014.2007, 2918.908, 4.3869019e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_236 = _this; + _this setDir 301.07266; + _this setPos [4014.2007, 2918.908, 4.3869019e-005]; +}; + +_vehicle_243 = objNull; +if (true) then +{ + _this = createVehicle ["Hedgehog_EP1", [4026.8149, 2897.3687, 5.9127808e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_243 = _this; + _this setDir 264.90128; + _this setPos [4026.8149, 2897.3687, 5.9127808e-005]; +}; + +_vehicle_253 = objNull; +if (true) then +{ + _this = createVehicle ["sigisolda6", [3994.8784, 2758.1152, 0.21266335], [], 0, "CAN_COLLIDE"]; + _vehicle_253 = _this; + _this setDir -50.014053; + _this setVehicleLock "LOCKED"; + _this setPos [3994.8784, 2758.1152, 0.21266335]; +}; + +_vehicle_255 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Misc_Cargo2E_EP1", [3939.6763, 2879.4685, -8.8691711e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_255 = _this; + _this setPos [3939.6763, 2879.4685, -8.8691711e-005]; +}; + +_vehicle_256 = objNull; +if (true) then +{ + _this = createVehicle ["Misc_Cargo1B_military", [3957.731, 2867.2271, 0.0001912117], [], 0, "CAN_COLLIDE"]; + _vehicle_256 = _this; + _this setDir -39.256943; + _this setPos [3957.731, 2867.2271, 0.0001912117]; +}; + +_vehicle_257 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Fire_barrel", [3933.9258, 2885.6702, 6.9856644e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_257 = _this; + _this setPos [3933.9258, 2885.6702, 6.9856644e-005]; +}; + +_unit_32 = objNull; +if (true) then +{ + _this = _group_1 createUnit ["Villager3", [3934.5122, 2881.8413, -1.6212463e-005], [], 0, "CAN_COLLIDE"]; + _unit_32 = _this; + _this setDir -96.868843; + _this setVehicleInit "this enableSimulation false;this allowDammage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';"; + _this setUnitAbility 0.60000002; + if (false) then {_group_1 selectLeader _this;}; +}; + +_unit_37 = objNull; +if (true) then +{ + _this = _group_1 createUnit ["Profiteer2", [4022.9927, 2906.688, 5.7220459e-006], [], 0, "CAN_COLLIDE"]; + _unit_37 = _this; + _this setDir 617.87714; + _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; + _this setUnitAbility 0.60000002; + if (false) then {_group_1 selectLeader _this;}; +}; + +_vehicle_260 = objNull; +if (true) then +{ + _this = createVehicle ["USMC_WarfareBContructionSite", [3985.821, 2811.6047, 2.5510788e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_260 = _this; + _this setPos [3985.821, 2811.6047, 2.5510788e-005]; +}; + +_vehicle_261 = objNull; +if (true) then +{ + _this = createVehicle ["VaultStorageLocked", [4012.2109, 2902.4836, -1.1444092e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_261 = _this; + _this setDir 242.3795; + _this setPos [4012.2109, 2902.4836, -1.1444092e-005]; +}; + +_unit_40 = objNull; +if (true) then +{ + _this = _group_1 createUnit ["RU_Doctor", [4016.8032, 2886.1382, 1.1444092e-005], [], 0, "CAN_COLLIDE"]; + _unit_40 = _this; + _this setDir 31.899685; + _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; + _this setUnitAbility 0.60000002; + if (false) then {_group_1 selectLeader _this;}; +}; + +_unit_41 = objNull; +if (true) then +{ + _this = _group_1 createUnit ["RU_Citizen4", [4013.5317, 2903.1396, 7.6293945e-006], [], 0, "CAN_COLLIDE"]; + _unit_41 = _this; + _this setDir 457.09665; + _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; + _this setUnitAbility 0.60000002; + if (false) then {_group_1 selectLeader _this;}; +}; + +_vehicle_279 = objNull; +if (true) then +{ + _this = createVehicle ["Hedgehog_EP1", [4016.8569, 2918.5476, -5.531311e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_279 = _this; + _this setDir 217.9931; + _this setPos [4016.8569, 2918.5476, -5.531311e-005]; +}; + +_vehicle_280 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Fire_barrel", [4025.7297, 2892.1794, 4.5776367e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_280 = _this; + _this setDir 238.901; + _this setPos [4025.7297, 2892.1794, 4.5776367e-005]; +}; + +_vehicle_282 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Fire_barrel", [4019.0789, 2919.3271, 6.6757202e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_282 = _this; + _this setDir 302.39758; + _this setPos [4019.0789, 2919.3271, 6.6757202e-005]; +}; + +_vehicle_288 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Fire_barrel", [4013.6316, 2901.5859, -1.9073486e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_288 = _this; + _this setDir 402.96042; + _this setPos [4013.6316, 2901.5859, -1.9073486e-005]; +}; + +_vehicle_289 = objNull; +if (true) then +{ + _this = createVehicle ["FoldChair", [4019.8628, 2887.5583, -1.9073486e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_289 = _this; + _this setDir 77.329292; + _this setPos [4019.8628, 2887.5583, -1.9073486e-005]; +}; + +_vehicle_291 = objNull; +if (true) then +{ + _this = createVehicle ["FoldChair", [4019.9651, 2886.2117], [], 0, "CAN_COLLIDE"]; + _vehicle_291 = _this; + _this setDir 94.467751; + _this setPos [4019.9651, 2886.2117]; +}; + +_vehicle_294 = objNull; +if (true) then +{ + _this = createVehicle ["FoldChair", [4019.6707, 2884.948, 1.1444092e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_294 = _this; + _this setDir 114.13088; + _this setPos [4019.6707, 2884.948, 1.1444092e-005]; +}; + +_vehicle_297 = objNull; +if (true) then +{ + _this = createVehicle ["Park_bench1", [4016.2471, 2883.8225, 2.2888184e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_297 = _this; + _this setDir 207.8909; + _this setPos [4016.2471, 2883.8225, 2.2888184e-005]; +}; + +_unit_54 = objNull; +if (true) then +{ + _this = _group_1 createUnit ["Woodlander4", [4014.8953, 2893.4402, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _unit_54 = _this; + _this setDir 426.29398; + _this setVehicleInit "this allowDammage false;this disableAI 'FSM';this disableAI 'MOVE';"; + _this setUnitAbility 0.60000002; + if (true) then {_group_1 selectLeader _this;}; +}; + +_vehicle_299 = objNull; +if (true) then +{ + _this = createVehicle ["RoadBarrier_long", [4029.3474, 2898.0195, 5.7220459e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_299 = _this; + _this setDir 401.93991; + _this setPos [4029.3474, 2898.0195, 5.7220459e-005]; +}; + +_vehicle_307 = objNull; +if (true) then +{ + _this = createVehicle ["ACamp", [4047.0884, 2870.7549, 1.9073486e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_307 = _this; + _this setDir 124.35175; + _this setPos [4047.0884, 2870.7549, 1.9073486e-005]; +}; + +_vehicle_308 = objNull; +if (true) then +{ + _this = createVehicle ["ACamp_EP1", [4054.0229, 2871.2859, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_308 = _this; + _this setDir 46.300552; + _this setPos [4054.0229, 2871.2859, 1.7166138e-005]; +}; + +_vehicle_309 = objNull; +if (true) then +{ + _this = createVehicle ["Land_A_tent", [4047.5942, 2878.866, 4.5776367e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_309 = _this; + _this setDir 31.747168; + _this setPos [4047.5942, 2878.866, 4.5776367e-005]; +}; + +_vehicle_312 = objNull; +if (true) then +{ + _this = createVehicle ["FoldChair", [4052.3337, 2874.3765], [], 0, "CAN_COLLIDE"]; + _vehicle_312 = _this; + _this setDir 90.478432; + _this setPos [4052.3337, 2874.3765]; +}; + +_vehicle_318 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [4010.7776, 2905.321, 3.2424927e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_318 = _this; + _this setDir 90.798332; + _this setPos [4010.7776, 2905.321, 3.2424927e-005]; +}; + +_vehicle_320 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [4010.6704, 2909.3513, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_320 = _this; + _this setDir 90.978882; + _this setPos [4010.6704, 2909.3513, 3.0517578e-005]; +}; + +_vehicle_322 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [4010.7295, 2913.8123, 8.392334e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_322 = _this; + _this setDir 91.328293; + _this setPos [4010.7295, 2913.8123, 8.392334e-005]; +}; + +_vehicle_324 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock_D", [4010.54, 2900.9888, 9.5367432e-006], [], 0, "CAN_COLLIDE"]; + _vehicle_324 = _this; + _this setDir 91.165634; + _this setPos [4010.54, 2900.9888, 9.5367432e-006]; +}; + +_vehicle_325 = objNull; +if (true) then +{ + _this = createVehicle ["Fort_StoneWall_EP1", [4022.833, 2882.9778, 5.3405762e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_325 = _this; + _this setDir -17.04833; + _this setPos [4022.833, 2882.9778, 5.3405762e-005]; +}; + +_vehicle_335 = objNull; +if (true) then +{ + _this = createVehicle ["T72Wreck", [4022.6077, 2917.0369, 3.8146973e-006], [], 0, "CAN_COLLIDE"]; + _vehicle_335 = _this; + _this setDir -19.630575; + _this setPos [4022.6077, 2917.0369, 3.8146973e-006]; +}; + +processInitCommands; \ No newline at end of file diff --git a/MPMissions/DayZ_Epoch_11.Chernarus/mission.sqm b/MPMissions/DayZ_Epoch_11.Chernarus/mission.sqm index bbb74bc3f..ec0ad4605 100644 --- a/MPMissions/DayZ_Epoch_11.Chernarus/mission.sqm +++ b/MPMissions/DayZ_Epoch_11.Chernarus/mission.sqm @@ -10,7 +10,10 @@ class Mission "dayz_equip", "dayz_vehicles", "cacharacters_pmc", - "ca_modules_functions" + "ca_modules_functions", + "glt_m300t", + "sigisolda", + "suv_col" }; addOnsAuto[]= { diff --git a/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf b/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf index 9f088505e..bc04c5c00 100644 --- a/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf +++ b/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf @@ -1,7 +1,8 @@ -startLoadingScreen ["","DayZ_loadingScreen"]; /* INITILIZATION */ +startLoadingScreen ["","RscDisplayLoadCustom"]; +cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES @@ -34,7 +35,6 @@ ammo_trader = 'Functionary1'; auto_trader = 'CIV_EuroMan02_EP1'; auto_trader_2 = 'RU_Pilot'; mad_sci = 'Dr_Hladik_EP1'; -bank_atm = 'Vault'; metals_trader = 'RU_Profiteer3'; boat_trader = 'Citizen3_EP1'; @@ -64,72 +64,78 @@ if ((!isServer) && (player != player)) then if (isServer) then { - // First Test moving DVS config to mission file - // TODO: Needs major performace overhaul current method is not ideal - // 1 : Motocycles - // 2 : Bicycles, ATV's - // 3 : Trucks Unarmed - // 4 : Trucks - // 5 : Cars - // 6 : Jeeps - // 7 : Bus, Tractor, SUV, Vans - // 8 : Helicopters - // 9 : Helicopters Unarmed - // 10: Military Unarmed - // 11: Military - // 12: Boat Unarmed - // 13: Boat - // 14: Heavy Armor Unarmed - // 15: Fuel Trucks - // 16: Custom kpfs_uaz451 - // 17-20: Custom Sigma 6 - // 21: CSJ Gyro + // TODO: Still Needs major overhaul current method is not ideal + AllowedVehiclesList = [ "Old_moto_TK_Civ_EP1", + "MMT_Civ", + "ATV_US_EP1", + "hilux1_civil_3_open_EP1", + "datsun1_civil_3_open", + "Pickup_PK_TK_GUE_EP1", + "Lada1", + "Skoda", + "car_sedan", + "Volha_1_TK_CIV_EP1", + "UAZ_Unarmed_TK_EP1", + "Ikarus", + "SUV_TK_CIV_EP1", + "UH1H_DZ", + "Mi17_Civilian", + "LandRover_CZ_EP1", + "HMMWV_Ambulance", + "ArmoredSUV_PMC", + "PBX", + "RHIB", + "M113Ambul_UN_EP1", + "KamazRefuel", + "CSJ_GyroP"]; - AllowedVehiclesList = ["M1030_US_DES_EP1","TT650_TK_CIV_EP1","Old_moto_TK_Civ_EP1","TT650_Civ","TT650_Ins", - "MMT_Civ","Old_bike_TK_INS_EP1","ATV_US_EP1","BAF_ATV_D","ATV_CZ_EP1", - "hilux1_civil_3_open_EP1","hilux1_civil_2_covered","hilux1_civil_1_open","datsun1_civil_3_open","datsun1_civil_2_covered","datsun1_civil_1_open", - "Pickup_PK_TK_GUE_EP1","Pickup_PK_GUE","Pickup_PK_INS", - "policecar","Octavia_ACR","Lada1","Lada2","LadaLM","Skoda","SkodaBlue","SkodaGreen","SkodaRed","VWGolf","car_hatchback","car_sedan","Lada1_TK_CIV_EP1","Lada2_TK_CIV_EP1","VolhaLimo_TK_CIV_EP1","Volha_1_TK_CIV_EP1","Volha_2_TK_CIV_EP1", - "UAZ_CDF","UAZ_INS","UAZ_RU","UAZ_Unarmed_TK_CIV_EP1","UAZ_Unarmed_TK_EP1","UAZ_Unarmed_UN_EP1", - "Ikarus","Ikarus_TK_CIV_EP1","tractor","SUV_Green","SUV_Silver","SUV_White","SUV_Charcoal","SUV_TK_CIV_EP1","S1203_TK_CIV_EP1","S1203_ambulance_EP1", - "UH1H_DZ","UH1H_TK_EP1","CH_47F_EP1","Mi17_TK_EP1","Mi17_UN_CDF_EP1","Mi171Sh_CZ_EP1","UH60M_EP1","Mi17_CDF","MH60S","UH1Y", - "Mi17_Civilian","MH6J_EP1","UH60M_MEV_EP1", - "LandRover_ACR","LandRover_CZ_EP1","LandRover_TK_CIV_EP1","HMMWV","HMMWV_DES_EP1","HMMWV_M1035_DES_EP1","HMMWV_Ambulance","HMMWV_Ambulance_CZ_DES_EP1","GAZ_Vodnik_MedEvac","Ural_TK_CIV_EP1","Ural_UN_EP1","V3S_Open_TK_CIV_EP1","V3S_Open_TK_EP1","MTVR_DES_EP1","Kamaz", - "HMMWV_M998A2_SOV_DES_EP1","HMMWV_M1151_M2_CZ_DES_EP1","LandRover_Special_CZ_EP1","LandRover_MG_TK_EP1","ArmoredSUV_PMC", - "Fishing_Boat","PBX","PBX_ACR","Smallboat_1","Smallboat_2","Zodiac", - "RHIB","RHIB2Turret", - "M113Ambul_UN_EP1","M113Ambul_TK_EP1","BMP2_Ambul_CDF","BMP2_Ambul_INS", - "KamazRefuel","MtvrRefuel_DES_EP1","UralRefuel_TK_EP1","V3S_Refuel_TK_GUE_EP1","T810Refuel_Des_ACR","T810Refuel_ACR", - "kpfs_uaz451_black","kpfs_uaz451_green","kpfs_uaz451_cz", - "440cuda","oldtruck","monaco","roadrunner","roadrunner2", - "cuda","barcuda","hemicuda","cd71hm","oltruc3", - "fury","sahco","civic","challenger","cooter", - "jailbus","mackr","240GD","schoolbus","rosco","oldtruc2", - "CSJ_GyroP","CSJ_GyroCover","CSJ_GyroC"]; - - - AllowedVehiclesChance = [0.55,0.65,0.25,0.35,0.45, - 0.25,0.75,0.45,0.45,0.45, - 0.40,0.35,0.35,0.25,0.20,0.25, - 0.25,0.25,0.25, - 0.2,0.25,0.45,0.45,0.45,0.45,0.45,0.45,0.45,0.35,0.40,0.40,0.40,0.25,0.45,0.45,0.45, - 0.30,0.30,0.30,0.30,0.30,0.30, - 0.15,0.15,0.15,0.05,0.05,0.05,0.05,0.05,0.30,0.15, - 0.05,0.05,0.01,0.025,0.025,0.025,0.025,0.02,0.02,0.02, - 0.09,0.08,0.07, - 0.11,0.11,0.11,0.10,0.10,0.10,0.05,0.05,0.05,0.05,0.10,0.10,0.10,0.10,0.10, - 0.05,0.05,0.01,0.05,0.01, - 0.15,0.15,0.15,0.15,0.15,0.15, - 0.01,0.01, - 0.01,0.01,0.01,0.01, - 0.001,0.001,0.001,0.001,0.001,0.001, - 0.05,0.05,0.05, - 0.01,0.20,0.01,0.01,0.01, - 0.01,0.01,0.01,0.01,0.15, - 0.01,0.01,0.12,0.01,0.05, - 0.01,0.01,0.01,0.01,0.01,0.10, - 0.1,0.1,0.05]; + AllowedVehiclesChance = [ 0.25, // "Old_moto_TK_Civ_EP1", + 0.55, // "MMT_Civ" + 0.45, // "ATV_US_EP1", + 0.55, // "hilux1_civil_3_open_EP1", + 0.25, // "datsun1_civil_3_open", + 0.40, // "Pickup_PK_TK_GUE_EP1", + 0.25, // "Lada1", + 0.25, // "Skoda", + 0.2, // "car_sedan", + 0.2, // "Volha_1_TK_CIV_EP1", + 0.15, // "UAZ_Unarmed_TK_EP1" + 0.01, // "Ikarus" + 0.1, // "SUV_TK_CIV_EP1" + 0.05, // "UH1H_DZ" + 0.09, // "Mi17_Civilian" + 0.11, // "LandRover_CZ_EP1" + 0.11, // "HMMWV_Ambulance" + 0.05, // "ArmoredSUV_PMC" + 0.15, // "PBX" + 0.01, // "RHIB" + 0.01, // "M113Ambul_UN_EP1" + 0.01, // "KamazRefuel" + 0.1]; // "CSJ_GyroP" + AllowedVehiclesLimit = [ 2, // "Old_moto_TK_Civ_EP1", + 5, // "MMT_Civ" + 2, // "ATV_US_EP1", + 2, // "hilux1_civil_3_open_EP1", + 2, // "datsun1_civil_3_open", + 1, // "Pickup_PK_TK_GUE_EP1", + 2, // "Lada1", + 2, // "Skoda", + 2, // "car_sedan", + 2, // "Volha_1_TK_CIV_EP1", + 2, // "UAZ_Unarmed_TK_EP1" + 1, // "Ikarus" + 1, // "SUV_TK_CIV_EP1" + 1, // "UH1H_DZ" + 1, // "Mi17_Civilian" + 2, // "LandRover_CZ_EP1" + 2, // "HMMWV_Ambulance" + 1, // "ArmoredSUV_PMC" + 2, // "PBX" + 1, // "RHIB" + 1, // "M113Ambul_UN_EP1" + 1, // "KamazRefuel" + 3]; // "CSJ_GyroP" hiveInUse = true; _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf"; @@ -140,7 +146,8 @@ if (isServer) then { if (!isDedicated) then { //Conduct map operations 0 fadeSound 0; - 0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60]; + waitUntil {!isNil "dayz_loadScreenMsg"}; + dayz_loadScreenMsg = (localize "STR_AUTHENTICATING"); //Run the player monitor _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; diff --git a/MPMissions/DayZ_Epoch_3.Shapur_BAF/mission.sqm b/MPMissions/DayZ_Epoch_3.Shapur_BAF/mission.sqm index 866c862de..56fc339ea 100644 --- a/MPMissions/DayZ_Epoch_3.Shapur_BAF/mission.sqm +++ b/MPMissions/DayZ_Epoch_3.Shapur_BAF/mission.sqm @@ -13,28 +13,7 @@ class Mission "ca_modules_functions", "warfarebuildings", "cacharacters_e", - "kpfs_uaz451", - "440cuda", - "oldtruck", - "monaco", - "roadrunner", - "roadrunner2", - "cuda", - "barcuda", - "hemicuda", - "cd71hm", - "oltruc3", - "fury", - "sahco", - "civic", - "challenger", - "cooter", - "jailbus", - "mackr", - "240GD", - "schoolbus", - "rosco", - "oldtruc2", + "glt_m300t", "CSJ_GyroAC", "cacharacters2", "SUV_COL"