Skip to content

AssassinTee/Teeworlds-Zod2

Repository files navigation

Teeworlds-Zod2

CircleCI Build status release version Codacy Badge Teeworlds version contributions welcome HitCount

"HITS - How Idiots Track Success"

Description

Zod is a Zombie-Mod for the retro-multiplayergame Teeworlds. It is written for Teeworlds 0.7 and supports 60 zombies and 4 players at once. The mod supports a big variance of zombie-types.

After (re-)starting the game the mod beginns sending the first wave. After the player has defeated the first wave, a warmup starts and the next wave begins. The waves get more difficult the more you progress, because more zombie-types are added to the waves.

If you die, the team loses one of its lifes.

The game is over, after all teamlifes are gone.

Getting Started

  • clone this repository

  • compile the game the same way, you compile default Teeworlds. Remember, that this mod is written for Teeworlds 0.7.x. You only need the server, so use the command <path>/bam conf=release server for compiling

  • start the server with

    • Linux: ./teeworlds_srv (It may be found under /build)

    • Windows: doubleclick teeworlds_srv.exe

  • you may have to call the restart command in the admin console (of teeworlds)

  • Have Fun!

Binaries will be found in a later stage of this project. You may want to take a look at the variables of this gamemode.

Configure

Waves are configurable with .json files. Teeworlds already uses a json reader for the skin files, but I added another json-reader.

  • example_wave.json is default wavefile

  • with sv_wave_file <your wave file> you can change the wave configuration file

  • Top5 and rank statistics will always be found under top5/ in <mapname>.json

  • You can't change the filename or location of the top5 files

Example wave-configurations:

{
  "Version": "1.0.0",
  "Waves": {
    "1": {
      "Zaby": 10
    },
    "2": {
      "Zaby": 10,
      "Zooker": 2
    }
  }
}
  • Version: The Version of the wave file. This allows backwards compatibility.

  • Waves: Stores the waves in key value form. The key is the wave number and the value is a json-object

  • Wave-object: Key: Zombiename, Value: Zombienumber

Full wave-object example:

    "13": {
      "Zaster": 2,
      "Zaby": 10,
      "Zooker": 2,
      "Zamer": 10,
      "Zunner": 10,
      "Zotter": 10,
      "Zenade": 10,
      "Flombie": 10,
      "Zinja": 10,
      "Zele": 10,
      "Zinvis": 10,
      "Zoomer": 5,
      "Zeater": 10
    }

Contributing

Feel free to contribute! In the current project state every feedback is usefull

Built With

Authors

  • AssassinTee - Everything

License

This project is licensed under the GPLv3, as every Teeworlds code should be - see license.txt file for details

Great Thanks to

  • nlohmann for his great json library

  • CircleCI integration is awesome, thank you Teeworlds devs!