MPMissions updates

This commit is contained in:
vbawol
2013-03-25 17:45:34 -05:00
parent 81d5b5b473
commit 256ae2ac7f
36 changed files with 9047 additions and 993 deletions

View File

@@ -5,8 +5,12 @@ OnLoadIntro = "Welcome to Utes";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
disableChannels[]={0,1,2,6};
enableItemsDropping=0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header
{

View File

@@ -10,7 +10,6 @@ AllowedVehiclesList = [
["hilux1_civil_2_covered",2],
["datsun1_civil_3_open",5],
["Pickup_PK_TK_GUE_EP1",5],
["Octavia_ACR",2],
["VWGolf",2],
["Lada1",1],
["Lada2",1],
@@ -53,7 +52,6 @@ AllowedVehiclesList = [
["Fishing_Boat",2],
["Smallboat_1",2],
["Smallboat_2",2],
["M113Ambul_UN_EP1",1],
["KamazRefuel",1],
["UralRefuel_TK_EP1",1],
["MtvrRefuel_DES_EP1",1],

View File

@@ -6,9 +6,7 @@ cutText ["","BLACK OUT"];
enableSaving [false, false];
//REALLY IMPORTANT VALUES
dayZ_hivePipe1 = "\\.\pipe\dayz"; //The named pipe
dayZ_instance = 2; //The instance
hiveInUse = true;
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
@@ -18,27 +16,15 @@ 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= 1000; // Default = 1500
MaxHeliCrashes= 2; // Default = 5
MaxVehicleLimit = 50; // Default = 50
MaxDynamicDebris = 100; // Default = 100
MaxVehicleLimit = 100; // Default = 50
MaxDynamicDebris = 150; // Default = 100
dayz_MapArea = 4000; // 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;
@@ -47,6 +33,8 @@ progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
@@ -59,89 +47,16 @@ waitUntil {time > 3};
if ((!isServer) && (player != player)) then
{
waitUntil {player == player};
waitUntil {player == player};
waitUntil {time > 3};
};
if (isServer) then {
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
// 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_code\system\server_monitor.sqf";
// Add trader citys
_nil = [] execVM "mission.sqf";
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
};
if (!isDedicated) then {
@@ -153,4 +68,5 @@ if (!isDedicated) then {
//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};

View File

@@ -250,55 +250,6 @@ if (true) then
_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
{
@@ -388,28 +339,6 @@ if (true) then
_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
{
@@ -418,37 +347,6 @@ if (true) then
_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
{
@@ -521,17 +419,6 @@ if (true) then
_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
{
@@ -629,6 +516,4 @@ if (true) then
_vehicle_335 = _this;
_this setDir -19.630575;
_this setPos [4022.6077, 2917.0369, 3.8146973e-006];
};
processInitCommands;
};

File diff suppressed because it is too large Load Diff