Giter VIP home page Giter VIP logo

hungry_games's Introduction

 _    _                                 _____
| |  | |                               / ____|
| |__| |_   _ _ __   __ _ _ __ _   _  | |  __  __ _ _ __ ___   ___  ___
|  __  | | | | '_ \ / _` | '__| | | | | | |_ |/ _` | '_ ` _ \ / _ \/ __|
| |  | | |_| | | | | (_| | |  | |_| | | |__| | (_| | | | | | |  __/\__ \
|_|  |_|\__,_|_| |_|\__, |_|   \__, |  \_____|\__,_|_| |_| |_|\___||___/
                     __/ |      __/ |
                    |___/      |___/

By Splizard.

For a full list of contributors, see this page.

GitHub: https://github.com/GunshipPenguin/hungry_games

Installation

Place this folder in your Minetest games folder.

Gameplay

You will spawn in an arena in which there is no way out, you must collect items found in chests scattered in the arena and use them to defeat other players and you must eat and drink to survive. The last surviving player is the winner.

Details

The game is round-based. Once you have died, won, or you just entered the server, you have to wait until the next round starts. When you play a map with this game a glass wall is created which is (by default) 400×400 blocks around the center of the map, it is an indestructable wall and players will always spawn inside the arena. There are also chests scattered randomly around the arena which contain useful weapons and items. When you die you drop all your items and start spectating or get teleported to a lobby where combat is disabled. You will become hungry and thirsty over time. When your hunger or thirst bar reaches 100%, you have to find food or a drink quickly, otherwise you will die from starvation or dehydration.

Attention, server admins

When hosting a hungry games server please edit the hungry_games mod files for configuring the game, this is the Minetest/games/hungry_games/mods/hungry_games/init.lua file. The file is meant to document itself but if you need help understanding the configuration, just ask. The Hungry Games should, however, already work well with the default settings.

Quick start guide for setting up a server

The usual way to set up a server goes like this:

** Linux users will find the games folder in ~/.minetest/games/.


  1. Create a new world and use the v6 map generator
  2. Join this world
  3. Obtain the hg_admin and hg_maker privileges
  4. Set the starting positions (at least 2) by using the server command “/hg set player_#” (see below). Make sure all starting positions are within the boundaries of the glass arena.
  5. Set the lobby and spawn positions using “/hg set lobby” and “/hg set spawn”. Also make sure those positions are sealed from the main combat area.
  6. Now your server is ready, wait for other players to join and let them vote to start the first match

Optional steps and hints

  • You can design the world to your liking by using the “HG Maker” tab in your inventory menu. Use the Admin Pickaxe to break blocks
  • You can build additional chests, they will be automatically filled in the next match
  • The lobby is supposed a closed area which is sealed from the main arena; it is usually a spectator room
  • Both lobby and spawn positions must not be neccessarily inside the arena
  • If you are lazy, you can set the lobby and spawn position at the same place
  • Configure the Hungry Games server to your liking (see above)
  • The number of possible players in a match is limited by the number of starting positions.

The more spawn positions you have, the more players can play.

Privileges

hg_admin Allows to manage the Hungry Games with the “hg” server command (see below).
hg_maker Adds the “HG Maker” tab (you can get almost any item here, but you must rejoin the server first) into the inventory menu and allows to use the “build” server command.
vote Reserved for internal use.
register Reserved for internal use.

Server commands

Commands for everyone

/vote Vote to start the match /register Register to take part in the next match

Commands requiring hg_maker privilege

/build Grants yourself these privileges: interact, fly, fast. Works only if no game is currently in progress.

Commands requiring hg_admin privilege

/hg start Starts the match (if not already running)
/hg restart Restarts the match
/hg r Restarts the match
/hg stop Stops the current match
/hg set <posname>[ ] Set a spawn position
/hg unset <posname> Unset/delete a spawn position
/hg maintenance [on|off] Enable/disable or toggle maintenance mode.

Detailed command description

Maintenance mode

The maintenance mode is a simple tool for server operators to disable the starting of new games. Maintenance mode can be used to manually build the map without being disturbed by a game.

While in maintenance mode, voting is disabled and the game can also not be started with /hg start or /hg restart.

The maintenance mode is always disabled when the server has just been started, it must always be enabled manually.

Use /hg maintenance to toggle maintenance mode.

Setting and deleting spawn positions

The /hg set command works like this: /hg set <posname> [<x> <y> <z>]

<posname> is a required argument and is one of:
spawn Where players respawn after death
lobby Where the players spawn when they join the server
player_# Where players start the match, replace # with a whole number, starting from 1. You must not skip numbers.

<x>, <y> and <z> are optional and set the position of the spawn point. If omitted, the position is set to your current position

Example: /hg set player_1 0 0 0 sets the first starting position to (0,0,0).

The /hg unset command works like /hg set, but it does not have the optional position arguments.

hungry_games's People

Contributors

calinou avatar chenshuiluke avatar gunshippenguin avatar splizard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hungry_games's Issues

hudbars

Hi, my log is flooded with something like:

[hudbars] Bad call to hb.change_hudbar, identifier: “armor”, player name: “kelso”. new_max_value (100) is smaller than new_value (108)!

Creative bug

When I dig in creative I only get one item but when I place the blocks I don't have unlimited places like normal. Please fix this

initial items

make all players lose their items when hunger games start and then regain them. i had no items we started a game and got nothing. then i died again.

gamemaker

please add a way for people to become gamemaker. that means they can fly and give people stuff but that is it.

ideas

hg_makers can fly during the game. please make them lose it whn a game starts. also when you start a hunger games could you:
-make a countdown of 10 seconds
-make the countdown send a chat message "# seconds till the game start"
-when the game starts make make a cannon sound go off.
make admins lose fly and during the games.
make a cannon sound when someone dies

Textures should be updated

The textures found in this subgame are very outdated, it would be better to have the current 0.4.12 textures instead.

Player types

please make spawns configurable for:
players(12 to represent the 12 districts)( maybe /hg set spawn player_#) (3=1-12)
spectators( /hg set spawn )
gamemakers( /hg set spawn gamemaker )

players would be the people playing the game. the default is that everyone is a player but there can only be 12 spots and you have to register to be a player "/register district" if you do not get a spot then you can either become a spectator (which you can also register for if there is less then 12 people playing) "/register spectator". finally you can register to be an gamemaker "/register gamemaker" which would mean they can give items to people. finally if possible please make spectators and gamemakers invisible to the people in the hunger games.

Chest Refill Bug

when the server says the message that chests have refilled all the chests dont refill.

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.