Page 1 of 2

[Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Fri Nov 20, 2015 06:41
by maikerumine
PVP Mobs++

Derived from my first mobs mod, badplayer viewtopic.php?f=11&t=11143 which is discontinued as efforts will be placed in ESMOBS.
This mobs mod does much more...

WHAT ARE THESE?
Essentially these are 76 various npc's, monsters, and animals that all play together in your created world to simulate a more rigorous environment for tough survival. The drops are plenty and varying, where you will most likely always get something good during a battle and reward increases in value the harder the mob. The baddies come out at night as expected, but also expect to see a few hanging around after sunrise, it does help to have the armor mod installed.

The friendly npc's will offer a great variety of tools and food if you right click them with a gold lump, also right clicking them will produce a menu for you to direct them to a task like stand and protect, follow, etc.

The exploding mobs will not damage terrain, as do the dungeon master, the fireballs and high HP will give you a challenge enough.

The flying mobs are lethal, take cover if you see them.

The shooting mobs vary in strength, skeleton is weakest and dungeon master is toughest, you decide your pearl.

READ THIS:
viewtopic.php?f=9&t=14030
As RND was kind enough to let me use his code in this mob package. The path finding is incredible. :-)
https://www.youtube.com/watch?v=_nxiMBJ ... e=youtu.be


SPECIAL ITEMS TO NOTE:
*Unique rewards in bones when they are killed.
*Config file to choose the amount and type of mobs to be spawned for a great variety.
*Unique personalities, reflected in speed, stamina, weapon wielded, and drops.
*Right-click to have them team up with you, plus a chat message confirming their acceptance to the teaming.[/color]
*Formspec to tell the mob what to do.
*Formspec used with inventory_plus showing all the loaded mobs and info like HP, Damage, and Tips.
*Feed npc's with bread or meat to restore their HP.
*Give them gold lump to get random tool or item.
*Mobs place bones on field, like real players now.
*Bones have time stamp and name of killer.
GET BONES WITH TIMESTAMP MOD HERE-->https://github.com/maikerumine/bones
*Horseys that you can ride all over various terrain, right click them with a saddle to tame them then right click them to ride!
*MC like mobs, skeleton, creeper, and zombies from morn76's build of the stampy game.
*Ridable pigs from aforementioned mod, use carrot on stick to control direction.
*Throwing has be incorporated into this mod with an added recipie for a diamond arrow.
*Flying mobs that shoot fireballs and drop a "special" creature.
*Mod can be used with or without dependencies. Crafts have been tweaked to work without error.
Image


TRY THEM LIVE HERE--->viewtopic.php?f=10&t=12959 ESM Server

License for code: WTFPL

Depends:
default
inventory_plus?
farming?
bones?
intllib?
es?
farorb?
jdukebox?


Soft Depends:
inventory_plus: https://github.com/cornernote/minetest-inventory_plus
bones redo: https://github.com/maikerumine/bones
farming redo: https://github.com/tenplus1/farming
es: https://github.com/maikerumine/es
farorb: https://github.com/mdoege/stampy_game/t ... ods/farorb
jukebox: https://github.com/mdoege/stampy_game/t ... s/jdukebox

Recommends:
3-d Armor mod installed for added protection. https://github.com/stujones11/minetest-3d_armor
zeg's crafting guide to see the crafts. https://github.com/Zeg9/minetest-zcg/
And the inventory plus mod to use both of the above mods: inventory_plus: [url]https://github.com/cornernote/minetest-inventory_plus[/url]

Crafting:
Make a saddle, shears, and carrot on stick with:

Code: Select all

minetest.register_craft({
	output = "esmobs:saddle",
	recipe = {
		{"esmobs:leather", "esmobs:leather", "esmobs:leather"},
		{"farming:string", "", "farming:string"},
	{"default:steel_ingot", "", "default:steel_ingot"}
	},
})

