REsec and BIS effects fixes from 177 part 2

This commit is contained in:
vbawol
2013-07-08 15:28:42 -05:00
parent 8e26793c6c
commit 840e52e9a5
46 changed files with 646 additions and 81 deletions

View File

@@ -254,5 +254,5 @@ fnc_usec_recoverUncons = {
sleep 1;
r_player_cardiac = false;
r_player_handler1 = false;
player switchMove "AmovPpneMstpSnonWnonDnon_healed";
// player switchMove "AmovPpneMstpSnonWnonDnon_healed";
};

View File

@@ -8,8 +8,10 @@ disabledAI = true;
disableChannels[]={0,1,2,6};
enableItemsDropping=0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"
briefing = 0;
debriefing = 0;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header
{

View File

@@ -43,6 +43,35 @@ progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -74,3 +103,4 @@ if (!isDedicated) then {
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -5,9 +5,12 @@ class Mission
{
"takistan",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",

View File

@@ -1,12 +1,18 @@
respawn = "BASE";
respawndelay = 5;
onLoadMission="DayZ_Epoch Zargabad";
OnLoadIntro = "Welcome to Zargabad";
onLoadMission="DayZ_Epoch Mountains ACR";
OnLoadIntro = "Welcome to Mountains ACR";
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"
briefing = 0;
debriefing = 0;
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header
{

View File

@@ -1,17 +1,23 @@
startLoadingScreen ["","DayZ_loadingScreen"];
/*
For DayZ Epoch
Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
//REALLY IMPORTANT VALUES
dayZ_instance = 10; //The instance
hiveInUse = true;
dayZ_instance = 10; //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 Epoch config
spawnShoremode = 0; // Default = 1 (on shore)
spawnArea= 1000; // Default = 1500
MaxHeliCrashes= 3; // Default = 5
@@ -23,6 +29,7 @@ dayz_maxLocalZombies = 40; // Default = 40
EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"]];
dayz_fullMoonNights = true;
//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
@@ -30,10 +37,41 @@ 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";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -47,18 +85,22 @@ if ((!isServer) && (player != player)) then
};
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";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -5,15 +5,23 @@ class Mission
{
"mountains_acr",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",
"warfarebuildings",
"ind_tank",
"camisc_e"
"camisc_e",
"glt_m300t",
"sigisolda",
"suv_col",
"csj_gyroac",
"map_eu"
};
addOnsAuto[]=
{

View File

@@ -1611,6 +1611,10 @@ class CfgWeight
{
weight = 0.002;
};
class ItemSodaCokeEmpty
{
weight = 0.002;
};
class ItemSodaPepsiEmpty
{
weight = 0.002;

View File

@@ -10,6 +10,7 @@ class Mission
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",

View File

@@ -8,8 +8,10 @@ disabledAI = true;
disableChannels[]={0,1,2,6};
enableItemsDropping=0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"
briefing = 0;
debriefing = 0;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header

View File

@@ -43,6 +43,35 @@ progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -74,3 +103,4 @@ if (!isDedicated) then {
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -5,9 +5,12 @@ class Mission
{
"ibr_isladuala",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",
@@ -17,7 +20,8 @@ class Mission
"glt_m300t",
"sigisolda",
"suv_col",
"csj_gyroac"
"csj_gyroac",
"map_eu"
};
addOnsAuto[]=
{

View File

@@ -8,8 +8,10 @@ disabledAI = true;
disableChannels[]={0,1,2,6};
enableItemsDropping=0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"
briefing = 0;
debriefing = 0;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header

View File

@@ -17,7 +17,7 @@ player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;
// Epoch config
// DayZ Epoch config
spawnShoremode = 1; // Default = 1 (on shore)
spawnArea = 2500; // Default = 1500
@@ -55,6 +55,35 @@ progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -86,3 +115,4 @@ if (!isDedicated) then {
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -5,9 +5,12 @@ class Mission
{
"tavi",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",
@@ -17,7 +20,8 @@ class Mission
"glt_m300t",
"sigisolda",
"suv_col",
"csj_gyroac"
"csj_gyroac",
"map_eu"
};
addOnsAuto[]=
{

View File

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

View File

@@ -56,6 +56,35 @@ progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -87,3 +116,4 @@ if (!isDedicated) then {
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -5,9 +5,12 @@ class Mission
{
"namalsk",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",
@@ -17,7 +20,8 @@ class Mission
"glt_m300t",
"sigisolda",
"suv_col",
"csj_gyroac"
"csj_gyroac",
"map_eu"
};
addOnsAuto[]=
{

View File

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

View File

@@ -5,9 +5,12 @@ class Mission
{
"ibr_panthera2",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",
@@ -17,7 +20,8 @@ class Mission
"glt_m300t",
"sigisolda",
"suv_col",
"csj_gyroac"
"csj_gyroac",
"map_eu"
};
addOnsAuto[]=
{

View File

@@ -8,8 +8,10 @@ disabledAI = true;
disableChannels[]={0,1,2,6};
enableItemsDropping = 0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"
briefing = 0;
debriefing = 0;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header

View File

@@ -1,5 +1,6 @@
/*
INITILIZATION
For DayZ Epoch
Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
@@ -23,8 +24,10 @@ MaxHeliCrashes= 5; // Default = 5
MaxVehicleLimit = 300; // Default = 50
MaxDynamicDebris = 500; // Default = 100
dayz_MapArea = 14000; // Default = 10000
dayz_maxLocalZombies = 40; // Default = 40
dayz_maxLocalZombies = 30; // Default = 30
EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"]];
dayz_fullMoonNights = true;
//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
@@ -40,6 +43,35 @@ progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -71,3 +103,4 @@ if (!isDedicated) then {
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -8,8 +8,10 @@ disabledAI = true;
disableChannels[]={0,1,2,6};
enableItemsDropping=0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"
briefing = 0;
debriefing = 0;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header

View File

@@ -43,6 +43,35 @@ progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -74,3 +103,4 @@ if (!isDedicated) then {
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -5,9 +5,12 @@ class Mission
{
"utes",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",

View File

@@ -7,8 +7,11 @@ OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,1,2,6};
enableItemsDropping = 0;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"
briefing = 0;
debriefing = 0;
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header

View File

@@ -43,6 +43,35 @@ progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -74,3 +103,4 @@ if (!isDedicated) then {
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -5,9 +5,12 @@ class Mission
{
"shapur_baf",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",
@@ -18,6 +21,7 @@ class Mission
"sigisolda",
"suv_col",
"csj_gyroac",
"map_eu"
};
addOnsAuto[]=
{

View File

@@ -8,8 +8,10 @@ disabledAI = true;
disableChannels[]={0,1,2,6};
enableItemsDropping=0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"
briefing = 0;
debriefing = 0;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header
{

View File

@@ -43,6 +43,35 @@ progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -74,3 +103,4 @@ if (!isDedicated) then {
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -5,9 +5,12 @@ class Mission
{
"zargabad",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",

View File

@@ -5,8 +5,14 @@ OnLoadIntro = "Welcome to Bootcamp ACR";
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"
briefing = 0;
debriefing = 0;
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header
{

View File

@@ -1,17 +1,23 @@
startLoadingScreen ["","DayZ_loadingScreen"];
/*
For DayZ Epoch
Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
//REALLY IMPORTANT VALUES
dayZ_instance = 5; //The instance
hiveInUse = true;
dayZ_instance = 5; //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 Epoch config
spawnShoremode = 0; // Default = 1 (on shore)
spawnArea= 500; // Default = 1500
MaxHeliCrashes= 2; // Default = 5
@@ -23,6 +29,7 @@ dayz_maxLocalZombies = 40; // Default = 40
EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"]];
dayz_fullMoonNights = true;
//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
@@ -30,10 +37,41 @@ 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";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -47,17 +85,22 @@ if ((!isServer) && (player != player)) then
};
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";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -5,13 +5,21 @@ class Mission
{
"bootcamp_acr",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",
"warfarebuildings"
"warfarebuildings",
"glt_m300t",
"sigisolda",
"suv_col",
"csj_gyroac",
"map_eu"
};
addOnsAuto[]=
{

View File

@@ -8,8 +8,10 @@ disabledAI = true;
disableChannels[]={0,1,2,6};
enableItemsDropping=0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"
briefing = 0;
debriefing = 0;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header

View File

@@ -44,6 +44,35 @@ progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -75,3 +104,4 @@ if (!isDedicated) then {
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -16,10 +16,12 @@ class Mission
"ibr_hangars",
"ibr_airports",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",
@@ -31,7 +33,8 @@ class Mission
"glt_m300t",
"sigisolda",
"suv_col",
"csj_gyroac"
"csj_gyroac",
"map_eu"
};
addOnsAuto[]=
{

View File

@@ -8,8 +8,10 @@ disabledAI = true;
disableChannels[]={0,1,2,6};
enableItemsDropping=0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"
briefing = 0;
debriefing = 0;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header

View File

@@ -44,6 +44,35 @@ progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -75,3 +104,4 @@ if (!isDedicated) then {
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -16,10 +16,12 @@ class Mission
"ibr_hangars",
"ibr_airports",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",
@@ -30,7 +32,8 @@ class Mission
"glt_m300t",
"sigisolda",
"suv_col",
"csj_gyroac"
"csj_gyroac",
"map_eu"
};
addOnsAuto[]=
{

View File

@@ -8,8 +8,10 @@ disabledAI = true;
disableChannels[]={0,1,2,6};
enableItemsDropping=0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"
briefing = 0;
debriefing = 0;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header

View File

@@ -43,6 +43,35 @@ progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -74,3 +103,4 @@ if (!isDedicated) then {
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -5,9 +5,12 @@ class Mission
{
"provinggrounds_pmc",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",
@@ -15,7 +18,8 @@ class Mission
"glt_m300t",
"sigisolda",
"suv_col",
"csj_gyroac"
"csj_gyroac",
"map_eu"
};
addOnsAuto[]=
{

View File

@@ -5,8 +5,14 @@ OnLoadIntro = "Welcome to Woodland ACR";
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"
briefing = 0;
debriefing = 0;
onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
class Header
{

View File

@@ -1,18 +1,23 @@
startLoadingScreen ["","DayZ_loadingScreen"];
/*
For DayZ Epoch
Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
//REALLY IMPORTANT VALUES
dayZ_hivePipe1 = "\\.\pipe\dayz"; //The named pipe
dayZ_instance = 9; //The instance
hiveInUse = true;
dayZ_instance = 9; //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 Epoch config
spawnShoremode = 0; // Default = 1 (on shore)
spawnArea= 500; // Default = 1500
MaxHeliCrashes= 3; // Default = 5
@@ -24,6 +29,7 @@ dayz_maxLocalZombies = 40; // Default = 40
EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"]];
dayz_fullMoonNights = true;
//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
@@ -31,10 +37,41 @@ 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";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
@@ -48,23 +85,22 @@ if ((!isServer) && (player != player)) then
};
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";
// Create burn effect for each helicopter wreck
{
nul = [_x, 2, time, false, false] spawn BIS_Effects_Burn;
} forEach allMissionObjects "UH1Wreck_DZ";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"

View File

@@ -5,13 +5,21 @@ class Mission
{
"woodland_acr",
"ca_modules_animals",
"dayz_anim",
"dayz_code",
"dayz_communityassets",
"dayz_weapons",
"dayz_equip",
"dayz_epoch",
"dayz_vehicles",
"cacharacters_pmc",
"ca_modules_functions",
"warfarebuildings"
"warfarebuildings",
"glt_m300t",
"sigisolda",
"suv_col",
"csj_gyroac",
"map_eu"
};
addOnsAuto[]=
{