My favorites | Sign in
Project Hosting will be READ-ONLY Thursday at 3:00pm UTC for up to 3 hours for network maintenance.
utc
Project Home Downloads Wiki Issues Source
Search
for
getting_started  
This article explains how to take your shiny new UTc! archive and do things with it.
Updated Jan 24, 2010 by red.hamsterx

Pre-requisites

Ultra Tank-chan! is not a stand-alone entity. To get it to work, you will need to ensure that the following packages are installed on your system:

  • Python 2.x, version 2.4 or greater (python)
  • PyODE 1.2 (Open Dynamics Engine) or greater (python-pyode)
  • PyGame 1.8.1 or greater (python-pygame)
  • PyOpenGL 3.0 or greater (python-opengl)
    • If using 3.0.0b6 (or greater), you may also need NumPy (python-numpy)
  • wxPython 2.8 or greater (python-wxversion)

Here's how you can install these packages on each platform UTc! supports:


Setup

Once all pre-requisites have been satisfied, the first real step is to run the setup script, which will take care of installing UTc!'s configuration files in ~/.UTc!/ and pre-compiling all files to Python bytecode, which isn't entirely necessary, but it doesn't hurt at all. The command to run follows:

you@yourhost: ~/UTc!/client$ python -OO setup.py

Alternatively, if you have the python-dev package installed, you should tack the --build option onto the end of that command:

you@yourhost: ~/UTc!/client$ python -OO setup.py --build
This variant will build src/matrix_c.so, which is a C implementation of all matrix functions found in src/matrix.py. It isn't necessary, but it is a lot faster, particularly when the number of players and objects becomes large. (Though you probably won't notice a difference in small games)

Post-setup

Ultra Tank-chan! is now ready to run. You should review the default keybindings (so you'll know how to fly your ship) first, but you're free to launch the client and connect to a server at this point.


Joining a game

To join a game, you must first connect to a server, and the first step towards doing that is launching the client:

you@yourhost: ~/UTc!/client$ python -OO client.py

Once the login window appears, just enter your host's information and the name you'd like to use to identify yourself (10 characters or less, lest it be clipped in-game). This information will be preserved between sessions.

After you've connected to the host, you will be shown another, much larger, window, with four tabs on the top:

  • Lobby
    • This tab allows you to communicate with other players, change your team, and, once the host starts a game, join in by clicking the "Join game" button.
  • Ship
    • Here, you're free to choose the ship you would like to use, and change its loadout. There are various primary weapons and secondary weapons available, and you should casually familiarize yourself with them before launching.
  • Statistics
    • After each game ends, this tab will be populated with information detailing everyone's performance and ranking.
  • Configuration
    • This tab allows you to change various settings, such as how the game will look, how demanding it will be on your hardware (lower FPSes and resolutions (800x600 minimum for acceptable HUD presentation) may allow UTc! to run on older machines), the colour of your ship as seen by other players, and the location of your Python binary, in case your PATH is messed up.

When you're finished playing, just close the GUI. Your settings will automatically be remembered for the next time you play.


Sign in to add a comment
Powered by Google Project Hosting