minetest.register_craft({
	--type = "shapeless",
	output = "esmobs:carrotstick",
	recipe = {
		{"default:stick", "default:stick" , "default:apple"},
		{"default:stick", "farming:string" , "farming:seed_wheat"},
		{"farming:string", "", "farming:string"}
		},
		
})

minetest.register_craft({
	type = "shapeless",
	output = "esmobs:carrotstick",
	recipe = {"fishing:pole_wood", "farming:carrot"},
})
minetest.register_craft({
	output = 'esmobs:shears',
	recipe = {
		{'', 'default:steel_ingot', ''},
		{'', 'group:stick', 'default:steel_ingot'},
	}
})
Sample of the config file:

Code: Select all

esmobs.MOB_SETTING = 2;


-----------------------------------------------------------------------------
--MOB PACKAGES
-----------------------------------------------------------------------------
--esmobs.MOB_SETTING = 12;		MT Monsters
--esmobs.MOB_SETTING = 11;		MT monsters, ES Monsters, MC like mobs, and Bad npc's.
--esmobs.MOB_SETTING = 10;		Good npc's
--esmobs.MOB_SETTING = 9;		MT monsters and Animals.
--esmobs.MOB_SETTING = 8;		MC like mobs and Animals.
--esmobs.MOB_SETTING = 7;		Good npc, Bad npc's.
--esmobs.MOB_SETTING = 6;		MT Monsters, Bad npc's.
--esmobs.MOB_SETTING = 5;		Animals, Good npc, MT monsters, ES monsters,  MC like mobs, and Bad npc's. All 76 of them.
--esmobs.MOB_SETTING = 4;		Animals, Good npc, MT monsters, and MC like mobs.
--esmobs.MOB_SETTING = 3;		Animals, Good npc, and MT monsters.
--esmobs.MOB_SETTING = 2;		Animals and good npc's.
--esmobs.MOB_SETTING = 1;		Just Animals.

To install: make sure the mod is named esmobs and put it in your mods folder.
_______________________________________________________________
Extreme Survival Mobs:
BROWSE CODE: https://github.com/maikerumine/esmobs
DOWNLOAD HERE: https://github.com/maikerumine/esmobs/a ... master.zip


CHANGELOG:
+ Spoiler


TODO:
decrease the file size.
make arrows produce bones on death, or at least the drop items.
code tidy and simplification.
make bad mobs open wooden doors during attack.

Re: [Mod] Smart PVP Mobs [0.0.4] [esmobs]

Posted: Fri Nov 20, 2015 08:06
by prof-turbo
Why are they so special ? They just look like NPCs that can talk in chat

Re: [Mod] Smart PVP Mobs [0.0.4] [esmobs]

Posted: Fri Nov 20, 2015 14:52
by maikerumine
prof-turbo wrote:Why are they so special ? They just look like NPCs that can talk in chat
Because you can use them to walk with you as a team to fight mobs. It is pretty awesome!!
Adds to a new style of gameplay.

Re: [Mod] Smart PVP Mobs [0.0.4] [esmobs]

Posted: Sat Nov 21, 2015 11:58
by prof-turbo
Well that's what I said : they just look like NPCs that can talk in chat viewtopic.php?f=11&t=10354

Re: [Mod] Smart PVP Mobs [0.0.4] [esmobs]

Posted: Sat Nov 21, 2015 12:58
by maikerumine
prof-turbo wrote:Well that's what I said : they just look like NPCs that can talk in chat viewtopic.php?f=11&t=10354
Thank you!!

His code is very tidy and does more than mine. I wish I saw this way earlier as it wasn't necessary for me to hack the api to get them to follow.

Re: [Mod] Smart PVP Mobs [0.0.4] [esmobs]

Posted: Sun Nov 22, 2015 15:56
by maikerumine
UPDATED!

Updated three of the lot that include the codes from [url]viewtopic.php?f=11&t=10354[/url ]CProgrammerRU. Future development will continue on all the others. Due to long range of these select, right clicking them to follow may not be useful if they are already in pursuit!

