Console Commands! (Long) -1 reply

Please wait...

We're currently in the process of moving servers, parts or all of the site will be unavailable for a few hours. Sorry for any inconvenience!

CoolCommander

Patriotic Moderator

50 XP

28th August 2002

0 Uploads

247 Posts

0 Threads

#1 14 years ago

Once again, I, CoolCommander, bring to you the complete list of console commands. I will break it down into different groups that they correspond. The form that these should be written in is:

CommandGroup.Command Value

[COLOR=SlateGray](string) means a bunch of characters(letters or numbers) surround in quotes for more than one word

[1/0] means type 1 or 0. Generally 1 means on and 0 means off.

(integer) means any integer(-1,0,1, 2, ...). Usually starts at 0 or 1.

[float] is practically any number, including decimals.

[1 - ... ] means any number between 1 and that number.

(ID) corresponds with the player/map ID number given with listPlayers or listMaps

(U32) I have no idea, just use a reasonable number.

Commands without comments either have no real use, are really obvious, or I havn't tried.[/COLOR]

Debug

  • debug.doNotDisplayErrorWindow [1/0] [COLOR=DarkOrange](Seems obvious but I didn't notice a change.)[/COLOR]
  • debug.debugOutputMessage (string) [1-4] [COLOR=DarkOrange](Prints a string at choosen location. 1 and 3 seem to be the same.)[/COLOR]
  • debug.outputServer Message (string) [COLOR=DarkOrange](This displays a message as if the server has "said" it.)[/COLOR]

Game

  • game.clientPunkBuster [1/0] [COLOR=DarkOrange](Turns punkbuster on or off)[/COLOR]
  • game.sayAll [COLOR=DarkOrange](Say a message to everyone)[/COLOR]
  • game.setLoadingLeftText (string)
  • game.setLoadingLeftTitle (string)
  • game.setLoadingRightText (string)
  • game.setLoadingRightTitle (string)
  • game.setLoadingLeftPosition (Vec2)
  • game.setLoadingLeftPosition (Vec2)
  • game.listPlayers [COLOR=DarkOrange](Lists players with there id numbers)[/COLOR]
  • game.listMaps [COLOR=DarkOrange](Lists the maps and number assignments in the server rotation)[/COLOR]
  • game.voteMap # [COLOR=DarkOrange](Votes to change the map to the number specified)[/COLOR]
  • game.voteKickPlayer (ID) [COLOR=DarkOrange](Calls a vote to kick a player, to vote enter this command with the same number)[/COLOR]
  • game.voteKickTeamPlayer (ID) [COLOR=DarkOrange](Same thing as votekick but only teammembers are allowed to vote)[/COLOR]
  • game.TKForgive [COLOR=DarkOrange](If the server allows, decide if you want to punish or forgive a TK.)[/COLOR]
  • game.TKPunish
  • game.changePlayerName (string) [COLOR=DarkOrange](Renames your player in-game)[/COLOR]
  • game.dumpNetworkDebugStats 1/0 [COLOR=DarkOrange](Writes a text file to your BFV directory with Network Information.)[/COLOR]
  • game.debugCallBackDisabled 1/0
  • game.useHUD 1/0 [COLOR=DarkOrange](If you want to play this game like a movie, try turning this off)[/COLOR]
  • game.getIP [COLOR=DarkOrange](This displays the current server's IP adress in the command prompt.)[/COLOR]
  • game.getLevelName [COLOR=DarkOrange](This displays the current map name in the command prompt.)[/COLOR]
  • game.buddyList [COLOR=DarkOrange](This displays the names of people in your buddy list in the command prompt.)[/COLOR]
  • game.addPlayertoBuddyList (ID) [COLOR=DarkOrange](Adds a player to your buddy list by his/her id number)[/COLOR]
  • game.removePlayertoBuddyList (ID) [COLOR=DarkOrange](Removes a player to your buddy list by his/her id number)[/COLOR]
  • game.addPlayertoBuddyListByName (string) [COLOR=DarkOrange](Just type in the player's name for the string)[/COLOR]
  • game.removePlayertoBuddyListByName (string) [COLOR=DarkOrange](Opposite of above)[/COLOR]
  • game.suicide [COLOR=DarkOrange](When you just can't take the horror anymore)[/COLOR]
  • game.setRemoteConsoleCurrentLine (string)
  • game.enableFreeCamera 1/0 [COLOR=DarkOrange](Enable/disable the ability to look while waiting to spawn)[/COLOR]
  • game.freeCameraBaseSpeed [float]
  • game.freeCameraSlowSpeed [float]
  • game.freeCameraFastSpeed [float]

Chat [COLOR=DarkOrange]Before I go into to chat, with the new chat system there are 3 text boxes. The top one is for game related messages (spawn point captures). The middle is for kill messages, and the bottom is for chat/radio messages.[/COLOR]

  • chat.addToIgnoreList (ID) [COLOR=DarkOrange](All messages from this player won't be shown)[/COLOR]
  • chat.removeFromIgnoreList (ID) [COLOR=DarkOrange](Undoes previous command)[/COLOR]
  • chat.ignoreList [COLOR=DarkOrange](Like buddyList)[/COLOR]
  • chat.setChatHistory [1-12] [1-12] [1-12] [COLOR=DarkOrange](This sets the # of lines per box; 1. Game messages(Top), 2. Chat messages(Bottom), 3. Kill messages(Middle))[/COLOR]
  • chat.chatMessageSize [1-12] [COLOR=DarkOrange](Limits the number of chat messages drawn at one time.)[/COLOR]
  • chat.gameInfoMessageSize [1-12] [COLOR=DarkOrange](Limits the number of game messages drawn at one time.)[/COLOR]
  • chat.killMessageSize [1-12] [COLOR=DarkOrange](Limits the number of kill messages drawn at one time.)[/COLOR]
  • chat.chatInfo [COLOR=DarkOrange](Shows values for the preceding options)[/COLOR]
  • chat.ignoreRadioText[1/0] [COLOR=DarkOrange](When this is on, you will only hear radio messages)[/COLOR]
  • chat.ignoreRadioAudio [1/0][COLOR=DarkOrange](When this is on, you will only see radio messages)[/COLOR]
  • chat.setIgnoreRadioAudioAndText [1/0][COLOR=DarkOrange](This turns off radio messages completely)[/COLOR]
  • chat.getIgnoreRadioAudioAndText [COLOR=DarkOrange](Displays the status of the Radio options)[/COLOR]
  • chat.oldChatListStyle [1/0] [COLOR=DarkOrange](This combines all 3 boxes like in the beginning of BF 1942)[/COLOR]
  • chat.oldchatListHistory [1/0] [COLOR=DarkOrange](Like the beginning of BF 1942)[/COLOR]

Admin

  • admin.spawnDelayPenaltyForTK [float] [COLOR=DarkOrange](Either how much time it will be till you spawn after TK or how much time is added :confused: )[/COLOR]
  • admin.nrOfTKToKick [float] [COLOR=DarkOrange](Why it's a float beats me)[/COLOR]
  • admin.banPlayerOnTKKick [1/0] [COLOR=DarkOrange](When you are kicked for TK'ing, you are also banned)[/COLOR]
  • admin.TKPunishMode [1/0] [COLOR=DarkOrange](Allows players to punish TK'ers with TKPunish)[/COLOR]
  • admin.admin_killPlayer (ID) [COLOR=DarkOrange](Makes the ID'ed player die)[/COLOR]
  • admin.getRemoteConsoleEnabled [COLOR=DarkOrange](Prints in the console if remote console is enabled)[/COLOR]
  • admin.enableRemoteConsole (username) (password) # [COLOR=DarkOrange](tom_tAylor says to Run the AdminTool on other machines to remotely access and admin the bf1942 dedicated server )[/COLOR]
  • admin.disableRemoteConsole
  • admin.maxAllowedConnectionType (type)
  • admin.enableRemoteAdmin (password) [COLOR=DarkOrange](May contain either only letters or only numbers, but no spaces. Then login by the same command w/password on the remote admin's computer)[/COLOR]
  • admin.disableRemoteAdmin [COLOR=DarkOrange](Stops players from using remote admin)[/COLOR]
  • admin.execremotecommand "command" [COLOR=DarkOrange](Must have command in quation marks to work)[/COLOR]
  • admin.voteMapMajority # [COLOR=DarkOrange](Number should be greater than .01 and less than 1. Number is percentage of voters required to pass. Ex. 0.6 = 60%)[/COLOR]
  • admin.voteKickPlayerMajority
  • admin.voteKickTeamPlayerMajority
  • admin.enableMapVote 1/0 [COLOR=DarkOrange](Toggle if you want to allow people to vote for another map)[/COLOR]
  • admin.enableKickPlayerVote 1/0 [COLOR=DarkOrange](Then players vote with game.voteKickPlayer (ID))[/COLOR]
  • admin.enableKickTeamPlayerVote 1/0
  • admin.votingTime # [COLOR=DarkOrange](Sets the number of seconds a player has to cast a vote)[/COLOR]
  • admin.kickPlayer (ID) [COLOR=DarkOrange](Kicks the player with the id you specify)[/COLOR]
  • admin.kickPlayerByName (string) [COLOR=DarkOrange](Kicks the player with the name you specify)[/COLOR]
  • admin.banPlayer (ID) (string) [COLOR=DarkOrange](I'm assuming the string is the reason)[/COLOR]
  • admin.banPlayerByName (string) (string)
  • admin.addAddressToBanList (string) (string)
  • admin.removeAddressFromBanList (string)
  • admin.listBannedAddresses [COLOR=DarkOrange](Shows the IPs that are banned)[/COLOR]
  • admin.clearBanList [COLOR=DarkOrange](Unbans all)[/COLOR]
  • admin.banPlayerKey (ID) (string) [COLOR=DarkOrange](This prevents players by connecting through a different IP)[/COLOR]
  • admin.addKeyToBanList (string) (string)
  • admin.removeKeyFromBanList (string) (string)
  • admin.listBannedKeys [COLOR=DarkOrange](String CD Keys that are banned)[/COLOR]
  • admin.changeMap (ID)/(string) [COLOR=DarkOrange](Changes map to the id from the list or by name.)[/COLOR]
  • admin.tagPlayer (ID) [COLOR=DarkOrange](Not sure)[/COLOR]
  • admin.bandWidthChokeLimit # [COLOR=DarkOrange](again not sure)[/COLOR]
  • admin.allownosecam 1/0 [COLOR=DarkOrange](Allows player to use the nose cam while flying)[/COLOR]
  • admin.externalviews 1/0 [COLOR=DarkOrange](Allows/disallows 3d person view and nose cam)[/COLOR]
  • admin.togglegamepause [COLOR=DarkOrange](Extremely annoying, dont pause unless its for a good reason)[/COLOR]
  • admin.setTicketRatio (float)
  • admin.autoBalanceTeam 1/0 [COLOR=DarkOrange](Will disable players from making teams un-even)[/COLOR]
  • admin.delayBeforeStartingGame (float) [COLOR=DarkOrange](Time before the game will start)[/COLOR]
  • admin.roundDelayBeforeStartingGame (float) [COLOR=DarkOrange](Time before a new round will start)[/COLOR]
  • admin.soldierFFRatio (float) [COLOR=DarkOrange](The amount of damage done by a soldier to a teammate)[/COLOR]
  • admin.vehicleFFratio (float)
  • admin.soldierFFRatioOnSplash (float) [COLOR=DarkOrange](The amount of damage is done by FF splash)[/COLOR]
  • admin.vehcileFFRatioOnSplash (float)
  • admin.kickBack (float) [COLOR=DarkOrange](How much you get knocked back by getting hit)[/COLOR]
  • admin.kickBackOnSplash (float)
  • admin.timeLimit (U32) [COLOR=DarkOrange](How long the match last)[/COLOR]
  • admin.scoreLimit (U32) [COLOR=DarkOrange](Greatest score before it willstop the match)[/COLOR]
  • admin.restartMap [COLOR=DarkOrange](Restarts the current map)[/COLOR]
  • admin.setNextLevel (string) [COLOR=DarkOrange](Changes or adds the next map)[/COLOR]
  • admin.timeBeforeRestartMap (float) [COLOR=DarkOrange](How much time until the map will restart)[/COLOR]
  • admin.SetNrOfRounds [1-...] [COLOR=DarkOrange](Sets the number of rounds)[/COLOR]
  • admin.timeToNextWave (float) [COLOR=DarkOrange](Not sure)[/COLOR]
  • admin.spawnWaveTime (float)

Renderer

  • renderer.ExtrapolateFrame [1/0]
  • renderer.VSyncEnabled [1/0]

Console

  • console.ShowFPS [1/0] [COLOR=DarkOrange](FPS information is drawn in the top left corner.)[/COLOR]
  • console.DrawFPS [1/0] [COLOR=DarkOrange](Wow. A big @$$ graph is drawn across your screen.)[/COLOR]

RayTracer

  • rayTracer.addIgnoreObject (string)
  • rayTracer.addIgnoreObjectTemplate [float]
  • rayTracer.init
  • rayTracer.light.create [COLOR=DarkOrange](after you create one, these become availible)[/COLOR]
    • rayTracer.light.direction [Vec3]
    • rayTracer.light.intensity [float]
    • rayTracer.light.shadowIntensity [float]
    • rayTracer.light.selfShadowing [1/0]
    • rayTracer.light.objectShadows [1/0]
    • rayTracer.light.fov [float]
    • rayTracer.light.viewDistance [float]
    • rayTracer.light.softness [float]
  • rayTracer.ambientIntestity [float]
  • rayTracer.onlyNearest [1/0]
  • rayTracer.rangeBegin [uint]
  • rayTracer.rangeEnd [uint]
  • rayTracer.blockSize [uint]
  • rayTracer.sampleOffset [float]
  • rayTracer.shadowsNearCamera [1/0]

aiCheats

  • aiCheats.code (string) [COLOR=DarkOrange](Once we know cheats, this is how you would enter them.)[/COLOR]



grizzler

Slightly cooler than a n00b

50 XP

18th December 2003

0 Uploads

37 Posts

0 Threads

#2 14 years ago

thanks mate usful




ScOrPY VIP Member

Advanced Member

50 XP

17th November 2003

0 Uploads

15,582 Posts

0 Threads

#3 14 years ago

Nice work :)




CoolCommander

Patriotic Moderator

50 XP

28th August 2002

0 Uploads

247 Posts

0 Threads

#4 14 years ago

You may put this on the main page if you like. I know people have been wanting it and not a lot of people come to the Problems, Errors, Help & Others looking for console commands.




ScOrPY VIP Member

Advanced Member

50 XP

17th November 2003

0 Uploads

15,582 Posts

0 Threads

#5 14 years ago

As you wish :)




CoolCommander

Patriotic Moderator

50 XP

28th August 2002

0 Uploads

247 Posts

0 Threads

#6 14 years ago
SCORPYAs you wish :)

Thanks! :smokin:




DnC

GF's Cognitive Psychologist

50 XP

13th April 2004

0 Uploads

2,668 Posts

0 Threads

#7 14 years ago

Very nice




Gimpy

The gimped up gimp

50 XP

25th March 2003

0 Uploads

623 Posts

0 Threads

#8 14 years ago

are there binding commands in bfv?




.:SuBLiMe:.

WePLaysITdownWIthSUblimes tylee

50 XP

17th August 2004

0 Uploads

96 Posts

0 Threads

#9 13 years ago

:spam:!!!




Spartan VIP Member

Retired Admin

50 XP

4th August 2003

0 Uploads

7,793 Posts

0 Threads

#10 13 years ago

Please do not revive old threads, and certainly don't spam them.

*closed*