[Mod][Animalsmod] Vombie Spawner!

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

[Mod][Animalsmod] Vombie Spawner!

by tinoesroho » Sun Aug 12, 2012 04:10

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
Last edited by tinoesroho on Wed Feb 13, 2013 19:59, edited 1 time in total.
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

Belgac
Member
 
Posts: 57
Joined: Wed Aug 08, 2012 15:27

by Belgac » Sun Aug 12, 2012 08:49

It would be cool to have a mesecon activated spawner also for electronic arenas :)
Contributor: Plant aging library
Creator: (soon)
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Sun Aug 12, 2012 09:34

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
Last edited by sapier on Sun Aug 12, 2012 09:36, edited 1 time in total.
DON'T mention coding style!
(c) sapier all rights reserved
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

by tinoesroho » Mon Aug 13, 2012 16:21

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.
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

by tinoesroho » Mon Aug 13, 2012 16:59

We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sat Dec 15, 2012 17:11

what is CCO
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Aqua
Member
 
Posts: 641
Joined: Wed Aug 22, 2012 09:11

by Aqua » Sat Dec 15, 2012 23:14

A license means anyone can use it
Last edited by Aqua on Sat Dec 15, 2012 23:16, edited 1 time in total.
Hi there ^.~
 

User avatar
SAMIAMNOT
Member
 
Posts: 363
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie

Re: [Mod][Animalsmod] Vombie Spawner!

by SAMIAMNOT » Sun Jul 26, 2015 02:57

Sweet! Can you please make it that is spawns custom itemstrings?
I test mines.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod][Animalsmod] Vombie Spawner!

by Krock » Sun Jul 26, 2015 07:24

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.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
SAMIAMNOT
Member
 
Posts: 363
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie

Re: [Mod][Animalsmod] Vombie Spawner!

by SAMIAMNOT » Sun Jul 26, 2015 20:51

Oh okay.
In that case I may fork it.
I test mines.
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 43 guests