What configs can you change?
-
blud
- Posts: 1246
- Joined: 2006-09-04 22:22
What configs can you change?
In PR 0.756 and earlier, the configs you could alter (for a private server) were realityconfig_common.py, realityconfig_private.py, and serversettings.con
Is that still the case in 0.8?
Thanks
Is that still the case in 0.8?
Thanks
-
fuzzhead
- Retired PR Developer
- Posts: 7463
- Joined: 2005-08-15 00:42
Re: What configs can you change?
Im prety sure serversettings.con does not do anything (even if you edit it PR will overwrite those changes)
you now have 3 editable py files:
realityconfig_common.py (editable)
realityconfig_private.py (editable)
realityconfig_local.py (editable)
the realityconfig_public.py is still not editable
you now have 3 editable py files:
realityconfig_common.py (editable)
realityconfig_private.py (editable)
realityconfig_local.py (editable)
the realityconfig_public.py is still not editable
-
dbzao
- Retired PR Developer
- Posts: 9381
- Joined: 2006-06-08 19:13
Re: What configs can you change?
The PR code overwrites the following settings:
Code: Select all
'manDownTime': WOUNDED_TIME,
'spawnTime': WOUNDED_TIME,
'startDelay': STARTDELAY,
'timelimit': PRTIMELIMIT,
'numPlayersNeededToStart': 1,
'ranked': 0,
'allowFreeCam': 0,
'allowNoseCam': 1,
'allowExternalViews': 1,
'hitIndicator': 0,
'setScoreLimit': 99999999,
'soldierFriendlyFire': 100,
'vehicleFriendlyFire': 100,
'soldierSplashFriendlyFire': 100,
'vehicleSplashFriendlyFire': 100,
'friendlyFireWithMines': 1,
'radioSpamInterval': 4,
'radioMaxSpamFlagCount': 4,
'radioBlockedDurationTime': 30,
'roundsPerMap': 1
-
blud
- Posts: 1246
- Joined: 2006-09-04 22:22
Re: What configs can you change?
Thanks.
What's realityconfig_local.py for? (I don't have a server so, I don't have the file to look at it and see.)
What's realityconfig_local.py for? (I don't have a server so, I don't have the file to look at it and see.)
-
Masaq
- Retired PR Developer
- Posts: 10043
- Joined: 2006-09-23 16:29
Re: What configs can you change?
Local hosting, ie: LAN, and you do have the file:
battlefield 2\mods\pr\python
battlefield 2\mods\pr\python
Last edited by Masaq on 2008-09-05 19:20, edited 1 time in total.
"That's how it starts, Mas, with that warm happy feeling inside. Pretty soon you're rocking in the corner, a full grown dog addict, wondering where your next St Bernand is coming from..." - IAJTHOMAS
"Did they say what he's angry about?" asked Annette Mitchell, 77, of the district, stranded after seeing a double feature of "Piranha 3D" and "The Last Exorcism." - Washington Post
-
blud
- Posts: 1246
- Joined: 2006-09-04 22:22
Re: What configs can you change?
What are the following values used for?
# PROJECT REALITY DISTANCES
# Default is 5, 10, 50, 100, 200, 400
DISTANCE_PICKUP = 5
DISTANCE_SPAWN = 10
DISTANCE_CLOSE = 50
DISTANCE_AREA = 100
DISTANCE_WIDE = 200
DISTANCE_HUGE = 400
I know PICKUP is used for distance from an outpost to request a pickup kit. I think CLOSE is used for the distance 3 people need to be from an enemy RP to destroy it, but, I wonder if CLOSE is also used for anything else. And I'm guessing AREA, WIDE, and HUGE are used for 3 sizes of flag capture radius, but I could be wrong and/or they could be used for something more than that.
Thanks
# PROJECT REALITY DISTANCES
# Default is 5, 10, 50, 100, 200, 400
DISTANCE_PICKUP = 5
DISTANCE_SPAWN = 10
DISTANCE_CLOSE = 50
DISTANCE_AREA = 100
DISTANCE_WIDE = 200
DISTANCE_HUGE = 400
I know PICKUP is used for distance from an outpost to request a pickup kit. I think CLOSE is used for the distance 3 people need to be from an enemy RP to destroy it, but, I wonder if CLOSE is also used for anything else. And I'm guessing AREA, WIDE, and HUGE are used for 3 sizes of flag capture radius, but I could be wrong and/or they could be used for something more than that.
Thanks
-
[MoL]jaVi
- Posts: 190
- Joined: 2008-03-17 20:51
Re: What configs can you change?
What setting do I have to change in order to get players switch teams after mapchange? As for now the standard is that all players remain in the same team and squad after a new map started 
Thx for help
Thx for help
-
maz.uk
- Posts: 244
- Joined: 2007-07-30 10:08
Re: What configs can you change?
you can set that with bf2cc just tick the box
should be in auto admin
Last edited by maz.uk on 2008-09-09 18:02, edited 1 time in total.

-
[MoL]jaVi
- Posts: 190
- Joined: 2008-03-17 20:51
Re: What configs can you change?
lol, thx, I looked everywhere exept for Auto-Admin, shame on me! 
-
blud
- Posts: 1246
- Joined: 2006-09-04 22:22
Re: What configs can you change?
Can anyone suggest who I could pm to ask about the # PROJECT REALITY DISTANCES?
-
vovo4ka
- Posts: 96
- Joined: 2007-07-30 07:40
Re: What configs can you change?
why setScoreLimit is so high?'[R-DEV wrote:dbzao;792276']The PR code overwrites the following settings:
Code: Select all
'numPlayersNeededToStart': 1, 'setScoreLimit': 99999999,
and btw 'numPlayersNeededToStart' is not 1
my server wants 6 players still.
-
MAINERROR
- Retired PR Developer
- Posts: 1873
- Joined: 2007-07-22 17:54
Re: What configs can you change?
THen you're doing something wrong. It is 1 for a official PR public server.vovo4ka wrote:why setScoreLimit is so high?
and btw 'numPlayersNeededToStart' is not 1
my server wants 6 players still.
-
blud
- Posts: 1246
- Joined: 2006-09-04 22:22
Re: What configs can you change?
Is db on vacation or something?
-
MAINERROR
- Retired PR Developer
- Posts: 1873
- Joined: 2007-07-22 17:54
Re: What configs can you change?
Why?
EDIT: Sorry got it now. Your question alright.
EDIT: Sorry got it now. Your question alright.
Last edited by MAINERROR on 2008-09-12 11:54, edited 1 time in total.
-
vovo4ka
- Posts: 96
- Joined: 2007-07-30 07:40
Re: What configs can you change?
well how to change numPlayersNeededToStart on local server?
-
Jagular
- Posts: 806
- Joined: 2007-09-17 20:29
Re: What configs can you change?
DISTANCE_PICKUP = 5 - from assets pickup/supply distance (check end of private config)
DISTANCE_SPAWN = 10 - objectives spawn distance
DISTANCE_CLOSE = 50 - rally destroy distance
some kind of map-related distances:
DISTANCE_AREA = 100
DISTANCE_WIDE = 200
DISTANCE_HUGE = 400
of course its only my thoughts
DISTANCE_SPAWN = 10 - objectives spawn distance
DISTANCE_CLOSE = 50 - rally destroy distance
some kind of map-related distances:
DISTANCE_AREA = 100
DISTANCE_WIDE = 200
DISTANCE_HUGE = 400
of course its only my thoughts
Xfire - jagular78rus aka =WNP= SPB.Jagular / http://www.wnp-clan.ru/ Click me for picture
Setting up servers: game/web/mail/other win&nix/bsd
Setting up servers: game/web/mail/other win&nix/bsd
-
dbzao
- Retired PR Developer
- Posts: 9381
- Joined: 2006-06-08 19:13
Re: What configs can you change?
I'm not, I'm actually working and not being able to check the forums every day during the week, so give me a break.'[T wrote:BludShoT;798401']Is db on vacation or something?
The distances are used in several different things and if you change one it can affect other parts of the game you don't want. So I wouldn't touch them.
-
blud
- Posts: 1246
- Joined: 2006-09-04 22:22
Re: What configs can you change?
I'm not not giving you a break... It was a sincere question, I thought you might be on vacation or something.[R-DEV]dbzao wrote:I'm not, I'm actually working and not being able to check the forums every day during the week, so give me a break.
