From 62c3796f798c44c970890296dcd4bf6061322c9d Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:33:35 +0100 Subject: [PATCH 01/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf index 694cde550..f47e38cc9 100644 --- a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf @@ -104,6 +104,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From f7a04b14a660f4a7a3ff282e2b25525d3ae98cec Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:33:51 +0100 Subject: [PATCH 02/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf index 6b1e5b250..73fc24927 100644 --- a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf @@ -104,6 +104,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From a2cb11ae2d09f2d2ceb88d9467416d46f22e9aa5 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:34:07 +0100 Subject: [PATCH 03/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf index 03b7f922e..252e75642 100644 --- a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf @@ -104,6 +104,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From d734d318b51482613b2298a0dc23e2f60b03501d Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:34:22 +0100 Subject: [PATCH 04/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf index bf2b35687..b03fe49bd 100644 --- a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf @@ -104,6 +104,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From 514a166e9d6bddfe5d10b24ddff3405ad0d729e0 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:34:38 +0100 Subject: [PATCH 05/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf index 21b07b8c9..cdefbbfdc 100644 --- a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf @@ -116,6 +116,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From 669e82ea4f79ac09e76e95fea0925d138ded06b5 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:34:56 +0100 Subject: [PATCH 06/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf index 8f8edd63d..7c812f542 100644 --- a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf @@ -117,6 +117,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From cbd434b39a9cf44b2bcca6a1e8ab80cda10eb718 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:35:10 +0100 Subject: [PATCH 07/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf index 8004a65b2..79e92f2b5 100644 --- a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf @@ -84,5 +84,5 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; From cb530d6aa19295c21b336816308df85c9ecd98ef Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:35:25 +0100 Subject: [PATCH 08/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf index 03b7f922e..252e75642 100644 --- a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf @@ -104,6 +104,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From 23eea6080703dbc96c754a065e3c15205fbeee4c Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:35:39 +0100 Subject: [PATCH 09/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_18.Sara/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_18.Sara/init.sqf b/Server Files/MPMissions/DayZ_Epoch_18.Sara/init.sqf index c83bd15cf..c6b2c7acc 100644 --- a/Server Files/MPMissions/DayZ_Epoch_18.Sara/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_18.Sara/init.sqf @@ -75,5 +75,5 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; From fb4a26392ed23f13ea78df8436ea888869fa01c2 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:35:52 +0100 Subject: [PATCH 10/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf index 395a16b7c..a8607ab9c 100644 --- a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf @@ -104,6 +104,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From 6ed95cfecf4dcfc05374bfb5555d73450fff913f Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:36:06 +0100 Subject: [PATCH 11/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf index f8332d836..acc4a9fe9 100644 --- a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf @@ -104,6 +104,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From dc136afb33bed854337990e39b37606fd606cbef Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:36:19 +0100 Subject: [PATCH 12/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf index 7f33f5953..070864492 100644 --- a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf @@ -104,6 +104,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From 7a43bfbbb16c8548f75037d33c5de12df021443e Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:36:32 +0100 Subject: [PATCH 13/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf index 6691ff627..9b2e5a9aa 100644 --- a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf @@ -104,6 +104,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From cc96b1d2b8eeb50a8f3f98e856de40c6dfd2ec78 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:36:45 +0100 Subject: [PATCH 14/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_6.Dingor/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_6.Dingor/init.sqf b/Server Files/MPMissions/DayZ_Epoch_6.Dingor/init.sqf index d576fac8a..5dd388acc 100644 --- a/Server Files/MPMissions/DayZ_Epoch_6.Dingor/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_6.Dingor/init.sqf @@ -105,6 +105,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From 168f1f3a17aae0a38771f8ecc442c1215ec9b6fd Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:36:57 +0100 Subject: [PATCH 15/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf index 597b6f3f6..1f9c76d12 100644 --- a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf @@ -105,6 +105,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From 94901b086261ca4b40149fc6ab6489eb4bf15fdf Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:37:11 +0100 Subject: [PATCH 16/23] Update init.sqf --- .../MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf index 75f419270..7f0033f52 100644 --- a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf @@ -104,6 +104,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From 4df434c84c1febfa27e4c9623115760e0d1f791b Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:37:23 +0100 Subject: [PATCH 17/23] Update init.sqf --- Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf index ab7913108..5d0f2c9de 100644 --- a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf @@ -104,6 +104,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; #include "\z\addons\dayz_code\system\REsec.sqf" From 785a43a6023bb2861fddabd250fe86b4fca8ff2a Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:37:36 +0100 Subject: [PATCH 18/23] Update init.sqf --- Server Files/MPMissions/TEMPLATE/init.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server Files/MPMissions/TEMPLATE/init.sqf b/Server Files/MPMissions/TEMPLATE/init.sqf index 6597dd4ee..e7b46a727 100644 --- a/Server Files/MPMissions/TEMPLATE/init.sqf +++ b/Server Files/MPMissions/TEMPLATE/init.sqf @@ -75,6 +75,6 @@ if (!isDedicated) then { _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights - [17,6,true,false,true,true,64,250,600,10,[0.698, 0.556, 0.419],"Generator_DZ",250,"",6] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + [17,6,true,false,true,true,72,180,600,10,[0.698, 0.556, 0.419],"Generator_DZ",280,"",0.5] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; From 86763b9a3a140509725eb783eafc0cc8f3b30449 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:38:28 +0100 Subject: [PATCH 19/23] Update CfgNonAIVehicles.hpp Lowered brightness of steetlights slightly --- SQF/dayz_code/Configs/CfgNonAIVehicles.hpp | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgNonAIVehicles.hpp b/SQF/dayz_code/Configs/CfgNonAIVehicles.hpp index ad88f3cfa..bf03464bd 100644 --- a/SQF/dayz_code/Configs/CfgNonAIVehicles.hpp +++ b/SQF/dayz_code/Configs/CfgNonAIVehicles.hpp @@ -1,7 +1,7 @@ class CfgNonAIVehicles { class StreetLamp { animated = 0; - brightness = 0.5; + brightness = 0.3; colorambient[] = {0.02, 0.02, 0.02}; colordiffuse[] = {0.27, 0.25, 0.15}; destrtype = "DestructTree"; @@ -26,7 +26,7 @@ class CfgNonAIVehicles { hitpoint = "lampa"; selection = ""; size = 0.5; - brightness = 0.5; + brightness = 0.3; }; }; armorLights = 0.4; @@ -34,22 +34,22 @@ class CfgNonAIVehicles { }; class StreetLamp_BaseWeakYellow : StreetLamp { - brightness = 0.5; + brightness = 0.3; scope = 2; }; class StreetLamp_BaseMediumOrange : StreetLamp { - brightness = 0.5; + brightness = 0.3; scope = 2; }; class StreetLamp_BaseMediumPale : StreetLamp { - brightness = 0.5; + brightness = 0.3; scope = 2; }; class StreetLamp_BaseStrongPale : StreetLamp { - brightness = 0.5; + brightness = 0.3; scope = 2; }; @@ -67,7 +67,7 @@ class CfgNonAIVehicles { class Reflectors { class LampLight { ambient[] = {0.27, 0.25, 0.15, 1}; - brightness = 0.5; + brightness = 0.3; color[] = {0.27, 0.25, 0.15, 1}; direction = ""; hitpoint = "lampa"; @@ -92,7 +92,7 @@ class CfgNonAIVehicles { class Reflectors { class LampLight { ambient[] = {0.27, 0.25, 0.15, 1}; - brightness = 0.5; + brightness = 0.3; color[] = {0.27, 0.25, 0.15, 1}; direction = ""; hitpoint = "lampa"; @@ -117,7 +117,7 @@ class CfgNonAIVehicles { class Reflectors { class LampLight { ambient[] = {0.27, 0.25, 0.15, 1}; - brightness = 0.5; + brightness = 0.3; color[] = {0.27, 0.25, 0.15, 1}; direction = ""; hitpoint = "lampa"; @@ -142,7 +142,7 @@ class CfgNonAIVehicles { class Reflectors { class LampLight { ambient[] = {0.27, 0.25, 0.15, 1}; - brightness = 0.5; + brightness = 0.3; color[] = {0.27, 0.25, 0.15, 1}; direction = ""; hitpoint = "lampa"; @@ -167,7 +167,7 @@ class CfgNonAIVehicles { class Reflectors { class LampLight { ambient[] = {0.27, 0.25, 0.15, 1}; - brightness = 0.5; + brightness = 0.3; color[] = {0.27, 0.25, 0.15, 1}; direction = ""; hitpoint = "lampa"; @@ -192,7 +192,7 @@ class CfgNonAIVehicles { class Reflectors { class LampLight { ambient[] = {0.27, 0.25, 0.15, 1}; - brightness = 0.5; + brightness = 0.3; color[] = {0.27, 0.25, 0.15, 1}; direction = ""; hitpoint = "lampa"; @@ -217,7 +217,7 @@ class CfgNonAIVehicles { class Reflectors { class LampLight { ambient[] = {0.27, 0.25, 0.15, 1}; - brightness = 0.5; + brightness = 0.3; color[] = {0.27, 0.25, 0.15, 1}; direction = ""; hitpoint = "lampa"; @@ -242,7 +242,7 @@ class CfgNonAIVehicles { class Reflectors { class LampLight { ambient[] = {0.27, 0.25, 0.15, 1}; - brightness = 0.5; + brightness = 0.3; color[] = {0.27, 0.25, 0.15, 1}; direction = ""; hitpoint = "lampa"; @@ -267,7 +267,7 @@ class CfgNonAIVehicles { class Reflectors { class LampLight { ambient[] = {0.27, 0.25, 0.15, 1}; - brightness = 0.5; + brightness = 0.3; color[] = {0.27, 0.25, 0.15, 1}; direction = ""; hitpoint = "lampa"; @@ -292,7 +292,7 @@ class CfgNonAIVehicles { class Reflectors { class LampLight { ambient[] = {0.27, 0.25, 0.15, 1}; - brightness = 0.5; + brightness = 0.3; color[] = {0.27, 0.25, 0.15, 1}; direction = ""; hitpoint = "lampa"; From 71ea80de12287a4bc63ebc9167bb094ed0c830f3 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:39:01 +0100 Subject: [PATCH 20/23] Update local_lights_init.sqf Bug fixes --- SQF/dayz_code/compile/local_lights_init.sqf | 40 +++++++-------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/SQF/dayz_code/compile/local_lights_init.sqf b/SQF/dayz_code/compile/local_lights_init.sqf index 4583a87f7..ebf31d50d 100644 --- a/SQF/dayz_code/compile/local_lights_init.sqf +++ b/SQF/dayz_code/compile/local_lights_init.sqf @@ -5,7 +5,7 @@ To Do - Light poles - Automatic lighting for bases (with or without generator) - Menu action to switch off house and tower lights Wishlist - Detect weather to make lights fail in thunder :) */ -private ["_sleep","_lpRange","_hsRange","_nrGen","_genCount","_rndLightsIn","_rndLightsOut","_genClass","_i","_doHouse","_doStreet","_doTower","_doLight","_fnHr","_stHr","_plyr","_hndlSLights","_hndlHLights","_hndlTLights","_hndlDelLights","_hndlFailLights","_tmpPlyrPos","_ndGen","_trgRng","_rngPlyr","_arrStreetLights","_wait","_waitcmd","_waitCount","_trigDist","_lightTrig","_lmpCol"]; +private ["_sleep","_lpRange","_hsRange","_nrGen","_genCount","_rndLightsIn","_rndLightsOut","_genClass","_doHouse","_doStreet","_doTower","_doLight","_fnHr","_stHr","_plyr","_hndlSLights","_hndlHLights","_hndlTLights","_hndlDelLights","_hndlFailLights","_ndGen","_trgRng","_rngPlyr","_arrStreetLights","_lightTrig","_lmpCol"]; _stHr = _this select 0;//Hour (in 24 hours) to start lights _fnHr = _this select 1;//Hour (in 24 hours) to stop lights @@ -19,13 +19,11 @@ _ndGen = _this select 5;//Require a Generator ? _rndLightsIn = _this select 6;//Add a chance for lights to come on as a precentage. 100 = always on.. Use this to reduce frequency of lights, uses the opposite value to delete / fail lights.. _trgRng = _this select 7;//Range from trigger (generator or player) to light up objects. _rngPlyr = _this select 8;//Distance from player to search for generators. If Generator not required distance to light objects (generally (: ) -_trigDist = _this select 9;//Distance that player needs to move to trigger the routine. (NOT USED CURRENTLY) +//_trigDist = _this select 9;//Distance that player needs to move to trigger the routine. (NOT USED CURRENTLY) _lmpCol = _this select 10;//Change House Light Colour. Streetlamps now set in config, not editable at runtime. _genClass = _this select 11;//Generator class. Any (client viewable) Object with variable "GeneratorRunning" set to true will suffice. _lpRange = _this select 12;//Range to create lightpoints (from player). And delete beyond (for houses only). _sleep = _this select 14;//Sleep time - Code cycles too quickly to be realistic. Increasing _trgRng and/or _rngPlyr will have a similar effect but will cost in processing time.. -_tmpPlyrPos = [0,0,0]; -_wait = []; _doLight = true; _nrGen = []; _genCount = 0; @@ -44,63 +42,49 @@ do _plyr = vehicle player; - _waitCount = 0; _rndLightsOut = _rndLightsIn; _nrGen = nearestObjects [_plyr, [_genClass], _rngPlyr]; _genCount = count _nrGen; if(_ndGen)then{_lightTrig = _nrGen;}else{_lightTrig = [_plyr];}; - //Logic to decide if lights to be done or not if(_ndGen && _genCount<1)then{_doLight = false;}else{_doLight=true;};//Nearby Generator ? if(!_ndGen)then{_doLight = true;};//Generator not required ! - //Make lights reliable if generator running (for non generator requirement) if(!_ndGen)then{ - if(_genCount>0&&((_nrGen select 0) getVariable["GeneratorRunning",false]))then{ - _rndLightsOut = 100; - _hsRange = _trgRng; - }else{ - _hsRange = _rngPlyr; - }; + _hsRange = _trgRng; + }else{ + _hsRange = _rngPlyr; }; + + if(_genCount>0&&((_nrGen select 0) getVariable["GeneratorRunning",false]))then{ + _rndLightsOut = 92; + }; + + _arrStreetLights = [_trgRng,player,_rndLightsOut] call axe_returnStreetLights; + { if(_ndGen && !(_x getVariable["GeneratorRunning",false]))then{_doLight = false;};//Final check - Not run if nearest gen isn't running - //Get streetlight objects anyway, will turn on streetlights and randomly switch some off. - _arrStreetLights = [_trgRng,_x,_rndLightsOut] call axe_returnStreetLights; - if(_doLight)then{ - _waitcmd=""; - _wait=[]; if(_doTower)then{ _hndlTLights = [_trgRng,_x,_rndLightsOut] spawn axeTowerLights; - _waitCount=_waitCount+1; - [_wait , "scriptDone _hndlTLights"] call BIS_fnc_arrayPush; }; if(_doHouse)then{ _hndlHLights = [_hsRange,_x,_rndLightsOut,_lmpCol,_lpRange] spawn axeHouseLights; - _waitCount=_waitCount+1; - [_wait , "scriptDone _hndlHLights"] call BIS_fnc_arrayPush; }; if(_doStreet)then{ _hndlSLights = [_arrStreetLights,_x,_lmpCol,_rndLightsOut] spawn axeStreetLights; - _waitCount=_waitCount+1; - [_wait , "scriptDone _hndlSLights"] call BIS_fnc_arrayPush; }; - for [{_i=0}, {_i<_waitCount}, {_i=_i+1}]do{_waitcmd=_waitcmd+format["%1",_wait select _i];if(_i<_waitCount-1)then{_waitcmd=_waitcmd+"&&";};}; - call compile format ["waitUntil {%1}",_waitcmd]; }; if(_ndGen && !(_x getVariable["GeneratorRunning",false]))then{ - //hint "Lights Off"; _hndlDelLights = [_rngPlyr,_x,false,_genCount,_lpRange] spawn axeDeleteLights; waitUntil {scriptDone _hndlDelLights}; }; - //Random Light Failure - Unless generator nearby if(_rndLightsOut Date: Sat, 14 Sep 2013 03:39:52 +0100 Subject: [PATCH 21/23] Update fn_lightFunctions.sqf Bug fixes, add flickering for street lights at failure. --- SQF/dayz_code/compile/fn_lightFunctions.sqf | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/fn_lightFunctions.sqf b/SQF/dayz_code/compile/fn_lightFunctions.sqf index b6658c4e4..03581bebe 100644 --- a/SQF/dayz_code/compile/fn_lightFunctions.sqf +++ b/SQF/dayz_code/compile/fn_lightFunctions.sqf @@ -3,7 +3,7 @@ Made for DayZ Epoch please ask permission to use/edit/distrubute email axeman@thefreezer.co.uk. */ axe_returnStreetLights={ -private["_lights","_objName","_rng","_nrstGen","_rndLights"]; +private["_lights","_objName","_rng","_nrstGen","_rndLights","_sleeptime"]; _rng = _this select 0; _nrstGen = _this select 1; _rndLights = _this select 2; @@ -19,7 +19,17 @@ axe_streetLamps=[]; if (_objName in _lights) then { if(_rndLights Date: Sat, 14 Sep 2013 03:40:24 +0100 Subject: [PATCH 22/23] Update local_lights_house.sqf --- SQF/dayz_code/compile/local_lights_house.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/local_lights_house.sqf b/SQF/dayz_code/compile/local_lights_house.sqf index 16845b859..7c4186454 100644 --- a/SQF/dayz_code/compile/local_lights_house.sqf +++ b/SQF/dayz_code/compile/local_lights_house.sqf @@ -25,12 +25,12 @@ if(!isNil "_objHouse")then{ _objLightPoint = nearestObject [_x, "#lightpoint"]; if((abs ([_pos, _objLightPoint] call BIS_fnc_distance2D))>1)then{ - if(player distance _x < _lpDist)then{ + if((player distance _x) < _lpDist)then{ [_lmpCol,0.01,_lmpCol,[_pos select 0,_pos select 1,-3],_dir,[0,0,-1]] call axe_newLightPoint; _x setVariable ["axeHLight", 1, false]; }; }else{ - if(player distance _x < _lpDist)then{ + if((player distance _x) < _lpDist)then{ [_lmpCol,0.01,_lmpCol,_objLightPoint] call axe_lightPoint; _x setVariable ["axeHLight", 1, false]; }else{ From b5f3bfe5ac339e2e439f93649de0f81a8b254147 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 14 Sep 2013 03:41:36 +0100 Subject: [PATCH 23/23] Update local_lights_off.sqf Delete lights started to delete street lights - fixed. --- SQF/dayz_code/compile/local_lights_off.sqf | 28 ++++++++++++++++------ 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/SQF/dayz_code/compile/local_lights_off.sqf b/SQF/dayz_code/compile/local_lights_off.sqf index fd80c409a..465e17dd7 100644 --- a/SQF/dayz_code/compile/local_lights_off.sqf +++ b/SQF/dayz_code/compile/local_lights_off.sqf @@ -2,11 +2,10 @@ DayZ Epoch Lighting System - Fail / Switch Off Lights Made for DayZ Epoch please ask permission to use/edit/distrubute email axeman@thefreezer.co.uk. */ -private ["_hsRange","_rng","_pos","_hsCount","_nrstTrig","_objHouses","_objHouse","_nrLights","_nrTowers","_doRand","_rnd","_animlightpoint","_hasLight","_sleeptime","_lightstate","_cntNrGen"]; +private ["_hsRange","_rng","_pos","_hsCount","_nrstTrig","_objHouses","_objHouse","_nrTowers","_doRand","_rnd","_animlightpoint","_hasLight","_sleeptime","_lightstate","_objLightPoint"]; _rng = _this select 0;//Full distance to turn off all lights if required _nrstTrig = _this select 1; _doRand = _this select 2;//Random if gen not required otherwise just switch thenm off,, -_cntNrGen = _this select 3; _hsRange = _this select 4;//House range for randomly failing nearby (within lp distance)houses) _hasLight = false; @@ -26,6 +25,7 @@ _objHouses = nearestObjects [_nrstTrig, ["House"], _hsRange]; if(_s%2==0)then{ if(_hasLight)then{_animlightpoint setLightBrightness 0;}; _objHouse animate ["Lights_1",0]; + _objHouse animate ["Lights_2",0]; }else{ if(_hasLight)then{_animlightpoint setLightBrightness 0.01;}; _objHouse animate ["Lights_1",1]; @@ -40,14 +40,20 @@ _objHouses = nearestObjects [_nrstTrig, ["House"], _hsRange]; }; }; }else{//Switch them all off -_nrLights = position _nrstTrig nearObjects ["#lightpoint",_rng]; + +_objHouses = nearestObjects [_nrstTrig, ["House"], _rng]; _nrTowers = nearestObjects [_nrstTrig, ["Land_Ind_IlluminantTower"], _rng]; - if(count _nrLights >0)then{ + + if(count _objHouses >0)then{ { - deleteVehicle _x; - }forEach _nrLights; + _pos = getPos _x; + _objLightPoint = nearestObject [_x, "#lightpoint"]; + if((abs ([_pos, _objLightPoint] call BIS_fnc_distance2D))<1.5)then{ + deleteVehicle _objLightPoint; + }; + }forEach _objHouses; }; - _objHouses = nearestObjects [_nrstTrig, ["House"], _rng]; + if(count _objHouses >0)then{ { _x animate ["Lights_1",0]; @@ -58,6 +64,14 @@ _nrTowers = nearestObjects [_nrstTrig, ["Land_Ind_IlluminantTower"], _rng]; if(count _nrTowers >0)then{ { + _pos = getPos _x; + for "_s" from 1 to 4 do { + _objLightPoint = nearestObject [_x, "#lightpoint"]; + if((abs ([_pos, _objLightPoint] call BIS_fnc_distance2D))<25)then{ + deleteVehicle _objLightPoint; + }; + }; + _x setVariable ["axeTLight", 0, false]; }forEach _nrTowers; };