Quote:
Originally Posted by vortex.
You can make like this;
1- Hook map end event.
2- Check time.
3- Get map for time.
4- Finally, open map.
If the idea is ok for u, I can make this for u
|
We need to consider that the next map is chosen at half time.
So the plugin would have to:
- Check time
- If time of the day has indeed changed, then check map
- If map has a day/night version, set accordingly.
For example:
- It's day time in real life. (at the server time zone)
- Current map dust2.
- Half time, vote starts, de_inferno is chosen.
- Map end, plugin checks time.
- It's now night time (for example, 6 PM)
- Plugin should change from "sm_nextmap de_inferno" to "sm_nextmap de_inferno_night"
.. And so on.
How does that sound?
ez or too confused as a logic?
In the future, seasons could be added (spring/summer/fall/winter) allowing for an awesome mapcycle throughout the year for the server :Q______
EDIT: I read your post again and yeah, that seems the right approach to be honest. I just added some ideas in this post
Would your plugin be standalone? I mean do u plan to release a plugin just for this? It would be nice.
__________________