Skip to content

[Feat] Group Nodes Re-working #18

Description

@plstcfntstc

Scope

Group nodes as it is resembles macros in WorldMachine, I'd like to keep this feature and add a few new features to that, while re-configuring it a bit.
In addition, i'd like to add a simpler feature for groups.

Implementation Details

Group Nodes as it is should be reconfigured to Create Macro (CTRL + M)
Additionally, there should be a way to lock Macros to the creator of the macro
Furthermore, there should be a config node and a parameter node specifically for inside macros to be used.
Config would add functionality to the macro in terms of descriptions for parameters set by the parameter node
the parameter node should have multiple outputs that could go into nodes integers and such. To quickly change an array of nodes different parameters on the surface level of the macro.
Lastly, the macro should be a seperate exportable file that can be share amongst people. (See Reference and Media for reference as to how i imagine it working roughly, according to the feature in WorldMachine)

The new Group Nodes should just be a box that encompasses all the nodes inside it, leaving them all in plain sight.
There should be a way to add a name for the group, a color for the group, and a description for the group
When the group is moved, it should move the nodes inside it too, and likewise when the group is deleted, so too is the nodes inside it. It should be essentially an improved version of the groups seen in the default nodeeditor from Hytale.

Risks and Alternatives

It will definitely be a challenge to implement macros, and will likely cause some incompatibility with the default node-editor from hytale. It's also not a priority IMO, i'd suggest possibly keeping this issue on the backburner for now, partly. By focusing on just making a simpler a group, and then in time introduce macros, once the overall software is more stable.

References and Media

WorldMachine Standard file:

Image

Selecting nodes to convert to macro:

Image

New macro created:

Image

Inside the new macro:

Image

Adding new parameter:

Image

Adding a new parameter creates a new port in the parameters node.

Image

This can then be wired into the parameter input (which is usually hidden) of any given node.

Image

For groups:

WorldMachine Example:

Image

nodeeditor Example:

Image

Confirmation Checklist

Activity

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

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