Replay Recorder
This script is supposed to provide replay information for advanced replay hacking and I also added some other shenanigan. It's designed to work with
Toribash 4.5, I don't know if it works in later versions and I'm even less sure if I'd be able to make it work with later versions.
Known bugs: Don't use numbers in replaynames! Will be fixed later.
Huge thanks to Yoyo and stew who helped me to create this script! Stew wrote the basic recording function and Yoyo helped me extend it with all these features (or rather wrote it himsef
)
Download the script and load it ingame.
First command:
simply type
/record playerid inputfile outputfile parameters
Command explained:
playerid = set 0, 1 or 2 to record Tori(0), Uke(1) or both(2)
inputfile = this name is taken straight from the replayfolder. If you type
blah it takes
blah.rpl from your replayfolder
outputfile = the file it records to. If you type
blaha it will create a file called
blaha.rpl in your replay folder(careful about overwriting files)
Parameters:
By default it records everything on every frame but you can change that with a few parameters.
-pos = doesn't save POS lines
-linvel = doesn't save LINVEL lines
-angvel = doesn't save ANGVEL lines
-qat = doesn't save QATlines
-dm = doesn't save CRUSH lines (dismemberments)
-grip = doesn't save GRIP lines (griprecording is still wip)
dmonce = saves CRUSH only when it happens (automatically disables save on every frame)
Numbers = Put 2 numbers there to determine a frame intervall in which you want to record. These numbers represent the countdown you see at the top of the screen. So to determine the intervall space+p to the frame you want to start, write down the number, space+p to when you want to end and write down that number.
Example command:
/record 2 Discipline output -pos -qat -angvel 500 300
Saves Discipline.rpl from 500 to 300 without pos, qat or angvel lines to output.rpl
Second Command:
This let's you start a replay from the middle of another replay.
command is
/startfrom playerid inputfile outputfile parameter
Command explained:
Everything like before but the parameter now determines the frame where you want to start from. So shift+p to where you want to start and use that number. The script then records 25 frames before and puts that at the beginning of outputfile.rpl
Command to merge the replays back together is currently under construction.
Last edited by NutHug; Jan 4, 2014 at 05:50 PM.
Reason: finally able to fix YOYOS name