.
-- Console Commands --



Console Commands


Battlefield Vietnam supports the use of Console Commands to change various settings and to retrieve information from the Game Server while Battlefield Vietnam is running. The Console is accessed by pressing the tilde (~) key.

In addition to the ‘Standard’ console commands such as “console.ShowFPS 1”; Battlefield Vietnam supports the use of ‘Aliased’ console commands “fps 1” that are short versions of the same command.

The following list of Client Console Commands are listed first by their Alias Command and followed by their equivalent Standard Command. Be sure to hit Enter after issuing the command for it to take effect.

Client Commands: (Alias Command = Standard Command)

- listplayers = game.listplayers

- players = game.listplayers
- lp = game.listplayers

Displays a list of each player on the current server.

- listmaps = game.listmaps
- lm = game.listmaps

Lists the available maps on the current server.

- forgive = game.TKForgive
- forgivetk = game.TKForgive
- ftk = game.TKForgive

Forgives a player for Team Killing.

- punish = game.TKPunish
- punishtk = game.TKPunish
- ptk = game.TKPunish

Punishes a player for Team Killing

- buddylist = game.buddylist
This command lists all players on your buddy list.

- suicide = game.suicide
Kills your player and places you back into the respawn queue.

- ignorelist = chat.ignorelist
This command forces your client to ignore the list of players using text chat.

- textinfo = chat.chatinfo
This command forces your client to ignore the content of text chat.

Client 'Toggle' Settings:
(A value of 1 turns the setting on and 0 turns it off.)


- hud = game.usehud
This command toggles the Heads Up Display (HUD) on or off.

- oldtext = chat.oldChatListStyle
Forces the game client to use an alternate chat display style first introduced in Battlefield 1942.

- fps = console.showfps
Toggles the Frames Per Second (FPS) display on or off.

- showstats = console.showstats
This command toggles the debug stats display on and off.

Client Preference Settings:

- name = game.changePlayerName
This command changes your player’s name.

- textsizes = chat.setChatHistory
This command sets the amount of time chat text remains on the screen.

- killtext = chat.killMessageSize
This command reverses the effects of “chat.setChatHistory”

- flagtext = chat.gameInfoMessageSize
This command changes the size of private chat messages.

- chattext = chat.chatMessageSize
This command changes the font size of chat messages.

- oldtextsize = chat.oldChatListHistory
This command reverses the effects of “chat.chatMessageSize”

Client Argument Commands:
(Each command should be followed by a value; EX: “ab 6” or “game.addPlayerToBuddyList 6” adds player number 6 to your buddy list.)


- votemap = game.voteMap
- vm = game.voteMap

This command initiates a server-wide vote for a map of your choosing.

- kick = game.voteKickPlayer
This command issues a vote to kick a player on any team.

- kickteam = game.votekickteamplayer
- kt = game.votekickteamplayer

This command issues a vote to kick a player on your own team.

- addbuddy = game.addPlayerToBuddyList
- buddy = game.addPlayerToBuddyList
- ab = game.addPlayerToBuddyList

Adds a specified player to your buddy list.

- removebuddy = game.removeplayerfrombuddylist
- unbuddy = game.removeplayerfrombuddylist
- rb = game.removeplayerfrombuddylist

This command removes a specified player from your buddy list.

- ignore = chat.addToIgnoreList
This command forces your client to ignore the chat of a specified player.

- unignore = chat.removeFromIgnoreList
This command reverses the effects of “chat.addToIgnoreList”

Client PunkBuster Commands:

-pb_sleep # (Acceptable # values are from 20 through 500.)
This command is useful for minimizing the amount of lag caused by the PunkBuster Master Server.

-pb_writecfg
This command saves the sleep setting to your PB folder so that you do not have to reenter the information each game.

By Shamus
[ATZ] x-klikka 2004

 

/\
Atzpac Clan - Homepage   ModVersion   by x-klikka
/\