Slimes Mob spawns.

nvrsbr
Member
 
Posts: 51
Joined: Fri Jun 05, 2015 19:42

Slimes Mob spawns.

by nvrsbr » Sun Jun 14, 2015 19:57

Just wondering if there is a way to control the spawn limits of mobs?
I am using the Slimes Redo mod and there are way too many spawning.

Thanks.
 

nvrsbr
Member
 
Posts: 51
Joined: Fri Jun 05, 2015 19:42

Re: Slimes Mob spawns.

by nvrsbr » Mon Jun 15, 2015 02:34

Any help you would be awesome.
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Slimes Mob spawns.

by Nathan.S » Mon Jun 15, 2015 02:55

If you open the greenslimes or lavaslimes.lua files scroll all the way to the end of the file. You'll find something that starts with this.
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
mobs:register_spawn(name, nodes, max_light, min_light, chance, active_object_count, max_height)


Just change the chance to be higher? If that makes more slimes, put it lower.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

nvrsbr
Member
 
Posts: 51
Joined: Fri Jun 05, 2015 19:42

Re: Slimes Mob spawns.

by nvrsbr » Mon Jun 15, 2015 03:38

Nathan.S wrote:If you open the greenslimes or lavaslimes.lua files scroll all the way to the end of the file. You'll find something that starts with this.
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
mobs:register_spawn(name, nodes, max_light, min_light, chance, active_object_count, max_height)


Just change the chance to be higher? If that makes more slimes, put it lower.


OK I figure it had something to do with that, I lowered it and will see what happens.
 

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

Re: Slimes Mob spawns.

by maikerumine » Mon Jun 15, 2015 11:38

I'd set chance to 11000 and the active object count number to 1. Might be just right.
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 8 guests

cron