[Mod] Mob Catching Ball [1.1] [mccarball]

User avatar
thefamilygrog66
Member
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

[Mod] Mob Catching Ball [1.1] [mccarball]

by thefamilygrog66 » Post

Mob Capture Containment And Release Ball (mccarball) mod for Minetest

by thefamilygrog66

Description:
A spherical device that, when placed next to a mob, captures and contains said mob. The player can then pick up the ball and store it in their inventory until they wish to release the mob by placing the ball on the ground, on a wall, etc. By default, this mod works with PilzAdam's Simple Mobs (mobs) mod, though it will likely work with other mob mods (just adjust the array at the beginning of init.lua accordingly).

Recipe:

Code: Select all

wool:orange | wool:orange | wool:orange
---------------------------------------
wool:violet | wool:white  | wool:violet
---------------------------------------
wool:green  | wool:green  | wool:green
Mod dependencies: mobs, default, wool

License:
Sourcecode: WTFPL
Graphics: WTFPL
Sounds: by Mike Koenig (CC BY 3.0)

Download: https://github.com/thefamilygrog66/mcca ... master.zip (after unzipping, rename the folder from mccarball-master to mccarball)
View Code: https://github.com/thefamilygrog66/mccarball

Screenshots:

New texture:
Image

Old texture:
Image
Image
Image
Image
Image
Image
Last edited by thefamilygrog66 on Mon Oct 20, 2014 20:02, edited 6 times in total.

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

Re: [Mod] MCCAR Ball [1.0] [mccarball]

by Topywo » Post

Nice mod!

It works fine, distance placing ball-mob is very well balanced.

User avatar
Hybrid Dog
Member
Posts: 2834
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] MCCAR Ball [1.0] [mccarball]

by Hybrid Dog » Post

I haven't tested it but I like it.
If you haven't done it yet, may you add something to catch and release mobs with mesecons signals?

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: [Mod] MCCAR Ball [1.0] [mccarball]

by ExeterDad » Post

Great idea. Although not surprising as you have had many creative ideas. Too bad you couldn't rig it to capture a player. I wouldn't mind stashing one of my kids in my inventory for a while when they are acting up.

User avatar
thefamilygrog66
Member
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

Re: [Mod] MCCAR Ball [1.0] [mccarball]

by thefamilygrog66 » Post

Topywo wrote:Nice mod!

It works fine, distance placing ball-mob is very well balanced.
Thanks, Topywo! I've tested a variation of it on my server for the last week or so, and aside from a couple of issues (related to the landrush mod, and doors), it seems to be working pretty smoothly.
Hybrid Dog wrote:I haven't tested it but I like it.
If you haven't done it yet, may you add something to catch and release mobs with mesecons signals?
Hybrid Dog: Thanks - I'm not familiar enough with the lua code behind mesecons to do that sort of thing, but perhaps someone else might be interested in taking a look at it.
ExeterDad wrote:Great idea. Although not surprising as you have had many creative ideas. Too bad you couldn't rig it to capture a player. I wouldn't mind stashing one of my kids in my inventory for a while when they are acting up.
Hey, thanks ExeterDad - I appreciate the kind words. Player capture would indeed be pretty cool, but I'm not sure where they would go exactly!

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: [Mod] MCCAR Ball [1.0] [mccarball]

by twoelk » Post

thefamilygrog66 wrote:...
but I'm not sure where they would go exactly!
wasn't there this hilly countryside near Tesla's laboratory with lots of cloned hats lying around?

nice idea by the way.
Hope I don't have to change that texture to red-black-white for my anime fan nephew ;-P

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

Re: [Mod] MCCAR Ball [1.0] [mccarball]

by Sokomine » Post

Nice mod. It adds something that was missing in simple mobs. Mobf/animals modpack already has the lasso, but some other mob mods come without such tools.

I'm just afraid that nobody's ever going to find the mod if nothing has been posted in its thread for a day. Neither mod name nor name of topic are particulary descriptive.

Merging a copy into simple mobs might be a good idea. Won't help much with those sheep escaping, but it'd be at least a start.
A list of my mods can be found here.

User avatar
thefamilygrog66
Member
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

Re: [Mod] MCCAR Ball [1.0] [mccarball]

by thefamilygrog66 » Post

twoelk wrote:
thefamilygrog66 wrote:...
but I'm not sure where they would go exactly!
wasn't there this hilly countryside near Tesla's laboratory with lots of cloned hats lying around?

nice idea by the way.
Hope I don't have to change that texture to red-black-white for my anime fan nephew ;-P
Haha, exactly!
Sokomine wrote:Nice mod. It adds something that was missing in simple mobs. Mobf/animals modpack already has the lasso, but some other mob mods come without such tools.

I'm just afraid that nobody's ever going to find the mod if nothing has been posted in its thread for a day. Neither mod name nor name of topic are particulary descriptive.

Merging a copy into simple mobs might be a good idea. Won't help much with those sheep escaping, but it'd be at least a start.
Thanks Sokomine - I've changed the topic name to a more descriptive one. Also, I can wrangle 4X size sheep on my server with them, no problem!

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

Re: [Mod] Mob Catching Ball [1.0] [mccarball]

by Sokomine » Post

