ORG

quake.net.pl » Polskie Centrum Quake od 1998 roku



Wersja: Jasna / Ciemna

pmove_msec

qw3rterro

Od: 2002-10-19

Ranga: Newbie

Dodano dnia: 2005-06-24 11:25:36

prosilbym o glebsze wyjasnienie mi znaczenia komendy pmove_msec oraz co powoduje ustawienie jej wartosci na 0. z gory dziekuje :)

na dwoje babka wróżyła

szaky

Od: 2002-10-05

Ranga: Quad Damager

Dodano dnia: 2005-06-24 16:54:58

>
> Since Quake 3, the function that’s responsible for game physics (amongst other things) is named Pmove(). Normally, this function is run once every client frame, and this is where framerate-dependant physics (most notably jump heights) come from. pmove_fixed is an attempt to level the playing field by running this function at a fixed rate (every pmove_msec milliseconds.) The default pmove_msec of 8 is equivalent to normal physics at 1000 / 8 = 125 frames/second.
>
>
>
>
>
>
> * pmove_fixed can be set on either the client or the server--the client will default to the value on the server (And, on non-ETPro servers, it will be reset to the value of the server quite frequently due to some silliness in the code.) pmove_msec can only be set on the server side.
>

(c) commander keen

>
> pmove_msec 8 - set the time in milliseconds between two advances of the player physics. should do what you want for prediction and should even out the machine dependent rates
>

W dfie spore znaczenie ma to glownie przy liczeniu czasu... Roznice co 0.008... 8msec.