Ads by Google

Attention

Dear readers some features of this website is not working in mobile webpage view. So please I'm requesting you to configure your mobile webpage to desktop view, then all features of this website will work properly.

Friday, 21 August 2015

Some important commands of Battle Field 1942

    In this blog I’ll discuss about Battle Field commands. There are two types of commends. One is Configuration commands another is console commands.

A. Configuration Commands:  You can use these commands in the server configuration files only, they won't work at the server console.
i. game.serverName 'Server Name': Server name as seen in the BF1942 server browser (max 31 chars).
ii. game.serverPassword ‘Server Password': Password required to join the server (max 32 chars).
iii. game.serverDedicated 0 or 1: The setting should always be 1 for dedicated servers.
iv. game.serverIP xxx.xxx.xxx.xxx: Address of the IP interface the server should bind to. Use 0.0.0.0 to make the server bind to all active interfaces.
v. game.serverPort 14567: Address of the server game port. Where 14567 is default server port.
vi. game.serverMaxPlayers 2-64: Maximum number of players that can join the server.
vii. game.setServerWelcomeMessage 0-4 'WelcomeMessage': Use this command to set the message text seen in the 'Comments' field when you join a server. You can repeat this command for up to five lines and 63 characters per line in the welcome message.
Example:
    game.setServerWelcomeMessage 0 'This is line 1.'
    game.setServerWelcomeMessage 1 'This is line 2.
    ……
    ……
    game.setServerWelcomeMessage 4 'This is line 5.''
viii. game.serverInternet 0 or 1: Set to 0 for a LAN server or 1 for an Internet server. An Internet server registers with the GameSpy and All Seeing Eye master servers at start-up so your server will be visible in the BF1942 Internet server browser.
ix. game.serverBandwidthChokeLimit 0/8/16/32/64/128/256/512: This setting controls server bandwidth throttling. The server will limit total bandwidth usage according to the value you set here;
    I. 0 No Limit
    II. 8 64 Kbps
    III. 16 128 Kbps
    IV. 32 256 Kbps
    V.  64 512 Kbps
    VI. 128 1024 Kbps
    VII. 256 2048 Kbps
    VIII. 512 8192 Kbps
x. game.serverMaxAllowedConnectionType <value>: This setting controls client bandwidth throttling. The server will throttle the bandwidth of information sent to clients according to the value you set here;
a. CTModem56Kbps 56 Kb/s (modem)
b. CTCable128Kbps 128 Kb/s (broadband)
c. CTCable256Kbps 256 Kb/s (broadband)
d. CTLanT1 10 Mb/s (LAN)
xi. game.serverTicketRatio 100 – 1000: The server multiplies the starting ticket values by this percentage. 
xii. game.serverGamePlayMode <value>: Sets the game mode of the server.
a. GPM_CQ Conquest (without bots)
b. GPM_COOP Coop (with bots)
c. GPM_CTF Capture The Flag
d. GPM_TDM Team Death match
xiii. game.serverNumberOfRounds 1 – 10: Sets the number of times a map is played before proceeding to the next map in the rotation. 
xiv. game.serverGameTime 0 – 120: Sets a time limit for each round. 0 = No limit.
xv. game.serverScoreLimit 0 – 120: Sets a score limit for each round. 0 = No limit.
xvi. game.serverCoopCPU 1 – 100: Sets the percentage of CPU time used by the bot AI. Only applicable for CO-OP mod.
xvii. game.serverCoopAISkill 1 – 100: Sets the skill of bots in Coop game mode. 25 = Easy, 50 = Normal, 75 = Hard, 100 = Impossible. Only applicable for CO-OP mod
xviii. game.serverAutoBalanceTeams 0 or 1: Enables an option which automatically balances teams by forcing players between teams when they die to keep them even in numbers.
xix. game.serverAlliedTeamRatio 0 – 10: Sets the ratio of allied players versus axis players.
xx. game.serverAxisTeamRatio 0 – 10: Sets the ratio of axis players versus allied players.
xxi. game.serverSpawnTime 1 – 30: Sets the time between waves of reinforcements. Players and bots spawn into the game continuously at this interval.
xxii. game.serverSpawnDelay 0 – 30: Sets the delay before players will spawn back into the game after dying.
xxiii. game.serverGameStartDelay 0 – 128: Sets the delay before each game starts at the beginning of a round.
xxiv. game.serverSoldierFriendlyFire 0 – 200: Percentage of damage absorbed from projectiles fired by players on the same team.
xxv. game.serverSoldierFriendlyFireOnSplash 0 – 200: Percentage of splash damage absorbed from projectiles fired by players on the same team.
xxvi. game.serverVehicleFriendlyFire 0 – 200: Percentage of damage absorbed from projectiles fired by vehicles on the same team.
xxvii. game.serverVehicleFriendlyFireOnSplash 0 – 200: Percentage of splash damage absorbed from projectiles fired by vehicles on the same team.
xxviii. game.serverKickback 0 – 200: Percentage of friendly fire projectile damage reflected back to the originator.
xxix. game.serverKickbackOnSplash 0 – 200: Percentage of friendly fire splash damage reflected back to the originator.
xxx. game.serverNameTagDistance 0 – 600: Distance at which friendly names become visible.
xxxi. game.serverNameTagDistanceScope 0 – 600: Distance at which friendly and enemy names become visible when you aim at them.
xxxii. game.serverExternalViews 0 or 1: Set to 1 to allow external camera views in vehicles.
xxxiii. game.serverAllowNoseCam 0 or 1: Set to 1 to allow cockpit views without the instrument panel.
xxxiv. game.serverFreeCamera 0 or 1: Set to 1 to allow free movement of camera when player is waiting to respawn.
xxxv. game.serverHitIndication 0 or 1: Enable this setting to get a visible indication in the crosshair when you are hitting a target.
xxxvi. game.serverTKPunishMode 0 or 1: Sets the default 'punish or forgive' mode. 0 sets Punish Mode and 1 sets Forgive Mode.
xxxvii. physics.gravity -1 to -12: Sets the gravity constant on the server. The default value is -9.81.

