[Abandoned] [Mod] Mobs Umbra [0.2.1] [mobs_umbra]

Post Reply
User avatar
Hamlet
Member
Posts: 766
Joined: Sat Jul 29, 2017 21:09
IRC: H4mlet
In-game: Hamlet
Location: Lombardy, Italy

[Abandoned] [Mod] Mobs Umbra [0.2.1] [mobs_umbra]

by Hamlet » Post

Image
Adds a shadow-looking Non Playing Character.

Code License: EUPL v1.2 or later.
Textures license: CC-BY-SA v4.0 or later.
Depends: default (found in Minetest Game), mobs (Mobs Redo)

Advanced settings:
Settings -> All settings -> Mods -> mobs_umbra

Description:
Spoiler
My new mob: "Umbra" (Latin for "shadow").
It is an NPC, it spawns from -300 and below, and attacks (chance 25%) monsters, animals, and players.

If killed, it spawns up to 5 gold lumps, the chance is 1 on 75.
Rarely drops an unique item.

It seems rather "average", but actually I believe it is not.
It has 20 hit points, the melee damage is randomly chosen at spawn time: it ranges from 1 (bare hands) to 6 (steel sword). So far, just like another player.

The fight stile is "dogshoot", meaning that it will either use melee or ranged attacks.

It shoots a projectile which deals (2 * mob_difficulty) hit points of damage; i.e. 1 heart if Mobs Redo's difficulty is 1, 2 hearts if mobs' difficulty is 2 and so on.

It does not end here.
On impact, the projectile creates a cube of darkness around the impact point.
This is made of N black cubes, which are like air but do not allow to see while into them.

The cube of darkness by default is 5x5x5 nodes, but this can be changed via the mods' options. Of course it will vanish after some time (20 secs by default).
Yes, node timers, and yes I have tried using a VoxelManip to artificially create darkness... you would dislike it way more than node timers.

It does not end here, yet.
The cube of darkness is meant to temporarily blind the target, but it can be set to also damage it.
This feature is disabled by default, because each node belonging to the cube would deal its own damage, be it just 1 hit point per second. Now imagine walking into, say, five or six nodes like these while being attacked by the mob.

Given all of the above, the default settings are kind of low profile: the mob can't be seen until reaching a depth of -300, the spawn rate is quite low meaning that you will seldom encounter it. And anyway it is not a monster: it will attack you only if provoked.

The mod comes with a spawner egg named "Umbra", but I suggest using /spawnentity mobs:umbra instead. The former method seems to make the mob ignore attacks.

Ah well, too much talking. Try it, see for yourself what an Umbra is.
Downloads:
Archives: .zip .tar.gz
Source code: Codeberg


Installation
Unzip the archive, rename the folder to mobs_umbra and place it in
../minetest/mods/

If you only want this to be used in a single world, place it in
../minetest/worlds/WORLD_NAME/worldmods/

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

For further information or help see:
https://wiki.minetest.net/Help:Installing_Mods
Attachments
screenshot.png
screenshot.png (62.67 KiB) Viewed 1427 times
Last edited by Hamlet on Fri Oct 02, 2020 17:34, edited 7 times in total.
My repositories: Codeberg.org | My ContentDB's page

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Mobs Umbra [0.1.0] [mobs_umbra]

by Sokomine » Post

Those 2d shapes look just too frightening in a 3d world :-)
A list of my mods can be found here.

User avatar
Hamlet
Member
Posts: 766
Joined: Sat Jul 29, 2017 21:09
IRC: H4mlet
In-game: Hamlet
Location: Lombardy, Italy

Re: [Mod] Mobs Umbra [0.1.0] [mobs_umbra]

by Hamlet » Post

Sokomine wrote:Those 2d shapes look just too frightening in a 3d world :-)
LOL
Well, it's a shadow... :)
My repositories: Codeberg.org | My ContentDB's page

User avatar
TenPlus1
Member
Posts: 3722
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Mobs Umbra [0.1.0] [mobs_umbra]

by TenPlus1 » Post

Love it :)

User avatar
Hamlet
Member
Posts: 766
Joined: Sat Jul 29, 2017 21:09
IRC: H4mlet
In-game: Hamlet
Location: Lombardy, Italy

Re: [Mod] Mobs Umbra [0.1.0] [mobs_umbra]

by Hamlet » Post

TenPlus1 wrote:Love it :)
Thanks!
My repositories: Codeberg.org | My ContentDB's page

User avatar
Hamlet
Member
Posts: 766
Joined: Sat Jul 29, 2017 21:09
IRC: H4mlet
In-game: Hamlet
Location: Lombardy, Italy

Re: [Mod] Mobs Umbra [0.1.1] [mobs_umbra]

by Hamlet » Post

Released v0.1.1

Changed:
- Fixed wrong suffocation setting which caused a bug.
My repositories: Codeberg.org | My ContentDB's page

User avatar
Hamlet
Member
Posts: 766
Joined: Sat Jul 29, 2017 21:09
IRC: H4mlet
In-game: Hamlet
Location: Lombardy, Italy

Re: [Mod] Mobs Umbra [0.2.0] [mobs_umbra]

by Hamlet » Post

Released v0.2.2

Changed:
- Code rewritten from scratch and split into different files.
- Unique item drop.

Thanks to Bastrabun for testing the beta version on his server!
My repositories: Codeberg.org | My ContentDB's page

User avatar
j0j0n4th4n
Member
Posts: 251
Joined: Tue Jan 26, 2021 06:45

Re: [Abandoned] [Mod] Mobs Umbra [0.2.1] [mobs_umbra]

by j0j0n4th4n » Post

This one look very unique, why was it abandoned?
cdb_894a100ddd76

User avatar
davidthecreator
Member
Posts: 452
Joined: Mon Aug 18, 2014 19:48
GitHub: daviddoesminetest
In-game: DavidDoesMinetest
Location: Lithuania

Re: [Abandoned] [Mod] Mobs Umbra [0.2.1] [mobs_umbra]

by davidthecreator » Post

I think Hamlet abandoned everything he has worked on so far...

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Abandoned] [Mod] Mobs Umbra [0.2.1] [mobs_umbra]

by Sokomine » Post

Some of these umbras can be found on the Your Land server. They fight against hostile mobs and are neutral/friendly towards the player. Such mobs deserve to live :-) Have a heart for them! Allow them to exist on the minetest content database - and to live in your caves.
A list of my mods can be found here.

Post Reply

Who is online

Users browsing this forum: No registered users and 64 guests