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 Jonathan Waller)

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 historic_bruno, 13 years ago

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".

comment:2 by historic_bruno, 13 years ago

Keywords: simple added
Priority: Should HaveNice to Have

comment:3 by Wolter Hellmund, 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!

comment:4 by Joe, 13 years ago

Owner: set to Joe
Status: newassigned

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 fabio, 13 years ago

It also should have a "pause" option which can still set orders to units.

in reply to:  4 comment:6 by historic_bruno, 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 Jonathan Waller, 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.

Note: See TracTickets for help on using tickets.