Go to file
shivajiva101 37aa262d9f
Update README.md
2021-12-10 22:22:59 +00:00
models Merge development branch (#4) 2020-08-12 17:08:29 +01:00
schems Modify player island 2020-08-20 23:10:14 +01:00
screenshots Update screenshot_3 2020-09-21 19:42:48 +01:00
sounds Add files via upload 2020-09-19 02:02:57 +01:00
textures Add button arrows 2020-09-16 15:41:52 +01:00
API.md Merge development branch (#4) 2020-08-12 17:08:29 +01:00
LICENSE Merge development branch (#4) 2020-08-12 17:08:29 +01:00
README.md Update README.md 2021-12-10 22:22:59 +00:00
_config.yml Merge development branch (#4) 2020-08-12 17:08:29 +01:00
depends.txt Merge development branch (#4) 2020-08-12 17:08:29 +01:00
extender.lua Update extender.lua 2020-08-27 21:25:39 +01:00
init.lua Modify match stat handling 2020-10-11 20:18:48 +01:00
register_arena.lua Update register_arena.lua 2020-09-16 00:47:17 +02:00
register_nodes.lua Add sound event for the egg 2020-09-21 19:58:57 +01:00
shop.lua Fix trader form not closing 2020-09-17 11:11:06 +01:00
sprint.lua Revert prev commit correctly removing sprint FOV 2020-09-27 00:43:24 +01:00
tools.lua Register an alias for the pick 2020-09-22 21:57:16 +01:00

README.md

Eggwars

What this is

This mod is inspired by the Minecraft mod of the same name and has similar features.

Each player's goal is to defend their egg and be the last person standing. If a player dies either from being killed by another player or falling off, they will re-spawn whilst their egg is intact, if it has been destroyed, they experience match death and enter into spectator mode.

When there is one player left standing in a match, they are declared the winner.

Features

  • Lobby
  • Multiple match instances
  • Island NPC Trader shops
  • Island NPC Spawner Upgrades
  • Coloured match chat
  • API for adding content

Install

This mod is designed to run on a server with the map running in a ram disk. There is no requirement for persistence of the map data so you should arrange to delete it on every restart, the memory requirements are low with the default arena taking ~5MB all 8 arenas should fit within 56MB.

First copy MTG to a new folder in minetest/games called eggwars and either extract the zip file to mods/ or use git clone https://github.com/shivajiva101/eggwars from within the mods directory.

  • Do NOT use an existing world - this will overwrite the mapgen and cause destruction.
  • Do NOT use a different mapgen mod. This will also cause issues
  • Delete the mods you don't need like beds, boats, bucket, butterflies, carts, dungeon_loot, fireflies, give_initial_stuff, sethome, spawn, vessels, weather
Example bash script for a server using levelDb:

Use sudo sh eggwars.sh to run the script as root for ramdisk management, sudo commands in the script perform actions as the user to keep things secure.

Adding your own arena

Adding your own arena is easy via the API function eggwars.register_arena(def) the default definition can be found in register_arena.lua and should be used as the reference template for creating your own arenas, it's a keypair table proliferated with comments to help understand what data each key requires. This design concept allows you to use your own schematics for islands, arena hubs and spawner satellites, controlling the positions of all current arena elements. See API.md for more details on this mods API functions and how to use them.

License

This project is licensed under AGPL v3. This is similar to the GPLv3, but requires any code modifications to be available on request.

Contributors

This project was originally started by wilkgr, but after years of inactivity handed over to shivajiva.

Media Attribution & Licenses

Sounds:
Textures:
  • Textures by shivajiva, created with Gimp (CC BY-NC 4.0)
Models:
  • Egg mesh by shivajiva, created with Blender (CC BY-NC 4.0)
  • NPC Character model sourced from minetest_game v0.4.17 (CC BY-SA 3.0) see minetest_game/mods/default/license.txt
Schematics:
  • created in MT by shivajiva (CC BY-NC 4.0)