[Mod] D00Med mobs [dmobs]

User avatar
TailsTheFoxDoes MT
Member
Posts: 415
Joined: Mon Jan 18, 2016 20:50
In-game: TailsTheFox
Location: Mobius

Re: [Mod] dmobs(D00Med mobs)

by TailsTheFoxDoes MT » Post

mahmutelmas06 wrote:
D00Med wrote:Thankyou.
I did plan on the owl opening its eyes at night, is there a way to change a mobs skin/texture?
Check cme's on_hit fucntion. It changes mobs texture.
https://github.com/BlockMen/cme/blob/ma ... ctions.lua

Code: Select all

ocal function on_hit(me)
  core.after(0.1, function()
    me:settexturemod("^[colorize:#c4000099")
  end)
  core.after(0.5, function()
		me:settexturemod("")
	end)
end
Gonna use this for a mod.
I'm the TailsTMM of minetest, in other words, i rock.
BRAAAAAZZZZAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!!
BTW it means TailsTheMeseMinecart, but that isn't my name, it's just a way of saying that i basically do the same thing Dantdm does but i do it with minetest And you problably can't see the invisible ink.
My mods:
My first mod:tails_boss

Mob_pack now has voice acting! Do you want YOUR VOICE included? Look in my posts for the thread!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] dmobs(D00Med mobs)

by azekill_DIABLO » Post

caution! on the first linbe of code it's "local" not "ocal"
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

miloszs
Member
Posts: 184
Joined: Thu Jul 07, 2016 21:20
GitHub: miloszs
IRC: miloszs mmmm
In-game: miloszs mmmm
Location: Poland

Re: [Mod] dmobs(D00Med mobs)

by miloszs » Post

why this mod dont work on my PC?

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [Mod] dmobs(D00Med mobs)

by D00Med » Post

Do you get an error message?
If so could you copy it here?
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

miloszs
Member
Posts: 184
Joined: Thu Jul 07, 2016 21:20
GitHub: miloszs
IRC: miloszs mmmm
In-game: miloszs mmmm
Location: Poland

Re: [Mod] dmobs(D00Med mobs)

by miloszs » Post

i added this mod to singleplayer. i tried find animals and new eggs, but there arent any new mobs

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [Mod] dmobs(D00Med mobs)

by D00Med » Post

Did you have mobs_redo?
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

miloszs
Member
Posts: 184
Joined: Thu Jul 07, 2016 21:20
GitHub: miloszs
IRC: miloszs mmmm
In-game: miloszs mmmm
Location: Poland

Re: [Mod] dmobs(D00Med mobs)

by miloszs » Post

yes

miloszs
Member
Posts: 184
Joined: Thu Jul 07, 2016 21:20
GitHub: miloszs
IRC: miloszs mmmm
In-game: miloszs mmmm
Location: Poland

Re: [Mod] dmobs(D00Med mobs)

by miloszs » Post

no, i had that mod

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [Mod] dmobs(D00Med mobs)

by D00Med » Post

Hmm, I don't have any problems like that.
Have you tried using a command to spawn one of the mobs?
Try this; /spawnentity dmobs:badger

Edit:
A bug with the egg hatching is now fixed(see the github page for more detail)
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

miloszs
Member
Posts: 184
Joined: Thu Jul 07, 2016 21:20
GitHub: miloszs
IRC: miloszs mmmm
In-game: miloszs mmmm
Location: Poland

Re: [Mod] dmobs(D00Med mobs)

by miloszs » Post

when i use this command there arent mob, there is unknown object

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [Mod] dmobs(D00Med mobs)

by D00Med » Post

So there's no error message at all?
This is strange, are you using the latest version of both mobs_redo and dmobs?
I need more information as to what is happening, otherwise I have no idea what the problem is.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] dmobs(D00Med mobs)

by azekill_DIABLO » Post

