Opened 13 years ago
Last modified 11 years ago
#785 closed defect
Implement variable game speed — at Version 7
Reported by: | Wolter Hellmund | Owned by: | Joe |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 14 |
Component: | Core engine | Keywords: | patch |
Cc: | adrian_adam_@… | Patch: |
Description (last modified by )
Compared to many other RTS games, the units in 0 a.d. have a very slow movement speed. Some users may like this, others naturally won't. To satisfy all, I think there should be a speed multiplier, so that people can play at their preferred rhythm.
Change History (7)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Keywords: | simple added |
---|---|
Priority: | Should Have → Nice to Have |
comment:3 by , 13 years ago
Oh this is great, if the function is already implemented in the game engine, then the job is more than half-way done. Great to know this!
follow-up: 6 comment:4 by , 13 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
Currently have this largely implemented, still need to test it some more though.
It won't work with multiplayer games as of yet. The default options I've added are "Slow" which runs at half of the normal game speed, "Normal" which.. runs at normal speed, and "Fast" which runs at 1.5x the normal game speed, depending on how noticeable it is I might change the values some more.
comment:5 by , 13 years ago
It also should have a "pause" option which can still set orders to units.
comment:6 by , 12 years ago
Replying to Joe:
Currently have this largely implemented, still need to test it some more though.
It won't work with multiplayer games as of yet. The default options I've added are "Slow" which runs at half of the normal game speed, "Normal" which.. runs at normal speed, and "Fast" which runs at 1.5x the normal game speed, depending on how noticeable it is I might change the values some more.
Hello, any progress on this? :)
comment:7 by , 12 years ago
Description: | modified (diff) |
---|
A comment about multiplayer, we need to make sure players are working at the same speed. I like the way that the Total War series implements this by making the game run as fast as the slowest chosen speed, so if Alice sets 2x speed and Bob sets 1.5x speed the game runs at 1.5x speed. A similar system could be used to slow the game down with preference always being given to the speed closest to standard speed.
You can set simulation speed now, although there's no obvious control for it. (If you want to test, open the script console using the ` key, and type in
Engine.SetSimRate(1.0)
, only replace 1.0 with the rate multiplier you want. We could probably add a game speed control to the GUI with a few options like "slow", "normal" and "high".