Sarge
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Doom Speed Demos > Can demo-recording be used for "rewind" in game?
 
Author
All times are GMT. The time now is 20:09. Post New Thread    Post A Reply
WildWeasel
Resident Castlevania Super-Fanboy


Posts: 2786
Registered: 07-03


I've been thinking about playing through some classic megawads using prboom-plus, and the demo recording and playback functions in that port are amazing, especially the ability to fast-forward and rewind, change camera angles, etc. What I have to wonder, though, is could this be used for gameplay purposes? If I make a mistake in a play session (while a demo is recording), could I then go back through the demo and arbitrarily decide to "take over" halfway through?

Old Post 07-09-14 18:10 #
WildWeasel is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ribbiks
Senior Member


Posts: 1316
Registered: 02-11


by rewind to you mean you can actually view a demo backwards??? or do you mean reseting and using -skipsec to revisit a specific moment?


If prb+ has the ability to legit rewind demos that's damn awesome. If that's not what you mean then I don't see how what you're going for isn't pretty much doable already with frequent saving.



also yes you can record a demo, fuck up, then try again:

-record demo
*die horribly at 500 secs in*
-recordfromto demo demo_letsTryThatAgain -skipsec 490
*press the button to take over from demo (idk what it is by default)*

Old Post 07-09-14 18:20 #
Ribbiks is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Xaser
Forum Staple


Posts: 2638
Registered: 07-03


I presume he's asking if there's a way to actually do that in-game (i.e. from a hotkey) during recording. Seems the base features exist in command-line-land, meaning it might be doable if it hasn't been implemented yet. Either way, that's a fantastic-sounding idea. :P

Old Post 07-09-14 18:34 #
Xaser is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
40oz
Forum Spammer


Posts: 6902
Registered: 08-07


-recordfromto in prboom_plus is what you're looking for.

It's an argument that plays back a demo and at any point in the demo, you can press the 'Join' key (I think by default, its J) and the demo lets you take over the wheel, so to speak. As in the player's (in the demo) control stops and you (the actual person watching) can continue playing from where the demo left off at the time you press J, and a new demo starts recording, stitching both old and new parts together.

As Ribbiks said, you can use -skipsec to skip to a specified time in the demo in case you get bored of watching the whole thing. Its really arduous without it, as it's pretty common (for me, anyway) to join the game at a point where I'm perfectly set up for a deadly revenant missile in the face, so look for calm parts in the demo to join if you can help it.

You should be able to take over other people's demos too, in case you want to play a specific part in a map, or if you want to play a slaughtermap after someone's UV-Max completes the hard part. I haven't tried it yet though.

It really is as cool as it sounds :)

Old Post 07-09-14 18:36 #
40oz is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ribbiks
Senior Member


Posts: 1316
Registered: 02-11


that gives me an amusing "challenge" idea. Someone records a demo up until a specific point, putting the player in a certain position, then it's given to others as a puzzle. like "hey, try to get out of this crazy situation with only 10hp and 3 shells".

I suppose that exact thing could be probably be done by just making a puzzley map then dehacking in the starting values. but oh'well, just a random idea...

Old Post 07-09-14 18:49 #
Ribbiks is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
vdgg
MM2 maniac


Posts: 1592
Registered: 08-07



Ribbiks said:
that gives me an amusing "challenge" idea. Someone records a demo up until a specific point, putting the player in a certain position, then it's given to others as a puzzle. like "hey, try to get out of this crazy situation with only 10hp and 3 shells".

I suppose that exact thing could be probably be done by just making a puzzley map then dehacking in the starting values. but oh'well, just a random idea...

Building a close-to-perfection TAS is just a chain of routine situations and "getting out of crazy situations", some of which were planned and some were not.

Old Post 07-09-14 18:57 #
vdgg is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
WildWeasel
Resident Castlevania Super-Fanboy


Posts: 2786
Registered: 07-03


Cool, so that's actually a thing. But there's no way to "rewind" in the game, while I'm still recording? I would have to quit the game, reload the demo, fast-forward to where I want to take over, etc?

Old Post 07-09-14 19:24 #
WildWeasel is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
40oz
Forum Spammer


Posts: 6902
Registered: 08-07


yes, I believe so. But with some batch scripting you can simplify the process to just F10 + Ying whenever you die and then clicking on the generated batch script to get right back in.

I can help you're interested, just shoot me a PM

Old Post 07-09-14 19:39 #
40oz is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Memfis
Forum Spammer


Posts: 5717
Registered: 04-07


an ingame rewind would be great
just like the ability to restart the demo without quitting the game
and a command line parameter that gives you a glass of orange juice

Old Post 07-09-14 22:29 #
Memfis is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Doomkid
Senior Member


Posts: 1498
Registered: 06-08



Memfis said:
and a command line parameter that gives you a glass of orange juice

Been waiting to see this implemented into a source port for over 10 years now, an obvious feature I always thought, but it's gone overlooked

Old Post 07-09-14 23:26 #
Doomkid is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Never_Again
knows his birth month


Posts: 981
Registered: 04-03


A glass of orange juice! What's next, scripting and DECORATE support? Since this is a classic port, e6y would never implement that particular feature.

Well, a glass of beer - maybe. If you got him interested enough (hint: think those "sponsored HUDs"). But I reckon even that would be not available for recording, playback or with demo_compatibility.

Old Post 07-10-14 15:50 #
Never_Again is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 20:09. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Doom Speed Demos > Can demo-recording be used for "rewind" in game?

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.