Page 1 of 1

Player view in replays

Posted: 05 Sep 2011, 17:32
by Ares
I think giving replay viewers (and spectators) an option to follow a "players eye view," would be an interesting feature and help newer players pick up the game and everyone else to improve. (Especially for viewing tournament games and such).

There are already little dots on screen where player's cursors are pointing so would it be possible to lock the camera view to this somehow?

It wouldn't be enabled by default, an action such as clicking on the eye in advanced player list would lock your view to that player. However, by panning the screen tracking stops - until the next time you want to turn it on again.

Re: Player view in replays

Posted: 05 Sep 2011, 18:01
by Jools
This feature already exists. Get the lockcamera widget.

Re: Player view in replays

Posted: 06 Sep 2011, 19:21
by CarRepairer
Jools wrote:This feature already exists. Get the lockcamera widget.
Only works if the player turned on the widget and set it to broadcast. Unlikely.
Ares wrote: There are already little dots on screen where player's cursors are pointing so would it be possible to lock the camera view to this somehow?
Good news for you! This is already done. Fire up a game of ZK and click on settings > camera > follow player cursor. You may need to enable the Combo overhead camera widget.

Re: Player view in replays

Posted: 07 Sep 2011, 18:58
by Jools
CarRepairer wrote:Good news for you! This is already done. Fire up a game of ZK and click on settings > camera > follow player cursor
Only works in ZK. Unlikely ;)

Re: Player view in replays

Posted: 08 Sep 2011, 02:56
by CarRepairer
Jools wrote:
CarRepairer wrote:Good news for you! This is already done. Fire up a game of ZK and click on settings > camera > follow player cursor
Only works in ZK. Unlikely ;)
Wrong. Many mods have allycursors enabled already. All you need to do is get the camera widget to follow them. That's what the OP asked for.

Re: Player view in replays

Posted: 08 Sep 2011, 16:53
by Jools
Yeah yeah, I was just trying to be a smartass.

Anyway, does he have to dig the widget ftom the latest ZK release or is there a discrete release of it somewhere?

Re: Player view in replays

Posted: 08 Sep 2011, 17:14
by smoth
it is the ca camera widget but yeah he would probably have to dig it out of the repository site. Probably better that way otherwise with the way things are in spring, he would have a 2 year old version.

Re: Player view in replays

Posted: 04 Oct 2011, 08:28
by REVENGE
Follow-cursor is not the function the OP is looking for.

Re: Player view in replays

Posted: 04 Oct 2011, 23:08
by CarRepairer
Read second paragraph of OP.

Re: Player view in replays

Posted: 13 Oct 2011, 05:08
by REVENGE
CarRepairer wrote:Read second paragraph of OP.
Read first sentence of OP.

Re: Player view in replays

Posted: 29 Oct 2011, 01:14
by Pako
I was remaking optimized version of this ally cursors widget to support camera following and mouse cursor in screen space too, but there seemed to be missing Lua call to project the others mouse coordinates to world.

So Feature request: Spring.TraceCameraRay(camera, x,y)

Re: Player view in replays

Posted: 29 Oct 2011, 03:53
by jK

Re: Player view in replays

Posted: 29 Oct 2011, 04:59
by Pako
No. I want to send the mouse coordinates as screen coordinate to other players not world coordinates. Then just send camera too and do a trace to world with that camera. Also drawing other players screen edges needs ray tracing wit different camera.

When mouse is send as screen coordinates it is easier to filter and probably more accurate.

Re: Player view in replays

Posted: 29 Oct 2011, 10:14
by Google_Frog

Re: Player view in replays

Posted: 03 Nov 2011, 05:43
by CarRepairer
1) If the menu exists in the game you're playing:

Go to Settings > Camera and check this box:

Image

2) If the menu doesn't exist in the game you're playing:

Get this widget

http://code.google.com/p/zero-k/source/ ... a_cofc.lua

Look for this code:

Code: Select all

follow = {
                name = "Follow player's cursor",
                desc = "Follow the cursor of the player you're spectating (needs Ally Cursor widget to be on).",
                type = 'bool',
                value = false,
                path = 'Settings/Camera',
        },
change "value = false" to be true.