Re: [Mod] Smart PVP Mobs [0.0.4] [esmobs]

Posted: Sun Nov 22, 2015 20:02
by Fixer
One thing you should fix is mobs trying to jump endlessly over the tall fence trying to reach the enemy, I think they need few tries and after that do something else.

Re: [Mod] Smart PVP Mobs [0.0.4] [esmobs]

Posted: Sun Nov 22, 2015 21:25
by mahmutelmas06
Thanks you for the mod.
Mobs Redo is very good for animals but not enough for Npc's.
So ı suggest you to focus on more npc types instead adding animals.

For exp Peaceful Npc mod's Npc's
They can open doors
They moves around more smart then other Npc mods.
They have different behaviours at nights etc..

viewtopic.php?f=11&t=4167

And you can check this for more interact with npc's instead only fight to enemies

viewtopic.php?t=7321

And another mod to talk to mobs in better way

viewtopic.php?f=9&t=12073

Re: [Mod] Smart PVP Mobs [0.0.4] [esmobs]

Posted: Mon Nov 23, 2015 03:26
by maikerumine
mahmutelmas06 wrote:Thanks you for the mod.
Mobs Redo is very good for animals but not enough for Npc's.
So ı suggest you to focus on more npc types instead adding animals.

For exp Peaceful Npc mod's Npc's
They can open doors
They moves around more smart then other Npc mods.
They have different behaviours at nights etc..

viewtopic.php?f=11&t=4167

And you can check this for more interact with npc's instead only fight to enemies

viewtopic.php?t=7321

And another mod to talk to mobs in better way

viewtopic.php?f=9&t=12073
This is excellent, thank you for the research. I will look deep into these mods. :-)

Re: [Mod] Smart PVP Mobs [0.0.4] [esmobs]

Posted: Wed Nov 25, 2015 16:37
by maikerumine
UPDATE:
20151124--
Added features from : viewtopic.php?f=11&t=10354PMobs.
Fixed bones, they are no longer dependant on the bones mod, but it helps.
Re-tunes the spawning rates of some of the mobs- more balances.
Added a few more mobs.
Image

Re: [Mod] Smart PVP Mobs [0.0.4] [esmobs]

Posted: Wed Nov 25, 2015 22:09
by mahmutelmas06
I have another suggestion for u.
Adding spawn parameters for Villages mod by sokomine
You can spawn
npc's with showel near farm areas
npc's with axe near wood houses
npc's with policeman suit in city etc...

viewtopic.php?f=9&t=13589

Re: [Mod] Smart PVP Mobs [0.0.4] [esmobs]

Posted: Wed Nov 25, 2015 22:20
by Minetestforfun
Great, keep up the good work :)

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Wed Jan 13, 2016 00:04
by maikerumine
Major updates.
Whoop hooooo!

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Wed Jan 13, 2016 00:14
by mahmutelmas06
maikerumine wrote:Major updates.
Whoop hooooo!
So what is new :D

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Wed Jan 13, 2016 02:22
by maikerumine
mahmutelmas06 wrote:
maikerumine wrote:Major updates.
Whoop hooooo!
So what is new :D
This:
PVP Mobs++

Derived from my first mobs mod, badplayer viewtopic.php?f=11&t=11143 which is discontinued as efforts will be placed in ESMOBS.
This mobs mod does much more...

WHAT ARE THESE?
Essentially these are 76 various npc's, monsters, and animals that all play together in your created world to simulate a more rigorous environment for tough survival. The drops are plenty and varying, where you will most likely always get something good during a battle and reward increases in value the harder the mob. The baddies come out at night as expected, but also expect to see a few hanging around after sunrise, it does help to have the armor mod installed.

The friendly npc's will offer a great variety of tools and food if you right click them with a gold lump, also right clicking them will produce a menu for you to direct them to a task like stand and protect, follow, etc.

The exploding mobs will not damage terrain, as do the dungeon master, the fireballs and high HP will give you a challenge enough.

