PDA

View Full Version : Spectating other players in your own demo


xxcommodusxx
04-24-2008, 06:47 PM
Ok, so I was recently informed that when viewing your own demos that you can use the g_testSpectator command to spectate opponents. I had initially thought that this command was limited to use only on server demos, so I had some questions about the usage of this feature;

1. What data is actually collected by my demo? It can't be identical to a server demo can it? So there must be some differences, but what are they?

2. Are all of the actions exactly what my opponents have performed during the match, or is some stuff "guessed" by the demos (ie. it knows when an opponent shoots and what the bullet trajectory is, so it can extrapolate movement in between actions opponents take)?

Just want to make sure that I make the most out of this tool as it seems to be something that would be incredibly useful. Thanks for any input!

Qmann
04-24-2008, 07:04 PM
1. The data collected is the data sent from the server to the client. If a player is a along way away from you on the map the server will send less detailed information about that players movements to reduce the amount it has to send to the client. So, no, it isn't the same as a server demo.

2. No, some stuff is 'guessed' by the client based on info from the server, this is the client prediction (check out the net_clientprediction cvars for more info). AFAIK (Hopefully someone more knowledgeable will come along and correct this if I'm wrong :p) the server is set up as the arbiter of all - it will only pass onto the client enough information to give a vague view of the action, allowing the client prediction to fill in the gaps.

linkage:

http://community.enemyterritory.com/forums/showpost.php?p=105203&postcount=12
http://community.enemyterritory.com/forums/showpost.php?p=113331&postcount=34
HTH,
Q

xxcommodusxx
04-24-2008, 07:21 PM
2. No, some stuff is 'guessed' by the client based on info from the server, this is the client prediction (check out the net_clientprediction cvars for more info). AFAIK (Hopefully someone more knowledgeable will come along and correct this if I'm wrong ) the server is set up as the arbiter of all - it will only pass onto the client enough information to give a vague view of the action, allowing the client prediction to fill in the gaps.

I think the clientprediction only comes into play during a match, during a demo (which I should have mentioned explicitly for this question) I don't think it is used.

Qmann
04-24-2008, 07:25 PM
I think the clientprediction only comes into play during a match, during a demo (which I should have mentioned explicitly for this question) I don't think it is used.

Yep, if you're playing back a demo you'll see glitches in the movement, which you wouldn't have seen during the match because of the client prediction ... if that make sense ?

xxcommodusxx
04-24-2008, 08:13 PM
Yeah, I agree that I also think that the "choppiness" of the spec'ing in demos is most likely caused by my client not running client prediction during demo playback, hopefully someone from SD will respond with some specific answers on how this feature works for client demos (anything from technical jargon to a rough overview would be nice).

Also, as this was a new addition to my knowledge of demos, I was wondering if there was anything else that anyone was aware of that was out of the ordinary for demo viewing?

Boumy
04-24-2008, 10:33 PM
Also, as this was a new addition to my knowledge of demos, I was wondering if there was anything else that anyone was aware of that was out of the ordinary for demo viewing?

jitter, high definition screenshot, game speed, camera speed, light effect, 3rd person view (rotation and more), free fly, pause, HUD customisation,...

All resume in one cfg. (http://community.enemyterritory.com/forums/showpost.php?p=214287&postcount=61)

xxcommodusxx
04-25-2008, 01:08 PM
jitter, high definition screenshot, game speed, camera speed, light effect, 3rd person view (rotation and more), free fly, pause, HUD customisation,...

All resume in one cfg.

Thanks, I'll review it tonight!

suntox
04-27-2008, 05:12 PM
is there a command for displaying a playerlist or any other simple way to find the person you are looking for? when this command is in use the ui also only shows up rarely, any way to force it active?

Boumy
04-27-2008, 07:16 PM
is there a command for displaying a playerlist or any other simple way to find the person you are looking for? when this command is in use the ui also only shows up rarely, any way to force it active?

Type "players" (only available in promod 0.5).

suntox
04-27-2008, 08:17 PM
thanks, but need something for vanilla. using the keybind below atm, but still a pain to find the right person when there is no name shown nor any way to find the client number.

bind "kp_leftarrow" "cycle g_testspectator -1 32 1" "" "default"
bind "kp_leftarrow" "cycle g_testspectator 32 -1 1" "alt" "default"