Irregular_Areas Mod - Ideas

Post Reply
nanepiwo
Member
Posts: 23
Joined: Mon Jan 05, 2015 20:13
GitHub: nanepiwo
IRC: nanepiwo or nane
In-game: nanepiwo

Irregular_Areas Mod - Ideas

by nanepiwo » Post

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.

User avatar
Sokomine
Member
Posts: 4014
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: Irregular_Areas Mod - Ideas

by Sokomine » Post

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.
A list of my mods can be found here.

User avatar
rubenwardy
Moderator
Posts: 6098
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: Irregular_Areas Mod - Ideas

by rubenwardy » Post

You could just use multiple cuboid areas in current mods.

nanepiwo
Member
Posts: 23
Joined: Mon Jan 05, 2015 20:13
GitHub: nanepiwo
IRC: nanepiwo or nane
In-game: nanepiwo

Re: Irregular_Areas Mod - Ideas

by nanepiwo » Post

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest