Page 1 of 1

Irregular_Areas Mod - Ideas

PostPosted: Mon Jan 05, 2015 20:19
by nanepiwo
I want to make a mod that allows for irregular areas, conforming to a building's outline. I feel this can be accomplished by creating a node that, when clicked, shows a formspec. This formspec will have options, such as which nodes around it to protect, which not to, how many nodes outside of the building should be protected, etcetera. This way, one project can be protected and named with one area.

I am wondering if this is a good idea, and if anybody has suggestions.

Re: Irregular_Areas Mod - Ideas

PostPosted: Fri Jan 09, 2015 22:51
by Sokomine
That's of course possible, but I'm unsure as to how well it will perform. You will have to store and check a lot more data whenever someone digs or places a block than those mods that stick to more regular shapes. It might hurt performance a lot for a very small gain.

Re: Irregular_Areas Mod - Ideas

PostPosted: Fri Jan 09, 2015 23:01
by rubenwardy
You could just use multiple cuboid areas in current mods.

Re: Irregular_Areas Mod - Ideas

PostPosted: Sat Jan 10, 2015 02:51
by nanepiwo
Have you seen buildings with a bunch of areas for one building? Anyways, maybe this should just automatically make necessary cuboids and depend on areas mod.