[mod] Sumo minigame [sumo]

Post Reply
User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

[mod] Sumo minigame [sumo]

by MisterE » Post

This uses arena_lib to add a sumo game where the objective is to knock the other players off the platform, using a stick which pushes other players.

screenshot:
Image

The above is a screenshot of the treasure_island map that is included in a repo linked in the readme, for arena schematics. There are 2 other available schematics.

place the schematic in your worldname/schems folder and add it with worldedit.
Use the example map or, better yet, make your own!

I know it doesn't look like much, but a staff can be very powerful in the hands of a martial arts master

Punch other players with the pushstick to shove them far away. Right click with the stick to vault yourself up over walls to escape your pursuers. Sneak+punch to sneakily switch positions with nearby players and throw them over your shoulder! Knock all the other players off the board to win!

The mod now includes air-like and fake water nodes that deal instant death to kill (eliminate) players when they fall out. This allows for making islands that you have to push other players off of, as well as invisible killing areas.

license: GPL v3

Depends:default, arena_lib, lib_chatcmdbuilder

Download: https://gitlab.com/arcadeemulationserve ... master.zip
Repo: https://gitlab.com/arcadeemulationserver/sumo

If anyone has questions on how to set it up, first read the readme, then post here.

Please post any suggestions for improvement.
Last edited by MisterE on Mon Dec 27, 2021 00:13, edited 5 times in total.

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Sumo minigame [sumo]

by MisterE » Post

added sounds for pushing, swiping, and jumping.

added new mechanics - switch positions with shift-LMB with the stick and throw you opponent over your shoulder, and pole vault with the RMB. Pole vaulting has a 1 sec recharge

added new nodes: fake water and air that kills players

added a prevention of damage when in the arena, except by node_damage and set_hp damage

hint:
Spoiler
hint: when pole vaulting, time your vault (right-click) with a jump to get some really high bounces

User avatar
LRV
Helper
Posts: 378
Joined: Mon Dec 19, 2016 17:29
GitHub: Mooncarguy
In-game: Mooncarman Mooncarguy

Re: [mod] Sumo minigame [sumo]

by LRV » Post

Mod follows guidelines and was moved.
This is a cool signature. :)

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Sumo minigame [sumo]

by MisterE » Post

New Features:

Sound effects when you lose, a player is eliminated, and when you win.

New control mapping, new abilities

Controls:
[Punch]: Push other players
[Punch]+[Aux1 (e)]: Exchange places
[Punch]+[Sneak]: Push harder
[Place]: Vault
[Place]+[Aux1 (e)]: 2 sec speed boost.
Cooldowns Apply!

Chat message at beginning of game that gives controls

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Sumo minigame [sumo]

by MisterE » Post

Added visible timer and HUD match countdown

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Sumo minigame [sumo]

by MisterE » Post

removed death from game:

A survival server that was interested in having this game pointed out that death is expensive in survival. So I removed death from the game with a hp_change modifier. If the damage applied while in game would not cause death, then it is applied as normal. If it would cause death, then full health is restored, but the player is eliminated. A benefit of this approach is that the player no longer needs to see the you died message which really is not appropriate for this type of game.

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Sumo minigame [sumo]

by MisterE » Post

Update 1/30/2021

added lives (3), added HUD elements, refined the code, fixed a bug

Changed (again!) the controls
New controls:

[punch]: hit
[sneak]+[punch]: swap locations
[place]: vault
[aux (e)]: run

changed running to be a function of the minigame, not of the pushstick

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Sumo minigame [sumo]

by MisterE » Post

screenshot_20210204_174528.png
screenshot_20210204_174528.png (74.05 KiB) Viewed 735 times
hud elements added which display the ability to push/vault with the stick.
They appear when the stick is in inventory and disappear when it is not.

Also, fixed a bug where the the stick would not shove between .6 and .7 sec after last use

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Sumo minigame [sumo]

by MisterE » Post

jail added... you MUST specify a jail spawn location in the arena settings now. If updating, make sure to do so.
This allows a couple bugs to be fixed.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 33 guests