Jump to content

Spearhead


Greatlake

Recommended Posts

<div class="pre"><pre><?xml version="1.0" standalone="yes"?>

<GAME>

<GAMEID>24</GAMEID>

<NAME>Medal of Honor Spearhead</NAME>

<SHORTNAME>MOHSH</SHORTNAME>

<DEFAULTPORT>12203</DEFAULTPORT>

<DEFAULTQUERYPORT>12203</DEFAULTQUERYPORT>

<DEFAULTRCONPORT>12203</DEFAULTRCONPORT>

<FILESFOLDER>MOH</FILESFOLDER>

<RELATIVEEXECUTABLE>moh_spearhead_server.exe</RELATIVEEXECUTABLE>

<RELATIVEWORKINGDIRECTORY>/</RELATIVEWORKINGDIRECTORY>

<RELATIVEUSERFILES>/</RELATIVEUSERFILES>

<INSTALLEDPATCH />

<DEFAULTCMDLINE>+set dedicated 2 +set net_ip %serverip% +set net_port %serverport% +set sv_maxclients %slots% +exec team.cfg</DEFAULTCMDLINE>

<DEFAULTCUSTOMCMDLINE />

<PRIVATECMDLINE />

<PRIVATECUSTOMCMDLINE />

<COMPATIBILITY>21</COMPATIBILITY>

<DEFAULTCONFIGFILES>

<CONFIGFILE>

<GAMEID>24</GAMEID>

<CONTENTS>//-----------------------------------------------------------------------

//

// Sample Team-Based server config file.

//

//-----------------------------------------------------------------------

 

// Server Name

// Name that will appear on the server browser

sv_hostname "%hostname%"

sets "Admin" ""

sets "Connection" "YOUR CONNECTION"

sets "CPU" "YOUR CPU SPECS"

sets "Clan" ""

sets "Email" ""

sets "Hosted By" "YOURGSP.com"

sets "Location" "YOUR,LOCATION"

sets "URL" "http://www.yourwebsite.com/"

 

 

seta logfile "3"

seta g_log "console.log"

seta g_logSync "0"

seta developer "0"

seta chat "1"

seta sv_chatter "1"

seta g_showdamage "0"

 

 

 

 

// Game Type

// 1 Free for All

// 2 Team Based

// 3 Round Based

// 4 Objective

// 5 Tug Of War

set g_gametype 2

 

// Health Drop

// When enabled players will drop a health pack when killed

set g_healthdrop 1

 

// Realism

// Toggles reaslistic mode

set g_realismmode 1

 

// Fast Run Speed

// When checked, the speed at which players can run through levels is increased.

// Leaving it unchecked defaults to Medal of Honor Allied Assault's original run speed

set sv_dmspeedmult 1.100000

set sv_sprinton 1

set sv_dmspeedmultiplier 1

seta sv_runspeed 287

 

// Team Damage

// Toggles friendly fire

set g_teamdamage 1

 

// Heal Rate

// Determines how fast players heal when they use a health pickup

set g_healrate 10

 

// Max Players

set sv_maxclients %slots%

 

// Time Limit

// This sets the elapsed time at which the game ends, the winner being the player with the highest score at that time.

timelimit 20

 

// Frag Limit

// The score at which the player or team will win the current map.

fraglimit 200

 

// Map Rotation Time

// This sets the maximum amount of time in minutes players will spend in a particular map.

maprotationtime 0

 

// Team Spawn Delay

// This sets a delay in seconds between spawns. This is useful if you would like the

// player spawned in batches, rather than one at a time

set sv_team_spawn_interval 3

 

// Round Reset Time

// This sets how long each round will take, in minutes. This can be smaller than the map rotation time, but not larger.

roundlimit 20

 

// Inactive Spectate

// This sets the time in seconds after which an inactive player becomes a spectator. To save server bandwidth, 60 seconds is default.

set g_inactivespectate 120

 

// Inactive Kick

