Difference between revisions of "Ticdup"

From DoomWiki.org

[unchecked revision][checked revision]
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
'''Ticdup''' ([[tic]] duplication) is a feature of the [[Doom networking engine]] which allows the bandwidth used by the game to be reduced.  
 
'''Ticdup''' ([[tic]] duplication) is a feature of the [[Doom networking engine]] which allows the bandwidth used by the game to be reduced.  
  
In a normal Doom game, the game clock (see [[tic]]) runs at 35 frames per second.  In a network game, this means that the players' inputs are sampled 35 times per second.  These are placed in structures (called ''ticcmd''s), and transmitted to the other computers in the game.   
+
In a normal [[Doom]] game, the game clock (see [[tic]]) runs at 35 frames per second.  In a network game, this means that the players' inputs are sampled 35 times per second.  These are placed in structures (called ''ticcmd''s), and transmitted to the other computers in the game.   
  
If the ticdup option is used, the sampling occurs at a reduced rate.  For example, if a ticdup of 2 is used, the sample rate is reduced to 17.5 times per second (half the rate).  As a result, the amount of data transmitted per second is reduced by half.  The computers in the game then "double up" the received ticcmd structures: ie. the same ticcmd is used for consecutive tics.
+
If the ticdup option is used, the sampling occurs at a reduced rate.  For example, if a ticdup of 2 is used, the sample rate is reduced to 17.5 times per second (half the rate).  As a result, the amount of data transmitted per second is reduced by half.  The computers in the game then "double up" the received ticcmd structures: i.e. the same ticcmd is used for consecutive tics.
  
 
The drawback to this system is the reduced movement accuracy.  The reduced sampling rate means that the player has less precise control over their movement.  The graphical framerate is also reduced.
 
The drawback to this system is the reduced movement accuracy.  The reduced sampling rate means that the player has less precise control over their movement.  The graphical framerate is also reduced.
  
 
[[Category:Technical aspects]]
 
[[Category:Technical aspects]]
 +
[[Category:Multiplayer]]

Latest revision as of 16:00, 8 January 2006

Ticdup (tic duplication) is a feature of the Doom networking engine which allows the bandwidth used by the game to be reduced.

In a normal Doom game, the game clock (see tic) runs at 35 frames per second. In a network game, this means that the players' inputs are sampled 35 times per second. These are placed in structures (called ticcmds), and transmitted to the other computers in the game.

If the ticdup option is used, the sampling occurs at a reduced rate. For example, if a ticdup of 2 is used, the sample rate is reduced to 17.5 times per second (half the rate). As a result, the amount of data transmitted per second is reduced by half. The computers in the game then "double up" the received ticcmd structures: i.e. the same ticcmd is used for consecutive tics.

The drawback to this system is the reduced movement accuracy. The reduced sampling rate means that the player has less precise control over their movement. The graphical framerate is also reduced.