Graphical Replay Hacking Script by Kris and Tom Version 1.0
- What Is RPH
ReplayHacks, or "RPH", is a replay hacking script driven by up to date Lua systems, like the new UI framework and latest additions to Lua replay hacking in 5.60. There were tools to achieve similar effects before, I even wrote one of them, but they all were a bit clunky to use, typically being command driven, where you had to memorize joint and body ID's and guess/check numbers until it seemed right. RPH is designed to bring complicated replay hacking systems to a simplified user interface, extending even more functionality than was possible with previous scripts.
- Usage
I find usage for something so user interface intensive to be best explained through a simple "showcase" video, so, here it is:
- Information
This is in a spoiler because it is a lot.
Right off the bat, it's good to know that you can control click in the mini-tori UI, as well as the environment object selection UI. This also works when selecting objects in 3D space. Clicking in the background of the mini-tori UI will deselect everything.
The Property Bar
- The Property Bar
From left to right, we have:
Name
Value(s)
- These can be clicked on and typed into, or scrolled on.
Gizmo Button
- This will spawn the 3D gizmo, or whatever UI element the property has, like in the case of color, a color picker.
Reset Button
- This will reset the property to what it was at the start of the frame.
Copy Button
- This copies the values of the property so you can paste it later, or to a different 3D entity.
Paste Button
- Pastes the value that you copied using the copy button.
Mini-Tori Section
- Mini-Tori Section
This is how you can select parts/joints of the Tori. You can change the target player at the bottom using the left and right arrows. You can control click to select multiple. If you have a multi-selection, changes in the selection settings will work as expected, so you can translate groups of objects at once. Yes, I know this would be nice in Mod Maker. Yes, it will be in a Mod Maker eventually.
Mini Tori Sidebar
- Mini-Tori Sidebar
From top to bottom, we have:
Select Whole Tori
- Selects everything visible in the mini-tori window, with respect to the Joint Visibility toggle.
Joint Visibility
- Toggles joint visibility.
Fracture Joints
- This will fracture all selected joints.
Dismember Joints
- This will dismember all selected joints.
Reset Tori
- This will reset the entire Tori to what it was at the beginning of the frame.
Copy Tori
- Copies the entire Tori.
Paste Tori
- Pastes an entire Tori if you had one copied.
Select Objects
Select Objects
This window gets populated with all of the environment objects. This is a scrolling list, so you can use the scroll wheel. You can select objects from here, or just click them in 3D space.
- Installation
Download the attached zip file
Extract the contents to your data/scripts/ folder
- This means you should have "data/scripts/rph.lua" and "data/scripts/rph/"
I just made a short selfspar wip using this script and the first few saves worked perfectly, but now whenever I try to save an edit or to save the exact same replay without any changes, it gets corrupted and both tori and uke starts twiching and none of the fractures I made with the script happen.