tomasz73 Posted August 3, 2015 Report Share Posted August 3, 2015 Hello . I have a question where exactly I turn off the rain. Link to comment Share on other sites More sharing options...
Brian Soanes Posted August 3, 2015 Report Share Posted August 3, 2015 If you want static weather, change in epochconfig.hpp WeatherStaticForecast[] = {}; to WeatherStaticForecast[] = {75.5,0,{0,0,0},0.4,{1,1}}; and comment out //{ 1800, "ChangeWeather" }, Alternatively, if you want to retain dynamic changing weather, but want to turn off rain Crack open the a3_epoch_server pbo and add this line in \compile\epoch_server\EPOCH_server_setWeather.sqf at around line 33 if (_rain > 0)then{_rain = 0;}; Then repack the pbo. Link to comment Share on other sites More sharing options...
tomasz73 Posted August 3, 2015 Author Report Share Posted August 3, 2015 Thanks for the quick response check it out Link to comment Share on other sites More sharing options...
vbawol Posted August 3, 2015 Report Share Posted August 3, 2015 The function in the server pbo is not used anymore as the code was moved to a Epoch Event as mentioned on the changelog: [Added] Weather code migrated into an Epoch Event and code moved to settings pbo. ChangeWeather.sqfhttps://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_server_settings/EpochEvents/ChangeWeather.sqf Panduhh 1 Link to comment Share on other sites More sharing options...
Brian Soanes Posted August 3, 2015 Report Share Posted August 3, 2015 The function in the server pbo is not used anymore as the code was moved to a Epoch Event as mentioned on the changelog: [Added] Weather code migrated into an Epoch Event and code moved to settings pbo. ChangeWeather.sqfhttps://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_server_settings/EpochEvents/ChangeWeather.sqf I added that line of code to the weather event/settings and it didn't work, added line to server pbo and it worked. Link to comment Share on other sites More sharing options...
vbawol Posted August 3, 2015 Report Share Posted August 3, 2015 Check that you updated your epochconfig.h and are not running an old server fsm. Brian Soanes 1 Link to comment Share on other sites More sharing options...
Brian Soanes Posted August 3, 2015 Report Share Posted August 3, 2015 Check that you updated your epochconfig.h and are not running an old server fsm. All updated, I have a 2nd fsm, it could be that, i'll report back. Link to comment Share on other sites More sharing options...
tomasz73 Posted August 3, 2015 Author Report Share Posted August 3, 2015 I changed the epoch config.hpp WeatherStaticForecast[] = {}; // Default: {75.5,0,{0,0,0},0,{1,1}}; // Clear day; {19,1,{1,1,40},1,{5,5}}; // Cold Foggy Rainy Overcast Windy; Format: {temp <scalar>,rain <scalar>,fog <array>,overcast <scalar>,wind <array>} events[] = { { 3600, "CarnivalSpawner" }, // SECOND <scalar>, EVENT <string> { 2400, "EarthQuake" }, { 1800, "ChangeWeather" }, { 1200, "ContainerSpawner" }, { 300, "PlantSpawner" } //No comma on last Entry on WeatherStaticForecast[] = {75.5,0,{0,0,0},0,{1,1}}; // Default: {75.5,0,{0,0,0},0,{1,1}}; // Clear day; {19,1,{1,1,40},1,{5,5}}; // Cold Foggy Rainy Overcast Windy; Format: {temp <scalar>,rain <scalar>,fog <array>,overcast <scalar>,wind <array>} events[] = { { 3600, "CarnivalSpawner" }, // SECOND <scalar>, EVENT <string> { 2400, "EarthQuake" }, { 1800, "ChangeWeather" }, { 1200, "ContainerSpawner" }, { 300, "PlantSpawner" } //No comma on last Entry but I do not really know what to change in ChangeWeather.sqf to turn off the rain Link to comment Share on other sites More sharing options...
Brian Soanes Posted August 3, 2015 Report Share Posted August 3, 2015 If you change that to WeatherStaticForecast[] = {75.5,0,{0,0,0},0.4,{1,1}}; You will have some clouds instead of clear blue sky (unrealistic) Link to comment Share on other sites More sharing options...
tomasz73 Posted August 3, 2015 Author Report Share Posted August 3, 2015 I have a clear sky, the sun at the moment there is no rain Edit - Hour sit on a server and there is no rain. I think it's fine. I changed only WeatherStaticForecast[] = {75.5,0,{0,0,0},0,{1,1}}; // Default: {75.5,0,{0,0,0},0,{1,1}}; // Clear day; {19,1,{1,1,40},1,{5,5}}; // Cold Foggy Rainy Overcast Windy; Format: {temp <scalar>,rain <scalar>,fog <array>,overcast <scalar>,wind <array>} Link to comment Share on other sites More sharing options...
He-Man Posted August 3, 2015 Report Share Posted August 3, 2015 I have also problems to set static weather since 0.3.1.0. In epochconfig.hpp: WeatherStaticForecast[] = {75.5,0,{0,0,0},0,{1,1}}; ChangeWeather.sqf is added to "a3_epoch_server_settings\EpochEvents" "Check that you updated your epochconfig.h and are not running an old server fsm." Where can I find epochconfig.h? What means "server fsm"? Link to comment Share on other sites More sharing options...
He-Man Posted August 3, 2015 Report Share Posted August 3, 2015 Complete fresh server and same problem stays Link to comment Share on other sites More sharing options...
Panduhh Posted August 3, 2015 Report Share Posted August 3, 2015 I have also problems to set static weather since 0.3.1.0. In epochconfig.hpp: WeatherStaticForecast[] = {75.5,0,{0,0,0},0,{1,1}}; ChangeWeather.sqf is added to "a3_epoch_server_settings\EpochEvents" "Check that you updated your epochconfig.h and are not running an old server fsm." Where can I find epochconfig.h? What means "server fsm"? Make sure you are running the latest @EpochHive\addons\a3_epoch_server.pbo or at least are using it to apply your customizatons. Inside the PBO file the referenced file should be \system\server_monitor.fsm Check the file dates. Link to comment Share on other sites More sharing options...
Kronky Posted August 4, 2015 Report Share Posted August 4, 2015 What is the server fsm ??? Link to comment Share on other sites More sharing options...
Brian Soanes Posted August 4, 2015 Report Share Posted August 4, 2015 What is the server fsm ??? https://community.bistudio.com/wiki/FSM Link to comment Share on other sites More sharing options...
He-Man Posted August 4, 2015 Report Share Posted August 4, 2015 Make sure you are running the latest @EpochHive\addons\a3_epoch_server.pbo or at least are using it to apply your customizatons. Inside the PBO file the referenced file should be \system\server_monitor.fsm Check the file dates. a3_epoch_server.pbo -> 2015-07-29 11:59 Checked without Infistar (can change the weather) -> problem stays. Removed "enableEnvironment true;" from onPlayerRespawn.sqf -> problem stays Why do I have to customize the a3_epoch_server.pbo? I think, when all files are actual, I only have to change: "WeatherStaticForecast[] = {75.5,0,{0,0,0},0,{1,1}}; Link to comment Share on other sites More sharing options...
ReDBaroN Posted August 4, 2015 Report Share Posted August 4, 2015 WeatherStaticForecast[] = {75.5,0,{0,0,0},0.4,{1,1}}; // Default: {75.5,0,{0,0,0},0,{1,1}}; // Clear day; {19,1,{1,1,40},1,{5,5}}; // Cold Foggy Rainy Overcast Windy; Format: {temp <scalar>,rain <scalar>,fog <array>,overcast <scalar>,wind <array>} events[] = { { 3600, "CarnivalSpawner" }, // SECOND <scalar>, EVENT <string> { 2400, "EarthQuake" }, // { 1800, "ChangeWeather" }, { 1200, "ContainerSpawner" }, { 300, "PlantSpawner" } //No comma on last Entry }; I have mine set as above and still get rain....anyone worked out how to kill off the rain on Altis? Just rains too much on this map... Link to comment Share on other sites More sharing options...
flow0815 Posted August 4, 2015 Report Share Posted August 4, 2015 I think it is just bugged. I live with the weather change and my players like it also. So we have to wait for the devs i guess... Link to comment Share on other sites More sharing options...
He-Man Posted August 5, 2015 Report Share Posted August 5, 2015 Now I have set up all again. Now no more rain and normal nighttime... The only think is, that I have sometimes fog. But this is ok for me. But I unfortunately don't know, what the Problem was. My Changes: - Removed "enableEnvironment true;" from onPlayerRespawn.sqf - reinstalled all epoch files - WeatherStaticForecast[] = {75.5,0,{0,0,0},0.4,{1,1}}; - // { 1800, "ChangeWeather" }, Link to comment Share on other sites More sharing options...
tomasz73 Posted August 5, 2015 Author Report Share Posted August 5, 2015 Per very glad because the rain still falling :wacko: Link to comment Share on other sites More sharing options...
He-Man Posted August 14, 2015 Report Share Posted August 14, 2015 Found this: In epochconfig.hpp: WeatherStaticForecast[] = {75.5,0,{0,0,0},0,{1,1}}; In ChangeWeather.sqf: if !(EPOCH_WeatherStaticForecast isEqualTo []) then {... Is it right, that the variables have not the same name??? Do I simply have to rename the variable in ChangeWeather.sqf to "EPOCH_WeatherStaticForecast" Okay, tested and do not work. Link to comment Share on other sites More sharing options...
dnk_paul Posted August 27, 2015 Report Share Posted August 27, 2015 Our server is currently set to:WeatherStaticForecast[] = {75.5,0,{0,0,0},0.4,{1,1}};And it's apparently been raining all day! We're running 0.3.2.0 Link to comment Share on other sites More sharing options...
blue00 Posted September 7, 2015 Report Share Posted September 7, 2015 (edited) I'm also having this problem, I changing the WeatherStaticForecast to...WeatherStaticForecast[] = {75.5,0,{0,0,0},0.4,{1,1}};And it's fine for a few mins on restart, but then weather change still triggers and it starts pouring again. I tried commenting out the WeatherChangeTime, and\or adding...if (_rain > 0) then { _rain = 0; };...to ChangeWeather.sqf, (also tried in the EPOCH_server_setWeather.sqf) but none of this works for me. Weather continues to be not static. Any help would be greatly appreciated. Edited September 8, 2015 by blue00 Link to comment Share on other sites More sharing options...
phm Posted September 9, 2015 Report Share Posted September 9, 2015 A Greek island in the Mediterranean wouldn't get as much rain as Altis gets in Epoch. Assuming the rain can be "fixed", wouldn't it make sense to use existing weather statistics for Lemnos?The probability that precipitation will be observed at this location varies throughout the year. Precipitation is most likely around January 6, occurring in 38% of days. Precipitation is least likely around August 1, occurring in 6% of days. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now