Irregular_Areas Mod - Ideas

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

Irregular_Areas Mod - Ideas

by nanepiwo » Mon Jan 05, 2015 20:19

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.
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: Irregular_Areas Mod - Ideas

by Sokomine » Fri Jan 09, 2015 22:51

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
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Irregular_Areas Mod - Ideas

by rubenwardy » Fri Jan 09, 2015 23:01

You could just use multiple cuboid areas in current mods.
 

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

Re: Irregular_Areas Mod - Ideas

by nanepiwo » Sat Jan 10, 2015 02:51

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.
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 76 guests

cron