B. Console Commands: Use the following commands at the console to administrate a dedicated server. These commands can also be used in ServerAutoexec.con where they will be read when the server starts.
i. admin.addAddressToBanList 111.222.333.444: Bans an IP for a period determined by the admin.banTime setting.
ii. admin.allowNoseCam 0 or 1: Enables/disables cockpit views without the instrument panel.
iii. admin.autoBalanceTeam 0 or 1: Enables/disables the option to force players between teams to keep them balanced.
iv. admin.bandwidthChokeLimit 0/8/16/32/64/128/256/512: Sets the maximum bandwidth the server should use on its network connection.
    a. 0 No Limit
    b. 8 64 Kbps
    c. 16 128 Kbps
    d. 32 256 Kbps
    e. 64 512 Kbps
    f. 128 1024 Kbps
    g. 256 2048 Kbps
    h. 512 8192 Kbps
v. admin.banPlayer <player id#>: Bans a player from the server for a period determined by the admin.banTime setting. You can get a player's id number using the game.listPlayers command.
vi. admin.banPlayerOnTKKick <0 or 1>: When set to 1, players are also banned when kicked for team killing. The default value is 0.
vii. admin.banTime <time> (minutes): Sets the period for which banned players will not be allowed to connect to the server (0 = forever).
viii. admin.changeMap <map name>: Changes from the current map to the named map immediately. You can display the server map rotation using the 'game.listMaps' command.
ix. admin.clearBanList: Clears the list of banned players.
x. admin.delayBeforeStartingGame 0 - 100 (seconds): Sets the delay before a new game starts.
xi. admin.disableRemoteAdmin: Disables remote administration via a game client console.
xii. admin.disableRemoteConsole: Disables remote administration via the Remote Console tool.
xiii. admin.enableKickPlayerVote 0 or 1: Enables/disables voting to kick a player.
xiv. admin.enableKickTeamPlayerVote 0 or 1: Enables/disables voting to kick a team player.
xv. admin.enableMapVote 0 or 1: Enables/disables voting to change the current map.
xvi. admin.enableRemoteAdmin <password>: Enables remote administration via a game client console. Clients must also issue this command on the game console to execute console commands remotely using the command below. 
xvii. admin.execRemoteCommand 'command': Used on a game client console to execute server console commands remotely.
xviii. admin.enableRemoteConsole <username> <password> <console port>: Enables remote administration via RemoteConsole.exe or BFRemoteManager.exe.
xix. admin.externalViews 0 or 1: Enables/disables external views in vehicles.
xx. admin.getRemoteConsoleEnabled: Used to query if the Remote Console remote administration feature is enabled. Returns 1 if yes, 0 if no.
xxi. admin.kickBack 0.0 - 1.0: Used to set the fraction of friendly fire projectile damage reflected back to the originator. 
xxii. admin.kickBackOnSplash 0.0 - 1.0: Used to set the fraction of friendly fire splash damage reflected back to the originator. 
xxiii. admin.kickPlayer <player id#>: Kicks the player referred to by the id number from the server. You can get a list of players and their id's using the 'game.listPlayers' command. 
xxiv. admin.listBannedAddresses: Displays a list of banned IP addresses.
xxv. admin.maxAllowedConnectionType <speed>: Here <speed> is CTModem56Kbps, CTCable128Kbps, CTCable256Kbps, or CTLanT1. Sets the maximum client connection speed allowed by the server.
xxvi. admin.nrOfTKToKick <value>: Sets the number of punished teamkills before the player is kicked. The default value is 5.
xxvii. admin.removeAddressFromBanList <IP address>: Removes the given IP address from the list of banned addresses. 
xxviii. admin.restartMap: Restarts play on the current map after the delay set using the 'admin.timeBeforeRestartMap' command.
xxix. admin.roundDelayBeforeStartingGame 0 - 100 (seconds): Sets the delay time between rounds.
xxx. admin.runNextLevel: Commands the server to change to the next map in the rotation after a delay set using the 'admin.timeBeforeRestartMap' command.
xxxi. admin.scoreLimit <score>: Sets the score at which a round will end (0=never). 
xxxii. admin.setNextLevel <map name>: Sets the name of the next map to be played after the current round has ended.
xxxiii. admin.setNrOfRounds <rounds>: Sets the number of times a map is played before proceeding the next map in the rotation. 
xxxiv. admin.setTicketRatio 0 – 1000: Sets the percentage by which starting ticket values are multiplied at the start of a round.
xxxv. admin.soldierFFRatio 0 – 100: Sets the percentage of damage absorbed from projectiles fired by players on the same team.
xxxvi. admin.soldierFFRatioOnSplash 0 – 100: Sets the percentage of splash damage absorbed from projectiles fired by players on the same team.
xxxvii. admin.spawnDelayPenaltyForTK <value>: Sets a spawn delay penalty for players who teamkill. <value> corresponds to the number of spawn waves a players must wait before he or she can respawn into the game. The default value is 1.
xxxviii. admin.spawnWaveTime 0 - 30 (seconds): Sets the time a wave will be active.
xxxix. admin.timeBeforeRestartMap 0 - 30 (seconds): Sets the delay before a map restarts when the 'admin.restartMap' command is given.
xl. admin.timeLimit 0 - 120 (minutes): Sets the maximum play time for a round (0=unlimited).
xli. admin.timeToNextWave 1 - 30 (seconds): Sets the period between waves of reinforcements.
xlii. admin.tkPunishMode <0 or 1>: Sets the default 'punish or forgive' mode. 0 sets Punish Mode and 1 sets Forgive Mode. The default is 0. 
xliii. admin.toggleGamePause: Pauses and un-pauses a game.
xliv. admin.vehicleFFRatio 0 – 100: Sets the percentage of damage absorbed from projectiles fired by vehicles on the same team.
xlv. admin.vehicleFFRatioOnSplash 0 – 100: Sets the percentage of splash damage absorbed from projectiles fired by vehicles on the same team.
xlvi. admin.voteKickPlayerMajority 0.0 - 1.0: Sets the percentage majority required to carry a vote to kick a player.
xlvii. admin.voteKickTeamPlayerMajority 0.0 - 1.0: Sets the percentage majority required to carry a vote to kick a team player.
xlviii. admin.voteMapMajority 0.0 - 1.0: Sets the percentage majority required to carry a vote to change the current map.
xlix. admin.votingTime 1 - 120 (seconds): Sets the duration that players have to cast a vote.
    N.B. In most cases you can execute a command without parameters to see the current value of a settings
    Hope this post will help you. If you have any question feel free to ask. You can post your question(s) in comment section I’ll answer them. You can also post your valuable comments. Thank you.

No comments :

Post a Comment

Back to Top