The flying mobs are lethal, take cover if you see them.

The shooting mobs vary in strength, skeleton is weakest and dungeon master is toughest, you decide your pearl.



SPECIAL ITEMS TO NOTE:
*Unique rewards in bones when they are killed.
*Unique personalities, reflected in speed, stamina, weapon wielded, and drops.
*Right-click to have them team up with you, plus a chat message confirming their acceptance to the teaming.[/color]
*Formspec to tell the mob what to do.
*Formspec used with inventory_plus showing all the loaded mobs and info like HP, Damage, and Tips.
*Feed npc's with bread or meat to restore their HP.
*Give them gold lump to get random tool or item.
*Mobs place bones on field, like real players now.
*Bones have time stamp and name of killer.
GET BONES WITH TIMESTAMP MOD HERE-->https://github.com/maikerumine/bones
*Horseys that you can ride all over various terrain, right click them with a saddle to tame them then right click them to ride!
*MC like mobs, skeleton, creeper, and zombies from morn76's build of the stampy game.
*Ridable pigs from aforementioned mod, use carrot on stick to control direction.
*Throwing has be incorporated into this mod with an added recipie for a diamond arrow.
*Flying mobs that shoot fireballs and drop a "special" creature.
*Mod can be used with or without dependencies. Crafts have been tweaked to work without error.
Image


TRY THEM LIVE HERE--->viewtopic.php?f=10&t=12959 ESM Server

License for code: WTFPL

Depends:
default
inventory_plus?
farming?
bones?
intllib?
es?
farorb?
jdukebox?


Soft Depends:
inventory_plus: https://github.com/cornernote/minetest-inventory_plus
bones redo: https://github.com/maikerumine/bones
farming redo: https://github.com/tenplus1/farming
es: https://github.com/maikerumine/es
farorb: https://github.com/mdoege/stampy_game/t ... ods/farorb
jukebox: https://github.com/mdoege/stampy_game/t ... s/jdukebox

Recommends:
3-d Armor mod installed for added protection. https://github.com/stujones11/minetest-3d_armor
zeg's crafting guide to see the crafts. https://github.com/Zeg9/minetest-zcg/
And the inventory plus mod to use both of the above mods: inventory_plus: [url]https://github.com/cornernote/minetest-inventory_plus[/url]

Crafting:
Make a saddle, shears, and carrot on stick with:

Code: Select all

minetest.register_craft({
	output = "esmobs:saddle",
	recipe = {
		{"esmobs:leather", "esmobs:leather", "esmobs:leather"},
		{"farming:string", "", "farming:string"},
	{"default:steel_ingot", "", "default:steel_ingot"}
	},
})

minetest.register_craft({
	--type = "shapeless",
	output = "esmobs:carrotstick",
	recipe = {
		{"default:stick", "default:stick" , "default:apple"},
		{"default:stick", "farming:string" , "farming:seed_wheat"},
		{"farming:string", "", "farming:string"}
		},
		
})

minetest.register_craft({
	type = "shapeless",
	output = "esmobs:carrotstick",
	recipe = {"fishing:pole_wood", "farming:carrot"},
})
minetest.register_craft({
	output = 'esmobs:shears',
	recipe = {
		{'', 'default:steel_ingot', ''},
		{'', 'group:stick', 'default:steel_ingot'},
	}
})


To install: make sure the mod is named esmobs and put it in your mods folder.
_______________________________________________________________
Extreme Survival Mobs:
BROWSE CODE: https://github.com/maikerumine/esmobs
DOWNLOAD HERE: https://github.com/maikerumine/esmobs/a ... master.zip


CHANGELOG:
+ Spoiler
TODO:
create selector for type of mobs you want in your world and the difficulty.
decrease the file size.
make arrows produce bones on death, or at least the drop items.
code tidy and simplification.

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Thu Jan 14, 2016 00:11
by maikerumine
UPDATE:

