Player's User Guide

Submitted by yuz on Sun, 2005-09-11 23:16.

TOS is a multi-player game. Up to 22 players can join two opposing teams against each other over the Internet by linking to a soccer server. You can control the player by mouse and keyboard, or you may write an AI program to fight for you.

You may also play it as a single-player game. The Game will set up some AI teammates and opponents for you.

Start a new game

1,
=======================================
LINUX
=======================================

Start game by typing in a Term:

sh soccer

=======================================
WINDOWS
=======================================

Start game by typing in a DOS window

soccer.bat

A SoccerMaster window opens up.

2, If you want to turn on or turn off the sound and music, or turn on or turn off the Player Id and chat display, or turn on or turn off the 3D/2D display, go to Settings menu item.

3, If you want to run the soccer server locally, click toolbar icon , or select Game menu item Set Up Local Server.
A Server dialog opens up.

4, The default soccer server port number is 7777. You may also change server properties by providing a property file. Take a look at this property file sample.

5, You can type server commands in the Input field. The Server output is shown in Output area. The current available server commands are:


  1. left_name XXX - Set left team name to XXX.
  2. right_name XXX - Set right team name to XXX.
  3. help - print out the available server commands.
  4. quit - Exits the server killing all game related processes.

6, Click OK to start the soccer server, some message appears in Output area indicating the successful server start up.
Click Close to close the server dialog. You can reopen it later by clicking toolbar icon or selecting Game menu item Set Up Local Server.
Click Off to stop the soccer server.

7, To join a game, click toolbar icon , or select Game menu item Play Game.
A Play dialog opens up.
Choose the side, also select the server controls if you want to step forward, fast forward the server simulation, and input the server name and port, then click OK.
A soccer player appears as a circle on the soccer field. The rear half of the circle is painted blue to represent that the player is under your control. The front half is painted yellow if the player is in the left team, otherwise it's painted red. In 3D display, the player under your control has a blue circle under him.

8, To set up AI players locally, click toolbar icon , or select Game menu item Set Up Local AI Players.
An AI Players dialog opens up.

9, Type an AI command in the Command Line field, click On to run the AI program. Now the excuted AI command appears in Current Active Command Combobox. You can type AI control commands for the Current Active Command in the Input field, and the feedback from the Current Active Command displays in the Output area.

10, Click Close to close the AI Players dialog. You can reopen it later by clicking toolbar icon or selecting Game menu item Set Up Local AI Players.
Click Off to stop the Current Active Command.

Play the game


You can use both keyboard and mouse to control the player on the field.

  1. Keyborad Control Commands

    1. Force Control

      1. '1': set force to 0
      2. '2': set force to 15
      3. '3': set force to 30
      4. '4': set force to 45
      5. '5': set force to 60
      6. '6': set force to 70
      7. '7': set force to 80
      8. '8': set force to 90
      9. '9': set force to 100
      10. Up: add 15 to the force
      11. Shift+Up: add 30 to the force
      12. Down: minus 15 to the force
      13. Shift+Down: minus 30 to the force

    2. Direction Control

      1. Left: 10 degrees left turn
      2. Shift+Left: 40 degrees left turn
      3. Right: 10 degrees right turn
      4. Shift+Right: 40 degrees right turn

    3. Ball Control

      1. Space: If the player has the ball, kick the ball with full force to the player's facing direction; else, chase the ball.
      2. Enter: If the player has the ball, shoot the ball to the opponent's goal; else, this command has no effect.


  2. Mouse Control Commands

    1. Left Click at X,Y: the player runs to X,Y
    2. Right Click at X,Y: If the player has the ball, kick the ball to X,Y; else, this command has no effect.

You may communicate with your teammates by typing words in Chat.
The length of what you type can not be longer than 30. You are allowed to send out one message every 30 seconds. The message can be seen by both teams, wich will appear on the top of the displayed Soccer Field.

View the game


To view a game, click toolbar icon , or select Game menu item View Game.
A View dialog opens up.
Input the server name and port, then click OK.

End the game


To exit playing or viewing the current game, click toolbar icon , or select Game menu item Stop Playing/Viewing Game. You may restart playing by clicking toolbar icon or selecting Game menu item Play Game, you may also restart viewing by clicking toolbar icon or selecting
Game menu item View Game.

Record and Replay the game


To record a series of games, use '-lo' option to start the soccer server, then the server will record the games to files called "saved0", "saved1", ...

To replay the recorded games at the client side, use VCR like buttons on the tool bar to operate on the saved game file, such as "saved0".

Control the game simulation in Coach Mode


If you've turned on the coach ability when joing a game, you can also step forward, play, and fast forward the game simulation. This can be useful for debugging AI programs.