Gonna use this for a mod.mahmutelmas06 wrote:Check cme's on_hit fucntion. It changes mobs texture.D00Med wrote:Thankyou.
I did plan on the owl opening its eyes at night, is there a way to change a mobs skin/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
[Mod] D00Med mobs [dmobs]
- TailsTheFoxDoes MT
- Member
- Posts: 415
- Joined: Mon Jan 18, 2016 20:50
- In-game: TailsTheFox
- Location: Mobius
Re: [Mod] dmobs(D00Med mobs)
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!
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!
- 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)
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!
DMs are always open if you want to get in touch!
-
- 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)
why this mod dont work on my PC?
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [Mod] dmobs(D00Med mobs)
Do you get an error message?
If so could you copy it here?
If so could you copy it here?
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242
My subgame: viewtopic.php?f=15&t=14051#p207242
-
- 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)
i added this mod to singleplayer. i tried find animals and new eggs, but there arent any new mobs
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [Mod] dmobs(D00Med mobs)
Did you have mobs_redo?
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242
My subgame: viewtopic.php?f=15&t=14051#p207242
-
- 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)
no, i had that mod
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [Mod] dmobs(D00Med mobs)
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)
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
My subgame: viewtopic.php?f=15&t=14051#p207242
-
- 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)
when i use this command there arent mob, there is unknown object
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [Mod] dmobs(D00Med mobs)
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.
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
My subgame: viewtopic.php?f=15&t=14051#p207242
- 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)
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???
-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!
DMs are always open if you want to get in touch!
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [Mod] dmobs(D00Med mobs)
I've added flying pigs
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242
My subgame: viewtopic.php?f=15&t=14051#p207242
- 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)
@milozs: idk it's weird and illogical
Wait. it should fit better in the horror mobs.
Is that a joke?If this is true.D00Med wrote:I've added flying pigs
Code: Select all
YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEE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YYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!YYYYYYYYYYYYYYYYYYYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSS!!!!!YYYYYYYYEEEEEEEESSSS!!!!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- duane
- Member
- Posts: 1715
- Joined: Wed Aug 19, 2015 19:11
- GitHub: duane-r
- Location: Oklahoma City
- Contact:
Re: [Mod] dmobs(D00Med mobs)
"Duck and cover! He's taking a dump!"azekill_DIABLO wrote:Wait. it should fit better in the horror mobs.
Now that's horrible.
Believe in people and you don't need to believe anything else.
- 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)
duane wrote: "Duck and cover! He's taking a dump!"
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- duane
- Member
- Posts: 1715
- Joined: Wed Aug 19, 2015 19:11
- GitHub: duane-r
- Location: Oklahoma City
- Contact:
Re: [Mod] dmobs(D00Med mobs)
Stop feeding the pigs nitro-glycerine!azekill_DIABLO wrote:duane wrote: "Duck and cover! He's taking a dump!"
Believe in people and you don't need to believe anything else.
- 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)
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!
DMs are always open if you want to get in touch!
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [Mod] dmobs(D00Med mobs)
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
My subgame: viewtopic.php?f=15&t=14051#p207242
- 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)
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!
DMs are always open if you want to get in touch!
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [Mod] dmobs(D00Med mobs)
That would be cool.
Does anyone know how to use the "explode" attack type?
Does anyone know how to use the "explode" attack type?
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242
My subgame: viewtopic.php?f=15&t=14051#p207242
- 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)
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
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!
DMs are always open if you want to get in touch!
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [Mod] dmobs(D00Med mobs)
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
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
My subgame: viewtopic.php?f=15&t=14051#p207242
Who is online
Users browsing this forum: No registered users and 15 guests