|
Modding Tutorials Information and tutorials related to modding BF2. |
|
Thread Tools | Display Modes |
2011-03-01, 07:59 | #1 |
Retired PR Developer
|
Local RCON Commands
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. Spoiler for Coop Server Setup:
3. Once spawned in ingame bring up chat ( default j,k,l keys). 4. Type in: Code:
rcon debug 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: Code:
rcon spawner thing_you_are_spawning Code:
rcon spawner us_trk_logistics If I wanted to spawn the MEC marksman kit the command would be: Code:
rcon spawner mec_marksman Code:
rcon spawner mec_marksman_alt Code:
rcon spawner deployable_firebase 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: Code:
rcon prbot There is another prbot with different controls, more sutable for smooth video recording. The command for that it: Code:
rcon prbot2 Code:
rcon camera For instant respawn type in: Code:
rcon ready playername So If I wanted to do it to myself I would type in: Code:
rcon ready vapoman Code:
rcon ready v Code:
rcon oneman Code:
rcon start Code:
rcon onefaction Code:
rcon kits To find out your current health value type: Code:
rcon health To run a map in the your map rotation type: Code:
rcon map nn Code:
maplist.list Code:
rcon teleport X 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: Code:
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 |
"Eight glorious sides and eight stunning angles!"
|
|
Last edited by Suchar; 2022-01-12 at 15:39..
Reason: Updated for the standalone content path
|
2011-03-01, 11:32 | #2 |
Join Date: Jul 2009
Posts: 2,207
Yugoslavia
Location: Macedonia
|
Re: [Tutorial] Local RCON Commands
That's very useful, thanks Vapo!
|
In-game: Cobra-PR
|
|
2011-03-01, 11:58 | #3 |
Retired - Project Manager
|
Re: [Tutorial] Local RCON Commands
You don't need to login for it to work, just "rcon debug". And you can just use "rcon camera" for the camera kit.
For listen servers, you need to type the commands into chat (j, k, or l), for dedicated, you type it into console (~). For dedicated, you need to enable debug at the bottom of the relevant realityconfig_*.py file. |
|
|
2011-03-01, 12:28 | #4 |
Retired PR Developer
|
Re: [Tutorial] Local RCON Commands
|
"Eight glorious sides and eight stunning angles!"
|
|
2011-03-01, 14:38 | #5 |
Join Date: Jan 2009
Posts: 1,800
Europe
Location: Viking Stronghold.
|
Re: [Tutorial] Local RCON Commands
Will spawning a jet on Kashan crash the server?
|
2011-03-01, 14:48 | #6 |
Retired PR Developer
|
Re: [Tutorial] Local RCON Commands
|
"Eight glorious sides and eight stunning angles!"
|
|
2011-03-01, 17:44 | #7 |
Join Date: Feb 2007
Posts: 2,432
United Kingdom
Location: Yeovilton, UK
|
Re: [Tutorial] Local RCON Commands
might want to add rcon ready playername to instant respawn
rcon oneman to allow all kits used in vehicles plus no need for driver in tanks etc and rcon start (i think) to have no turrent warm ups etc rcon map nn - where nn is a number from the maplist to switch to that map |
vistamaster01: "I just dont get people with girl usernames/pics/sigs lol,
for example I thought AnimalMother was a girl " Arte et Marte |
|
2011-03-02, 05:00 | #9 |
Join Date: Jan 2010
Posts: 525
Finland
Location: Helsinki
|
Re: [Tutorial] Local RCON Commands
You can also spawn firebases etc. Static objects can be spawn too, but afaic only the host can see those. Networkable static objects can bee seen by everyone.
|
2011-10-15, 04:57 | #10 |
Retired PR Developer
|
Re: [Tutorial] Local RCON Commands
Updated OP with more commands and removed the login process since it isn't needed.
|
"Eight glorious sides and eight stunning angles!"
|
|
Tags |
commands, local, rcon, tutorial |
|
|