//---[ DF-Replay-Editing ]-----------------------------

echo
echo "^1=================================================="
echo
echo "^2       MWHEELUP: ^3 decrease the Replay mode"
echo "^2     MWHEELDOWN: ^3 increase the Replay mode"
echo
echo "^2       UPARROW: ^3 decrease the current CAM ID"
echo "^2     DOWNARROW: ^3 increase the current CAM ID"
echo "^2             0: ^3 set the current CAM to the player's position/angles"
echo
echo "^2     LEFTARROW: ^3 decrease the current ACT ID"
echo "^2    RIGHTARROW: ^3 increase the current ACT ID"
echo "^2             8: ^3 set current ACT's first corner to the player's position"
echo "^2             9: ^3 set current ACT's second corner to the player's position"
echo
echo "^2             1: ^3 display all of the VAR  data"
echo "^2             2: ^3 display all of the CAM  data"
echo "^2             3: ^3 display all of the TRAN data"
echo "^2             4: ^3 display all of the ACT  data"
echo "^2             5: ^3 display all of the LINK data"
echo
echo "^1=================================================="
echo "^1     CONFIG LOADED: ^3 DF-[Replay-Editing ]"
echo "^1=================================================="

//---[ REPLAY mode ]---
// Use MWHEELUP/MWHEELDOWN to decrease/increase the REPLAY mode

bind MWHEELUP   "varMath df_demos_ReplayMode - 1"
bind MWHEELDOWN "varMath df_demos_ReplayMode + 1"

//---[ CAM creation ]---
// Press UPARROW/DOWNARROW to increment/decrement the CurrentCamID
// Press 0 to set the current Cam

set user_CurrentCamID 0

bind UPARROW   "varMath user_CurrentCamID - 1"
bind DOWNARROW "varMath user_CurrentCamID + 1"
bind 0         "replay set CAM $user_CurrentCamID $viewposX $viewposY $viewposZ $angX $angY $angZ"

//---[ ACT creation ]---
// Press LEFTARROW/RIGHTARROW to increment/decrement the CurrentActID
// Press 8 to set the first Act corner
// Press 9 to set the second Act corner

set user_CurrentActID 0

bind LEFTARROW  "varMath user_CurrentActID - 1"
bind RIGHTARROW "varMath user_CurrentActID + 1"
bind 8          "replay set ACT $user_CurrentActID VOLUME $viewposX $viewposY $viewposZ $ $ $"
bind 9          "replay set ACT $user_CurrentActID VOLUME $ $ $ $viewposX $viewposY $viewposZ"

//---[ data output ]---
// Press 1 thru 5 to display replay script data

bind 1 "replay get var  -1 2"
bind 2 "replay get cam  -1 2"
bind 3 "replay get tran -1 2"
bind 4 "replay get act  -1 2"
bind 5 "replay get link -1 2"
