BetterDeadThanZed Posted February 15, 2014 Report Share Posted February 15, 2014 On my Chernarus server, by 5am server time, the sun is up. Starting at 4am, it begins to rise. If you look at DayzCommander, once the time hits 5am, it turns the time yellow to indicate daylight. On Napf, at 5am, it's still dark and by 6am the sun is up. According to my watch in-game, the time is correct. Is there a reason the sun comes up later on Napf? Link to comment Share on other sites More sharing options...
Flattermann Posted February 15, 2014 Report Share Posted February 15, 2014 maybe it's just another month? Link to comment Share on other sites More sharing options...
Revoplay Posted February 15, 2014 Report Share Posted February 15, 2014 It depent on the Date Settings of the Server. The Problem is, that in the Epoch and DayZ Code are everywhere definitions of the Date. As far as i know in the Script for the Full Moon Nights Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 16, 2014 Author Report Share Posted February 16, 2014 It doesn't make sense that the sunrise/sunset times would be different on my two servers. There's got to be someplace for me to define the date? Link to comment Share on other sites More sharing options...
TheVampire Posted February 16, 2014 Report Share Posted February 16, 2014 It doesn't make sense that the sunrise/sunset times would be different on my two servers. There's got to be someplace for me to define the date? Arma may seem like a pretty dumb engine, but it actually takes into count position on the globe. Chernarus is fictionally located around Russia. Napf is based off the mountain "Napf" located along the Swiss border. The longitude and latitude is defined in the CfgWorlds.hpp of the map. I believe this is why the sun rises at different times, as russia is farther east than Napf. The time zones are different geographicly, even if they are on the same time. Kerbo 1 Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted May 22, 2014 Author Report Share Posted May 22, 2014 Arma may seem like a pretty dumb engine, but it actually takes into count position on the globe. Chernarus is fictionally located around Russia. Napf is based off the mountain "Napf" located along the Swiss border. The longitude and latitude is defined in the CfgWorlds.hpp of the map. I believe this is why the sun rises at different times, as russia is farther east than Napf. The time zones are different geographicly, even if they are on the same time. If I wanted to change this, how would I do it? Put the CfgWorlds.hpp in a custom folder in my mission file and call it from description.ext? I can't seem to find the CfgWorlds.hpp. Link to comment Share on other sites More sharing options...
Defent Posted May 22, 2014 Report Share Posted May 22, 2014 Isnt that the same longitude and latitude that is mentioned in basic.cfg? For example: serverLongitude=9; serverLatitude=51; serverLongitudeAuto=9; serverLatitudeAuto=51; Link to comment Share on other sites More sharing options...
Bambit Posted May 22, 2014 Report Share Posted May 22, 2014 CfgWorlds.hpp isn't included in the server files, You gotta search for it at epoch developers' github I believe. For the server files they have it encrypted in one file along with other Cfg(...).hpp files Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 2, 2014 Author Report Share Posted September 2, 2014 I've decided to look into this again. Does anyone know where I can find the CfgWorlds.hpp? Link to comment Share on other sites More sharing options...
Kerbo Posted September 8, 2014 Report Share Posted September 8, 2014 AFAIK CfgWorlds.hpp is not directly available as it is part of the map build process. You can see where it is pulled in to build config.bin (if you decode that file line 36 is start of Napf class). I don't believe you can override that but am no expert. Link to comment Share on other sites More sharing options...
Flattermann Posted September 8, 2014 Report Share Posted September 8, 2014 The position in the config.bin for Napf is longitude = 47; latitude = -6; You would need to re-binarize the whole island file if you wanted to change that.. If you want the sun to rise earlier, i suggest to change the month in your mission.biedi (I think that's where it is done?) e.g. to June or July. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 9, 2014 Author Report Share Posted September 9, 2014 I wish there could be a variable we set to determine when surise and sunset is. :( 12 hours of day and 12 hours of night is too much. Link to comment Share on other sites More sharing options...
calamity Posted September 10, 2014 Report Share Posted September 10, 2014 I wish there could be a variable we set to determine when surise and sunset is. :( 12 hours of day and 12 hours of night is too much. http://www.montreux.climatemps.com/sunlight.php Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 10, 2014 Author Report Share Posted September 10, 2014 http://www.montreux.climatemps.com/sunlight.php Thanks but that doesn't help me. I have the date set to June 22nd and the server has 12 hours of daytime and 12 hours of night. Link to comment Share on other sites More sharing options...
Flattermann Posted September 10, 2014 Report Share Posted September 10, 2014 what you could do, when you restart your server every 3 hours, is setting the clock after the third and/or fourth/fifth restart of a day to dusk, and then have x restarts with full night and the 7th or 8th restart would be dawn again. I am not a server admin, but i guess it could be handled by several mission.sqm (or .biedi) files with the times set accordingly, and have them run in a cycle. (edited) Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 10, 2014 Author Report Share Posted September 10, 2014 what you could do, when you restart your server every 3 hours, is setting the clock at the third and/or fourth restart of a day to dusk, and then have 3 restarts with full night and the 6th restart would be dawn again. I am not a server admin, but i guess it could be handled by several mission.sqm (or .biedi) files with the times set accordingly, and have them run in a cycle. Yeah I know about setting my server time 3 hours before sunset but that's not what I'm hoping for. I'm hoping for a way to make night shorter without having to speed up time. So far adjusting the latitude/longitude in the basic.cfg hasn't worked and I can't access that file that contains the hardcorded coordinates. I have no way to rotate the configs and make night on specific restarts. Link to comment Share on other sites More sharing options...
=BRS= RedBreath Posted September 26, 2014 Report Share Posted September 26, 2014 love napf 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