Git Product home page Git Product logo

teeworlds_clanwar's Introduction

clanwar Mod

GitHub Actions release version Teeworlds version contributions welcome unmaintained

The Clanwar mod is a mod that supports all vanilla Games like CTF, DM, TDM, LMS, LTS and some instagib mods like gCTF, and iCTF.

The mods are renamed and a + symbol is added (gCTF -> gCTF+).

It allows servercommands and has some variables (only for Instagib)

servercommands desciprtion
/cmdlist Show all commands
/info Show mod info
/restart Call restart vote
/stop Pause game
/go Call vote to resume game
/1on1 to /8on8 Call vote to set player limit
/swap Call vote to swap teams
/shuffle Call vote to shuffle teams

img

variables

variable default min max description
sv_grenade_ammo_regen 0 0 1 Activate grenade spam protection
sv_grenade_ammo_regen_time 128 1 2000 Grenade ammo regeneration time in ms
sv_grenade_ammo_regen_num 6 1 10 Maximum number of grenades if ammo regeneration on
sv_grenade_ammo_regen_speed 1 0 1 Give grenades back that push own player
sv_grenade_min_damage 4 1 6 Minimum damage required for a kill
sv_laser_ammo_regen 0 0 1 Activate laser spam protection
sv_laser_ammo_regen_time 128 1 2000 laser ammo regeneration time in ms
sv_laser_ammo_regen_num 6 1 10 Maximum number of lasers if ammo regeneration on
sv_laser_jump 0 0 1 Laser jumps (Currently not working!)
sv_spamprotection 1 0 1 Toggle spam protection (Thanks to Cuube)
sv_sprayprotection 0 0 1 Toggle spray protection (Thanks to Cuube)
--------------------------- ------- --- ---- --------------------------------------------------
commands for training
--------------------------- ------- --- ---- --------------------------------------------------
sv_hook_kill 0 0 1 Allow only kills on hooked players
sv_def_training 0 0 1 Activate defend-training
set_def_team 0 0 1 Set defending team (Red=0, Blue=1)
set_def_pos middle 0 9999 Set the defending death x-position

Teeworlds - A retro multiplayer shooter


Teeworlds is a free online multiplayer game, available for all major operating systems. Battle with up to 16 players in a variety of game modes, including Team Deathmatch and Capture The Flag. You can even design your own maps!

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. See license.txt for full license text including copyright information.

Please visit https://www.teeworlds.com/ for up-to-date information about the game, including new versions, custom maps and much more.

Originally written by Magnus Auvinen.

Building on Linux or macOS

Installing dependencies

# Debian/Ubuntu
sudo apt install build-essential cmake git libfreetype6-dev libsdl2-dev libpnglite-dev libwavpack-dev python3

# Fedora
sudo dnf install @development-tools cmake gcc-c++ git freetype-devel mesa-libGLU-devel pnglite-devel python3 SDL2-devel wavpack-devel

# Arch Linux (doesn't have pnglite in its repositories)
sudo pacman -S --needed base-devel cmake freetype2 git glu python sdl2 wavpack

# macOS
brew install cmake freetype sdl2

Downloading repository

git clone https://github.com/teeworlds/teeworlds --recurse-submodules
cd teeworlds

# If you already cloned the repository before, use:
# git submodule update --init

Building

mkdir -p build
cd build
cmake ..
make

On subsequent builds, you only have to repeat the make step.

You can then run the client with ./teeworlds and the server with ./teeworlds_srv.

Build options

The following options can be passed to the cmake .. command line (between the cmake and ..) in the "Building" step above.

-GNinja: Use the Ninja build system instead of Make. This automatically parallizes the build and is generally faster. (Needs sudo apt install ninja-build on Debian, sudo dnf install ninja-build on Fedora, and sudo pacman -S --needed ninja on Arch Linux.)

-DDEV=ON: Enable debug mode and disable some release mechanics. This leads to faster builds.

-DCLIENT=OFF: Disable generation of the client target. Can be useful on headless servers which don't have graphics libraries like SDL2 installed.

Building on Windows with Visual Studio

Download and install some version of Microsoft Visual Studio (as of writing, MSVS Community 2017) with the following components:

  • Desktop development with C++ (on the main page)
  • Python development (on the main page)
  • Git for Windows (in Individual Components → Code tools)

Run Visual Studio. Open the Team Explorer (View → Team Explorer, Ctrl+^, Ctrl+M). Click Clone (in the Team Explorer, Connect → Local Git Repositories). Enter https://github.com/teeworlds/teeworlds into the first input box. Wait for the download to complete (terminals might pop up).

Wait until the CMake configuration is done (watch the Output windows at the bottom).

Select teeworlds.exe in the Select Startup Item… combobox next to the green arrow. Wait for the compilation to finish.

For subsequent builds you only have to click the button with the green arrow again.

Building on Windows with MinGW

Download and install MinGW with at least the following components:

  • mingw-developer-toolkit-bin
  • mingw32-base-bin
  • mingw32-gcc-g++-bin
  • msys-base-bin

Also install Git (for downloading the source code), Python and CMake.

Open CMake ("CMake (cmake-gui)" in the start menu). Click "Browse Source" (first line) and select the directory with the Teeworlds source code. Next, click "Browse Build" and create a subdirectory for the build (e.g. called "build"). Then click "Configure". Select "MinGW Makefiles" as the generator and click "Finish". Wait a bit (until the progress bar is full). Then click "Generate".

You can now build Teeworlds by executing mingw32-make in the build directory.

Building with bam, guides for all operating systems

You can also compile Teeworlds with bam, a custom build system. Instructions for that can be found at https://www.teeworlds.com/?page=docs&wiki=hacking.

teeworlds_clanwar's People

Contributors

assassintee avatar axblk avatar chillerdragon avatar cinaera avatar datag avatar dune-jr avatar fokkonaut avatar fstd avatar fudgyking avatar heinrich5991 avatar joeldevahl avatar larsfu avatar learath2 avatar lordsk avatar msiglreith avatar mydopefish avatar nheir avatar oy avatar phobos99 avatar rexim avatar robyt3 avatar serpis avatar shereef avatar sonix- avatar sushitee avatar swick avatar teetow avatar xalduin avatar xcuube avatar zatline avatar

Watchers

 avatar  avatar  avatar

Forkers

leo310 jxsl13

teeworlds_clanwar's Issues

"Segmentation fault" Error

Happens everytime i do /restart .
Also happens sometimes without doing anything.

I can provide more information if needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.