//---[ DF-Ghosts-Tricking ]-----------------------------

echo
echo "^1=================================================="
echo
echo "^2             1: ^3 start recording ghost # 1"
echo "^2             2: ^3 stop ghost # 1"
echo "^2             3: ^3 start playing ghost # 1"
echo
echo "^2             4: ^3 start recording ghost # 2"
echo "^2             5: ^3 stop ghost # 2"
echo "^2             6: ^3 start playing ghost # 2"
echo
echo "^2             0: ^3 stop all ghosts, set their timescale to 1"
echo
echo "^2      MWHEELUP: ^3 increase ghosts timescale"
echo "^2    MWHEELDOWN: ^3 decrease ghosts timescale"
echo
echo "^2       UPARROW: ^3 increase the ghost camera mode"
echo "^2     DOWNARROW: ^3 decrease the ghost camera mode"
echo
echo "^2     LEFTARROW: ^3 decrease the miniview camera mode"
echo "^2    RIGHTARROW: ^3 increase the miniview camera mode"
echo
echo "^1=================================================="
echo "^1     CONFIG LOADED: ^3 DF-[Ghosts-Tricking]"
echo "^1=================================================="

//---[ Vars ]---
// Initialize some values
// Turn on the miniview when ghost is playing
// Set the miniview to first person ghost cam mode
// Set the ghosts play timescales to 1.0
// Sets the ghost NoDrawRadius to 0

//-- [ Miniview ]--
seta df_ghosts_MiniviewDraw "1"
seta df_ghosts_MiniviewCameraMode "1"

//---[ Ghosts - All ]---
seta df_ghosts_FileExtension ""
seta df_ghosts_DrawOutput "3"
seta df_ghosts_AutoMode "0"
seta df_ghosts_NoDrawRadius "0"
seta df_ghosts_LiveAmmo "0"
seta df_ghosts_CheckPVS "1"

//---[ Ghost 1 ]---
seta df_ghost1_RecordFileFormat "2"
seta df_ghost1_RecordInterval "50"
seta df_ghost1_RecordView "0"
seta df_ghost1_PlayTimescale "1.0"
seta df_ghost1_PlayDrawPlayer "3"
seta df_ghost1_PlayDrawMissiles "2"
seta df_ghost1_PlayCameraMode "0"
seta df_ghost1_PlayLoop "0"

//---[ Ghost 2 ]---
seta df_ghost2_RecordFileFormat "2"
seta df_ghost2_RecordInterval "50"
seta df_ghost2_RecordView "0"
seta df_ghost2_PlayTimescale "1.0"
seta df_ghost2_PlayDrawPlayer "3"
seta df_ghost2_PlayDrawMissiles "2"
seta df_ghost2_PlayCameraMode "0"
seta df_ghost2_PlayLoop "0"

//---[ Ghost Recording And Playing ]---
// Press 1 to record ghost #1, 2 to stop, 3 to play
// Press 4 to record ghost #2, 5 to stop, 6 to play
// Press 0 to stop all ghosts

bind 1 "ghost #1 record $mapname_ghostnum"
bind 2 "df_ghost1_PlayTimescale 1.00; ghost #1 stop"
bind 3 "df_ghost1_PlayTimescale 1.00; ghost #1 play"

bind 4 "ghost #2 record $mapname_ghostnum"
bind 5 "df_ghost2_PlayTimescale 1.00; ghost #2 stop"
bind 6 "df_ghost2_PlayTimescale 1.00; ghost #2 play"

bind 0 "df_ghost1_PlayTimescale 1.00; ghost #1 stop; df_ghost2_PlayTimescale 1.00; ghost #2 stop"

//---[ Ghost Timescale ]---
// Use the mousewheel to slow down or speed up a playing ghost

bind MWHEELUP   "varMath df_ghost1_PlayTimescale + .1"
bind MWHEELDOWN "varMath df_ghost1_PlayTimescale - .1"

//---[ Mainview Ghost Camera Modes ]---
// Use the up/down arrows to cycle through the ghost
// camera modes for the mainview while a ghost is playing

bind UPARROW    "varMath df_ghost1_PlayCameraMode - 1"
bind DOWNARROW  "varMath df_ghost1_PlayCameraMode + 1"

//---[ Miniview Ghost Camera Modes ]---
// Use the left/right arrows to cycle through the ghost
// camera modes for the miniview while a ghost is playing

bind LEFTARROW  "varMath df_ghosts_MiniviewCameraMode - 1"
bind RIGHTARROW "varMath df_ghosts_MiniviewCameraMode + 1"
