Author Topic: Brick Manipulation  (Read 5339 times)

Heres some progress on that script to find openings in bricks.



The script I made takes an area, and then maps it out with cubes. The each cube contains only open space, or space filled with bricks. This is so instead of dealing with several thousand bricks, you can work with several hundred 'spaces.' This image shows the cubes created.

Note: This can be used for path finding and finding openings in bricks.
« Last Edit: June 06, 2010, 03:52:34 PM by Nitramtj »

Wow, This could lead to many other things such as bot path-finding as well as restricted sound brick areas?

Restricted sound brick areas? If you mean restricting music to areas, that's still controlled by the engine. But yea, bot path-finding should be easy. Unfortunately there is a pretty big problem, it takes a very long time to index big areas. Although, only scanning a 2d area can make it go a little quicker.

This kinda reminds me of that one wand that allows you to edit the shape of the brick. used to be back before Blockland became retail, though I never played it. I wonder if this could have something like that. It could help reduce all the datablocks for bricks.But the original properties such as if it's a round brick or a JVS or etc. should remain the same. Probably not possible, but It's a suggestion.

Well, I've thought a lot about how to fill large spaces with smaller bricks, efficiently. I sort of had to do some related logic when finding the sizes for cubes in this, but it's still out of my league. I actually do have some ideas, but I won't be ready to develop anything soon.