Player view in replays
Moderator: Moderators
Player view in replays
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.
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
This feature already exists. Get the lockcamera widget.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Player view in replays
Only works if the player turned on the widget and set it to broadcast. Unlikely.Jools wrote:This feature already exists. Get the lockcamera widget.
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.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?
Re: Player view in replays
Only works in ZK. UnlikelyCarRepairer wrote:Good news for you! This is already done. Fire up a game of ZK and click on settings > camera > follow player cursor
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Player view in replays
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.Jools wrote:Only works in ZK. UnlikelyCarRepairer wrote:Good news for you! This is already done. Fire up a game of ZK and click on settings > camera > follow player cursor
Re: Player view in replays
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?
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
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
Follow-cursor is not the function the OP is looking for.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Player view in replays
Read second paragraph of OP.
Re: Player view in replays
Read first sentence of OP.CarRepairer wrote:Read second paragraph of OP.
Re: Player view in replays
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)
So Feature request: Spring.TraceCameraRay(camera, x,y)
Re: Player view in replays
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.
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Player view in replays
1) If the menu exists in the game you're playing:
Go to Settings > Camera and check this box:
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:
change "value = false" to be true.
Go to Settings > Camera and check this box:
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',
},
- Attachments
-
- screen00021.jpg
- (183.65 KiB) Downloaded 2 times