Here's my proposal for replays. I know it'd be quite a big project but having a recording of every race would be extremely useful in so many ways.
Recording5 seconds before everyone starts racing, start a new bot recording for each of them. as soon as they've finished, stop the recording. assign every recording an ID and display it after a race finishes like this:
mooman finished 11th (+4.22) (RID: 000F4E)(i suggest using letters and numbers for the ID since they use less space)
once the recordings made i'm pretty sure pod could make a plugin that moves 000F4E.rec to the right folder.
For sorting the recordings i think we should have a mysql database, the fields being:
- RID: already mentioned this
- Player: who raced the race
- IP of player: might seem a bit pointless but not everyone registers an account so this'd help us ban IPs when we play back the recording and see them speedhacking
- Time in seconds: this should be obvious
- Name of race: this too
- Skin ID of player: probably the most pointless but if you're going to replay a race, might as well make it as realistic as possible
- Car colour IDs: also pointless but i don't see why not
- Date: Date and time of the race
If you can think of any more, just add them here.
SearchingSo we've got our recordings, but what good is that if you can't find the one you want? That's where the website comes in. I can easily make a search like this:
PlaybackThere'll be 10 slots reserved for "playback bots". If you want to watch a recording just do /replay (ID). One of the 10 bots will start the race. I don't see any reason why in spectating mode (which the viewer will be in, watching the bot) there can't be all the racing stuff like checkpoints that disappear when the bot goes through them, a timer and all the race info at the top.
That's my idea, I hope you all like it