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

User avatar
maikerumine
Member
Posts: 1364
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

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.
Attachments
screenshot_20160112_201848.png
(565.7 KiB) Not downloaded yet
Last edited by maikerumine on Wed Feb 10, 2016 05:32, edited 9 times in total.
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
prof-turbo
Member
Posts: 518
Joined: Mon May 07, 2012 17:02
Location: MinetestForFun or Teeworlds master server list

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

by prof-turbo » Post

Why are they so special ? They just look like NPCs that can talk in chat

User avatar
maikerumine
Member
Posts: 1364
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

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.
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
prof-turbo
Member
Posts: 518
Joined: Mon May 07, 2012 17:02
Location: MinetestForFun or Teeworlds master server list

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

by prof-turbo » Post

Well that's what I said : they just look like NPCs that can talk in chat viewtopic.php?f=11&t=10354

User avatar
maikerumine
Member
Posts: 1364
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

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.
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
maikerumine
Member
Posts: 1364
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

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!
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

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

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

by Fixer » Post

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.

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

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

by mahmutelmas06 » Post

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
My Mods:

Beverage

User avatar
maikerumine
Member
Posts: 1364
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

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. :-)
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
maikerumine
Member
Posts: 1364
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

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
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

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

by mahmutelmas06 » Post

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
My Mods:

Beverage

User avatar
Minetestforfun
Member
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun
Location: On earth
Contact:

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

by Minetestforfun » Post

Great, keep up the good work :)

User avatar
maikerumine
Member
Posts: 1364
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

Major updates.
Whoop hooooo!
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

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

by mahmutelmas06 » Post

maikerumine wrote:Major updates.
Whoop hooooo!
So what is new :D
My Mods:

Beverage

User avatar
maikerumine
Member
Posts: 1364
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

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.
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
maikerumine
Member
Posts: 1364
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

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]
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

BBmine
Member
Posts: 3475
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

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

by BBmine » Post

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?

User avatar
maikerumine
Member
Posts: 1364
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

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 :-)
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

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

by mahmutelmas06 » Post

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")
My Mods:

Beverage

BBmine
Member
Posts: 3475
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

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

by BBmine » Post

maikerumine wrote:type /clearobjects
Does this keep the objects from spawning again, or does it just delete them for now?

User avatar
maikerumine
Member
Posts: 1364
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

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.
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
maikerumine
Member
Posts: 1364
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

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.
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

BBmine
Member
Posts: 3475
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

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

by BBmine » Post

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.

User avatar
stoneminer
Member
Posts: 1001
Joined: Sun Oct 18, 2015 19:11
GitHub: sm31
IRC: stoneminer
In-game: stoneminer
Location: die Erde
Contact:

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

by stoneminer » Post

+1
God's not dead!

KCoombes
Member
Posts: 412
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt
Location: SW Florida, USA

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

by KCoombes » Post

Is anyone else getting an extremely high spawn rate?

EDIT: Nvm, I found the problem.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests