Replays/Better Spectator Features

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
iwantanimac
Engineer
Engineer
Posts: 5
Joined: 11 Oct 2007 07:51

Replays/Better Spectator Features

Post by iwantanimac »

Hi all

I have a suggestion I've thrown around with a few mates who play OpenTTD with me and they all think it'd be good, so I'm putting it out for the global OTTD community to contemplate.

Spectating OpenTTD games is currently a bit stupid. You have to look around trying to figure out where the action is. My idea is that the camera should automatically jump around to important events - this could even be used for a LAN party so people could spectate on one screen (Similar to some RTS games). It would take some tweaking to get it right, but I think it has enormous potential.

Also, replays are a feature that would be really useful for learning tactics. There should be the same features as in the spectator mode described above, but it should also include some extra windows for company performance and a log of how and where each company makes their profits, including the distance traveled and time in transit, as well as where they're building. It should also include a separate cursor for each player - which you can follow or just have visible. This should include AI players.

Not sure if these are entirely possible given the current nature of the OpenTTD code, but they're something I think would be valuable to implement.

So, comments? =P
T-Unit
Transport Coordinator
Transport Coordinator
Posts: 368
Joined: 03 Feb 2007 18:53
Location: Leeds, England

Re: Replays/Better Spectator Features

Post by T-Unit »

I suppose being able to record a tutorial would be good. Itd be great for newbies.
sforget
Engineer
Engineer
Posts: 69
Joined: 14 Sep 2007 19:01

Re: Replays/Better Spectator Features

Post by sforget »

I think for the "Auto-goto" a good solution would be to have viewports that can be "locked" onto another player.

This "locked" viewport would always stay centered at the same location as the players screen, thus allowing a spectator to watch what a specific player is doing - heck even watching multiple players can be done with multiple "locked" viewports.

I don't think this would be too difficult to code and wouldn't require any kind of event monitor to track important events.

One problem I see with the "event" model you suggest is the simple question: What is an important event?

Construction of a station?
Construction of a vehicle/train?
Collision?
Disaster?
Arrival/departure of a vehicle?
Arrival/departure of first vehicle?

any one of 1000's of other events could also be considered important - it depends on what you are watching.

The Player tracking idea I mention allows a spectator to choose who he/she wants to spectate and stay with that player.
TT Player since 1994.
-| Home Page |- -| Save Server Passwords Patch |-
Image - Live ScreenShots
iwantanimac
Engineer
Engineer
Posts: 5
Joined: 11 Oct 2007 07:51

Re: Replays/Better Spectator Features

Post by iwantanimac »

Thanks for the input, guys.

Recording for a tutorial would also be good.

I've just realized that probably the biggest reason there are no replays yet is the fact that it would basically require a separate savegame each time something happens, so i guess savegames would have to be refined, and it would need to be smarter, like recording only each action rather than the full map.

The "Important Events" should probably be configurable by the user. I guess it should be like the news system, completely configurable. I agree with your viewports idea. That's a good way to do it.
User avatar
AntBUK
Transport Coordinator
Transport Coordinator
Posts: 319
Joined: 02 May 2007 12:29
Location: Sheffield, England
Contact:

Re: Replays/Better Spectator Features

Post by AntBUK »

If you search the forums all the above has been previously suggested.

Video: http://www.tt-forums.net/viewtopic.php?f=32&t=32735

Viewport: http://www.tt-forums.net/viewtopic.php?f=32&t=32715
Rasing Awareness: Aspergers Syndrome 1 (NAS UK)2 (BBC)3 (YaleDDC)


Something is driving you insane... It is me.
iwantanimac
Engineer
Engineer
Posts: 5
Joined: 11 Oct 2007 07:51

Re: Replays/Better Spectator Features

Post by iwantanimac »

AntBUK wrote:If you search the forums all the above has been previously suggested.

Video: http://www.tt-forums.net/viewtopic.php?f=32&t=32735

Viewport: http://www.tt-forums.net/viewtopic.php?f=32&t=32715
The idea of having extra statistics isn't. Also, the viewport idea is different from that viewport synching, in that it would probably extend to multiple, windowed viewports.
User avatar
AntBUK
Transport Coordinator
Transport Coordinator
Posts: 319
Joined: 02 May 2007 12:29
Location: Sheffield, England
Contact:

Re: Replays/Better Spectator Features

Post by AntBUK »

Maybe not all then... But from what I can work out viewport sync will lead to the same problems.
Rasing Awareness: Aspergers Syndrome 1 (NAS UK)2 (BBC)3 (YaleDDC)


Something is driving you insane... It is me.
iwantanimac
Engineer
Engineer
Posts: 5
Joined: 11 Oct 2007 07:51

Re: Replays/Better Spectator Features

Post by iwantanimac »

AntBUK wrote:viewport sync will lead to the same problems.
Yep. The code isn't really optimised for things like that.
sforget
Engineer
Engineer
Posts: 69
Joined: 14 Sep 2007 19:01

Re: Replays/Better Spectator Features

Post by sforget »

iwantanimac wrote:
AntBUK wrote:viewport sync will lead to the same problems.
Yep. The code isn't really optimised for things like that.
How much optimisation can be required for sending a simple set of co-ordinates?

All that should be needed is the co-ordinates of where the "locked" player is viewing. Otherwise, everything should be able to operate as it currently does.

Most users tend to build in the center of the screen so tracking exactly where their cursor is (or anything else) would be overkill
TT Player since 1994.
-| Home Page |- -| Save Server Passwords Patch |-
Image - Live ScreenShots
iwantanimac
Engineer
Engineer
Posts: 5
Joined: 11 Oct 2007 07:51

Re: Replays/Better Spectator Features

Post by iwantanimac »

sforget wrote:
iwantanimac wrote:
AntBUK wrote:viewport sync will lead to the same problems.
Yep. The code isn't really optimised for things like that.
How much optimisation can be required for sending a simple set of co-ordinates?

All that should be needed is the co-ordinates of where the "locked" player is viewing. Otherwise, everything should be able to operate as it currently does.

Most users tend to build in the center of the screen so tracking exactly where their cursor is (or anything else) would be overkill
Tracking the cursors would be useful for the replays if you don't have the viewports active.
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 41 guests