Edit:
I posted this in the wrong forum because I am a noob
When a kind mod has time to move this post can make sure it goes to the sourcemod sub forum?
Thanks
Gameplay Description:
Rewind is a game mod for TF2 where you can rewind time! Players do this by pressing or holding reload. In addition to returning you to an earlier position, rewinding restores the previous state of many weapons, items and status effects.
Technical Description:
Rewind maintains a ring buffer of state for each client as they move forward in time. This state includes client; position, velocity, health, ammo, and various other entity properties. When the client wishes to rewind, this buffer is simply read backwards and the earlier state is applied conditionally as required. For example; if the client is currently in the condition of being on fire, but in the frame they are currently rewinding to they were not on fire, the status condition of being on fire is removed. Rewind makes use of existing sound files to create distinct audio cues for rewinding and being able to rewind. Care has been taken to ensure that cloaked spies are not revealed by these additional sounds. Rewind uses ShowHudText to provide a status bar indicating the current state of the client’s rewind ring buffer in addition to a client’s ability to start rewinding again. Players, who are not cloaked, that are rewinding emit the teleporter trail effect as a visual indication that they are rewinding.
Website:
https://www.tf2nerds.com/rewind.html
Installing the plugin:
1) Download tfrewind.smx to tf/addons/sourcemod/plugins
2) It is recommend that you add rewind to sv_tags however this is optional
3) Restart the server
Compiling the plugin:
1) Download tfrewind.sm
2) Compile tfrewind.sm with tf/addons/sourcemod/scripting/spcomp
3) Copy tfrewind.smx to tf/addons/sourcemod/plugins
4) It is recommend that you add rewind to sv_tags however this is optional
5) Restart the server
Known Issues:
1) Heavy is able to rewind lunchbox items, however, the food hud element does not reflect this.
2) Pyro is unable to rewind the Gas Passer.
3) Players are unable to rewind Vaccinator resistence bubbles.
4) Scout can rewind air dashes in general, however, he cannot rewind the knockback air dash offered by the Force Of Nature.
5) Very rarely is it possible for a client to rewind to state such that, from their perspective, visually they appear to be “stuck in the floor”. This is not unique to rewind but it is capable of inducing this state. Simply jumping should fix the issue.
6) Sometimes undisguised spies don’t emit a teleporter trail effect while rewinding. Disguised spies always emit a teleporter trail while rewinding, of the correct team's colour, unless they are cloaked.
Plans:
Development will continue according to feedback.
Changelog:
Will be updated as new versions are released beyond 1.0.0.