Great job guys !!
#14
(07-03-2013, 06:02 PM)xoft Wrote: Well, if you really want something to do, it'd be great if you had a look at FS #348: http://www.mc-server.org/support/index.p...ask_id=348
It calls for a per-world configuration of the mobs allowed to spawn (if any at all).
I had imagined the world.ini would contain a section like this:
Code:
[Mobs]
Enabled=1
Allow=Cow,Sheep,Pig
This would be read into cWorld and the mob spawning would take this into account, together with the current biome (which imho is better than current dimension) when deciding what mob to spawn. Also, keep in mind that the spawning will need to be changed later, so that it takes the current light value into consideration and can spawn mobs underground;

Ok that's pretty clear, and a bit more challenging than previous task.
As I understood, a World contains more than 1 Biome.
That mean the world.ini file cannot have the structure you provided.
At minimal, it would be :
Code:
[BiomeForest]
Allow=Cow,Sheep,Pig

[BiomeWater]
Allow=Squid
or
Code:
[mobs]
BiomeForestAllow=Cow,Sheep,Pig
BiomeWaterAllow=Squid
or
Code:
[Cow]
AllowedIn=Forest,Plains,Tundra

Or am I wrong ?

Or it is time to refactor the ini file structure
Reply
Thanks given by:


Messages In This Thread
Great job guys !! - by mgueydan - 07-01-2013, 03:55 AM
RE: Great job guys !! - by xoft - 07-01-2013, 04:51 AM
RE: Great job guys !! - by FakeTruth - 07-01-2013, 06:16 AM
RE: Great job guys !! - by mgueydan - 07-03-2013, 04:25 AM
RE: Great job guys !! - by tonibm19 - 07-03-2013, 04:34 AM
RE: Great job guys !! - by mgueydan - 07-03-2013, 05:54 AM
RE: Great job guys !! - by tonibm19 - 07-03-2013, 06:13 AM
RE: Great job guys !! - by mgueydan - 07-03-2013, 06:18 AM
RE: Great job guys !! - by xoft - 07-03-2013, 04:39 PM
RE: Great job guys !! - by mgueydan - 07-03-2013, 09:58 PM
RE: Great job guys !! - by xoft - 07-03-2013, 06:02 PM
RE: Great job guys !! - by mgueydan - 07-04-2013, 12:05 AM
RE: Great job guys !! - by mgueydan - 07-03-2013, 11:35 PM
RE: Great job guys !! - by xoft - 07-03-2013, 11:40 PM
RE: Great job guys !! - by xoft - 07-04-2013, 01:27 AM
RE: Great job guys !! - by mgueydan - 07-04-2013, 01:49 AM
RE: Great job guys !! - by xoft - 07-04-2013, 02:00 AM
RE: Great job guys !! - by mgueydan - 07-04-2013, 02:58 AM
RE: Great job guys !! - by xoft - 07-04-2013, 05:44 AM
RE: Great job guys !! - by mgueydan - 07-04-2013, 07:00 AM
RE: Great job guys !! - by mgueydan - 07-04-2013, 06:09 PM



Users browsing this thread: 1 Guest(s)