set g_jetpack 0 "Jetpack mutator"
set g_running_guns 0 "... or wonder, till it drives you mad, what would have followed if you had."
-set sv_minigames 1 "Allow minigames"
-set sv_minigames_observer 1 "Force minigame players to be observers. 0: don't move them to observer, 1: move them to observer, 2: force observer"
set _urllib_nextslot 0 "temp variable"
set cl_warpzone_usetrace 1 "do not touch"
exec mutators.cfg
exec notifications.cfg
exec monsters.cfg
+exec minigames.cfg
// load console command aliases and settings
exec commands.cfg
--- /dev/null
+set sv_minigames 1 "Allow minigames"
+set sv_minigames_observer 1 "Force minigame players to be observers. 0: don't move them to observer, 1: move them to observer, 2: force observer"
+
+// Pong
+set sv_minigames_pong_paddle_size 0.3 "Paddle length relative to the board size"
+set sv_minigames_pong_paddle_speed 0.8 "Paddle speed (board size per second)"
+
+set sv_minigames_pong_ball_wait 1 "Number of seconds between reset and throw"
+set sv_minigames_pong_ball_speed 1 "Ball speed (board size per second)"
+set sv_minigames_pong_ball_radius 0.03125 "Ball radius relative to the board size"
+
+set sv_minigames_pong_ai_thinkspeed 0.1 "Seconds between AI actions"
+set sv_minigames_pong_ai_tolerance 0.33 "Distance of the ball relative to the paddle size"
\ No newline at end of file
#ifdef SVQC
-float autocvar_sv_minigames_pong_paddle_size = 0.3;
-float autocvar_sv_minigames_pong_paddle_speed = 0.75;
-float autocvar_sv_minigames_pong_ball_wait = 1;
-float autocvar_sv_minigames_pong_ball_speed = 1;
-float autocvar_sv_minigames_pong_ai_thinkspeed = 0.1;
-float autocvar_sv_minigames_pong_ai_tolerance = 0.33;
+float autocvar_sv_minigames_pong_paddle_size;
+float autocvar_sv_minigames_pong_paddle_speed;
+
+float autocvar_sv_minigames_pong_ball_wait;
+float autocvar_sv_minigames_pong_ball_speed;
+float autocvar_sv_minigames_pong_ball_radius;
+
+float autocvar_sv_minigames_pong_ai_thinkspeed;
+float autocvar_sv_minigames_pong_ai_tolerance;
void pong_ball_think();