Sports modification with server-management
Thanks to Rajh for his original football mod. This mod makes a football or handball game possible. The ball in this game is a grenade and there are no weapons.Thanks to Rajh for his racemod
Download
Linux x86 binaryLinux x86_64 binary
Linux Patch-file
Windows x86 binary
Windows Patch-file
foot.cfg
handball.cfg
foot2.map (provided by Landil)
handball.map
You can use the binaries the same way you are using the teeworlds_srv file. Don't forget to put the binary into the teeworlds directory.
To apply the patch-file, first download the sources from http://teeworlds.com, extract them and change to the extracted directory. Move the patch-file to this directory. Apply the patch on linux by typing "patch -p1 < improved_physics.patch". Then follow the help to compile the source on http://teeworlds.com.
The files foot.cfg and handball.cfg has to be in the main teeworlds-directory. foot2.map and handball.map has to be in data/maps.
Configuration
All options are disabled if you set them to 0.| Option | Value range | Recommended value | Standard | Description |
| sv_realfoot | 0-1 | 0 | 0 | Should the ball be played immediately after receiving it |
| sv_goalkeeper | 0-1 | 1 | 0 | Allowes goalkeeper in the game |
| sv_teleport | 0-1 | 1 | 1 | Teleporting, needed for standard map |
| sv_ball_respawn_time | 0-100 | 2 | 2 | Time in seconds till respawn of the ball |
| sv_rolling | 0-1 | 1 | 0 | The ball roles over the ground |
| sv_allow_gametype_votes | 0-1 | 0 | 0 | Allowes votes for changing the gametype(football or handball) |
| sv_nohook | 0-1 | 0 | 0 | Disables the hook |
| sv_explosions | 0-1 | 0 | 1 | Disables explosions of the grenades on taking the ball |
| sv_player_keeptime | 0-1000 | 1 | 0 | How long the player keeps the ball before it is automatically played |
| sv_goal_keeptime | 0-1000 | 3 | 0 | How long the goalkeeper keeps the ball before it is automatically played |
| sv_goalkeeper_changes | 0-1000 | 4 | 0 | How often the player can change status between player and goalkeeper while 10 goals |
| sv_goalkeeper_changes_ban | 0-1000 | 10 | 0 | How long the player will be banned if he changed more often |
| sv_bounce_loss_x | 0-10000 | 30 | 0 | How much of the velocity in x direction gets loss on a bounce |
| sv_bounce_loss_y | 0-10000 | 30 | 0 | How much of the velocity in y direction gets loss on a bounce |
| sv_grenadelauncher_startvelocity | 0-100000 | 0 | 0 | How much of the player's velocity is added to the grenade velocity |
| sv_goalkeeper_jumping | 0-1 | 0 | 0 | The goalkeeper can jump endless |
Commands
Player (Chat-commands)
- /help (information about the mod)
- /goalkeeper (You become the goalkeeper)
- /vote <Spieltyp> (Starts a vote for changing the gametype. Possible gametypes are foot or handball)