[Include] Rewind (Time machine)
#21

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
You win.
Wow.
Reply
#22

Update


1- Included interior, virtual world and angles of both cars and players in the rewind
2- Simplified code (Well actually more complicated but more self-independent) Which led to:
3- You can now choose how many steps you can go back! through the REWIND_MAXIMUM_PHASES part above in the usage
4- More screenshots added #3 above
5- Now the audio stream will loop itself every time the rewind happens to make sure the sound keeps going!
6- 3D Text label will go green if the player breaches the 3 bars limit
Reply
#23

Quote:
Originally Posted by Gammix
Посмотреть сообщение
Wait if you release the new version and i rewind from it that means i will have the new version from the future but you won't since i didn't ask you for it in the current reality, which means i will have the power to rewind and rewind and rewind and .....

Reply
#24

Good job dude!
Reply
#25

Can you please post a video about it?
Reply
#26

Quote:
Originally Posted by TheWhiteJew
Посмотреть сообщение
Can you please post a video about it?
Update

Added fast rewind, more functions/callbacks and fixed a few code errors, also added a video so yeah here you go.
Reply
#27

Nice one i like it
Reply
#28

Woah Great Job!
Reply
#29

Your video is going to give me a seizure.
Good concept though, really.
Just needs a little bit of cleaning up around the edges.
Give a smoother feeling, feels choppy currently.
Overall well done.
Reply
#30

ok wtf
https://github.com/RogueDrifter/Rewi...ewind.inc#L306
https://github.com/RogueDrifter/Rewi...nc#L1024-L1025
Reply
#31

@Lynn This is why you should've read the full post, if the effects are not appealing to you, you have these functions:
pawn Код:
ToggleRewindFlash(bool:toggle)
ToggleRewindFlashForPlayer(playerid, bool:toggle)

ToggleCameraMovements(bool:toggle)
ToggleCameraMovementsForPlayer(playerid, bool:toggle)
Now i dunno what you mean by choppy but if you want to watch the rewind in full sync without flashes or camera movements disable both and give it a go. It goes back with both positions and rotations, virtual world and interior, the automated one also rewinds Health and Armour.


@BigETI Same goes for you
Reply
#32

I'm sorry but this is both inefficient and laggy. Here's a much better version, although the script is private:

https://www.youtube.com/watch?v=a9AK-F7dfRY
Reply
#33

Quote:
Originally Posted by Slice
Посмотреть сообщение
I'm sorry but this is both inefficient and laggy. Here's a much better version, although the script is private:

https://www.youtube.com/watch?v=a9AK-F7dfRY
wouldn't such a high refresh rate be very heavy on the server though? how hard is it on the cpu?
Reply
#34

Quote:
Originally Posted by Slice
Посмотреть сообщение
I'm sorry but this is both inefficient and laggy. Here's a much better version, although the script is private:

https://www.youtube.com/watch?v=a9AK-F7dfRY
dead
Reply
#35

Quote:
Originally Posted by KingHual
Посмотреть сообщение
wouldn't such a high refresh rate be very heavy on the server though? how hard is it on the cpu?
Medium rare
Reply
#36

Quote:
Originally Posted by Slice
Посмотреть сообщение
I'm sorry but this is both inefficient and laggy. Here's a much better version, although the script is private:

https://www.youtube.com/watch?v=a9AK-F7dfRY
Wow.

PS.
Update:
Код:
#define REWiND_FULLY_SYNCED_TIMER [NUMBER] //This is in MS you can change it depending on how fast you want the timers to record/play
#define SYNCEED_REWIND_BUFFER [NUMBER] //This is the capacity of the fast rewind cells, don't change this if you don't know what you're doing
These control how fast the car will move in the rewind and for how long the record goes/plays, changing it to 1ms for the timer and increasing the buffer should make it look as if you were reversing a video as above.

Example: CLICK ME
The above was used with the buffer value of 250 and timer value of 10ms
Compiling time is longer fyi.
Reply
#37

Nice just like forza rewind
Reply
#38

Quote:
Originally Posted by Lokii
Посмотреть сообщение
Nice just like forza rewind
Lmao you're right i just noticed that, two more videos that actually show it does:

1- https://www.youtube.com/watch?v=TuMNtVq2sRQ

2- https://www.youtube.com/watch?v=qZz3...ature=*********

I might add a 'PauseRewind(playerid)' function what do you think

PS. The settings used above were 5ms timer and 400 buffer, compiling time was approx 5 seconds
Reply
#39

Quote:
Originally Posted by Slice
Посмотреть сообщение
I'm sorry but this is both inefficient and laggy. Here's a much better version, although the script is private:

https://www.youtube.com/watch?v=a9AK-F7dfRY
This is how I imagined it would be. I never checked the code or tested it.. but if it isn't like this then it should be redone..
Reply
#40

Quote:
Originally Posted by Kar
Посмотреть сообщение
This is how I imagined it would be. I never checked the code or tested it.. but if it isn't like this then it should be redone..
Poe's law is strong here
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)