Blockland Forums > Modification Help

How do I place bricks when a player is close to a fall?

Pages: (1/2) > >>

Axolotl:

Like in a terrain generator, if you walk into or stand in a non-generated area, it generates the area. How do I do that?

otto-san:

there are actually quite a few ways to do this but depending on what you're trying to do the best method may change

Treynolds416:

The way you want probably involves creating bricks within a certain radius of the player.

Nexus:

I'm know there are a couple of terrain generators you can poke around through that do this, ill just throw in my terragen mod, mostly because I can't think of any others at the moment that are public.
http://dl.dropbox.com/u/20459676/client_terragen.zip

Start looking through the terragen_tick function, specifically line 230

Port:

Am I the only one who read the OP completely?


--- Quote ---if you walk into a non-generated area, it generates the area

--- End quote ---

I don't see this text anywhere:

--- Quote ---if you stand near a non-generated area, it generates the area

--- End quote ---


Pages: (1/2) > >>

Go to full version