Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Room sizes and using schematic files for rooms? #312

Open
MikeyCarter opened this issue Aug 9, 2015 · 3 comments
Open

Room sizes and using schematic files for rooms? #312

MikeyCarter opened this issue Aug 9, 2015 · 3 comments

Comments

@MikeyCarter
Copy link

Partly a question and partly an enhancement idea.

Was looking through the code and looks like your rooms are all programmably (is that a word?) generated. Would be cool if we had some common dimensions to work from.. and could design a few rooms and export to schematic files.

Then users can quickly design their own rooms and submit them like a plug-in module for mcdungeon to pickup at random.

@orphu
Copy link
Owner

orphu commented Aug 9, 2015

Yeah, there is a standard to ensure rooms fit together.

In general, rooms fit into a tile that is 16x16x6 blocks, and the end on chunk boundaries. Keep in mind that includes the walls that separate rooms from other rooms, so there are some limitations on wall configurations to ensure hallways can connect.

Some rooms consist of multiple tiles put together. For example, you'll see large rooms that are 2x2 tiles. Great Halls are 1 tile wide, 2 tiles long, and 2 tiles deep. Pits are 1 tile and then can extend down any number of tiles to the bottom of the dungeon. Caves are pretty weird. They can be 2x2 tiles with an extra 1x1 cave stuck on to any side.

In addition to the room shape, each room usually has a feature and a floor type added to it for additional variety.

There are also special rooms that show up in special situations, like secret rooms, and treasure rooms.

@DrakDragon
Copy link

Is there a way to add rooms yet? Maybe using schematics or whatnot?

@JiFish
Copy link
Collaborator

JiFish commented Jun 10, 2016

Not without editing the source code, no. (And if you do create a new room this way, please consider submitting it back here.)

This is still on the cards. (It would make life easier to dev new rooms for a start.) But it's a significant task to implement and there a few potential pitfalls. For example, most of the current rooms work for various shapes. Also, we use meta-materials. These issues could likely be overcome with some thought. See also #293 where this is discussed.

So maybe in the future, but there are no current plans. I wouldn't hold your breath.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants