View Single Post
Re: PlayerRunCommand
Old
  (#10)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: PlayerRunCommand - 15-12-2004

interesting piece of code:

Code:
// This function is called once per tick to create the player CUserCmd (used for prediction/physics simulation of the player)
 // Because the mouse can be sampled at greater than the tick interval, there is a separate input_sample_frametime, which
 //  specifies how much additional mouse / keyboard simulation to perform.
 virtual void   CreateMove ( 
		int sequence_number,   // sequence_number of this cmd
		float input_sample_frametime, // Frametime for mouse input sampling
		bool active ) = 0;
found in cdll_int.h


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote