)
All comments, changes, suggestions, and additions are welcome! Please
contact me at the
address below or on the CE and BF Community forums - cebf.ws
-------------------------------
COPYRIGHT 2002 g8
\"Restecp\" to the CE and BF Community - http://cebf.ws/ Permission
is granted to reproduce/repost
this FAQ as long as the entire contents and copyright are retained.
Please give credit where it\'s due
--------------
To modify your server settings, see the following:
Server Settings
---------------
When hosting a server, the server settings are read from Settings/ServerSettings.con
they are as follows:
game.serverName \"Bf Server\"
> server name
game.serverDedicated 0
> 0 - non dedicated, 1 - dedicated
game.serverGamePlayMode GPM_CQ
> gameMode: GPM_CQ - Conquest, GPM_CTF - Capture the Flag, GPM_TDM
- Team Death Match, GPM_COOP - Coop
game.serverGameTime 0
> round time limit in minutes. 0 = unlimited
game.serverMaxPlayers 32
game.serverScoreLimit 24
> score limit in TDM and CTF. 0 = unlimited
game.serverInternet 0
> 1 - internet server, 0 - local server
game.serverNumberOfRounds 3
> number of rounds before map change
game.serverSpawnTime 20
> spawn time in seconds, i.e. time between waves
game.serverSpawnDelay 10
> spawn delay in seconds, i.e. the time the wave is active
game.serverGameStartDelay 20
> delay before game starts
game.serverSoldierFriendlyFire 100
> friendly fire in percent versus soldiers
game.serverVehicleFriendlyFire 100
> friendly fire in percent versus vehicles
game.serverTicketRatio 100
> ticket ratio in percent. 100 % = default ticket settings. 200 % =
twice the number of tickets
game.serverAlliedTeamRatio 1
game.serverAxisTeamRatio 1
> team ratio Allied versus Axis. 1-2, means twice the number of axis
players
game.serverCoopAiSkill 75
> If Coop, this is the skill of the ai. (in percent)
game.serverCoopCpu 20
> If Coop, the amount of cpu time given to the ai. 15-25
game.serverPassword \"\"
> password (DO NOT USE ANY SPACES)
game.ServerBandwidthChokeLimit 0
> Limit: bytes / second. 0 = unlimited
game.ServerAllowNoseCam 1
> Nose cam on/off (1/0) when flying planes
game.ServerFreeCamera 0
> Free camera on/off (1/0)
game.ServerExternalViews 1
> external views on vehicles on/off (1/0)
game.ServerAutoBalanceTeams 0
> external views on vehicles on/off (1/0)
game.ServerNameTagDistance 50
> name tag distance
game.ServerNameTagDistanceScope 300
> name tag distance when using scope
game.ServerKickBack 0
> kickback. damage received when hurting teammates. (in percent)
game.ServerKickBackOnSplash 0
> kickback. splash damage received when hurting teammates. (in percent)
game.setServerSoldierFriendlyFireOnSplash 100
> friendly fire from splash damage in percent vs soldiers
game.setServerVehicleFriendlyFireOnSplash 100
> friendly fire from splash damage in percent vs vehicles
game.setServerIP
> Ip of server
game.setServerIP
game.setServerPort 14567
> port of server
GENERAL SERVERCOMMANDS:
- Game.listplayers
Every player has an ID number, which is used for kicking/voting
off the player. This command lists those numbers.
- Game.enablefreecamera *
This enables free look mode on clients who are waiting to spawn.
For *, 1 turns free look on, 0 turns it off. Note that this
command can only be run from the server, or by a user that has
remote server access.
- Game.killplayer *
* is equal to the player id number. Note that this command can
only be run from the server, or by a user that has remote server
access.
ADMIN COMMANDS:
- Admin.kickplayer *
* is equal to the player id number. Note that this command can
only be run from the server, or by a user that has remote server
access.
- Admin.banplayer *
* is equal to the player id number. Note that this command can
only be run from the server, or by a user that has remote server
access.
- Admin.removeaddressfrombanlist *
* is equal to the IP of a banned player. Note that this command
can only be run from the server, or by a user that has remote
server access.
- Admin.addaddresstobanlist *
* is equal to the IP address to the client that is to be banned.
Note that this command can only be run from the server, or by a
user that has remote server access.
- Admin.clearbanlist
This allows all users that were previously banned to once again
connect to the server. Note that this command can only be run
from the server, or by a user that has remote server access.
- Admin.externalviews *
This command enables/disables external camera views on clients
connected to the server. For *, 1 turns external views on, 0
turns it off. Note that this also disables the nose cam. Also,
note that this command can only be run from the server, or by a
user that has remote server access.
- Admin.listbannedaddresses
Lists the IP addresses that are banned from connecting to the
server. Note that this command can only be run from the server,
or by a user that has remote server access.
- Admin.allownosecam *
This command enables/disables the ability for clients to turn
off the airplane HUD. (Allows easier flying.) For *, 1 turns
nose cam on, 0 turns it off. Also note that if external views
are turned off, nose cam cannot be used. Note that this command
can only be run from the server, or by a user that has remote
server access.
VOTING COMMANDS:
- Game.votekickplayer *
This command will initiate/cast a vote to kick a player. Players
on both teams can participate in this vote. * is equal to the
player id number.
- Game.votekickteamplayer *
This command will initiate/cast a vote to kick a player. Voting
is restricted to the team of the player who initiated the vote.
* is equal to the player id number.
- Admin.votingtime *
This command sets the amount of time clients have to cast a vote
after it has been initiated. * is equal to the number of seconds
clients will have to vote. Note that this command can only be run
from the server, or by a user that has remote server access.
REMOTE CONSOLE ACCESS:
- Admin.enableremoteadmin password
The SERVER needs to have this command executed every map. The
password can include numbers OR letters, but not a combination
of the two. NOTE: DO NOT INCLUDE ANY SPACES IN YOUR PASSWORD.
The CLIENT that is to have remote admin access is to execute
this command. The password must be the same as the one set on
the server
- Admin.execremotecommand "command"
To execute a command from a client, one would type the
admin.execremotecommand, followed by the desired admin command
in quotation marks. For example, to kick someone with the player
id of 7 from a client machine, one would type the following
(after going through the first two steps of this section.)
Admin.execremotecommand "admin.kickplayer 7"
OTHER HELPFUL COMMANDS:
- Console.showfps *
This toggles the FPS display on and off. For *, 1 turns FPS on
and 0 turns it off.
- Console.showstats *
This toggles the debug stats display on and off. For *, 1 turns
the debug stats display on and 0 turns it off.
- Game.disconnect
This disconnects the player from the current game.
- Game.changeplayername *
This allows a user to quickly change his name. * is equal to the
player name.