// This sets the time in seconds after which an inactive player is kicked out of the game. 900 (15 minutes) seconds is default.

set g_inactivekick 9000

 

// Use Gamespy

// To use GameSpy gaming service for internet-based multiplayer games.

// If this is 0, players will not be able to see your server via the in-game browser nor gamespy arcade.

set sv_gamespy 1

 

// Pure

// Verifies that the files on the client are the same as those on the server.

set sv_pure 1

 

 

// Allow Vote

// Enables players to call a vote.

set g_allowvote 0

 

// Flood Protect

// Limits amount of text a player can type

set sv_floodprotect 1

 

// Forces players to only be able to spectate behind their own team.

set g_forceteamspectate 1

 

// dmflags -- flags that can be set in the dmflags variable.

// DF_NO_HEALTH (1 << 0)

// DF_NO_POWERUPS (1 << 1)

// DF_WEAPONS_STAY (1 << 2)

// DF_NO_FALLING (1 << 3)

// DF_INSTANT_ITEMS (1 << 4)

// DF_SAME_LEVEL (1 << 5)

// DF_NO_ARMOR (1 << 11)

// DF_INFINITE_AMMO (1 << 14)

// DF_NO_FOOTSTEPS (1 << 17)

// DF_ALLOW_LEAN (1 << 18)

// DF_OLD_SNIPERRIFLE (1 << 19)

// DF_GERMAN_SHOTGUN (1 << 20)

set dmflags 0

 

// Invulnerable Time

// Amount of time (in seconds) a player is invulnerable for after spawning (default=3 seconds)

set sv_invulnerabletime 0

 

// Team Kill Warning

// Amount of team kills before the player is warned

set g_teamkillwarn 1

 

// Team Kill Kick

// Amount of team kills before the player is kicked off the server.

set g_teamkillkick 3

 

// Team Switch Delay

// Frequency at which you can switch teams

set g_teamswitchdelay 10

 

// Allow Join Time

set g_allowjointime 60

 

// Private Clients

// Clients that require a password to join

set sv_privateclients 0

 

// Password

// Allows you to set a password for the server

set sv_privatepassword "%privatepassword%"

 

// Keywords

// Keywords which allow browsers to filter servers.

set sv_keywords "Dedicated"

 

// Net Port

net_noipx 1

set rconpassword "%rconpassword%"

set g_spectate_allow_full_chat 1

set ui_dedicated 1

 

// Minimum Ping to allow clients to join with. 0 means anyone

set sv_minping 0

 

// Maximum Ping to allow clients to join with. 0 means anyone

set sv_maxping 0

 

// Maximum Rate

set sv_maxrate 12000

seta sv_fps "20"

 

// Map

// Starting map on the rotation.

map "dm/mohdm7"

 

// Map Rotation List

sv_maplist "dm/mohdm7 dm/mohdm1 dm/MP_Verschneit_DM dm/mohdm2 dm/MP_Brest_DM dm/mohdm3 dm/mohdm4 dm/MP_Stadt_DM dm/mohdm6 dm/MP_Bahnhof_DM dm/MP_Bazaar_DM"

 

</CONTENTS>

<DESCRIPTION>Contains server configuration settings</DESCRIPTION>

<DISPLAYNAME>Server Configuration File</DISPLAYNAME>

<RELATIVEPATH>/mainta/team.cfg</RELATIVEPATH>

</CONFIGFILE>

</DEFAULTCONFIGFILES>

<RCONCOMMANDS>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>cmdlist</RCON_COMMAND>

<DESCRIPTION>Will return all know rcon commands. Optionally, if you put a single letter it will only return commands starting with that letter. Not all work though.</DESCRIPTION>

<FULL_COMMAND>cmdlist</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>kick</RCON_COMMAND>

<DESCRIPTION>kicks a client by his in game nick. If a the client has a space in his name. Surround his name in quotes. If you wish to kick all clients at once. then use all.</DESCRIPTION>

<FULL_COMMAND>kick</FULL_COMMAND>

<IS_KICK_COMMAND>1</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>dumpuser</RCON_COMMAND>

<DESCRIPTION>Will return info on a player. Usage: dumpuser [client name ]</DESCRIPTION>

<FULL_COMMAND>dumpuser</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>exec</RCON_COMMAND>

<DESCRIPTION>This will execute your team.cfg file. causing any changes made to this file to take effect. If you have multiple cfg file. Say one for TDM and one for OBJ. maps. You can use this to execute the *.cfg file of your choice. changing game types, or maplist</DESCRIPTION>

<FULL_COMMAND>exec</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>freeze</RCON_COMMAND>

<DESCRIPTION>Freezes all players on the server for what ever amount of time you put.</DESCRIPTION>

<FULL_COMMAND>freeze</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>map</RCON_COMMAND>

<DESCRIPTION>Use this to change maps. Usage: map [complete map name. ie: dm/mohdm4 or obj/obj_team4 ]</DESCRIPTION>

<FULL_COMMAND>map</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>rconpassword</RCON_COMMAND>

<DESCRIPTION>To change your rcon password you setup within your team.cfg file. Usage: rconpassword [password ]</DESCRIPTION>

<FULL_COMMAND>rconpassword</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>restart</RCON_COMMAND>

<DESCRIPTION>will restart the current map</DESCRIPTION>

<FULL_COMMAND>restart</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>Say</RCON_COMMAND>

<DESCRIPTION>This command is used to broadcast messages to all clients in real time. Usage: say [ your message ]</DESCRIPTION>

<FULL_COMMAND>say</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>serverinfo</RCON_COMMAND>

<DESCRIPTION>Will return your server information</DESCRIPTION>

<FULL_COMMAND>serverinfo</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>status</RCON_COMMAND>

<DESCRIPTION>Will return information on all connected clients including: current map name, client number, client's score, client's ping, client's name, client's IP address, client's qport and client's rate</DESCRIPTION>

<FULL_COMMAND>status</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>seta</RCON_COMMAND>

<DESCRIPTION>Sets the value of a variable and the archive flag so that the value will be saved to the user's Default.cfg file to be loaded each time the game is loaded. Usage : seta [variable ] [ value ]</DESCRIPTION>

<FULL_COMMAND>seta</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>seta fraglimit</RCON_COMMAND>

<DESCRIPTION>Whole number, representing how many kills a team needs to win a map. Usage: seta fraglimit [Number of frags ]</DESCRIPTION>

<FULL_COMMAND>fraglimit</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>set g_gametype</RCON_COMMAND>

<DESCRIPTION>Changes the game type 1= FFA 2= TeamMatch 3= RoundBased 4= Objective 5= Tug Of War Usage: set g_gametype [ Number from 1 to 5 ]</DESCRIPTION>

<FULL_COMMAND>set g_gametype</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>set g_teamdamage</RCON_COMMAND>

<DESCRIPTION>Changes FF ( friendly fire ): 0=no 1=yes Usage: set g_teamdamage [0 or 1 ]</DESCRIPTION>

<FULL_COMMAND>set g_teamdamage</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>set g_inactiveSpectate</RCON_COMMAND>

<DESCRIPTION>Whole number, representing how long, in seconds, before an inactive player is moved into Spectate. Usage: set g_inactiveSpectate [Number of seconds ]</DESCRIPTION>

<FULL_COMMAND>set g_inactiveSpectate</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>24</GAMEID>

<RCON_COMMAND>set g_inactiveKick</RCON_COMMAND>

<DESCRIPTION>Whole number, representing how long, in seconds, before an inactive spectator will be kicked. Usage: set g_inactiveKick [Number of seconds ]</DESCRIPTION>

<FULL_COMMAND>set g_inactiveKick</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

</RCONCOMMANDS>

</GAME></pre></div>

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use