Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Mar 29, 2024 3:56 pm
All times are UTC + 0
Adding Replay feature
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Damfoos
Rocket Infantry


Joined: 27 Mar 2016

PostPosted: Tue Dec 26, 2017 12:28 pm    Post subject:  Adding Replay feature
Subject description: or, rather, expanding upon the existing one
Reply with quote  Mark this post and the followings unread

Not sure if it has been asked here already or if I did ask about it personally so I'll ask again.

It's not like there are that many multiplayer mods around, but I'm sure MO, RR or even YR (if Ares somehow becomes a part of official CnCNet client or there will be YR:UMP) players will greatly appreciate a replay feature (I did ask other people's opinions). Since the game does record all actions in a log already, I assumed it is possible to make it read these actions and maybe reproduce them, since the game does already have a replay system even if it is incomplete and doesn't work for human vs human replays. So, would it be possible (as in, doable without spending unreasonable amounts of time and effort) to implement a proper replay system (or expand the existing one), which would automatically record the match into a replay file so this file could be loaded later? The most necessary features it would need are:

  • A new menu button, singleplayer -> load replay
  • Ability to disable automatic recording of replays in settings (in case it will affect performance too much on some PCs)
  • Ability to pause a replay which is being played
  • Ability to play the replay in reverse from some point would be nice, but not sure if possible at all
  • Ability to speed up or slow down the replay when it is being played
  • A message indicating that replay has been saved on credits screen or at the end of the match


Is there anything impossible (or requiring too much work) in this list? Can such system be implemented at all, or there are some hardcoded things/limits that would make it extremely difficult? What are the main troubles or possible bad consequences? Would you even consider doing this, or it is extremely boring/not fun so redesigning the s/l system again would seem like a more entertaining alternative?  #Tongue

Many thanks

Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Wed Dec 27, 2017 11:27 am    Post subject: Reply with quote  Mark this post and the followings unread

TBH, this is where XWIS would be more of a help - they are using a replay system AFAIK. Notsure how theirs work though.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Wed Dec 27, 2017 11:36 am    Post subject: Reply with quote  Mark this post and the followings unread

What about the CnCNet client? I thought it'd definitely have the groundwork for that feature done.

_________________
One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
tomsons26lv
Cyborg Artillery


Joined: 30 Dec 2009
Location: Latvia

PostPosted: Wed Dec 27, 2017 12:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Graion Dilach wrote:
TBH, this is where XWIS would be more of a help - they are using a replay system AFAIK. Notsure how theirs work though.

All olaf has is

and data for it is made by reading from a specific address in process memory and dumping that data to a file. The information itself this shows is horribly wrong, for example deploy is a move and all sorts of other shit. Furthermore it hasn't been updated for YR it only reads RA2 memory.

_________________
Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1

Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite

Back to top
View user's profile Send private message Visit poster's website
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Wed Dec 27, 2017 12:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

...I can't read this...
The frig is happening on the field?

_________________
One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Wed Dec 27, 2017 12:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Green player is scouting on Island of War, blue is lagging behind and ahsn't trained any infantry yet.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1490s ][ Queries: 11 (0.0088s) ][ Debug on ]