//---[ DF-Ghosts-Racing ]-----------------------------

echo
echo "^1=================================================="
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-Racing]"
echo "^1=================================================="

//---[ Vars ]---
// Initialize some values
// Set the automode to record/play
// Turn off miniview
// Set the ghosts playback timescales to 1.0

//-- [ Miniview ]--
seta df_ghosts_MiniviewDraw "0"
seta df_ghosts_MiniviewCameraMode "1"

//---[ Ghosts - All ]---
seta df_ghosts_FileExtension ""
seta df_ghosts_DrawOutput "3"
seta df_ghosts_AutoMode "4"
seta df_ghosts_NoDrawRadius "200"
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 0 to stop all ghosts

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"
