// ============================================================ // VIOLATOR MOD - SERVER CONFIGURATION // ============================================================ // Mode-organized edition | all original CVAR assignments retained. // Shared settings are defined once; mode overrides are grouped below. // Section headings are organizational only; they do not scope CVARs. // Execute this file as the main server configuration, not as a // per-map config. Commented examples remain inactive. // // 01 Server administration and engine // 02 Shared gameplay and bot settings // 03 FFA Rails // 04 Deathmatch (DM) // 05 Team Deathmatch (TDM) // 06 CTF-family objective settings // 07 Instagib CTF (ICTF; ctf CVAR namespace) // 08 Extreme CTF (XCTF) // 09 Blaster Rails (BR) // 10 Shared presentation, records and legacy controls // ============================================================ // 01 | SERVER ADMINISTRATION AND ENGINE // ============================================================ // Server identity and access // Public-facing server information and player capacity. // IMPORTANT: Set a NEW private RCON password before enabling remote administration. // The supplied, previously exposed password has intentionally been cleared. // lan=1 is retained for compatibility with the old internal anti-cheat initialization; // it does NOT replace public=1, firewall rules or port forwarding. set hostname "Violator Mod" set _admin "ZeTHeR" set maxclients "30" set public "1" set deathmatch "1" set lan "1" set rcon_password "" set randomrcon "0" set defaultoplevel "0" set clan_name "" set clan_pass "" set Info1 "Fast Rails | Smart Bots | Custom Maps" s set Info2 "Discord: discord.gg/RC2qjwUfjY" s set Info3 "Player controls: Install autoexec.cfg" s set Controls "Download player CFG from Violator website q2violatormod.netlify.app" s set motdfile "motd.txt" // Networking, rates and downloads // Q2Pro: net_port. Classic Q2 compatibility: port. // Keep your existing FPS/rate settings unchanged. // Public access also requires router/firewall UDP port forwarding. set net_ip "" set net_port "27428" set port "27428" set sv_iplimit "5" set sv_calcpings_method "2" set sv_strafejump_hack "1" set sv_enforcetime "1" set sv_status_show "2" set sv_status_limit "10" set sv_show_name_changes "1" set maxfps "250" // Native server simulation. 10 Hz is the production default. // To enable optional 20 Hz, set sv_fps to 20 before the first map load. // The old automatic XCTF correction in native-rate.cfg was retired in v1.9.216. // See the current Q2Pro 20 Hz setup guide for rate and client verification. // Stop the server before changing the rate and verify it with sv rail_timing. set sv_fps "10" set maxrate "25000" set allow_download "1" set allow_download_players "1" set allow_download_models "1" set allow_download_sounds "1" set allow_download_maps "1" set allow_download_pics "1" set rail_client_autoconfig "0" // Optional external HTTP downloads. // Configure when you have a download host. // set sv_downloadserver "http://your-host.example/" // Welcome message and logging // MOTD line shortened to avoid ending in a truncated "CT". // Preserve the chosen 15-second display interval. set motd_line "New players: get controls at q2violatormod.netlify.app/#downloads" set motd_time "15" set logfile "3" set stdlogfile "1" set stdlogname "StdLog" set log_chat "1" set log_connect "1" // Q2Pro administration set sv_enhanced_setplayer "1" // ============================================================ // 02 | SHARED GAMEPLAY AND BOT SETTINGS // ============================================================ // Match flow and voting // Mode vote and rematch windows are 20 seconds each. set rail_mode "ffa" set rail_auto_start "1" set rail_ready_min "1" set rail_countdown "3" set timelimit "8" set rail_overtime "1" set rail_overtime_max "120" set rail_vote_modes "ffa tdm ctf dm xctf br" set rail_mode_vote_seconds "20" set rail_rematch_seconds "20" set sv_gravity "800" set rail_mode_entities "1" // Team rules (shared CVARs) set rail_team_size "4" set rail_teams_full "0" set rail_friendly_fire "0" // Railgun balance // railwait and railgun_wait are separate settings; keep both. // Existing damage, speed and balance overrides are unchanged. set railwait "16" set railgun_wait "16" set raildamage "200" set railkick "0" set rail_refire "1.25" set rail_knockback "0.5" set rail_thickness "64" set rail_walls "3" set rail_longshot "1000" // Mini-Railgun balance (shared; BR overrides below) // Shared Railgun slugs; limited damage, independent firing interval. set rail_minirail_damage "35" set rail_minirail_fire_interval "1.25" set rail_minirail_start_slugs "10" set minirail_headshot_multiplier "1.00" set minirail_recoil_scale "1.0" // Arsenal balance and powerups (shared) set bfg_damage "200" set bfg_wait "36" set g_damage "200" set rocket_speed "650" set rl_damage "120" set sg_kick "5" set ssg_kick "7" set violator_quad_timer "1" set quad_notify "0" set violator_cell_drop_chance "2.4" // Grapple and hook defaults // Preserve both the traditional offhand hook and grapple weapon controls. set use_hook "1" set use_grapple "1" set hook_speed "2250" set hook_pullspeed "1350" // Shared zero inherits ordinary hook pull for carriers. A numeric per-mode // carrier override takes precedence; explicit per-mode zero disables carrier pull. set hook_carrierspeed "0" set hook_sky "1" set hook_maxtime "8" set hook_damage "0" set hook_reset "1" set hook_color "3" set grapple_speed "650" set grapple_pullspeed "650" set rail_grapple_uses "6" set rail_grapple_recover "1.5" set rail_grapple_autobind "0" // Empty mode-specific tuning overrides inherit shared settings. // Shield and Smart Spawn defaults // Shield per-life value -1 enables mode-specific defaults. // Preserve the Smart Spawn trap detection and mode protection settings. set shield_enable "1" set shield_uses_per_life "-1" set shield_health "200" set shield_duration "15" set shield_cooldown "15" set shield_max_active "1" set shield_effects "1" set shield_allow_fire "1" set shield_allow_grapple "1" set rail_spawn_protect_dm "0.75" set rail_spawn_protect_other "0.50" set rail_spawntrap "1" set rail_spawn_debug "0" set hide_spawn "1" // Bot population and fallback skill // FFA/DM population target and free client slots are unchanged. // Team bot balancing remains independent of the FFA/DM target. set use_bots "1" set bot_num "6" set bot_free_clients "3" set rail_team_bot_fill "1" // Global fallback; mode defaults and map overrides take precedence. // Changes take effect on the next map, not during combat. set rail_bot_skill "1" set bot_chat "1" // Optional map-specific ceiling // set rail_bot_mapcap_q2dm1 "4" // Bot perception and shared Railgun tracking set rail_bot_sight "1300" set rail_bot_rear "156" set rail_bot_hearing "700" set rail_bot_button_chance "0.01" set rail_bot_acquire_ms "69" set rail_bot_reacquire_ms "35" // Bot firing opportunities. 20 Hz: 0 = 100 ms, 1 = 50 ms; intermediate values interpolate the mean interval. // At 10 Hz every value gives 100 ms. Empty mode settings inherit; explicit zero selects baseline. // Published website CFG uses active mode response values at 20 Hz; // the factory release leaves mode overrides blank. Server sv_fps remains 10. set rail_bot_fire_response "0.0" set rail_bot_strafe_accuracy ".93" set rail_bot_human_tracking "1" set rail_bot_correction_ms "80" set rail_bot_tracking_debug "0" // Independent mode tracking below inherits shared values when empty. // Weapon-specific bot tracking // Shotgun set sg_bot_human_tracking "1" set sg_bot_strafe_accuracy "0.75" set sg_bot_correction_ms "80" // Super Shotgun set ssg_bot_human_tracking "1" set ssg_bot_strafe_accuracy "0.75" set ssg_bot_correction_ms "80" // Bot navigation, environmental judgment and loadouts // Retain advanced nav, environmental judgment and loadout configuration. set rail_nav_graph "1" set rail_nav_activity "0.25" set rail_bot_environment "1" set rail_bot_risk_tolerance "1" set rail_bot_suicidal_chance "0.001" set rail_bot_environment_debug "0" set rail_bot_loadout "1" set rail_bot_loadout_priority "1" set rail_bot_loadout_caution "1" set rail_bot_loadout_debug "0" // Supported direct approach to a personally observed weapon in DM/TDM. Set 0 for legacy behavior. // set rail_bot_weapon_approach "1" // ============================================================ // 03 | FFA RAILS // ============================================================ // Match rules and mode-specific gameplay set rail_ffa_limit "30" // v1.9.154: FFA tactical hand grenades (other modes unchanged). set rail_ffa_handgrenades "1" // 0 disables and clears FFA grenade ammo; 1 enables. set rail_ffa_grenade_damage "125" // Integer 1-200; fixed 190-unit radius; no Quad boost. set rail_ffa_bot_grenades "1" // Bot population, skill and classes set rail_bot_target_ffa "8" set rail_bot_skill_ffa "1" set rail_bot_ffa_classes "precision" // using more than one class in railgun only will result in imbalanced bots where precision wipes the floor with the other classes. // Railgun tracking set ffa_bot_fire_response "0.4" set ffa_bot_strafe_accuracy "0.93" set ffa_bot_correction_ms "80" set ffa_bot_acquire_ms "69" set ffa_bot_reacquire_ms "35" // Optional bot timing scales (blank inherits native timing) // set ffa_bot_hitscan_reaction_scale "" // set ffa_bot_hitscan_settle_scale "" // set ffa_bot_projectile_reaction_scale "" // set ffa_bot_projectile_settle_scale "" // Grapple controls // -1 follows the voting state. set rail_ffa_grapple "-1" set rail_ffa_grapple_uses "6" set rail_ffa_grapple_recover "1.5" // Optional tuning overrides (empty inherits shared settings). // set rail_ffa_hook_speed "2250" // set rail_ffa_hook_pullspeed "1350" // set rail_ffa_hook_carrierspeed "0" // set rail_ffa_hook_sky "1" // set rail_ffa_hook_maxtime "8" // set rail_ffa_hook_damage "0" // set rail_ffa_hook_reset "1" // set rail_ffa_grapple_speed "650" // set rail_ffa_grapple_pullspeed "650" // ============================================================ // 04 | DEATHMATCH (DM) // ============================================================ // Match rules and mode-specific gameplay set rail_dm_limit "30" set rail_dm_penetration "1" // Bot population, skill and classes set rail_bot_target_dm "12" set rail_bot_skill_dm "3" set rail_bot_dm_classes "precision,defensive" // Railgun tracking set dm_bot_fire_response "0.6" set dm_bot_strafe_accuracy "0.93" set dm_bot_correction_ms "70" set dm_bot_acquire_ms "60" set dm_bot_reacquire_ms "30" // Optional bot timing scales (blank inherits native timing) // set dm_bot_hitscan_reaction_scale "95" // set dm_bot_hitscan_settle_scale "95" // set dm_bot_projectile_reaction_scale "95" // set dm_bot_projectile_settle_scale "90" // Grapple controls // Grapple starts disabled. set rail_dm_grapple "0" set rail_dm_grapple_uses "3" set rail_dm_grapple_recover "3.5" // Optional tuning overrides (empty inherits shared settings). // set rail_dm_hook_speed "2250" // set rail_dm_hook_pullspeed "1350" // set rail_dm_hook_carrierspeed "0" // set rail_dm_hook_sky "1" // set rail_dm_hook_maxtime "8" // set rail_dm_hook_damage "0" // set rail_dm_hook_reset "1" // set rail_dm_grapple_speed "650" // set rail_dm_grapple_pullspeed "650" // ============================================================ // 05 | TEAM DEATHMATCH (TDM) // ============================================================ // Match rules and mode-specific gameplay set rail_tdm_limit "40" // TDM only. Public ON/OFF ballot: 30 seconds, existing 40% threshold. // Session CVAR persists across maps/modes; do not reset in per-map configs. set rail_tdm_shields "1" // Bot population, skill and classes set rail_bot_target_tdm "8" set rail_bot_skill_tdm "2" set rail_bot_tdm_classes "precision,defensive" // Railgun tracking set tdm_bot_fire_response "0.3" set tdm_bot_strafe_accuracy "0.93" set tdm_bot_correction_ms "70" set tdm_bot_acquire_ms "69" set tdm_bot_reacquire_ms "35" // Optional bot timing scales (blank inherits native timing) // set tdm_bot_hitscan_reaction_scale "" // set tdm_bot_hitscan_settle_scale "95" // set tdm_bot_projectile_reaction_scale "95" // set tdm_bot_projectile_settle_scale "90" // Grapple controls set rail_tdm_grapple "0" set rail_tdm_grapple_uses "6" set rail_tdm_grapple_recover "1.5" // Optional tuning overrides (empty inherits shared settings). // set rail_tdm_hook_speed "2250" // set rail_tdm_hook_pullspeed "1350" // set rail_tdm_hook_carrierspeed "0" // set rail_tdm_hook_sky "1" // set rail_tdm_hook_maxtime "8" // set rail_tdm_hook_damage "0" // set rail_tdm_hook_reset "1" // set rail_tdm_grapple_speed "650" // set rail_tdm_grapple_pullspeed "650" // ============================================================ // 06 | CTF-FAMILY OBJECTIVE SETTINGS // ============================================================ // Existing CTF objective CVARs are kept together here, rather than // duplicating them under ICTF and XCTF. Actual mode applicability // is controlled by the game code, not by these headings. // Match duration and capture limit set rail_ctf_minutes "15" set rail_ctf_limit "5" // Flags, assists and respawn waves // Violator objective rules. Manual flag dropping remains allowed. // Old TMG scoring-only variables with no live reads were omitted. set rail_flag_return "30" set rail_assist_window "10" set allow_flagdrop "1" set rail_ctf_flag_handoff_light "1" set rail_ctf_start_debug "0" set rail_ctf_respawn_wave "5" set rail_ctf_wave_team_spawns "0" // CTF audio and tactical alerts set rail_ctf_sfx "1" set rail_ctf_tactical_sfx "1" set rail_ctf_sfx_volume "1.0" set rail_ctf_base_alert_range "384" set rail_ctf_voice_variants "1" // ============================================================ // 07 | INSTAGIB CTF (ICTF / ctf) // ============================================================ // Match rules and mode-specific gameplay // Objective settings are listed in section 06. // Bot population, skill and classes set rail_bot_target_ctf "12" set rail_bot_skill_ctf "1" set rail_bot_ctf_classes "all" //while still subject to rail class imbalance the nature of CTF makes the trade off worth while. Use all Classes. // Railgun tracking set ctf_bot_fire_response "0.3" set ctf_bot_strafe_accuracy "0.93" set ctf_bot_correction_ms "80" set ctf_bot_acquire_ms "69" set ctf_bot_reacquire_ms "35" // Optional bot timing scales (blank inherits native timing) // set ctf_bot_hitscan_reaction_scale "" // set ctf_bot_hitscan_settle_scale "" // set ctf_bot_projectile_reaction_scale "" // set ctf_bot_projectile_settle_scale "" // Grapple controls set rail_ctf_grapple "1" set rail_ctf_grapple_uses "6" set rail_ctf_grapple_recover "1.5" // Optional tuning overrides (empty inherits shared settings). // set rail_ctf_hook_speed "2250" // set rail_ctf_hook_pullspeed "1350" // set rail_ctf_hook_carrierspeed "0" // set rail_ctf_hook_sky "1" // set rail_ctf_hook_maxtime "8" // set rail_ctf_hook_damage "0" // set rail_ctf_hook_reset "1" // set rail_ctf_grapple_speed "650" // set rail_ctf_grapple_pullspeed "650" // ============================================================ // 08 | EXTREME CTF (XCTF) // ============================================================ // Match rules and mode-specific gameplay // Objective settings are listed in section 06. // Bot population, skill and classes set rail_bot_target_xctf "12" set rail_bot_skill_xctf "1" set rail_bot_xctf_classes "all" // Railgun tracking set xctf_bot_fire_response "0.3" set xctf_bot_strafe_accuracy "0.93" set xctf_bot_correction_ms "80" set xctf_bot_acquire_ms "69" set xctf_bot_reacquire_ms "35" // Optional bot timing scales (blank inherits native timing) // set xctf_bot_hitscan_reaction_scale "" // set xctf_bot_hitscan_settle_scale "" // set xctf_bot_projectile_reaction_scale "95" // set xctf_bot_projectile_settle_scale "90" // Grapple controls set rail_xctf_grapple "1" set rail_xctf_grapple_uses "6" set rail_xctf_grapple_recover "1.5" // Optional tuning overrides (empty inherits shared settings). // set rail_xctf_hook_speed "2250" // set rail_xctf_hook_pullspeed "1350" // set rail_xctf_hook_carrierspeed "0" // set rail_xctf_hook_sky "1" // set rail_xctf_hook_maxtime "8" // set rail_xctf_hook_damage "0" // set rail_xctf_hook_reset "1" // set rail_xctf_grapple_speed "650" // set rail_xctf_grapple_pullspeed "650" // ============================================================ // 09 | BLASTER RAILS (BR) // ============================================================ // Match rules and mode-specific gameplay set rail_br_limit "30" set br_minirail_damage "45" set br_minirail_fire_interval "1.25" set br_shields "0" set br_map_health_shields "1" set br_powerups "1" set br_minirail_headshot_multiplier "1.25" // Living BR injury particles set br_blood_fx "1" // Bot population, skill and classes set rail_bot_target_br "8" set br_bot_skill "1" set rail_bot_br_classes "precision" // using more than one class in railgun only will result in imbalanced bots where precision wipes the floor with the other classes. // Railgun tracking set br_bot_fire_response "0.0" set br_bot_strafe_accuracy "0.80" set br_bot_correction_ms "100" set br_bot_acquire_ms "90" set br_bot_reacquire_ms "35" // Optional bot timing scales (blank inherits native timing) // set br_bot_hitscan_reaction_scale "" // set br_bot_hitscan_settle_scale "" // set br_bot_projectile_reaction_scale "" // set br_bot_projectile_settle_scale "" // Grapple controls set rail_br_grapple "1" set rail_br_grapple_uses "6" set rail_br_grapple_recover "1.5" // Optional tuning overrides (empty inherits shared settings). // set rail_br_hook_speed "2250" // set rail_br_hook_pullspeed "1350" // set rail_br_hook_carrierspeed "0" // set rail_br_hook_sky "1" // set rail_br_hook_maxtime "8" // set rail_br_hook_damage "0" // set rail_br_hook_reset "1" // set rail_br_grapple_speed "650" // set rail_br_grapple_pullspeed "650" // ============================================================ // 10 | SHARED PRESENTATION, RECORDS AND LEGACY CONTROLS // ============================================================ // Spectators, pre-match cameras and HUD // Team observation policy and Director camera settings. set rail_spectator_policy "5" set rail_spec_enable "1" set rail_spec_default "3" set rail_spec_director "1" set rail_spec_hold "6" set rail_spec_switch_margin "20" set rail_spec_update "0.25" set rail_spec_smooth "1" set rail_spec_hud "1" set rail_spec_victory "1" set rail_spec_victory_time "10" set rail_spec_afk_respawn "420" set rail_spec_debug "0" set rail_spec_intermission_interval "45" set rail_prematch_cams "1" set rail_prematch_spawn_views "2" set rail_prematch_spawn_time "12" set rail_hud_bottom "140" // Music and announcers // This is the modern dynamic music and announcer system, not intro.txt WAV playback. set rail_music "1" set rail_music_mode "1" set rail_music_volume "0.8" set rail_music_state_min "8" set rail_announcer "1" set rail_voice_overlap_delay "0.33" set rail_grapple_awards "1" set rail_grapple_announcer "1" set rail_awards "1" set rail_pen_stats "1" set violator_global_announcer "1" set violator_comedy_announcer "1" set violator_comedy_chance "0.50" set violator_comedy_cooldown "25" set violator_comedy_camping "1" set violator_comedy_bots "1" set violator_global_voice_volume "1.0" set violator_global_spree "10" set violator_comedy_bot_window "8" set violator_comedy_camp_radius "96" // Cosmetic skulls // Cosmetic skulls only; ordinary meat gibs keep normal cleanup. set rail_skull_persist "1" set max_skulls "32" // Integer 0-64; zero disables retention; oldest removed first. set rail_skull_lifetime "180" // 1-600 seconds from creation; runtime changes apply. // Career registration and records // Persistent player accounts, statistics and write intervals. set rail_records "1" set rail_records_flush "30" set rail_records_minshots "100" set rail_records_max "1024" set rail_register_wait "60" set rail_register_ip "4" set rail_register_global "16" // ------------------------------------------------------------ // Legacy controls still deliberately retained // ------------------------------------------------------------ // These still control or may affect live TMG-derived code. // Keep explicit non-default values and safety-related disables. set check_models "0" set server_time "1" set tmgclock "12" set console_chat "0" set no_hum "1" set lights_out "0" set flashlight "0" set sv_botdetection "0" // ======================================== // TACTICAL MINIMAP — v1.9.210 // ======================================== // General presentation set rail_minimap "1" set rail_minimap_outline "5" set rail_minimap_icons "1" set rail_minimap_icon_scale "1" set rail_minimap_zcolors "1" set rail_minimap_resolution "2" set rail_minimap_item_floors "1" set rail_minimap_rotate "0" set rail_minimap_zoom "1" set rail_minimap_other_floors "0" set rail_minimap_position "0" set rail_minimap_size "2" set rail_minimap_alpha "0.90" set rail_minimap_hz "5" // Item visibility (armor shards and small health have no countdown) set rail_minimap_items "1" set rail_minimap_weapons "0" set rail_minimap_armor "1" set rail_minimap_powerups "1" set rail_minimap_health "0" set rail_minimap_ammo "0" set rail_minimap_availability "0" set rail_minimap_timers "1" // Players and objectives set rail_minimap_teammates "1" set rail_minimap_flags "1" set rail_minimap_connections "0" // Game modes set rail_minimap_ffa "0" set rail_minimap_dm "0" set rail_minimap_tdm "1" set rail_minimap_ictf "1" set rail_minimap_xctf "1" set rail_minimap_br "0" // Diagnostics set rail_minimap_debug "0" // End of server configuration.