How to Use
This guide covers how to use the Animation Recorder to preview and capture animation thumbnails for the Bablo Animation Menu.
Opening the Recorder
Make sure bablo-animations is started and all animations are loaded before opening the recorder.
Use the following command in-game to open the recorder:
/animationrecorderWhen the recorder opens, it will:
- Teleport you to the recording studio
- Spawn a mannequin ped on a green screen
- Set up studio lighting and a fixed camera
- Load all animations from the Bablo Animation Menu
- Open the recorder UI
Previewing Animations
Once the UI is open, you can browse through all available animations from the animation menu. Select any animation to preview it on the mannequin ped.
The recorder supports all animation types:
- Regular animations — plays the animation on the ped with the standard camera
- Shared animations — automatically spawns a second ped and plays the synced animation between both characters, with a wider camera angle
- Expressions — zooms the camera in close to the ped's face to show facial expressions
- Walking styles — applies the walking style to the ped
Recording and Saving
When you are happy with an animation preview, use the save/record button in the UI to capture it. The recorder will generate:
- Animation file — the recorded animation as a
.webpfile - Preview thumbnail — a preview image as a
.webpfile
These files are saved to the output/ folder inside your bablo-animationrecorder resource directory.
Integrating Custom Previews Into The Server
The custom_previews folder already exists inside the bablo-animations resource at src/web/custom_previews. If it's missing, simply create it.
After recording your animation previews:
- Navigate to the
output/folder insidebablo-animationrecorder - Copy the generated
.webpfiles - Paste them into
src/web/custom_previewsinside your bablo-animations resource - Restart or refresh the animation menu to see the new thumbnails
Closing the Recorder
Press the close button in the UI or press ESC to exit the recorder. This will:
- Clean up the spawned peds
- Restore the camera
- Reset the weather and time back to normal
- Return NUI focus to the game