Warcraft II Forum
Warcraft II => Server.War2.ru => Topic started by: Poopapaapa on October 15, 2017, 04:44:30 PM
-
.
-
follow the game with a timer? i don't get it
-
I think he just wants a timer on screen that shows how long the game has been going on.
-
A very simple, low cost, low effort solution would be to get a stopwatch or timer from somewhere else and set it up beside your computer.
-
Pragmatism... is that all you have to offer??
-
Well I sure don't want an in-game timer on *my* screen.
I have enough trouble concentrating and finding my units as it is.
-
The trick here is to display game time as against real time. Having a timer start when the game starts and display hour:min:sec is no big deal, but game time is something else entirely.
Game time is different on different game speeds, and the real spanner in the works is lag, which can mess with the game time/real time equation in many different ways. To display game time correctly you would need to either access an internal game timer or hook a couner into one of the main loops in the game engine.
-
until this is resolved, you can simply use maphack to learn about timings