View topic - Player view in replays


All times are UTC + 1 hour


Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Player view in replays
PostPosted: 05 Sep 2011, 16:32 

Joined: 19 Mar 2011, 13:43
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.
Top
 Offline Profile  
 
PostPosted: 05 Sep 2011, 17:01 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
This feature already exists. Get the lockcamera widget.
Top
 Online Profile  
 
PostPosted: 06 Sep 2011, 18:21 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
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.
Top
 Offline Profile  
 
PostPosted: 07 Sep 2011, 17:58 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
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 ;)
Top
 Online Profile  
 
PostPosted: 08 Sep 2011, 01:56 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
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.
Top
 Offline Profile  
 
PostPosted: 08 Sep 2011, 15:53 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
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?
Top
 Online Profile  
 
PostPosted: 08 Sep 2011, 16:14 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
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.
Top
 Offline Profile  
 
PostPosted: 04 Oct 2011, 07:28 
User avatar

Joined: 24 Aug 2006, 05:13
Location: USA West
Follow-cursor is not the function the OP is looking for.
Top
 Offline Profile  
 
PostPosted: 04 Oct 2011, 22:08 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
Read second paragraph of OP.
Top
 Offline Profile  
 
PostPosted: 13 Oct 2011, 04:08 
User avatar

Joined: 24 Aug 2006, 05:13
Location: USA West
CarRepairer wrote:
Read second paragraph of OP.

Read first sentence of OP.
Top
 Offline Profile  
 
PostPosted: 29 Oct 2011, 00:14 
Lua Coder

Joined: 12 Jul 2009, 17:57
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)
Top
 Offline Profile  
 
PostPosted: 29 Oct 2011, 02:53 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
http://springrts.com/wiki/Lua_UnsyncedRead#Screen_Trace ?
Top
 Offline Profile  
 
PostPosted: 29 Oct 2011, 03:59 
Lua Coder

Joined: 12 Jul 2009, 17:57
jK wrote:

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.
Top
 Offline Profile  
 
PostPosted: 29 Oct 2011, 09:14 
Moderator

Joined: 12 Oct 2007, 08:24
http://springrts.com/wiki/Lua_UnsyncedRead#Camera ?
Top
 Offline Profile  
 
PostPosted: 03 Nov 2011, 05:43 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
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:
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.


Attachments:
screen00021.jpg [183.65 KiB]
Downloaded 2 times
Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Site layout created by Roflcopter et al.