Console Commands

Console Commands

Postby Swanny-CG » Sun Dec 06, 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
Image
User avatar
Swanny-CG
Server Admin
Server Admin
 
Posts: 1966
Joined: Mon Dec 15, 2008 9:48 am
Location: Bay Area, California

Re: Console Commands

Postby RoLnRoCk » Mon Dec 07, 2009 3:53 am

so does ptk work or just ftk and what are the time changes, if you know bro
Image
User avatar
RoLnRoCk
Member
 
Posts: 318
Joined: Sat Dec 20, 2008 5:51 am
Location: Sandy Eggo, CA
National Flag:
United States of America

Re: Console Commands

Postby Swanny-CG » Mon Dec 07, 2009 9:58 am

Right now we have the Tk penalty on for .5 of a spawn wave, if the spawn wave is 10 seconds then a non-FTked TKer has to wait 15 seconds for the next spawn.

PTK is on by default; if you wish to forgive the person that TKed you because they apologized for the accident and you use ftk, that .5 spawn wave punishment will be lifted. I do NOT believe it has any effect of their score, they will still be penalized for the kill.
Image
User avatar
Swanny-CG
Server Admin
Server Admin
 
Posts: 1966
Joined: Mon Dec 15, 2008 9:48 am
Location: Bay Area, California

Re: Console Commands

Postby Target(+) » Tue Dec 08, 2009 7:20 pm

looks good will have a read of it later :)
Image
User avatar
Target(+)
Member
 
Posts: 178
Joined: Fri Jun 05, 2009 2:34 am
Location: England

Re: Console Commands

Postby RoLnRoCk » Wed Dec 09, 2009 8:57 pm

are you sure? i had a 20 second spawn time after an accidental tk yesterday.. maybe it increases for multiple tk's in a match or something, i forget to pay attention to it.
Image
User avatar
RoLnRoCk
Member
 
Posts: 318
Joined: Sat Dec 20, 2008 5:51 am
Location: Sandy Eggo, CA
National Flag:
United States of America

Re: Console Commands

Postby Swanny-CG » Wed Dec 09, 2009 11:44 pm

I think if they don't ftk before you die next you're chapped.
Image
User avatar
Swanny-CG
Server Admin
Server Admin
 
Posts: 1966
Joined: Mon Dec 15, 2008 9:48 am
Location: Bay Area, California

Re: Console Commands

Postby Soylent » Fri Dec 11, 2009 8:23 pm

So to forgive team kill how do you enter it. I have been entering !ftk in chat without any player number. Does that work? Or, do you have to enter ftk in the console? Do you need the player number attached?
User avatar
Soylent
Member
 
Posts: 206
Joined: Sun Dec 21, 2008 10:44 pm
Location: California

Re: Console Commands

Postby Specialist » Sat Dec 12, 2009 12:22 am

Just typing ftk in console should work, I have never used a player number and it works just fine.
User avatar
Specialist
SILENCE! I STAB YOU!
SILENCE! I STAB YOU!
 
Posts: 1913
Joined: Sat Dec 13, 2008 1:04 am
Location: Phoenix, AZ
National Flag:
United States of America

Re: Console Commands

Postby Target(+) » Thu Dec 17, 2009 12:14 am

Great stuff, so is it entered as "ftk" or "!ftk"?
Image
User avatar
Target(+)
Member
 
Posts: 178
Joined: Fri Jun 05, 2009 2:34 am
Location: England

Re: Console Commands

Postby Swanny-CG » Thu Dec 17, 2009 12:22 am

hit the ~ key to drop the console

type ftk

Hit Enter

hit the ~ key again to make the console go away

Super Duper.
Image
User avatar
Swanny-CG
Server Admin
Server Admin
 
Posts: 1966
Joined: Mon Dec 15, 2008 9:48 am
Location: Bay Area, California

Re: Console Commands

Postby LF55 » Sun Jan 31, 2010 11:45 am

Swanny, does the command disWhirlyMines still work?
How can you shoot women or children?
Easy! Ya just don't lead 'em so much! Ain't war hell?


Image
User avatar
LF55
Member
 
Posts: 774
Joined: Sat Feb 21, 2009 6:37 pm
Location: Harrisburg PA

Re: Console Commands

Postby Nightstalker » Sun Feb 07, 2010 10:01 pm

I am glad you posted this because I have use the ftk many times now ... ESPECIALLY when I KNOW the TK was my fault or completely accidental. thanks again
User avatar
Nightstalker
Admin
Admin
 
Posts: 4650
Joined: Sun Feb 07, 2010 9:29 pm
National Flag:
United States of America

Re: Console Commands

Postby Uranus Reamerz » Mon Mar 29, 2010 2:02 pm

