diff --git a/SoldierOfFortune2Gold/mapcycle.txt b/SoldierOfFortune2Gold/mapcycle.txt new file mode 100644 index 0000000..8a80930 --- /dev/null +++ b/SoldierOfFortune2Gold/mapcycle.txt @@ -0,0 +1,172 @@ +s// In order to only have one map load instead of +// multiple maps, you can remove the map1 and map2 +// entry from this file. You would also have to set +// the desired gametype, time- and scorelimit CVARs +// and change the g_motd CVAR from the map0 entry. + +// Choices for gametypes are: +// dm, tdm, ctf, inf, elim, h&s or h&z + +mapcycle +{ + map0 + { + command "map mp_shop" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map1 + { + command "map mp_hos1" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map2 + { + command "map mp_hk1" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map3 + { + command "map mp_col1" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map4 + { + command "map mp_finca" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map5 + { + command "map mp_kam1" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map6 + { + command "map mp_kam2" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map7 + { + command "map mp_raven" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map8 + { + command "map mp_pra1" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map9 + { + command "map mp_shop2" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map10 + { + command "map mp_col2" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map11 + { + command "map mp_jor1" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map12 + { + command "map mp_pra2" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map13 + { + command "map mp_kam3" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map14 + { + command "map mp_kam4" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } + map15 + { + command "map mp_hos2" + cvars + { + scorelimit 0 + timelimit 15 + g_gametype dm + } + } +} diff --git a/SoldierOfFortune2Gold/server.cfg b/SoldierOfFortune2Gold/server.cfg new file mode 100644 index 0000000..b06d07a --- /dev/null +++ b/SoldierOfFortune2Gold/server.cfg @@ -0,0 +1,179 @@ +// Server Passwords +set rconpassword "" // Place your RCON password here +set sv_privatePassword "" // Place your privateclients password here +set g_password "" // Password the server-To remove in console set it to "none" +seta sv_hostname "LinuxGSM" // The name of the server listed for players + +// Server General Settings +seta sv_pure "0" +seta sv_maxclients "32" // Max players +seta sv_privateClients "2" // The number of reserved slots +seta sv_fps "30" +seta g_minRate "10000" // Setting this enables rate checking, informing clients that fall below the given threshold. +seta sv_maxRate "25000" // Standard maxrate is 15000 +seta sv_zombietime "10" // Default setting +seta sv_timeout "120" // Default setting +seta sv_reconnectlimit "10" // Amount of times a player can re-connect with connection issues +seta sv_allowDownload "1" // Allow downloads-Please leave at 0 for optimum performance +seta sv_allowAnonymous "1" // 0 disallows the name unnamedplayer +seta sv_floodProtect "1" // Stops players flooding the server with radio msgs etc +seta sv_padPackets "0" // Set at default +seta sv_maxping "250" // Helps preventing lagging players from entering your server +seta dmflags "10" // No fall damage etc. +seta g_speed "300" +seta g_gravity "800" +set g_roundstartdelay "0" +set g_roundtimelimit "3" +set g_roundjointime "2" +set g_availableweapons "222222022220000000202" +set g_pickupsDisabled "1" +set scorelimit "10" +set timelimit "20" + +//Flood protection +set sv_floodprotect "1" +set g_voiceFloodCount "5" +set g_voiceFloodPenalty "45" + +// TeamKilling +seta g_friendlyfire "0" // Turns frindly fire off (0)/ on (1) +seta g_teamkillPenalty "-1" // Point penalty for teamkilling +seta g_teamkillDamageMax "0" // Amount of TK damage before ban - 0 to disable +seta g_teamkillDamageForgive "10" // + +// Warmup +seta g_doWarmup "0" // Do warmup 0=no 1=yes +seta g_warmup "4" // Amount of warm-up time + +// Team and spec handling +seta g_respawnInterval "5" // Respawn time for ctf & dm etc +seta g_respawnInvulnerability "2" +seta g_inactivity "120" // Move to spec after this many seconds +seta g_teamForceBalance "0" // Force players to onto team with least players/score +seta g_teamAutoJoin "0" // If 1 then new players auto join team upon conection +seta g_synchronousclients "0" // Default settings. Keep off for best gameplay +seta g_smoothClients "1" // Default setting +seta g_followEnemy "0" // If 1 then you may follow the enemy +seta g_forceFollow "1" // If 1 then you may only follow players +seta g_timeouttospec "100" // Default setting + +// Master Servers - Do NOT change! +seta sv_master5 "" +seta sv_master4 "207.38.8.34" +seta sv_master3 "clanservers.net" +seta sv_master2 "69.93.209.187" +seta sv_master1 "master.sof2.ravensoft.com" + +seta com_hunkMegs "256" +seta com_soundMegs "64" +seta com_zoneMegs "128" + +// Log Settings - Console +seta logfile "3" // default setting +seta g_logSync "0" // Default setting +seta g_loghits "1" // Default setting +seta g_log "date" //date = store by date. + +// Voting Options +seta g_allowvote "1" +seta g_failedVoteDelay "5" +seta g_callvote "4" + +//seta novote_g_gametype "1" +//seta novote_map "1" +//seta novote_map_restart "1" +//seta novote_nextmap "1" +//seta novote_mapcycle "1" +//seta novote_rmgmap "1" +seta novote_g_friendlyfire "1" +seta novote_g_dowarmup "1" +//seta novote_timelimit "1" +//seta novote_scorelimit "1" + +// Admin commands allowed by status. use "/rcon admcmds " to set. +set g_admCmds "32335435354444435555454354434445444444444444444" + +// Other Stuff +set g_autoUnlock "1" +set g_Armor "0" // Force armor along with goggles +set g_weapontime "5" // Weapon switch time. best to leave default +set g_teamChangeDeath "0" +set g_autoEvenTeams "8" // seconds autoeven checks. 0 = off +set g_allowTie "1" // end game on a tied score +set g_talkingGhosts "1" // inf/elim chatting when dead +set g_enableAdmins "1" +set g_globalVoiceChat "1" +set g_allowThirdPerson "0" +set g_showKillStreak "1" +set g_fastRestart "1" +set g_autoVoteTimeExtend "1" +set g_colorTeamNames "2" +set g_allowSpecVote "1" +set g_allowMinuteVote "1" +set g_headShotMessage "^1-^3=^1H^3E^1A^3D^1S^3H^1O^3T^1=^3-" +set g_allowDeathMessages "1" +set g_defaultPenaltyBoxTime "20" +set g_swapsides "0" +set g_enableHealthGains "0" +set g_maxSpawnKill "3" +set g_spawnKillPunishment "pop" +set g_EnableDoors "0" // Disabled some doors. Maps might need them, set them per map! +set g_m4scope "0" // use M4 Scope +set g_m203 "0" // grenades with m203 +set g_onlyWeapons "0" // BIT-FLAG for using only set weapons +set g_ForcedItems "0" // BIT-FLAG for forced extra weapons +set g_enableCustomGrenades "1" // air-strike, etc. +set g_enableKillSpreeReward "1" +set g_killSpreeFile "settings/killspree.cfg" // can change per-map +set g_showKillStreak "2" +set g_ggRankType "2" +set g_enableVoteNextMap "0" // Auto-votes for a mapcycle at the start of a map +set g_enableVoteSkipNextMap "1" // Auto-vote called to pick the next map at the end of the match +set g_disableRPMObituary "0" // disables RPM from sending death's to clients for each kill. +set g_updatetmi "1000" //Time between teammate info sent to clients +set g_maxIPConnections "8" // Max connections per ip to help with fake player flooding +set g_weaponModFile "sc" // weapon&damage mods from files in ext_data\ + +// New Gametype Specific +set g_freezeTime "20" +set gt_caserunRestart "0" // For CASERUN (CR) - if the round restarts when case is scored/dropped/etc.. settings: 0/1/2 +set gt_bombTimer "30" // The seconds it takes for a bomb to explode +set gt_bombDefuseTime "10" // Time needed to defuse a bomb +set gt_bombPlantTime "10" // Time needed to plant a bomb + +//Chat shortcut prefix +set g_adminTalk "^_**^7ADMIN^_**^-" +set g_sadminChat "^7**^gS-ADMIN ONLY^7**^7" +set g_adminChat "^7**^1ADMIN ONLY^7**^7" +set g_refTalk "^_**^3REFEREE^_**^-" +set g_refChat "^7**^3REF ONLY^7**^7" +set g_caChat "^7**^RHEY ADMIN^7**^7" +set g_adminNotify "^3*^6*^3* " +set g_adminRule "^3*^_RULE^3*" +set g_adminInfo "^7*^iINFO^7*" +set g_adminWarning "^_*^3WARNING^_*" + +//Server messages +set g_serverMsgInterval "8" +set g_enableServerMsgs "1" +set g_serverMsgDelay "10" +set g_msg1 "^,Welcome to the server. Please adjust your rate ^6(^3/rate 15000^6) ^,for ^6smoother ^,gameplay" +set g_msg2 "" +set g_msg3 "" +set g_msg4 "" +set g_msg5 "" + +//server MOTD +set server_motd1 "" +set server_motd2 "" +set server_motd3 "" +set server_motd4 "" +set server_motd5 "" +set server_motd6 "" + +// STATS / DATABASE STUFF +set g_enabledatabase "0" // 0=off, 1=on, 2=on + admin saved. !MUST BE OFF IF NOT USING STATS DLL OR SERVER WILL CRASH! +set g_enabletopstats "0" // x 30seconds each topstat will show. ie. 4x30 = 2mins + +//mapcycle +exec mapcycle.txt // Setup and run the new cycle