Jump to content
主视角中国

Recommended Posts

Posted

各位临时可以参考,本人也未系统的研究。

回去看看cod2的文件结构,可以的话就出迷你服务器。

// ************************************************** ***

// *********** FPSCHINA.COM COD2 ****************

// ************************************************** ***

//Passwords

set rcon_password "" //CHANGE ME

set sv_privatePassword "" // OPTIONAL CHANGE ME

set g_password "" // Only used if you want to close your server to the public

//Logging

set g_log "Server.log"

set g_logSync "1"

//SV Pure

set sv_pure "1"

//SV Cheats

set sv_cheats "0"

//Allowed Clans

set sv_allowedClan1 ""

set sv_allowedClan2 ""

//Disable Console

set sv_disableClientConsole "0"

// ************************************************** ***

// *********** Server Personality Dvars ****************

// ************************************************** ***

// Hostname and MOTD

sv_hostname "FPSCHINA.COM COD2 Server"

set scr_motd "Welcome to FPSCHINA.COM Call of Duty 2 Server."

// Max Players and Saved Private Possitions

set sv_maxclients "32" //Maximum players on the server who are not using the private password

set sv_privateClients "0" //Allows players to enter the server without taking up public slots

//Downloads

seta sv_allowAnonymous "0"

set sv_allowdownload "1"

// Server Packet Rate

set sv_maxRate "18000"

// Limit Laggers and reconnect spammers

set sv_reconnectlimit "3" // Limits how long a player must wait to reconnect to a server

set sv_minPing "0"

set sv_maxPing "500"

// - Banning

set g_banIPs ""

// AntiFlooding Settings

set sv_floodProtect "1"

// ************************************************** ***

// ******************** Voice *************************

// ************************************************** ***

set sv_voice "0"

set sv_voiceQuality "1"

// ************************************************** ***

// ******************** Map Rotation *******************

// ************************************************** ***

// Do NOT put your map_rotate command here! Map_rotate should be called VERY last

// Set the Gametype

set g_gametype "tdm"

// Set the Map Rotation

set sv_MapRotation "gametype tdm map mp_breakout gametype tdm map mp_brecourt gametype tdm map mp_burgundy gametype tdm map mp_carentan gametype tdm map mp_dawnville gametype tdm map mp_decoy gametype tdm map mp_downtown gametype tdm map mp_farmhouse gametype tdm map mp_leningrad gametype tdm map mp_matmata gametype tdm map mp_railyard gametype tdm map mp_toujane gametype tdm map mp_trainstation"

set sv_maprotationcurrent ""

// ************************************************** ***

// *************** Match Setup Options *****************

// ************************************************** ***

// Use these to set how your server will play a map.

// DM

//set scr_dm_scorelimit "50"

//set scr_dm_timelimit "30"

// TDM

set scr_tdm_scorelimit "300"

set scr_tdm_timelimit "30"

// CTF

//set scr_ctf_scorelimit "5"

//set scr_ctf_timelimit "30"

// HQ

//set scr_hq_scorelimit "600"

//set scr_hq_timelimit "30"

// SD

//set scr_sd_bombtimer "60"

//set scr_sd_graceperiod "15"

//set scr_sd_roundlength "4"

//set scr_sd_roundlimit "0"

//set scr_sd_scorelimit "10"

//set scr_sd_timelimit "0"

// ************************************************** ***

// ***************** Gameplay Dvars ********************

// ************************************************** ***

// Team Icons

set scr_drawfriend "1"

// Friendly Fire

set scr_friendlyfire "0"

// Kill Cam & Spectate

set scr_killcam "0"

set scr_spectatefree "0"

set scr_spectateenemy "0"

// Auto Team Balance

set scr_teambalance "1"

// Force Respawn

set scr_forcerespawn "1"

// ************************************************

// ******************* Voting *********************

// ************************************************

set g_allowvote "1"

// ************************************************** ***

// ************ Weapon Settings ************************

// ************************************************** ***

// Weapon Ammo Pools

set g_weaponAmmoPools "0"

//Snipers

set scr_allow_enfieldsniper "1"

set scr_allow_kar98ksniper "1"

set scr_allow_nagantsniper "1"

set scr_allow_springfield "1"

set scr_allow_svt40 "1"

// Rifles

set scr_allow_enfield "1"

set scr_allow_kar98k "1"

set scr_allow_m1carbine "1"

set scr_allow_m1garand "1"

set scr_allow_nagant "1"

set scr_allow_g43 "1"

// MGs

set scr_allow_bar "1"

set scr_allow_bren "1"

set scr_allow_mp44 "1"

set scr_allow_ppsh "1"

//SMGs

set scr_allow_sten "1"

set scr_allow_mp40 "1"

set scr_allow_thompson "1"

set scr_allow_pps42 "1"

set scr_allow_greasegun "1"

// Shotgun

set scr_allow_shotgun "1"

// Grenades

set scr_allow_smokegrenades "1"

set scr_allow_fraggrenades "1"

map_rotate

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

登录

Already have an account? Sign in here.

现在登录
×
×
  • 创建新的...