[Mod] Duel [duel]

red-001
Member
 
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

[Mod] Duel [duel]

by red-001 » Tue Nov 01, 2016 23:10

This mod adds a duel system to minetest. It's still very much a work in progress. Currently it only allows one duel at a time between two players. You can challenge a player to a duel using the /duel chat command. You can leave a duel using the /duel_abandon chat command.
Features
  • The mod saves the contents of the inventory and the position of the players before the duel starts and restores it at the end
  • Both players are granted the same items at the start of each duel. By default this is a steel sword.
  • The items granted to the players can be changed by setting the duel_items setting. It uses the same syntax as initial_stuff.
  • Bones aren't placed when a player dies in a duel
Planned Features
  • Add reward/punishment for losing or winning
  • Make it easier to set spawn positions for duels
  • Save player position to disk and auto-restore inventory and position after a server crash
  • Allow multiple arenas for duels, so that multiple duels can occur at the same time
  • Allow for team-based combat
  • Allow spectators?
  • Add formspecs?
[/list]
License
This mod is released under the MIT License
Download
Browse the Github repository
Download form Github
Last edited by red-001 on Wed Nov 02, 2016 22:22, edited 5 times in total.
 

User avatar
bigfoot
Member
 
Posts: 203
Joined: Fri Sep 02, 2016 23:31
Location: Somewhere between polar bears and penguins.
GitHub: bigfoot547
IRC: bigfoot547 or bigfoot
In-game: bigfoot547 or bigfoot

Re: [Mod] Duel [duel]

by bigfoot » Wed Nov 02, 2016 00:11

I love this mod! I think you should add a thing so that when a player loses, they should not see the "you died" screen, but should just be only spectators until they type /leave.

I think that you should have a HUD item saying the nearest alive player and your opponent's health. Another thing: As well as teleporting players to the duel arena, set their yaw and pitch.

May I help you develop this mod?
God's not dead, He's surely alive!
My Stuff | My User Page | Check out my website!
<bigfoot547> I major in existing. | <RedPanda246> Not every day is good, but there is good in every day.
Stay elusive ⓐⓝⓓ ⓣⓐⓛⓚ ⓘⓝ ⓒⓘⓡⓒⓛⓔⓢ!
 

red-001
Member
 
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

Re: [Mod] Duel [duel]

by red-001 » Wed Nov 02, 2016 00:21

bigfoot547 wrote:I think you should add a thing so that when a player loses, they should not see the "you died" screen

I don't think it really possible to disable the death formspec.
bigfoot547 wrote:I think that you should have a HUD item saying the nearest alive player and your opponent's health.

Nice Idea, will add it if I figure out how to do it.
bigfoot547 wrote:May I help you develop this mod?

Sure, just make a pull request. But be aware that the mod is still in early development so large parts of the code may be rewritten.
 

red-001
Member
 
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

Re: [Mod] Duel [duel]

by red-001 » Wed Nov 02, 2016 08:05

Update: You can now leave a duel early using the /duel_abandon chat command
 

User avatar
DS-minetest
Member
 
Posts: 1026
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Mod] Duel [duel]

by DS-minetest » Wed Nov 02, 2016 08:07

nice mod!

+ PS
Last edited by DS-minetest on Mon Apr 03, 2017 16:00, edited 1 time in total.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

red-001
Member
 
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

Re: [Mod] Duel [duel]

by red-001 » Wed Nov 02, 2016 22:21

Update: Leaving the game while in a duel will now cause the other player to win. Player inventories are now restored on shutdown.
 

User avatar
Nabi
Member
 
Posts: 10
Joined: Wed Feb 01, 2017 17:06
Location: South America
In-game: sam7777

Re: [Mod] Duel [duel]

by Nabi » Fri Mar 31, 2017 21:09

in my server this mod crash xd
is a very nice mod
can you fix it?
 

red-001
Member
 
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

Re: [Mod] Duel [duel]

by red-001 » Fri Mar 31, 2017 22:00

Should be fixed, could you try again with the latest version?
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Duel [duel]

by azekill_DIABLO » Mon Apr 03, 2017 15:42

DS-minetest wrote:ive tidied up the BBcode of your first post:


I have tidied your post
Code: Select all
[size=120]I've tidied up the [url=https://forum.minetest.net/faq.php?mode=bbcode]BBcode[/url] of [url=https://forum.minetest.net/viewtopic.php?f=9&t=15821#p238529]your first post[/url][/size]


:)
 

User avatar
Fixer
Member
 
Posts: 866
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer
 

User avatar
Samson1
Member
 
Posts: 94
Joined: Wed Apr 01, 2015 19:41
IRC: Samson1
In-game: Samson1

Re: [Mod] Duel [duel]

by Samson1 » Tue Nov 06, 2018 15:32

Is the mod still being worked on? I really like it. ;)
 

dawgdoc
Member
 
Posts: 232
Joined: Mon Feb 27, 2017 01:10
GitHub: dawgdoc

Re: [Mod] Duel [duel]

by dawgdoc » Thu Nov 08, 2018 03:56

Samson1 wrote:Is the mod still being worked on? I really like it. ;)

The last commit to the github repository was in March 2017.
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 6 guests