Frequently Asked Questions (FAQ)

1. How do I compile and install Hedgewars?

To compile and install you need:

  • QT >= 4.2
  • FreePascal >= 1.9.4
  • SDL >= 1.2.5
  • SDL_net >= 1.2.5
  • SDL_mixer >= 1.2
  • SDL_image >= 1.2
  • SDL_ttf >= 2.0
  • CMake >= 2.4.4

1. Configure:
$ cmake .
or
$ cmake -DCMAKE_CXX_FLAGS="flags" -DCMAKE_INSTALL_PREFIX="install prefix" -DDATA_INSTALL_DIR="data dir"

2. Compile:
$ make

3. Install:
# make install

That's all! Enjoy!

2. How do I... (in-game key bindings)?

Switch between fullscreen and windowed mode:
Press 'F' key

Pause the game:
Press 'P' key

Move camera to current hedgehog:
Press 'H' key

Make a screenshot:
Press 'C' key

Switch weapon:
Press 'F1'-'F9' keys, or use menu, accessible via right mouse button click

Sound volume up/down:
'0' key is for volume up, and '9' key is for volume down

Set grenade timer:
Press '1'-'5' keys

Control the direction of Air Attack:
Press 'left arrow' or 'right arrow' key

Construct different girders:
Press 'left arrow' or 'right arrow' key when using construction tool

Speed up demo playing:
Press 'S' key

Enter chat message:
Press 'T' key

View chat history:
Press '`' key

3. CMake can not find my Qt installation

tell cmake a path to Qt manually:

$ export QTDIR=<qt dir>

or

$ cmake -DQT_QMAKE_EXECUTABLE=<path to qmake>

4. How can I watch demos I downloaded from 'Demos'?

Copy the .hwd_12 file to: ~/.hedgewars/Demos/ in *nix,
or %USERPROFILE%\.hedgewars\Demos\ in Windows

5. Network game does not work for me!

Check your firewall configuration before reporting a bug. Hedgewars needs 46631 TCP port opened at the server side. LAN must also provide UDP datagrams broadcasting for automatic server discovery

6. Why Qt4?

Because we need a portable and easy to maintain GUI widgets for game and options setup.It would be unreasonable to maintain self written GUI. Currently we have no time and manpower for it. We are interested in developing a game and game features, not to implement our own crossplatform GUI library/framework.

Sign into Member's Area