Skip to content

Plug-and-Socket system for automatic structure meshing #9

@ScalarVector1

Description

@ScalarVector1

The intention of this system is to provide a new, special type of multistructure intended for structures meant to generate connection to each other, such as dungeons, modular structures, or other creative uses of the system. The core idea is to be able to place "plug and socket" identifier tiles in a structure, and the generator will automatically line up and generate matching rooms up along these markers.

These markers will likely also come with some form of "frequency" setting as to allow for specific generation rules, IE "Room Y can only generate next to room X", and likely will have to occupy a space outside of the normal structure as to prevent creating "holes" in the structure.

Main design concerns currently include practicality/use cases and the inability to create non-treelike structures.

Currently im afraid using this would be somewhat difficult for an ingame builder as it requires placing markers and maintaining standards such as opening sizes on your own. It may also be difficult to understand how the "frequency" system should be used. Possibly solution is to have plug/sockets by default be directional and have that act as a sub-frequency (right facing socket would only join with left facing plug, intuitive like a puzzle fitting together.)

The other outstanding problem is that this system would only really allow for tree-like structures, as alligning loops would be incredibly difficult or purely coincidental. (perhaps even possible if safeguards for self-overlapping are added).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions