Difference between revisions of "GameSpeed"

From TTWiki
Jump to navigationJump to search
m (MoS edits)
(Reformat and update)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''''Allow for the game speed to be changed dynamically using keyboard hotkeys'''''
 
 
 
'''TTDPatch version 2.0.1 alpha 23 or later'''
 
'''TTDPatch version 2.0.1 alpha 23 or later'''
   
Line 17: Line 15:
 
These keys can be changed to your liking using the `ttdptxt' mechanism described in [[MoreHotkeys]] and in [[CustomIngameTexts]]
 
These keys can be changed to your liking using the `ttdptxt' mechanism described in [[MoreHotkeys]] and in [[CustomIngameTexts]]
   
If you have a ttdpttxt.txt file from an older version of TTDPatch, you have to change the "hotkeylistwin" line. Change the characters between the "!" and the "!" to be "qwe", for example change this:
+
If you have a ttdpttxt.txt file from an older version of TTDPatch, you have to change the "hotkeylistwin" line. Change the characters between the "x" and the "!" to be "qwe", for example change this:
   
<pre>-+hotkeylistwin="x   !@#$t%1234567890-=`\\\00"+-</pre>
+
hotkeylistwin="x   !@#$t%1234567890==`\\\00"</pre>
   
 
into this:
 
into this:
   
<pre>-+hotkeylistwin="xqwe!@#$t%1234567890-=`\\\00"+-</pre>
+
hotkeylistwin="xqwe!@#$t%1234567890==`\\\00"</pre>
   
 
After this, run mkpttxt.exe again.
 
After this, run mkpttxt.exe again.
   
 
This feature was contributed by Sander van Schouwenburg.
 
This feature was contributed by Sander van Schouwenburg.
  +
[[Category:Patches]][[Category:Interface Patches]][[Category:TTDPatch]][[Category:TTDPatch Manual]]

Latest revision as of 19:47, 17 June 2011

TTDPatch version 2.0.1 alpha 23 or later

Switch

Configuration file: gamespeed on|off|<speed>

Command line: -Yg

Description

This switch lets you change the speed of the game ingame, ranging from one-eighth of normal speed to as fast as your computer can run the simulation. It uses the MoreHotkeys mechanism to change the speed, so that switch must be enabled as well. Since TTDPatch 2.0.1 alpha 49, it takes an optional parameter <speed> that controls the initial setting, from -3 (slowest) to +3 (fastest).

By default you can use the "Q" key to slow the game down by a factor 2, the "E" key to speed up the game by a factor 2 and the "Q" key to reset the game to normal speed.

These keys can be changed to your liking using the `ttdptxt' mechanism described in MoreHotkeys and in CustomIngameTexts

If you have a ttdpttxt.txt file from an older version of TTDPatch, you have to change the "hotkeylistwin" line. Change the characters between the "x" and the "!" to be "qwe", for example change this:

hotkeylistwin="x   !@#$t%1234567890==`\\\00"

into this:

hotkeylistwin="xqwe!@#$t%1234567890==`\\\00"

After this, run mkpttxt.exe again.

This feature was contributed by Sander van Schouwenburg.