Page 1 of 1

[Mod] Player_Death [1.0] [player_death]

Posted: Sat Jan 05, 2019 23:29
by mywaynotthehighway

Player_Death

This mod is intended to replace the bones mod in Minetest game.
It replaces the bones cube with a randomly chosen gravemarker.

This mod is an amalgamation of 4 things:
  1. Bones mod from Minetest game
  • ME pulling my hair out in frustration
Image
There are 15 different shapes as seen in the picture above (showing stone material).
The shapes are:
- Rectange
- Cross
- Pointed
- Short Slanted
- Short Flat
- Fancy Cross
- Staggered
- Celtic Cross
- Obelisk
- Stacked
- Rounded
- Sam
- 5 Pointed Star
- 6 Pointed Star
- Octothorp (Pound Sign)

There are 22 materials they can be made from by default:
Acacia Wood, Aspen Wood, Bronze, Clay, Coal, Cobblestone, Copper, Coral,
Desert Sandstone, Desert Stone, Diamond, Gold, Junglewood, Mossy Cobblestone,
Obsidian, Pine Wood, Sandstone, Silver Sandstone, Steel, Stone, Tin, Wood.

This mod will choose a shape and then choose a material and will then create the grave marker which will be placed at or near to the players point of death.

This mod is intended to replace bones mod from Minetest game so please remove it.

This mod can be configured to show the grave markers in the player hud.
Image

License: for source code is GNU Lesser General Public License, version 2.1
License: for media is Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)

Dependencies: default mod (found in minetest_game)

Zip: https://github.com/mywaynotthehighway/p ... master.zip
GitHub: https://github.com/mywaynotthehighway/player_death

Please report any issues on this thread. You may make a GitHub issue, but I check the forums more than GitHub.

Many thanks to both the Minetest dev team and Nathan Salapat.

Installation



Unzip the archive, rename the folder to player_death and
place it in minetest/mods/

( GNU/Linux: If you use a system-wide installation place
it in ~/.minetest/mods/. )

( If you only want this to be used in a single world, place
the folder in worldmods/ in your world directory. )

For further information or help see:
http://wiki.minetest.com/wiki/Installing_Mods

Re: [Mod] Player_Death [1.0] [player_death]

Posted: Sat Jan 05, 2019 23:42
by MCL
Isn't this an exact copy of Nathan S's Tombstones Mod?
And why did you post this two times?

Re: [Mod] Player_Death [1.0] [player_death]

Posted: Sat Jan 05, 2019 23:51
by mywaynotthehighway
Isn't this an exact copy of Nathan S's Tombstones Mod?
And why did you post this two times?
No this isnt although as stated it used code and media from that mod.

Nathans mod uses a machine to create the Tombstones/Gravemarkers where this mod randomly chooses one and a material then places it where you die. This mod works the same as the Bones mod in Minetest game in that your inventory is stored in your gravemarker so you can go back and get it.

I posted two times as I pressed the button twice by accident and dont have the permisions to remove one.

Thanks for your comments

Re: [Mod] Player_Death [1.0] [player_death]

Posted: Sat Jan 05, 2019 23:53
by MCL
Ah, ok

Re: [Mod] Player_Death [1.0] [player_death]

Posted: Sun Jan 06, 2019 01:45
by ShadMOrdre
After seeing Nathan S. mod, I also had this same idea. Now I don't have to do the work. ;)

So one other mod you may want to peak at would be the steles mod from display modpack. It would be nice to have the players name and date of death written on the tombstone. Possible? Yes. Easy? Shouldn't be much more work, since steles also creates tombstones and writes on them.

Downloading this one now. Hope to see above changes.

Re: [Mod] Player_Death [1.0] [player_death]

Posted: Sun Jan 06, 2019 03:01
by Nathan.S
This is really cool. Glad to see somebody else making use of the models I made.

Re: [Mod] Player_Death [1.0] [player_death]

Posted: Sun Jan 06, 2019 07:42
by cy
Well, those models look pretty nice, and a reason to use them besides decoration? Fabulous! Plus if they are diggable afterwards as regular items like bones are, you could still use them as decorations. Especially if you could "carve" an epitaph on them, like ShadMOrdre was saying.

Re: [Mod] Player_Death [1.0] [player_death]

Posted: Sun Jan 06, 2019 08:20
by mywaynotthehighway
cy wrote:Well, those models look pretty nice, and a reason to use them besides decoration? Fabulous! Plus if they are diggable afterwards as regular items like bones are, you could still use them as decorations. Especially if you could "carve" an epitaph on them, like ShadMOrdre was saying.
The gravemarkers are purely decorative.

I am currently looking into being able to write on them.

Thanks for your comments

Re: [Mod] Player_Death [1.0] [player_death]

Posted: Wed Jan 09, 2019 02:53
by mywaynotthehighway
New feature added. You can configure this mod to show the players graves in the hud.

Github and original post updated

Please post comments/suggestions or bugs in this forum topic.

Thanks for looking

Re: [Mod] Player_Death [1.0] [player_death]

Posted: Fri Jan 18, 2019 03:22
by mywaynotthehighway
After spending a bit of time looking into Display Modpack especially the steles mod, I have to say I agree with NathanS in (here) that only a few of the grave markers would be of the correct dimensions needed to display the text. Therefore It is not high on my list of things to do with this mod but you never know lol.

If anyone else wants to give it a try then please fork it and maybe be kind and send a PR

Many Thanks