Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
G2O Weather/Time control functions
#1
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)
Reply


Messages In This Thread
Weather/Time control functions - by Patrix - 20.03.2017, 19:14

Possibly Related Threads…
Thread Author Replies Views Last Post
  G2O Missing functions to add Mattwell 6 11,652 03.02.2018, 00:53
Last Post: Marko
  Time stamp in game and the server console Silvio 0 2,550 10.10.2015, 09:52
Last Post: Silvio

Forum Jump:


Users browsing this thread: 1 Guest(s)