Page 1 of 1

[Mod][Animalsmod] Vombie Spawner!

PostPosted: Sun Aug 12, 2012 04:10
by tinoesroho
A simple little mod that adds a spawner for use in arenas and whatnot. Two spawners, actually: a small one that goes off every sixty seconds, and a big one that goes off every five minutes (or so).

Dependencies:
animalsmod/mobf
default

0.1 download
0.2 download - Fixes disappearing vombies, compatible with 0.4.x
License: CC0

PostPosted: Sun Aug 12, 2012 08:49
by Belgac
It would be cool to have a mesecon activated spawner also for electronic arenas :)

PostPosted: Sun Aug 12, 2012 09:34
by sapier
Adding many mobs within relativly small distance is a special case normaly tried to avoid so you need to tell animals mod you relally inted to do it ;-). You should abuse the playerspawned property for your vombies to disable the population check. Otherwiese your vombies might get removed by themselfs periodicaly.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local justadded = minetest.env:add_entity(pos,"animal_vombie:vombie")
local newentity = justadded:get_luaentity()
if newentity ~= nil then
    newentity.dynamic_data.spawning.player_spawned = true
    newentity.dynamic_data.spawning.spawner = "some_dummy_name"
end

PostPosted: Mon Aug 13, 2012 16:21
by tinoesroho
Thanks for the feedback, Belgac, sapier. I'll go play with code to see what I can do, apart from make myself feel stupid because I know not a whit of the stuff.

PostPosted: Mon Aug 13, 2012 16:59
by tinoesroho

PostPosted: Sat Dec 15, 2012 17:11
by jojoa1997
what is CCO

PostPosted: Sat Dec 15, 2012 23:14
by Aqua
A license means anyone can use it

Re: [Mod][Animalsmod] Vombie Spawner!

PostPosted: Sun Jul 26, 2015 02:57
by SAMIAMNOT
Sweet! Can you please make it that is spawns custom itemstrings?

Re: [Mod][Animalsmod] Vombie Spawner!

PostPosted: Sun Jul 26, 2015 07:24
by Krock
SAMIAMNOT wrote:Sweet! Can you please make it that is spawns custom itemstrings?

Do NOT bump old topics!

This mod is ~3 years old, so don't expect any help from the creator or anyone else.

Re: [Mod][Animalsmod] Vombie Spawner!

PostPosted: Sun Jul 26, 2015 20:51
by SAMIAMNOT
Oh okay.
In that case I may fork it.