// =============================================================================== // DESCRIPTION: Initates the script vars and starts the game // CALLED BY: maploaded // PARAMS: none // TYPE: Server-Side // =============================================================================== // Init ========================================================================== @INIT // CreateVar string __name "SavageArena" CreateVar string __version "001.10" CreateVar string __mapname #__name#"_"#__version# // Debug settings CreateVar string __empty "" CreateVar string __empty "" CreateVar string __debug_prefix "^c::SCRDEBUG:: ^y" CreateVar int __start_game_min 3 // Register CreateVar bool __game_started false CreateVar bool __game_blocking false CreateVar int __clients 0 CreateVar int __clients_max_idx 0 CreateVar int __clients_max_idx_prev 0 // LOOP CreateVar bool __loop_progress false CreateVar int __powerups 0 CreateVar int __powerups_teamrecall_accept_timeout 7000 CreateVar int __powerups_teamrecall_max_ally 3 StartGame if [__debug == 1] goto DEBUG goto SCRIPT // =============================================================================== // Debug ========================================================================= @DEBUG Echo #__debug_prefix#"Calling script __SCRIPTVARS" goto SCRIPT // =============================================================================== // Script ======================================================================== @SCRIPT goto EOF @EOF // ===============================================================================