Hi, we are playing pr coop, and my friend claims he played an online game a while ago and the admin spawned an apache for him. He entered some scripts and spawned in vehicles like in BF2:Sandbox, only in PR. Anyone know if this is possible? We are practicing in coop, and would love to be able to just spawn in any vehicle at any time anywhere.
Sti
Spawning vehicles as admin
-
killonsight95
- Posts: 2123
- Joined: 2009-03-22 13:06
Re: Spawning vehicles as admin
yup it's possible, however test it out in local first as you don't have to "log in" when you're hosting it locally heres the guide.
https://www.realitymod.com/forum/f388-p ... mands.html
https://www.realitymod.com/forum/f388-p ... mands.html

-
ShockUnitBlack
- Posts: 2100
- Joined: 2010-01-27 20:59
Re: Spawning vehicles as admin
*Makes near-incoherent noise that nonetheless sounds vaguely like "commanders should be able to purchase vehicles."
"I Want To Spend The Rest Of My Life With You Tonight."
-
BoZo_135
- Posts: 130
- Joined: 2011-04-23 16:40
Re: Spawning vehicles as admin
Killonsight, I tried everything that was said on that thread and nothing worked for me. 
-
killonsight95
- Posts: 2123
- Joined: 2009-03-22 13:06
Re: Spawning vehicles as admin
1.start local deployment server
2.type IN CHAT (either all,team or squad) rcon debug
3.make sure that anything you want to spawn is used by 1 of the factions on the map otherwise your game will crash.
4.type eg. on kashan: rcon spawner us jet f16
this will spawn the f16, you can find all vehciles in the PR files by going into objects > vehicles server > land/sea/air/civi etc.
2.type IN CHAT (either all,team or squad) rcon debug
3.make sure that anything you want to spawn is used by 1 of the factions on the map otherwise your game will crash.
4.type eg. on kashan: rcon spawner us jet f16
this will spawn the f16, you can find all vehciles in the PR files by going into objects > vehicles server > land/sea/air/civi etc.

-
BoZo_135
- Posts: 130
- Joined: 2011-04-23 16:40
Re: Spawning vehicles as admin
Haha, thx. I figured it out. Kept trying it on Co-op instead of deployment :$
-
chainsaw.exe
- Posts: 58
- Joined: 2010-12-09 23:36
Re: Spawning vehicles as admin
Is there any way to use debug commands on coop?
-
killonsight95
- Posts: 2123
- Joined: 2009-03-22 13:06
Re: Spawning vehicles as admin
i think you have to make a login as explained in the first part of the tutorial in the link
but i'm not sure if you can or cannot.
but i'm not sure if you can or cannot.

-
newguy2468
- Posts: 12
- Joined: 2010-11-05 15:52
Re: Spawning vehicles as admin
To be able to use RCON commands i CO-OP you have to edit some python files
1:
Go into
C:\Program Files\EA GAMES\Battlefield 2\mods\pr\python\game
2:
Open realityconfig_coop in notebook (NB! Remember to make a backup!!!!!!!)
3:
Go down to the bottom of the text file. you should see something like this
Change the
Save
6:
Profit
, then do the same in CO-OP as in LOCAL, like typing in rcon debug in chat etc...
1:
Go into
C:\Program Files\EA GAMES\Battlefield 2\mods\pr\python\game
2:
Open realityconfig_coop in notebook (NB! Remember to make a backup!!!!!!!)
3:
Go down to the bottom of the text file. you should see something like this
4:# Defines if all players in a server running the private config have debug powers
# Default is 0 (no)
C['PRDEBUG_ALL'] = 0
Change the
ToC['PRDEBUG_ALL'] = 0
5:C['PRDEBUG_ALL'] = 1
Save
6:
Profit
Last edited by newguy2468 on 2011-08-07 22:24, edited 2 times in total.
Bringerof D : "no, Hardcoded means:
Analogy: There's something inside the box you want or need. however the box cannot be opened. It is armor plated on all sides welded shut with no seem or any weak point what so ever. In fact even if you could open the box, it is in fact illegal and there are policemen standing right next to the box.
you are however allowed to play with the box and decorate it."
Analogy: There's something inside the box you want or need. however the box cannot be opened. It is armor plated on all sides welded shut with no seem or any weak point what so ever. In fact even if you could open the box, it is in fact illegal and there are policemen standing right next to the box.
you are however allowed to play with the box and decorate it."
-
chainsaw.exe
- Posts: 58
- Joined: 2010-12-09 23:36
Re: Spawning vehicles as admin
thankyou mate that worked!!
