Jump to content

Net Code


[nC]Teaboy

Recommended Posts

[edit]

Does the net code currently interpolate packets of data?

[/edit]

I'm sure this would help the laggyness of cars, etc. when you're a passenger.

Look up the Half-Life engine's ex_interp, this'll give you some ideas :D

[edit]

for people who have no idea what i'm on about...

i.e. - do not receive all frames. For example, if you recieve A x C D x E

where the x's are not received - it will jump from A to C giving a jumpyness, whereas if you guess that if it's between A and C it must be B, you'll get A B C even though you only received A x C.

forgive me if this is badly explained :D

[/edit]

Edited by Guest
Link to comment

I don't think it's the netcode's job to interpolate the data. Other parts of the client deal with that.

Also, "interpolate random guessed packets of data" is a misconception; interpolation of data you got will give you a guess of data that should be inbetween those to make the transitions smoother.

Link to comment
I don't think it's the netcode's job to interpolate the data. Other parts of the client deal with that.

Also, "interpolate random guessed packets of data" is a misconception; interpolation of data you got will give you a guess of data that should be inbetween those to make the transitions smoother.

I know that, that's why I mentioned it :D but fair enough, bad wording. :P

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...