Local RCON Commands

Information and tutorials related to modding BF2.
Post Reply
Jolly
Posts: 1542
Joined: 2011-07-17 11:02

Re: Local RCON Commands

Post by Jolly »

Well, dunno how prbot's gonna work in PR1.0 now.
Jolly, you such a retard.
Spook
Posts: 2459
Joined: 2011-07-12 14:08

Re: [Tutorial] Local RCON Commands

Post by Spook »

___sangue-ruim___ wrote:prbot3? awesome
There is also prbot4 which can be used to fire every ammunition type....including napalm.

As far as i remember: prbot = invisible probt. shoots flares with weapon slot "3"

prbot2 = invisible. causes flares to stick on the prbot and make it glow and "visible" on slot "3"

prbot3= Very fast prbot with ultra fast derp turbo

prbot4= controls are different. you have an aimpoint and you can aim with your mouse. weapons 1-8 are all explosion types. Starting with Small Arms on 1, 50cal on 2, ending with arty on 7 and napalm on 8


Btw isn't it possible to make the prbot go invisible with the commo rose? Onil did this for his Survival Games Event. if you jump into a prbot you can make it visible/invisible with the commo rose.
Last edited by Spook on 2013-08-05 09:02, edited 2 times in total.
Image
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Local RCON Commands

Post by LITOralis.nMd »

can update factions please

v_arg2 == "arf"
v_arg2 == "fr"
v_arg2 == "vnusa"
v_arg2 == "vnusmc"
v_arg2 == "vnnva"
Tunechi
Posts: 9
Joined: 2012-11-06 12:31

Re: Local RCON Commands

Post by Tunechi »

I can't run PR mumble, so I have to play SP, and in SP I'd like to try some Rcon commands but when I go with the rcon debug one it says "Rcon: Error: not authenticated. You can only invoke 'login'." . And yes, C['PRDEBUG_ALL'] = 1 already.

Any tips please ?
Gracler
Posts: 947
Joined: 2009-03-22 05:16

Re: Local RCON Commands

Post by Gracler »

Tunechi wrote:I can't run PR mumble, so I have to play SP, and in SP I'd like to try some Rcon commands but when I go with the rcon debug one it says "Rcon: Error: not authenticated. You can only invoke 'login'." . And yes, C['PRDEBUG_ALL'] = 1 already.

Any tips please ?
Your right the setting is 1 by default now for local servers.

That's normal ... look at the orange/green info text it should say debug enabled anyway.

You don't need a login since all players got access to rcon commands on a local server, that is what the "1" enables.
Last edited by Gracler on 2013-08-12 22:46, edited 11 times in total.
SnipeHunt
Posts: 801
Joined: 2009-02-02 15:35

Re: Local RCON Commands

Post by SnipeHunt »

I get the "error: not authenticated..." too. It still goes into debug mode. You will see the error come up when putting in rcon commands in the chat and the ~ screen, but still works fine.

C['PRDEBUG_ALL'] = 1 is not necessary anymore, just enter a local game and type rcon debug.
Best line yet...
Me: "Hey APC, Can I get a ride to squad 6?"
Unknown: "This APC ain't no Taxi!"
Stealth Clobber
Posts: 344
Joined: 2007-02-14 23:48

Re: Local RCON Commands

Post by Stealth Clobber »

I noticed that rcon kits doesn't spawn duplicate kits anymore (thank god). Makes the kit line a lot more compact.
Image
titsmcgee852
Posts: 316
Joined: 2012-10-06 00:37

Re: Local RCON Commands

Post by titsmcgee852 »

Make sure you have "enable rcon commands" ticked in the PR launcher if you're having problems because that caused me a lot of grief. :)
piepieonline
Retired PR Developer
Posts: 433
Joined: 2009-07-22 00:41

Re: Local RCON Commands

Post by piepieonline »

Not only that, but don't enter it into the console (~), use global chat (Default J).
Image
Gracler
Posts: 947
Joined: 2009-03-22 05:16

Re: Local RCON Commands

Post by Gracler »

[R-DEV]piepieonline wrote:Not only that, but don't enter it into the console (~), use global chat (Default J).
most things work in chat but for example "teleport" only works in the console
User avatar
Ason
PR:BF2 Developer
Posts: 1749
Joined: 2012-10-22 10:29

Re: Local RCON Commands

Post by Ason »

[rcon oneman] has never worked for me, it only removes need for crewman kit, but you still need a driver.
titsmcgee852
Posts: 316
Joined: 2012-10-06 00:37

Re: Local RCON Commands

Post by titsmcgee852 »

Yep, that's because you need to spawn the _bf2 version of that vehice. Say you want the abrams with the driver and gunner position combined you'll need to say 'rcon spawner us_tnk_m1a2_bf2'
Psyrus
Retired PR Developer
Posts: 3841
Joined: 2006-06-19 17:10

Re: Local RCON Commands

Post by Psyrus »

Mrslobodan wrote:[rcon oneman] has never worked for me, it only removes need for crewman kit, but you still need a driver.
rcon oneman
rcon start


Those two should be used in tandem :)
User avatar
Ason
PR:BF2 Developer
Posts: 1749
Joined: 2012-10-22 10:29

Re: Local RCON Commands

Post by Ason »

Alright, thanks, I tried to spawn the Leclerc tank on Operation marlin alt coop layer but game just crashes...

rcon debug
rcon start
rcon oneman
rcon spawner fr_tank_leclerc_bf2

Crash.

Is it maybe because it's the UN texture?
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: Local RCON Commands

Post by Amok@ndy »

you cant spawn stuff via rcon that havent been placed on the layer, so since it was coop i guess there is only the _bf2 version available if at all
Image
Moszeusz6Pl
Retired PR Developer
Posts: 939
Joined: 2010-06-24 13:41

Re: Local RCON Commands

Post by Moszeusz6Pl »

It don't have to be object that is on that layer. But all meshes, geometries and other stuff(I think also animations, sounds and effects) must be loaded. As most of _bf2 versions are using same textures and geometries as regular one, you can spawn it, if regular vehicle is on that map. I have spawned several _bf2 version of assets in regular AAS layers, where tere isn't any _bf2 variant.

Image
User avatar
Ason
PR:BF2 Developer
Posts: 1749
Joined: 2012-10-22 10:29

Re: Local RCON Commands

Post by Ason »

on the coop alt layer there is one leclerc tank but it requires 2 people, I guess I can't spawn the bf2 version then.

Btw does someone know if most vehicles on coop have been made into multiplayer version(driver/gunner seat) on purpose to make coop more about training before playing multiplayer? In 0.98 there was always atleast one bf2 version of all vehicles on the map which was great.

EDIT: @ Mosz alright, i guess maybe it just doesn't work on this map then :/
titsmcgee852
Posts: 316
Joined: 2012-10-06 00:37

Re: Local RCON Commands

Post by titsmcgee852 »

Mrslobodan wrote:on the coop alt layer there is one leclerc tank but it requires 2 people, I guess I can't spawn the bf2 version then.
I was gonna say that. It's like that on a few other maps too. However on another map where the regular version was spawned by default, I was also able to spawn the _bf2 version, so go figure.
Moszeusz6Pl
Retired PR Developer
Posts: 939
Joined: 2010-06-24 13:41

Re: Local RCON Commands

Post by Moszeusz6Pl »

I think it can be because few co-op version could not get updated to 1.0 yet, so it can use geometry/textures, which regular 1.0 version don't use.

Image
C0PPERH34D
Posts: 19
Joined: 2013-06-29 19:09

Re: Local RCON Commands

Post by C0PPERH34D »

Is there a chance to use Admin.ToggleGamePause on a public server?

I just wondered what would happen, if you pause the game after those huge lags start. Maybe it ll give the server time to rearrange.
[img]http://cache.[url]www.gametracker.com/server_info/%2089.58.34.195:16567/b_350_20_C1C1C1_C1C1C1_000000_C1C1C1.png[/img][/url]
Post Reply

Return to “Modding Tutorials”