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,12 +5,12 @@ AllowedVehiclesList = [
["TT650_Ins",1],
["TT650_Civ",1],
["TT650_TK_CIV_EP1",1],
["TT650_Gue",1],
["ATV_US_EP1",10],
["hilux1_civil_3_open_EP1",5],
["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],
@@ -31,7 +31,7 @@ AllowedVehiclesList = [
["UAZ_RU",1],
["UAZ_INS",1],
["Ikarus",3],
["SUV_TK_CIV_EP1",2],
["SUV_TK_CIV_EP1",2],
["SUV_Green",1],
["SUV_Yellow",1],
["SUV_White",1],
@@ -41,19 +41,14 @@ AllowedVehiclesList = [
["SUV_Orange",1],
["SUV_Charcoal",1],
["SUV_Blue",1],
["ArmoredSUV_PMC_DZ",2],
["UH1H_DZ",2],
["Mi17_Civilian_DZ",3],
["Mi17_DZ",1],
["CH_47F_EP1_DZ",1],
["LandRover_CZ_EP1",2],
["HMMWV_Ambulance",2],
["HMMWV_DES_EP1",1],
["PBX",3],
["Zodiac",2],
["RHIB",2],
["Fishing_Boat",2],
["Smallboat_1",2],
["Smallboat_2",2],
["M113Ambul_UN_EP1",1],
["KamazRefuel",1],
["UralRefuel_TK_EP1",1],
["MtvrRefuel_DES_EP1",1],
@@ -64,9 +59,9 @@ AllowedVehiclesList = [
["tractor",3],
["CSJ_GyroP",5],
["S1203_ambulance_EP1",1],
["S1203_TK_CIV_EP1",2],
["S1203_TK_CIV_EP1",3],
["MH6J_DZ",1],
["AH6X_DZ",1],
["AH6X_DZ",2],
["MTVR_DES_EP1",1],
["LandRover_MG_TK_EP1",1],
["M1030_US_DES_EP1",1]

View File

@@ -1,16 +1,22 @@
startLoadingScreen ["","DayZ_loadingScreen"];
/*
INITILIZATION
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
//REALLY IMPORTANT VALUES
dayZ_instance = 8; //The instance
hiveInUse = true;
dayZ_instance = 8; //The instance
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 Epochconfig
spawnShoremode = 0; // Default = 1 (on shore)
spawnArea= 500; // Default = 1500
MaxHeliCrashes= 3; // Default = 5
@@ -19,6 +25,7 @@ MaxDynamicDebris = 100; // Default = 100
dayz_MapArea = 4000; // Default = 10000
dayz_maxLocalZombies = 40; // Default = 40
//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
@@ -26,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";
@@ -38,22 +47,26 @@ waitUntil {time > 3};
if ((!isServer) && (player != player)) then
{
waitUntil {player == player};
waitUntil {player == player};
waitUntil {time > 3};
};
if (isServer) then {
//Run the server monitor
hiveInUse = true;
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
// Add trader citys
_nil = [] execVM "mission.sqf";
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.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";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};