Local RCON Commands

Information and tutorials related to modding BF2.
Post Reply
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: [Tutorial] Local RCON Commands

Post by Rhino »

you need to type the commands into the cmd server window.
Image
Finners
Posts: 48
Joined: 2011-05-10 01:23

Re: [Tutorial] Local RCON Commands

Post by Finners »

how do i do that :S Sorry i guess im useless... is this on a normal local server just run off of my laptop??

I got it never mind didnt realise it couldn't be done in coop!!
Last edited by Finners on 2012-03-05 14:45, edited 1 time in total.
Image
oakman26
Posts: 21
Joined: 2010-01-05 02:10

Re: [Tutorial] Local RCON Commands

Post by oakman26 »

I get acces denied when i try to edit realityconfig_local with notepad
Last edited by oakman26 on 2012-04-08 18:15, edited 1 time in total.
oakman26
Posts: 21
Joined: 2010-01-05 02:10

Re: [Tutorial] Local RCON Commands

Post by oakman26 »

And for a local deployment server would i edit local or private
AnimalMother.
Posts: 2476
Joined: 2007-02-25 15:38

Re: [Tutorial] Local RCON Commands

Post by AnimalMother. »

oakman26 wrote:I get acces denied when i try to edit realityconfig_local with notepad
never known for this to happen to everyone, what settings are you trying to change?
oakman26 wrote:And for a local deployment server would i edit local or private
if your going 'join internet -> create local' then you want to be editing the local config :)

If your ever unsure of what config file you want to be editing fire up the game and at round start it will say in the top left of the screen what gamemode and layer is running and what config is being used :)

hope this helps
ex |TG-31st|
AnimalMotherUK - YouTube

vistamaster01: "I just dont get people with girl usernames/pics/sigs lol,
for example I thought AnimalMother was a girl :o ops:"

Arte et Marte
lucky.BOY
Posts: 1438
Joined: 2010-03-03 13:25

Re: [Tutorial] Local RCON Commands

Post by lucky.BOY »

oakman26 wrote:I get acces denied when i try to edit realityconfig_local with notepad
Might be a Windows problem, try copying it to your desktop, edit it there, and then copy it back to original folder. It might help. However this seems like a user rights problem...

-lucky
JTtheOKIE
Posts: 215
Joined: 2012-04-10 00:45

Re: [Tutorial] Local RCON Commands

Post by JTtheOKIE »

oakman26 wrote:And for a local deployment server would i edit local or private
you need to right click on the file, and set your security preferences so what ever user you are on has full control.

Also guys, I get a CTD after hitting Squad Assignment when predebug_all is set to 1. Any ideas?
VapoMan
Retired PR Developer
Posts: 1139
Joined: 2009-05-29 07:11

Re: [Tutorial] Local RCON Commands

Post by VapoMan »

JTtheOKIE wrote:you need to right click on the file, and set your security preferences so what ever user you are on has full control.

Also guys, I get a CTD after hitting Squad Assignment when predebug_all is set to 1. Any ideas?
Download this and replace your existing realityconfig_local.py with it (ive already made the edits in this one).
http://dl.dropbox.com/u/31317139/realityconfig_local.py

If you still CTD then its probably unrelated.

Image"Eight glorious sides and eight stunning angles!"Image
sweedensniiperr
Posts: 2784
Joined: 2009-09-18 10:27

Re: [Tutorial] Local RCON Commands

Post by sweedensniiperr »

where are the vietnam files located?

EDIT: thanks. why is it located there though?:S
Last edited by sweedensniiperr on 2012-04-12 12:46, edited 1 time in total.
Image
VapoMan
Retired PR Developer
Posts: 1139
Joined: 2009-05-29 07:11

Re: [Tutorial] Local RCON Commands

Post by VapoMan »

sweedensniiperr wrote:where are the vietnam files located?
battlefield 2/mods/pr/levels/prv_base

Image"Eight glorious sides and eight stunning angles!"Image
SniperSktlz
Posts: 5
Joined: 2012-04-14 21:41

Re: [Tutorial] Local RCON Commands

Post by SniperSktlz »

I want to make my private server rcon enabled so me and some friends can mess around on the new vietnam maps without having to worry about wasting assets. Anyone know how to change the file? I've tried to edit realityconfig_public but instead of a .PY file it's a .PYC file so when I open it I get something about as readable as webdings. Anyone know of any way to open and edit this file so I can enable debuging?
AnimalMother.
Posts: 2476
Joined: 2007-02-25 15:38

Re: [Tutorial] Local RCON Commands

Post by AnimalMother. »

private server running a password you'll want to edit the realityconfig_private.py

