Local RCON Commands
Posted: 2011-03-01 07:59
RCON commands on local servers are very useful for testing maps, vehicles and weapons ingame.
1. In the launcher, click 'Options' and select the 'Global' tab. Check the 'Enable Local RCON Commands' option, click 'Apply' and then 'Close'.
2. Start a local or Co-op server.
3. Once spawned in ingame bring up chat ( default j,k,l keys).
4. Type in:
A message should appear saying '*Debug Enabled*'
Enabling debug mode is important as most commands cant be done unless debug is enabled.
Ingame Commands:
Ingame commands must be entered in chat by using the j,k or l keys, NOT in console.
Now that you're logged in and in debug mode you can use the spawner commands.
Its important that you DO NOT spawn anything that isnt in the map you are currently playing as it will crash the game. Example spawning a PLA tank on kashan will crash the game.
The spawner command is:
For example if I wanted to spawn a US logistics truck on kashan desert the command would be:
There are single player versions of some vehicles, for example tanks that allow the gunner to drive. They have _bf2 on the end of the name. As long as you have the vehcile in the map, you can spawn in the SP varient.
If I wanted to spawn the MEC marksman kit the command would be:
If you want to alternate version of the kit put _alt on the end of the code like this:
To spawn a deployable firebase the command would be:
If you want to spawn a pre built deployable just put _sp on the end of the name. You can only spawn deployables for the teams on the map.
You can spawn any vehicle or kit on any team as long as it is on the map you are playing on.
Useful for testing and taking screenshots is the flying prbot. The command for that it:
To remove the minimap and hud when in the prbot press the switch weapon key (default F).
There is another prbot with different controls, more sutable for smooth video recording. The command for that it:
Also useful for taking screenshots and filming is the camera kit. Its command is:
The kit will probably be invisible so just walk a few meters infront of you and press G. The kit has a UN helmet, so it can be useful in community events.
For instant respawn type in:
Replace 'playername' with the name of the person you want to instantly respawn.
So If I wanted to do it to myself I would type in:
You can also use just the first letter or first few letters of the players name. For example
To allow all kits used in vehicles plus no need for driver in tanks etc type in:
To disable Vehicle warm up times type in:
To disable Team Kit restrictions so you can use enemy kits, type in:
To spawn every kit for the faction you are currently playing as type:
It will spawn all the kits and varients for the faction in a long line.
To find out your current health value type:
Fully healed is 100.0, dead is 0
To run a map in the your map rotation type:
Replace nn with the map number. To find out the map number type the follow into the console (by pressing ~):
To teleport to loctation X amount of meters away in the direction you're facing type (this one only works in the console ~):
If you teleport to a location that is lower in height than you're current you will fall and die, so be careful.
Vehicle and Kit Names:
To find the names of all the vehicles and kits locate the following directory:
Project Reality\Project Reality BF2\mods\pr\content
The kits_server.zip will have all the names of the kits for all the different factions.
The vehicles_server.zip will have all the vehicles names for all the diffents factions.
The common_server.zip has names for deployables, such as firebases, tows ect.
For reference here are the team names so you can identify which kits and vehicles belong to which armies and maps:
1. In the launcher, click 'Options' and select the 'Global' tab. Check the 'Enable Local RCON Commands' option, click 'Apply' and then 'Close'.
2. Start a local or Co-op server.
Spoiler for Coop Server Setup:
4. Type in:
Code: Select all
rcon debugEnabling debug mode is important as most commands cant be done unless debug is enabled.
Ingame Commands:
Ingame commands must be entered in chat by using the j,k or l keys, NOT in console.
Now that you're logged in and in debug mode you can use the spawner commands.
Its important that you DO NOT spawn anything that isnt in the map you are currently playing as it will crash the game. Example spawning a PLA tank on kashan will crash the game.
The spawner command is:
Code: Select all
rcon spawner thing_you_are_spawningCode: Select all
rcon spawner us_trk_logisticsIf I wanted to spawn the MEC marksman kit the command would be:
Code: Select all
rcon spawner mec_marksmanCode: Select all
rcon spawner mec_marksman_altCode: Select all
rcon spawner deployable_firebaseYou can spawn any vehicle or kit on any team as long as it is on the map you are playing on.
Useful for testing and taking screenshots is the flying prbot. The command for that it:
Code: Select all
rcon prbotThere is another prbot with different controls, more sutable for smooth video recording. The command for that it:
Code: Select all
rcon prbot2Code: Select all
rcon cameraFor instant respawn type in:
Code: Select all
rcon ready playernameSo If I wanted to do it to myself I would type in:
Code: Select all
rcon ready vapomanCode: Select all
rcon ready vCode: Select all
rcon onemanCode: Select all
rcon startCode: Select all
rcon onefactionCode: Select all
rcon kitsTo find out your current health value type:
Code: Select all
rcon healthTo run a map in the your map rotation type:
Code: Select all
rcon map [i]nn[/i]Code: Select all
maplist.listCode: Select all
rcon teleport XVehicle and Kit Names:
To find the names of all the vehicles and kits locate the following directory:
Project Reality\Project Reality BF2\mods\pr\content
The kits_server.zip will have all the names of the kits for all the different factions.
The vehicles_server.zip will have all the vehicles names for all the diffents factions.
The common_server.zip has names for deployables, such as firebases, tows ect.
For reference here are the team names so you can identify which kits and vehicles belong to which armies and maps:
Code: Select all
cf = Canadian Forces
ch= PLA
chinsurgent = Militia
GB= British Forces
ger = German Forces
hamas= Hamas
idf = Israeli defence force
Mec = MEC
MEInsurgent = Insurgents
pickup = Random pickup kits (some of the insurgent and taliban kits are in here)
ru = Russian Forces
taliban = Taliban
us = USMC
usa = US Army