11-13-2012, 05:01 AM
created another finisher. it generates cactus only on deserts and they spawn less frequently
Random Chitchat 2012-2016
|
11-13-2012, 05:01 AM
created another finisher. it generates cactus only on deserts and they spawn less frequently
11-13-2012, 05:58 AM
You're becoming the finisher expert
11-13-2012, 07:10 AM
i am trying to split the SprinkleFoliage finisher but its not going verry well :S can't get a sugarcane finisher working, but the other things like muchrooms and stuff should not be a big problem (i hope)
11-13-2012, 07:19 AM
Well, That's gonna take more than just copying a piece of code over and over while changing a few bits here and there. A nice foliage finisher would need a better algorithm than just randomly spraying stuff around
Off the top of my head, here's one better algorithm: 1, Pick the foliage to generate in this round 2, Pick a pair of X/Z coords, this shall be the "center" of the foliage group 3, Generate a few pieces of the foliage from step 1 around center from step 2 ("few" and "diameter" configurable, biome-dependent, etc.) 4, Repeat from start a few times This way, if the foliage finisher decides to put in e. g. yellow flowers, it will make a group of them near each other.
sadly i don't know anything about c++ so i can only copy/paste and then change some stuff like spawnrate and biome etc. i gues i have to wait until i go to collage and learn c++ at school before i can create comlete new things.
now also finished a TallGrass finisher and a BrownMushroom Finisher trying to make MC-Server more customizable. i will upload a patch when i got all the finishers.
11-13-2012, 06:22 PM
Quote:i gues i have to wait until i go to collage and learn c++ at school before i can create comlete new things.Screw this, there are plenty of books and articles on every aspect of programming. I was 13 when I started, so it's really just a question of motivation.
College is really late for starting, you want to dig in as soon as possible. Because all of us make beginners' mistakes, and the sooner you learn from them, the better for you. College usually already expects you to know something about programming, have some background in algorithms etc.
I still remember my beginnings with C++. I got a set of manuals for Borland C++ 2.0 for DOS, it was the first programming language that I got my hands on that could create standalone (exe) files; all my previous encounters were with interprets like basic. I took the books (total of 3 kg!) on my first vacation at the seaside (we're a land-locked country, so going to a sea is actually quite an effort ) and was I glad I did - the very first day I got so sunburnt that I had to spend the rest of the vacation indoors. So instead of lying on the beach and swimming in the sea, I was reading up on structs and classes and inheritance and overloading... The best vacation Boy, that was some 20 years ago, doesn't the time fly! Anyway, I think the individual finishers are somewhat overgrowing, we need to trim them down. So far they could be parametrised into a single class that takes "biome, block to generate, block required underneath, amount per chunk (per biome)". So I'd say don't bother with the patch, it's gonna get rewritten soon (wanna try it?
11-14-2012, 04:14 AM
when someone logs in you get [date] Spawning player "(player)" on client "(otherplayer)"@ (IP)
and if there are 4 online you get that message 4 times. is this normal or is it maybe debug?
11-14-2012, 08:24 AM
That should be a debug message. It's documenting which entity is spawning for which client.
11-14-2012, 04:16 PM
I get it with release mode
|
« Next Oldest | Next Newest »
|