the public config file is compiled so that public servers can't change the spawns etc
ex |TG-31st|
AnimalMotherUK - YouTube

vistamaster01: "I just dont get people with girl usernames/pics/sigs lol,
for example I thought AnimalMother was a girl :o ops:"

Arte et Marte
SniperSktlz
Posts: 5
Joined: 2012-04-14 21:41

Re: [Tutorial] Local RCON Commands

Post by SniperSktlz »

[R-CON]AnimalMother wrote:private server running a password you'll want to edit the realityconfig_private.py

the public config file is compiled so that public servers can't change the spawns etc
Wait, well my server doesn't appear on the server list, but if I have my friend connect to the Ip adress it connects them. So, is that a private server or a public server?
AnimalMother.
Posts: 2476
Joined: 2007-02-25 15:38

Re: [Tutorial] Local RCON Commands

Post by AnimalMother. »

When you start the round what does it say at the top left of the screen?

Example is:

Playing Burning Sands AAS Std using Private Config

if you miss the message you can open the console using ` (button left of 1 on keyboard) and it should display it there. Your probably best firing a PM off to someone like [R-DEV]bloodydeed to talk server setup stuff
ex |TG-31st|
AnimalMotherUK - YouTube

vistamaster01: "I just dont get people with girl usernames/pics/sigs lol,
for example I thought AnimalMother was a girl :o ops:"

Arte et Marte
DieVoorJe91
Posts: 60
Joined: 2009-04-28 10:34

Re: [Tutorial] Local RCON Commands

Post by DieVoorJe91 »

Is there a command for rcon which removes the restriction to enter a vehicle gunner postion while alone in the vehicle?



CV9035 NL

The best a man can get!
WeeD-KilleR
Posts: 792
Joined: 2009-11-01 13:32

Re: [Tutorial] Local RCON Commands

Post by WeeD-KilleR »

yes, "rcon oneman". If you want to be able to drive and shoot (driver+gunner merged) spawn the vehicle with a _bf2 in the end.
Kevokpo
Posts: 286
Joined: 2011-09-25 14:40

Re: [Tutorial] Local RCON Commands

Post by Kevokpo »

Hi guys I just tried the rcon commands with the german faction, but when trying to spawn the tornado it doesn't spawn, it also happens with the mercedes

tornado: rcon spawner ger_jet_tornadogr4
mercedes: rcon spawner ger_jep_gwagon

I tried the uh1d, the eurofighter and the puma and they spawn. Also the map does not crash so I think that those assets might be able to spawn on silent eagle.

Then I tried to spawn the mercedes, in Lashkar Valley in coop mode, and it does not appear, then I tried with the canadians in Op. Archer and it spawns.

It does not affects me at all but just wondering why those assets don't appear.

another question, do still these structures work? I mean can I deploy them? never tryed before
deployable_pillbox
deployable_bunker

and what are these for? I put the command but nothing seems to happen.
fixed_50cal_tripod
fixed_bunker
fixed_carrier
fixed_firebase
fixed_insurgent_hideout
Last edited by Kevokpo on 2012-07-15 18:03, edited 3 times in total.
Image
Image
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: [Tutorial] Local RCON Commands

Post by Amok@ndy »

for the GWagon i think you have to use ger_jep_gwagon_support or ger_jep_gwagon_support_alt
if nothing of those is working have a look at /levels/silent_eagle/server.zip/GameModes/cq/64/GamePlayObjects.con and check out how those vehicles are spawned
Image
AnimalMother.
Posts: 2476
Joined: 2007-02-25 15:38

Re: [Tutorial] Local RCON Commands

Post by AnimalMother. »

the code for te tornado is incorrect

ger_jet_tornado_gr4_mw1 though the mw1 and gr4 could be the other way around. have a look again in the levels GPO

the fixed emplacements don't do anything afaik. if you want to just spawn a HMG emplacement use something like

deployable_50cal_tripod_us
ex |TG-31st|
AnimalMotherUK - YouTube

vistamaster01: "I just dont get people with girl usernames/pics/sigs lol,
for example I thought AnimalMother was a girl :o ops:"

Arte et Marte
sweedensniiperr
Posts: 2784
Joined: 2009-09-18 10:27

Re: [Tutorial] Local RCON Commands

Post by sweedensniiperr »

AnimalMother. wrote:the fixed emplacements don't do anything afaik. if you want to just spawn a HMG emplacement use something like

deployable_50cal_tripod_us
The "fixed" makes the deployable already up. You don't need to dig. So there is a difference :)
Image
Post Reply

Return to “Modding Tutorials”