Finally added code to choose the type of mob to be spawned and the amount. This file can be easily edited to suit your own needs. The mode can be changed without any unknown entities flying about, the unselected entities will eventually time out after new mode is selected.

You select the mode by changing the number below.

Code: Select all

[b]Sample of the config file:[/b]
[code]
esmobs.MOB_SETTING = 2;


-----------------------------------------------------------------------------
--MOB PACKAGES
-----------------------------------------------------------------------------
--esmobs.MOB_SETTING = 12;		MT Monsters
--esmobs.MOB_SETTING = 11;		MT monsters, ES Monsters, MC like mobs, and Bad npc's.
--esmobs.MOB_SETTING = 10;		Good npc's
--esmobs.MOB_SETTING = 9;		MT monsters and Animals.
--esmobs.MOB_SETTING = 8;		MC like mobs and Animals.
--esmobs.MOB_SETTING = 7;		Good npc, Bad npc's.
--esmobs.MOB_SETTING = 6;		MT Monsters, Bad npc's.
--esmobs.MOB_SETTING = 5;		Animals, Good npc, MT monsters, ES monsters,  MC like mobs, and Bad npc's. All 76 of them.
--esmobs.MOB_SETTING = 4;		Animals, Good npc, MT monsters, and MC like mobs.
--esmobs.MOB_SETTING = 3;		Animals, Good npc, and MT monsters.
--esmobs.MOB_SETTING = 2;		Animals and good npc's.
--esmobs.MOB_SETTING = 1;		Just Animals.

[/code]

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Thu Jan 14, 2016 22:14
by BBmine
I have badplayer on my server and was thinking about replacing it with esmobs. How do I do this without the unknown objects that come from disabling a mob?

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Fri Jan 15, 2016 00:41
by maikerumine
BBmine wrote:I have badplayer on my server and was thinking about replacing it with esmobs. How do I do this without the unknown objects that come from disabling a mob?
Two ways:

type /clearobjects

or comment out all the spawn code.

option one is easier :-)

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Fri Jan 15, 2016 00:55
by mahmutelmas06
BBmine wrote:I have badplayer on my server and was thinking about replacing it with esmobs. How do I do this without the unknown objects that come from disabling a mob?
add this line to init.lua for each object

minetest.register_alias("oldmodname:oldmobname", "newmodname:newmobname")

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Fri Jan 15, 2016 21:20
by BBmine
maikerumine wrote:type /clearobjects
Does this keep the objects from spawning again, or does it just delete them for now?

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Fri Jan 15, 2016 21:28
by maikerumine
BBmine wrote:
maikerumine wrote:type /clearobjects
Does this keep the objects from spawning again, or does it just delete them for now?
this is like a map cleaner, it removes ALL entities from the map, thus allowing for all new entities to spawn.

minecarts, mobs, bullets, and simmilar are entities.

Just make sure you delete the old mod from your folder or the old badplayer guys will re spawn after map clean.

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Sat Jan 16, 2016 01:10
by maikerumine
UUUGH..

I just updated the github with a quick patch 'hack' to have the mobs spawn. I'll fix it when I can get to it.

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Mon Jan 18, 2016 03:11
by BBmine
maikerumine wrote:
BBmine wrote:
maikerumine wrote:type /clearobjects
Does this keep the objects from spawning again, or does it just delete them for now?
this is like a map cleaner, it removes ALL entities from the map, thus allowing for all new entities to spawn.

minecarts, mobs, bullets, and simmilar are entities.

Just make sure you delete the old mod from your folder or the old badplayer guys will re spawn after map clean.
Badplayer is in my main mods folder.

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Mon Jan 18, 2016 17:36
by stoneminer
+1

Re: [Mod] Smart PVP Mobs [0.1.0] [esmobs][git]

Posted: Tue Jan 19, 2016 02:52
by KCoombes
Is anyone else getting an extremely high spawn rate?

EDIT: Nvm, I found the problem.