Gothic Online Forums
G2O Weather/Time control functions - Printable Version

+- Gothic Online Forums (https://archive.gothic-online.com)
+-- Forum: Main (English) (https://archive.gothic-online.com/forum-3.html)
+--- Forum: Ideas (https://archive.gothic-online.com/forum-5.html)
+--- Thread: G2O Weather/Time control functions (/thread-2030.html)



Weather/Time control functions - Patrix - 20.03.2017

Hi everyone. I've recently got an idea what you can add in G2O. Here are some functions examples with short descriptions:

Java
  1. void setMinuteDuration(int time_in_miliseconds) // this function change minute duration in game. Default minute duration is about 4 seconds.
  2.  
  3. void setWeatherConditions(int id) // this function sets weather conditions. Default is raining, we can change it to snowing or completly disable weather conditions.
  4.  
  5. void setWeatherBeginTime(int hour,int minute) // this function sets time when it start rains/snows.
  6.  
  7. void setWeatherEndTime(int hour, int minute) // this function sets time when the rain/snow ends.



Of course these are only examples. I don't know if return functions also could be useful in some way. What do you think guys?
If any of these functions can be implement?

(btw sorry for my english, i'm still learning this language Wink)


RE: Weather/Time control functions - Bimbol - 20.03.2017

In dev version is function called setDayLength, wich is almost equal to setMinuteDuration. Weather is in plans, but for now I don't know how to change it. I just know that Gothic have some predefined peroids where weather is changing.


RE: Weather/Time control functions - Patrix - 20.03.2017

Bimbol Wrote:In dev version is function called setDayLength, wich is almost equal to setMinuteDuration. Weather is in plans, but for now I don't know how to change it. I just know that Gothic have some predefined peroids where weather is changing.

Thanks for reply, anyway, this can be very interesting feature if you learn how to set wheather periods and change weather.


RE: Weather/Time control functions - Osmith - 21.03.2017

(20.03.2017, 21:28)Bimbol Wrote: In dev version is function called setDayLength, wich is almost equal to setMinuteDuration. Weather is in plans, but for now I don't know how to change it. I just know that Gothic have some predefined peroids where weather is changing.

Maybe this will help:

In single game

B MELLVILE B - starting rain
B TICKTOCK B - starting rain with thunderstorm

B SOUTHPARK B - the acceleration of the game
B CLERKS B - slow motion (maybe there would be some function to enable/disable this)


RE: Weather/Time control functions - Bimbol - 21.03.2017

Tkanks, I will take a look at this Smile


RE: Weather/Time control functions - Patrix - 22.03.2017

Also useful could be these commands in single-player console (F2):
zStartRain
zStartSnow


RE: Weather/Time control functions - Osmith - 22.03.2017

(22.03.2017, 11:41)Patrix Wrote: Also useful could be these commands in single-player console (F2):
zStartRain
zStartSnow

rly? Need to check