wierd, works perfectely for me.... your are sure that in your 'mods' folder you have:
-mobs (with an init.lua inside)
-dmobs(with an init.lua inside too)

you sure???
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [Mod] dmobs(D00Med mobs)

by D00Med » Post

I've added flying pigs
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

miloszs
Member
Posts: 184
Joined: Thu Jul 07, 2016 21:20
GitHub: miloszs
IRC: miloszs mmmm
In-game: miloszs mmmm
Location: Poland

Re: [Mod] dmobs(D00Med mobs)

by miloszs » Post

Image

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] dmobs(D00Med mobs)

by azekill_DIABLO » Post

@milozs: idk it's weird and illogical
D00Med wrote:I've added flying pigs
Is that a joke?If this is true.

Code: Select all

YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!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EEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!
Wait. it should fit better in the horror mobs.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [Mod] dmobs(D00Med mobs)

by duane » Post

azekill_DIABLO wrote:Wait. it should fit better in the horror mobs.
"Duck and cover! He's taking a dump!"

Now that's horrible.
Believe in people and you don't need to believe anything else.

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [Mod] dmobs(D00Med mobs)

by cd2 » Post

Great mod!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] dmobs(D00Med mobs)

by azekill_DIABLO » Post

duane wrote: "Duck and cover! He's taking a dump!"
Image
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [Mod] dmobs(D00Med mobs)

by duane » Post

azekill_DIABLO wrote:
duane wrote: "Duck and cover! He's taking a dump!"
Image
Stop feeding the pigs nitro-glycerine!
Believe in people and you don't need to believe anything else.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] dmobs(D00Med mobs)

by azekill_DIABLO » Post

sorry. i thought they liked it.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [Mod] dmobs(D00Med mobs)

by D00Med » Post

Don't scare me! :D It would be better in the horror mod
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] dmobs(D00Med mobs)

by azekill_DIABLO » Post

would be nice to make kamikaze flying pigs! (i have weird ideas today.)
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [Mod] dmobs(D00Med mobs)

by D00Med » Post

That would be cool.
Does anyone know how to use the "explode" attack type?
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] dmobs(D00Med mobs)

by azekill_DIABLO » Post

i think you should check the api. it's defined. or looks mobs_more_monster mod, it has a creeper.

EDIT: here is the code

Code: Select all

-- creeper
	mobs:register_mob("mobs_creeper:creeper", {
		type = "monster",
		visual = "mesh",
		mesh = "mobs_tree_monster.x",
		textures = {
			{"mobs_creeper.png"},
		},
		visual_size = {x=4.5,y=4.5},
		collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
		animation = {
			stand_start = 0,	stand_end = 24,
			walk_start = 25,	walk_end = 47,	
			run_start = 48,		run_end = 62,
			punch_start = 48,	punch_end = 62,
			speed_normal = 15,	speed_run = 15
		},
		makes_footstep_sound = true,
		sounds = {
			random = "mobs_treemonster",
			explode = "tnt_explode"
		},
		hp_min = 30,
		hp_max = 40,
		armor = 90,
		blood_texture = "mobs_creeper_inv.png",
		water_damage = 2,
		lava_damage = 15,
		damage = 21,
		reach = 2,
		attack_type = "explode",
		view_range = 16,
		run_velocity = 3,
		stepheight = 1.1,
		drops = {
			{name = "default:torch", chance = 10, min = 3, max = 5,},
			{name = "default:iron_lump", chance = 5, min = 1, max = 2,},
			{name = "default:coal_lump", chance = 3, min = 1, max = 3,}
		}
	})
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [Mod] dmobs(D00Med mobs)

by D00Med » Post

Oh that seems pretty simple.
I had to add:
do_custom = function(self)
if self.state == "attack" then
self.fly = false
self.fall_speed = -3
end
end

Before I added that the pig would start flashing and take off into outer space.
Anyway, I have added exploding pigs, but there are still peaceful pigs, you can look at their face to tell the differrence
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests