[r1358] Chasecam isn't centered on the player in multiplayer

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [r1358] Chasecam isn't centered on the player in multiplayer

Re: [r1358] Chasecam isn't centered on the player in multiplayer

by Macil » Mon Feb 23, 2009 5:22 pm

I just noticed this. The behavior seems to only happen if the game is a netgame, or originally was (started with two players, and one player leaves).

Just starting a normal netgame with chasecam allowed will show this behavior:

Code: Select all

./zdoom -iwad doom2.wad -host 2 -netmode 1 +dmflags2 2097152 +name host

Code: Select all

./zdoom -iwad doom2.wad -join localhost -netmode 1 +name client
Even if one player leaves, the chasecam will still be a bit lagged for the remaining player.

Re: [r1358] Chasecam isn't centered on the player in multiplayer

by edward850 » Sat Feb 07, 2009 12:37 am

Wait, randy may have said the player actor is predicted, but that doesn't explain why mirrors have the same issue.

Re: [r1358] Chasecam isn't centered on the player in multiplayer

by Zhs2 » Fri Feb 06, 2009 9:59 pm

Wait, it's a multiplayer only camera behavior? =(

I actually liked the wavey camera movements in 2.2.0, and while the stable camera has its uses, the movement patterned-one actually has a personality... ^_^

Re: [r1358] Chasecam isn't centered on the player in multiplayer

by edward850 » Fri Feb 06, 2009 9:51 pm

Oh, so the play actor is predicted, not just their camera? With the third person camera acting the way it does, you can't blame me for such a misinterpretation now can you :D.

Re: [r1358] Chasecam isn't centered on the player in multiplayer

by randi » Fri Feb 06, 2009 7:42 pm

edward850 wrote:The camera is predicted, not the actual player object
Well, no. They player is predicted, since that's where the camera comes from. Then the chasecam's position is found by simply tracing back a short distance from there. I'm not sure why they would be out of sync.

Re: [r1358] Chasecam isn't centered on the player in multiplayer

by edward850 » Sun Jan 18, 2009 4:50 pm

There is no bug here. Its a side effect of predicted player moment. The camera is predicted, not the actual player object, which also causes the same anomaly in mirrors. The only reason why this works in first person is that you can never see your self normally.

[r1358] Chasecam isn't centered on the player in multiplayer

by Janizdreg » Sun Jan 18, 2009 11:01 am

The chasecam doesn't seem to follow the player correctly in multiplayer games. It's somewhat difficult to explain, but basically it is laggy and doesn't keep the player centered in the view like it does in single player. This is most evident while strafing, which causes the chasecam to get visibly off-centered.

Top