I use the buddy set up on my own number so I can differentiate my actions from the rest and easily locate my position on the mini map (particularly direction facing when I'm in shilka or sa3)
Uranus Reamerz
Member
 
Posts: 81
Joined: Tue Dec 16, 2008 6:29 pm

Re: Console Commands

Postby Nightstalker » Tue Mar 30, 2010 10:16 am

Reams .. Can you explain more about that as that could help out alot of people I am sure .. including me LOLOLOL
Image
God bless the past and present men and women in uniform.
Like sands through the hourglass, these are the days of our lives. This is Nightstalker and this is EA117.
User avatar
Nightstalker
Admin
Admin
 
Posts: 4650
Joined: Sun Feb 07, 2010 9:29 pm
National Flag:
United States of America

Re: Console Commands

Postby WaffleFries » Tue Mar 30, 2010 12:04 pm

I think what he is saying is that he adds himself as a buddy so that his arrow turns green and when he kills someone the text is green. I do the same. It helps me to not have to look up to see if i scored the kill.
WaffleFries
Member
 
Posts: 88
Joined: Tue May 12, 2009 10:59 am

Re: Console Commands

Postby Uranus Reamerz » Thu Apr 01, 2010 4:52 pm

What he said ... also it puts your position as green on the mini map ... since I use the shilka a lot ... cough cough ... I use the least resolution so I can see the most blips but sometimes it gets confusing as to where I'm pointed ... when my position is green it is easier to tell which way I'm facing relative to incoming blips. Its jus a shilka thing!
Uranus Reamerz
Member
 
Posts: 81
Joined: Tue Dec 16, 2008 6:29 pm

Re: Console Commands

Postby ÇreamzØr° » Fri Apr 01, 2011 12:27 am

Some useful console commands for in game: checking your frame rate - fps 1 and then enter and tilde key. You should see red lines running across your screen and your FPS will show in the top left hand corner of your screen. This illustrates how well your video card is performing. If it's anything short of 70-80, you may feel the need to decrease your in game video settings, as a low fps will decrease your performance.

Now, for those of you that want to test your video card: renderer.lockfps x (the variable being any such number up to, and don't quote me on this, 1000). Provided you have a video card that can sustain that framerate, you may notice your gameplay experience is somewhat more fluid.

These aren't server side commands, just ways you can check how well your system is handling the game.
Image
ÇreamzØr°
Member
 
Posts: 8
Joined: Fri Apr 01, 2011 12:04 am

Re: Console Commands

Postby swodi » Tue May 24, 2011 2:56 pm

I don't know how I didn't know this before - there is good chance it's one of the billions of things I've forgot in the last 8 or 9 years - but while in the server, hitting the INSERT key will show the map rotation...

Rye_on_the_Rocks just told me this the other day - I didn't want to say it on TS when he told us (there were several on there), but I have a hand written list on paper taped to the side of my monitor with a list (and several several scratched out items! lmao) of all the maps... LMAO - Rye told me about that and I laughed to myself - but a week or so later I still look at that dumb paper all the time... I decided to throw it away today and force myself to use the INSERT key... which prompted me to write this in case anyone but ME didn't know about the flippin INSERT key... haha, Thanks again Rye!
Image
User avatar
swodi
BF4 Admin
BF4 Admin
 
Posts: 577
Joined: Sat Jun 19, 2010 4:43 pm
Location: colorado, us
National Flag:
United States of America

Re: Console Commands

Postby mistamontiel » Tue May 24, 2011 4:00 pm

Eliminate the use of !nextmap.

Doh. Admin changed the next map.

Great key indeedy
User avatar
mistamontiel
Member
 
Posts: 26
Joined: Mon May 09, 2011 2:20 am
Location: Miami, FL, CUBA
National Flag:
Cuba

Re: Console Commands

Postby ryeontherocks » Sat May 28, 2011 12:08 pm

the constant !nextmap deal is rather annoying especially when the first half of the message is so fast even bruce lee would need a few cracks at it...

But ty swodi, and you said i was completely useless :roll:
Image
User avatar
ryeontherocks
Admin
Admin
 
Posts: 680
Joined: Sat May 28, 2011 12:02 pm
National Flag:
Canada

Re: Console Commands

Postby swodi » Sun Jun 19, 2011 12:49 pm

lol - i didn't see you say that i said u were completely useless - lmao, i didn't say that!!!

i do have to agree with Rye tho (useless or not! lol) - if you could try to shorten your names on a couple of the maps, it wouldn't take two lines to say "The next map is ......" because if it takes two lines, when we type !nextmap is shows the whole first line for about .001 seconds and then goes to the 2nd line which only has the last little bit - usually something like "_desert_combat_final_conquest" or something - but not the name of the actual map - because it was on the first line... so people do !nextmap over and over and over worse than on one where you see the whole title...
Image
User avatar
swodi
BF4 Admin
BF4 Admin
 
Posts: 577
Joined: Sat Jun 19, 2010 4:43 pm
Location: colorado, us
National Flag:
United States of America

Re: Console Commands

Postby Lenny » Sat Jun 04, 2016 3:10 pm

How do i change my name in game? i have tried many codes but i'm probably missing a bracket or adding one or something. If you know, please type the code as i would in console menu if i wanted to say, change my name to tom. Don't add brackets or quotes, just type the pure, clean code. Thanks.

*ed People have told me and i quote "It's this, *****, i just tried it, it works."
But it never works.

ed* - game.changePlayerName

That works. Leave a space after the command then just enter new name. New name must not have spaces. Join two names with an underscore _.
Lenny
Member
 
Posts: 8
Joined: Sat Jan 09, 2016 11:34 am


Return to Desert Combat

Who is online

Users browsing this forum: No registered users and 1 guest

cron