This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "Single Player Mode"

From BZFlagWiki
Jump to: navigation, search
(copy SinglePlayerMode from old wiki)
 
Line 1: Line 1:
BZFlag can start a local BZFS. See the start menu, then join "localhost" on the default port (5154 for 1.10 and newer)
+
Before you read below please be advised that many server owners do not like you putting bots on their servers. This could earn you a ban at the owner's discretion. If you wish to run bots on a public server ask permission from the server owner first.
  
Use -solo <n> to include bots when you join the server. This allows you to play locally.
+
BZFlag can start a local BZFS. See the start menu, then join "localhost" on the default port (5154 for 1.10 and newer).
  
Note: all the server options are NOT available from inside bzflag. You are better off starting the server in another window. See CreatingAServer for more information.
+
Use '''-solo <n>''' to include bots when you join the server. This allows you to play locally.
  
1 More detail
+
Note: Not all of the server options are available from inside bzflag. You are better off starting the server in another window. See [[CreatingAServer]] for more information.
  
Q. Will someone tell me more clearly how to play single-player? Thanks.
+
== Additional Info ==
  
A. Thanks to mario.icosaedro for help...
+
Open up a terminal (unix) or command prompt (windows) and change directory to wherever you installed BZFlag (something like '''cd "C:\Program Files\BZFlag2.0.8\"''' on windows). Then type the following command.
  
COMMAND:
+
bzflag -solo X callsign@servername:5154
  
bzflag -solo X name@servername
+
Replace "X" with the number of bots you want, "callsign" with your callsign and "servername" with the address of the server. A callsign or server is not required at the command line, as the GUI will start if not given.
  
Put your name into name slot Put server address into servername slot
+
Example:
  
However, a callsign or server is not required at the command line, as the GUI will start if not given.
+
bzflag -solo 5 lamebot@bzflag.secretplace.us:5154
  
EXAMPLE:
+
This will start a BFZlag client with 5 robots and you can then play along with your robots. You dont need to start a second session just for yourself, you'll be the player without a number after your name.
  
bzflag.exe -solo 10 bubbasmith@mario.icosaedro.it
 
  
This will start 1 session of bzflag with 10 robots and you can then play along with your robots on marios server (or any server that you state). You dont need to start a second session just for yourself, you'll be the player without a number after your name.
+
== Windows ==
 
+
There is help at http://www.cruzan.info/ and there is a link also to Tim's very well and easy to read help site.
+
 
+
---
+
 
+
->Basically, create your own server if you wish to just play byyourself with noone else, and then regardless of what server you play on, add robots by giving BZFlag command line command -solo NUMROBOTS replacing NUMROBOTS with the amount of robots you want to play with.
+
 
+
2 Mac OS X
+
 
+
This is how you set up a single player game in OS X:
+
 
+
1. Navigate to BZFlag. Control-Click BZFlag and in the contextual menu select "Show Package Contents"; then double click the "Contents" and then the "MacOS" folder's. Leave this window open.
+
 
+
2. Now Open Terminal (which is in the /Applications/Utilities folder).
+
 
+
3. In the "MacOS" folder there should be something called "BZFlag"; click and drag that over to your open Terminal window. It should put something in the command line to the order of: "/Applications/BZFlag-2.0.8.app/Contents/MacOS/BZFlag" (that is if you have BZFlag in your Applications folder)
+
 
+
4. Now type one space after that string of text: "-solo N" (Replace the "N" with the number of Bots you want). Now press enter; it should launch BZFlag. Now start a server and connect to it.
+
 
+
You should now be playing against some sort of intelligent tanks.
+
 
+
-andman9
+
  
 
3 Windows
 
3 Windows
  
1. Select a shortcut icon (on desktop, in Start->Programs, on Quick Launch bar ... doesn't matter where). Right-click and choose "Create Shortcut". This will give you a second shortcut (numbered "(2)", "(3)", etc.) which you can change without affecting the first one.
+
1. Select a shortcut icon (on desktop, in Start->Programs or Quick Launch bar - doesn't matter where). Right-click and choose "Create Shortcut". This will give you a second shortcut (numbered "(2)", "(3)", etc.) which you can change without affecting the first one.
  
 
2. Go to your shortcut, right click and choose Properties. Shortcut Target will be highlighted.
 
2. Go to your shortcut, right click and choose Properties. Shortcut Target will be highlighted.
  
3. Press End and add to the end of the target the desired options (" -solo 10" for instance). The changed target line will look like this:
+
3. Press the "End" key and add to the end of the target the desired options (" -solo 5" for instance). The changed target line will look like this:
  
      "C:\Program Files\BZFlag2.0.8\bzflag.exe" -solo 10
+
"C:\Program Files\BZFlag2.0.8\bzflag.exe" -solo 5
  
4. This icon will start a game with 10 bots (see manual). You can start a server on your own computer from within BZFlag if desired.
+
4. This icon will start a game with 5 bots. You can start a server on your own computer from within BZFlag if desired.

Revision as of 02:20, 20 February 2007

Before you read below please be advised that many server owners do not like you putting bots on their servers. This could earn you a ban at the owner's discretion. If you wish to run bots on a public server ask permission from the server owner first.

BZFlag can start a local BZFS. See the start menu, then join "localhost" on the default port (5154 for 1.10 and newer).

Use -solo <n> to include bots when you join the server. This allows you to play locally.

Note: Not all of the server options are available from inside bzflag. You are better off starting the server in another window. See CreatingAServer for more information.

Additional Info

Open up a terminal (unix) or command prompt (windows) and change directory to wherever you installed BZFlag (something like cd "C:\Program Files\BZFlag2.0.8\" on windows). Then type the following command.

bzflag -solo X callsign@servername:5154

Replace "X" with the number of bots you want, "callsign" with your callsign and "servername" with the address of the server. A callsign or server is not required at the command line, as the GUI will start if not given.

Example:

bzflag -solo 5 lamebot@bzflag.secretplace.us:5154

This will start a BFZlag client with 5 robots and you can then play along with your robots. You dont need to start a second session just for yourself, you'll be the player without a number after your name.


Windows

3 Windows

1. Select a shortcut icon (on desktop, in Start->Programs or Quick Launch bar - doesn't matter where). Right-click and choose "Create Shortcut". This will give you a second shortcut (numbered "(2)", "(3)", etc.) which you can change without affecting the first one.

2. Go to your shortcut, right click and choose Properties. Shortcut Target will be highlighted.

3. Press the "End" key and add to the end of the target the desired options (" -solo 5" for instance). The changed target line will look like this:

"C:\Program Files\BZFlag2.0.8\bzflag.exe" -solo 5

4. This icon will start a game with 5 bots. You can start a server on your own computer from within BZFlag if desired.