Replays (demos)#
Automatic conversion with AutoAGR#
This guide contains instructions for setting up and using AutoAGR. It is based on this video by Hisanimations
Setup#
The following add-ons are required:
Software needed:
You can download AutoAGR in the # announcements channel in the TF2 Blender Discord server
Steps#
Create a folder structure that ressembles this one. The GameplayModels folder’s name is arbitrary.
GameplayModels/
├─ models/
├─ models2/
│ ├─ workshop/
Open [game_directory] / tf / tf2_misc_dir.vpk with GCFScape.
Click on root / models in the left panel.
Open the models2 folder in a file explorer.
From GCFScape, drag the weapons and player folders into the models2 folder.
Open the models2 / workshop folder.
Double click on workshop in GCFScape.
Drag the weapons folder from GCFScape to the models2 / workshop folder.
Your folder structure should look like this once you’ve done all this:
GameplayModels/
├─ models/
├─ models2/
│ ├─ player/
│ ├─ weapons/
│ ├─ workshop/
│ │ ├─ weapons/
Open crowbar and click on Decompile
Enter the full path for your models2/ folder under the MDL Input field. Change the MDL Input dropdown to Folder and subfolders
Set the output folder to the full path for the models/ folder
Under the Options Section, enable Folder for each model and click decompile
Delete models2/ when the process is finished
Danger
Do NOT join a multiplayer game with HLAE or AutoAGR. This will VAC ban your Steam account.
Run AutoAGR
Set AutoAGR to this recommended configuration:
FRAMERATE: 30 / 24
RECORD PLAYER CAMERA: YES
RECORD OTHER PLAYERS: NO
RECORD WEAPONS: YES
RECORD PROJECTILES: YES
RECORD FIRST PERSON MODELS: YES
EXIT GAME AFTER PLAYBACK FINISHES: NO
STARTING TICK: 1
Set the paths for the input .dem file, the .agr output file, the [game_directory] / tf folder, and the folder containing HLAE.
Click on the “write” button, then the “play” button.
Once the entire demo has been played, TF2 should go back to the home screen. Type “mirv_agr stop” and close the game.
Click on the Output properties panel and set the output frame rate to the one you chose in AutoAGR
Click on File > ⭳ Import > HLAE afxGameRecord (.agr)
Set the import settings to this recommended configuration:
Asset path: folder containing the "models" folder.
Add interpolated key frames: No
Scale: 0.1
Scale invisible to zero: No
Skip Physic, LOD and Shared_Player_Skeleton meshes: Yes
Skip Stattrack and Stickers: Yes
Bones (skeleton) only: Yes
Model instancing: Yes
Spawn an FK rig using the TF2 Trifecta and use Bonemerge to bind it to a rig in the scene.
If the eyes are white, select the empties in the eyes and set their Object constraint influence to 0