Console Commands
Posted: December 6th, 2009, 2:12 pm
Guys,
I found some useful console commands and settings on this website and I thought it might be nice to share the info here. Note that I have modified the content to reflect only the info relevant to our server and settings.
How do I use the console commands?
To put it simply (and to the best of my understanding) the console is displaying what commands are being executed, deaths and chat. The console also gives you the ability to interact with parts of the game inaccessible through the normal interface and game play. The console cannot be pulled down in the menu screen, you have to be playing to use the console.
The console can be accessed through the tilde button on the upper left hand corner of your keyboard (~ and `). An transparent screen should appear on top of the game screen, and that is your console. To scroll up and down the console use the “page up” and “page down” buttons on your keyboard (in case you miss a name or number in a list).
The commands you enter into the console give you a sort of “behind the scenes” control of the game. I will try to give explanations to the client (the player) side of things.
The alias commands are the shortened version of the commands that the console actually understands and executes; thereby, saving you a little time so you don’t get killed while trying to remember and type out a long command line.
I will take you through a quick scenario. I want to see what maps are being run on a particular server. I pull up (or down, however you want to look at it) the console. Next, I type in “lm” and hit enter. When pulling up the console it will actually put in the tilde into the command line and mess up your command, so you might want to hit backspace if anything is in the line. The actual command that the console executes is “game.listmaps”. Just hit the tilde button again to exit the console. The aliased commands save you a little time pulling up all the maps that are currently being rotated on the server.
I have copy and pasted a list of the commands and my definitions.
The # symbol that you see occasionally represents a number that you need to put into the command line and the “parenthesis” are not used in any commands, they are used solely for clarification and emphasis.
--------------------------------------------------------------------------------
Client commands:
lp # - Lists the players and their player numbers. The numbers are used for various commands. These numbers are crucial to a lot of commands, just remember to leave a space between the actual command and the number.
lm - Lists the maps and their numbers that are being played on the current server.
We have all dealt with the !@#$%^ers that sit in the hangar and kill their own people. Or have you been on a server where your spawn time suddenly jumped from 20 second to a minute and half? Well there is a system in the game that can punish or forgive accidental and intentional team killing. The server can have this enabled or disabled, meaning that the server will automatically punish tkers (team killers) if it is enabled, otherwise you have to actively punish with a console command. The punishment is that their spawn time increases one wave for every tk (so if they kill two people and the spawn time is usually twenty seconds…they get to wait 60 seconds). You have to know their player number for this command to work.
ftk - They said sorry and there are no hard feelings. It stops tacking on respawn time. This command works for when the tk punish is on.
buddylist - Show all the players that are your buddies (buddylist explained later in the FAQ)
suicide - Suicide…instead of going to spawn point menu
ignorelist - It lists the people that you are currently ignoring. The ignore command is at the bottom of the FAQ sheet.
textinfo - Shows how many lines of text are being used for what purposes, used in conjunction with the text client settings two paragraphs below.
Client 'Toggle' settings:
These settings use 1 for on and 0 for off. ex. “fps 1” in the console means the frames per second will be show in the upper left hand corner (“fps 0” is off)
hud # - Removes all the “heads up displays” that appear on your screen.
oldtext # - If you are partial to the older version of text with one single column, this command will revert it. “oldtext 1”
Client Settings:
textsizes # # # - You can set which and how many lines of text that will be displayed in the upper left of your screen. You must enter three numbers that equal twelve or less. The three numbers are in reference to the text commands below. Ex. “textsizes 6 1 6” will set the number lines that will be displayed: the who was killed text will be six lines, the captured flag text will be one line and the chat line will be six lines.
These set the individual text line sizes
killtext #
flagtext #
chattext #
oldtextsize # - This will help you set the number of lines that will be displayed in the “oldtext” command (not sure of max lines probably 12)
Client Argument commands:
Tired of asking where your buddies are? Well, look what I found. Maybe others are aware of this one, but I discovered this while actually making this definition sheet. The buddy command is nice because if you have a friend or a few clan members, you can find them instantly on the map. You need to once again us the “lp” (listplayers) command, note the number next to the name.
ab # - Your buddies arrow is now a nice bright green, this only works if they are on the same team.
rb # - Your buddy is now on his own and his arrow turns back to blue.
ignore # - Blocks all the chat from the selected player.
unignore # - Allows the chat text from a previously ignored player to be seen again.
--------------------------------------------------------------------------------
The plain text version of these aliased commands can be found in your BF1942 folder.
…\BF1942\Mods\bf1942\Settings\AliasedCommands
You can also reference the "readme v1.31" in the bf1942 folder for non-aliased commands and explanations that are not listed here. The file can be found in: …\BF1942\eReg\readme v1.31.txt
I found some useful console commands and settings on this website and I thought it might be nice to share the info here. Note that I have modified the content to reflect only the info relevant to our server and settings.
How do I use the console commands?
To put it simply (and to the best of my understanding) the console is displaying what commands are being executed, deaths and chat. The console also gives you the ability to interact with parts of the game inaccessible through the normal interface and game play. The console cannot be pulled down in the menu screen, you have to be playing to use the console.
The console can be accessed through the tilde button on the upper left hand corner of your keyboard (~ and `). An transparent screen should appear on top of the game screen, and that is your console. To scroll up and down the console use the “page up” and “page down” buttons on your keyboard (in case you miss a name or number in a list).
The commands you enter into the console give you a sort of “behind the scenes” control of the game. I will try to give explanations to the client (the player) side of things.
The alias commands are the shortened version of the commands that the console actually understands and executes; thereby, saving you a little time so you don’t get killed while trying to remember and type out a long command line.
I will take you through a quick scenario. I want to see what maps are being run on a particular server. I pull up (or down, however you want to look at it) the console. Next, I type in “lm” and hit enter. When pulling up the console it will actually put in the tilde into the command line and mess up your command, so you might want to hit backspace if anything is in the line. The actual command that the console executes is “game.listmaps”. Just hit the tilde button again to exit the console. The aliased commands save you a little time pulling up all the maps that are currently being rotated on the server.
I have copy and pasted a list of the commands and my definitions.
The # symbol that you see occasionally represents a number that you need to put into the command line and the “parenthesis” are not used in any commands, they are used solely for clarification and emphasis.
--------------------------------------------------------------------------------
Client commands:
lp # - Lists the players and their player numbers. The numbers are used for various commands. These numbers are crucial to a lot of commands, just remember to leave a space between the actual command and the number.
lm - Lists the maps and their numbers that are being played on the current server.
We have all dealt with the !@#$%^ers that sit in the hangar and kill their own people. Or have you been on a server where your spawn time suddenly jumped from 20 second to a minute and half? Well there is a system in the game that can punish or forgive accidental and intentional team killing. The server can have this enabled or disabled, meaning that the server will automatically punish tkers (team killers) if it is enabled, otherwise you have to actively punish with a console command. The punishment is that their spawn time increases one wave for every tk (so if they kill two people and the spawn time is usually twenty seconds…they get to wait 60 seconds). You have to know their player number for this command to work.
ftk - They said sorry and there are no hard feelings. It stops tacking on respawn time. This command works for when the tk punish is on.
buddylist - Show all the players that are your buddies (buddylist explained later in the FAQ)
suicide - Suicide…instead of going to spawn point menu
ignorelist - It lists the people that you are currently ignoring. The ignore command is at the bottom of the FAQ sheet.
textinfo - Shows how many lines of text are being used for what purposes, used in conjunction with the text client settings two paragraphs below.
Client 'Toggle' settings:
These settings use 1 for on and 0 for off. ex. “fps 1” in the console means the frames per second will be show in the upper left hand corner (“fps 0” is off)
hud # - Removes all the “heads up displays” that appear on your screen.
oldtext # - If you are partial to the older version of text with one single column, this command will revert it. “oldtext 1”
Client Settings:
textsizes # # # - You can set which and how many lines of text that will be displayed in the upper left of your screen. You must enter three numbers that equal twelve or less. The three numbers are in reference to the text commands below. Ex. “textsizes 6 1 6” will set the number lines that will be displayed: the who was killed text will be six lines, the captured flag text will be one line and the chat line will be six lines.
These set the individual text line sizes
killtext #
flagtext #
chattext #
oldtextsize # - This will help you set the number of lines that will be displayed in the “oldtext” command (not sure of max lines probably 12)
Client Argument commands:
Tired of asking where your buddies are? Well, look what I found. Maybe others are aware of this one, but I discovered this while actually making this definition sheet. The buddy command is nice because if you have a friend or a few clan members, you can find them instantly on the map. You need to once again us the “lp” (listplayers) command, note the number next to the name.
ab # - Your buddies arrow is now a nice bright green, this only works if they are on the same team.
rb # - Your buddy is now on his own and his arrow turns back to blue.
ignore # - Blocks all the chat from the selected player.
unignore # - Allows the chat text from a previously ignored player to be seen again.
--------------------------------------------------------------------------------
The plain text version of these aliased commands can be found in your BF1942 folder.
…\BF1942\Mods\bf1942\Settings\AliasedCommands
You can also reference the "readme v1.31" in the bf1942 folder for non-aliased commands and explanations that are not listed here. The file can be found in: …\BF1942\eReg\readme v1.31.txt