Realisitc modification for teeworlds-server
This Mod is deprecated. Please use Modpack instead.This modification provides a teeworlds server with improved physics.
Changes to a normal teeworlds-server:
- The bullets have different velocities, depending of the player's velocity. If you are moving in shoot-direction, the bullet is very fast.
- The same velocity-calculation is at shooting of the hook. The hook is calculated in client and server, so it lags. But you can simply disable this option.
- Bullets collide with eachother. So you can shoot a flying grenade with the pistol or shotgun.
- Your own bullets can hit yourself.
- You get full damage on shooting yourself.
- You get damage on fast velocity changes. For example if you are falling from a high location.
- Also all features from the modification for better server-management.
Download
Linux x86 binaryLinux x86_64 binary
Linux Patch-file
Windows x86 binary
Windows Patch-file
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.
Configuration
All options are disabled if you set them to 0.| Option | Value range | Recommended value | Standard | Description |
| sv_gun_startvelocity | 0-100000 | 260 | 0 | how much of the player's velocity should be added to projectile velocity of the gun |
| sv_shotgun_startvelocity | 0-100000 | 260 | 0 | how much of the player's velocity should be added to projectile velocity of the shotgun |
| sv_grenadelauncher_startvelocity | 0-100000 | 500 | 0 | how much of the player's velocity should be added to projectile velocity of the grenadelauncher |
| sv_hook_startvelocity | 0-100000 | 180 | 0 | how much of the player's velocity should be added to the hook velocity |
| sv_gun_bulletdimension | 0-1000 | 20 | 0 | width and height of the gun bullet |
| sv_shotgun_bulletdimension | 0-1000 | 20 | 0 | width and height of the shotgun bullet |
| sv_grenade_bulletdimension | 0-1000 | 130 | 0 | width and height of the grenadelauncher bullet |
| sv_activate_stopdamage | 0-1000 | 23 | 0 | the velocity difference which hurts the tee |
| sv_stopdamage | 0-1000 | 3 | 0 | the damage given if the velocity difference is greater than the value above |
| sv_correct_selfdamage | 0-1 | 1 | 0 | gives on selfdamage complete damage. players are able to be hit of their bullets |