thefamilygrog66 wrote: I've changed the topic name to a more descriptive one
Thanks! That will help at least a bit so the mod may be found. I'm afraid we'll have to do those categories for the wiki and Krock's mod list soon. There are so many variants of mob mods out there, plus this tool here, and players intrested in them have limited chances of finding what they want.
A list of my mods can be found here.

User avatar
thefamilygrog66
Member
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

Re: [Mod] Mob Catching Ball [1.0] [mccarball]

by thefamilygrog66 » Post

I just fixed the "door issue", so now the balls won't destroy doorframes (i.e. can only be placed in an empty space). Also, I changed the textures a bit, as well as the recipe accordingly.

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by twoelk » Post

Added your mod to this wiki page: http://wiki.minetest.net/Mobs
Might also give an idea of the minimum number of mob mods to support ;-P

User avatar
thefamilygrog66
Member
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by thefamilygrog66 » Post

Thanks. So man mob mods!

I also just added a screenshot with the updated texture.

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by philipbenr » Post

Are you going to make a meshnode (now that they are supported) for the ball?

User avatar
thefamilygrog66
Member
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by thefamilygrog66 » Post

philipbenr wrote:Are you going to make a meshnode (now that they are supported) for the ball?
Good question! I'll have to look into that, since I've never made a meshnode before...

What are the benefits of doing so?

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by philipbenr » Post

It uses a blender mesh and UV texturing, but it is not an entity; it is still a node. It will look like a ball, and not really a small, pixelated... thing (nodebox)

VanessaE has a good example here: viewtopic.php?f=9&t=10428 . I an going to start making some for my subgame...

User avatar
LandMine
Member
Posts: 312
Joined: Tue May 01, 2012 16:44
Location: Mexico City
Contact:

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by LandMine » Post

POKEMON!!!!!!!!!!!!

User avatar
Hybrid Dog
Member
Posts: 2834
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by Hybrid Dog » Post

twoelk wrote:Added your mod to this wiki page: http://wiki.minetest.net/Mobs
Might also give an idea of the minimum number of mob mods to support ;-P
Do you know the mod which adds this ping sphere mob with an antenna?
It caused a burning forest on a server which got very much attention. As already mentioned at the server topic, I caused the fire by walking there and activating this mob.

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

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

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by Sokomine » Post

An alternate model for the catching device might also be great. A cage might be more fitting than a ball. Unless, perhaps, you're planning to catch an annimal that loves to play with balls :-)
A list of my mods can be found here.

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by twoelk » Post

Sokomine wrote:An alternate model for the catching device might also be great. A cage might be more fitting than a ball. Unless, perhaps, you're planning to catch an annimal that loves to play with balls :-)

but ...
but ...
"Pokeballs" are firmly rooted in anime lore,
or so I have been told.

although,
a device like the gostbusters use to catch ghosts might also look good :-)

cages? Hmm ... anybody remember Hatari! the film?
now that might be a game worth making - although with the mobs and lag we have at the moment might be an unsolvable task.

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

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by Sokomine » Post

The ball doesn't check for protection. Thus, it can be placed inside a protected area - but not again been picked up.
A list of my mods can be found here.

User avatar
Hybrid Dog
Member
Posts: 2834
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by Hybrid Dog » Post

Sokomine wrote:The ball doesn't check for protection. Thus, it can be placed inside a protected area - but not again been picked up.
I think the technic bug is worse, you can place nodes on frames entities without loosing them from your inventory and without protection testing. So you can easily get infinite mithril chests, hv battery boxes and …

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
thefamilygrog66
Member
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by thefamilygrog66 » Post

Sokomine wrote:The ball doesn't check for protection. Thus, it can be placed inside a protected area - but not again been picked up.
I'm aware of this issue, but not sure how to fix it exactly. If anyone can point me to code used in another mod, which might resolve this, it would be greatly appreciated.

startdream
New member
Posts: 5
Joined: Tue Apr 22, 2014 16:20
Contact:

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by startdream » Post

:-D really cool 1+

User avatar
Hybrid Dog
Member
Posts: 2834
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by Hybrid Dog » Post

thefamilygrog66 wrote:
Sokomine wrote:The ball doesn't check for protection. Thus, it can be placed inside a protected area - but not again been picked up.
I'm aware of this issue, but not sure how to fix it exactly. If anyone can point me to code used in another mod, which might resolve this, it would be greatly appreciated.
http://dev.minetest.net/minetest.is_protected
https://github.com/HybridDog/superpick/ ... it.lua#L82

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
thefamilygrog66
Member
Posts: 170
Joined: Mon Jul 09, 2012 19:08
Location: Ontario, Canada

Re: [Mod] Mob Catching Ball [1.1] [mccarball]

by thefamilygrog66 » Post

Hybrid Dog wrote:
thefamilygrog66 wrote:
Sokomine wrote:The ball doesn't check for protection. Thus, it can be placed inside a protected area - but not again been picked up.
I'm aware of this issue, but not sure how to fix it exactly. If anyone can point me to code used in another mod, which might resolve this, it would be greatly appreciated.
http://dev.minetest.net/minetest.is_protected
https://github.com/HybridDog/superpick/ ... it.lua#L82
Thanks very much - I've fixed the bug. Now, players can only place Mob Catching Balls on their own, or unclaimed, properties.

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests