Skip to content

User Created Nodes

Lukas edited this page May 15, 2024 · 2 revisions

How to!

Click on the button on the left of the screen to open the NodeCreator. Inside click the +Add button to create a new node with the given name. After its created you will see a list menu to the left displaying all your created nodes. You can click on any one to inspect and edit it close. To delete the whole node click the Bin button on the list-tab. To edit the node name click the Edit button on the list-tab. On the right you will see your created node. Use the button to the left and right to add or remove components respectively.

How they are saved!

User-Created-Nodes will be saved to each project that you save. At the time of saving a snapshot is taken and written to the project export just like node templates from plugins. This allows to query them just like normal templates when working with ".rn" exports.

Common Pitfalls

Like with all templates adding new ones will always be possible. However changing existing ones or deleting currently used templates is undefined behavior. Especially now that there is no solid error reporting and handling of missing templates you should make sure to always use matching templates when loading a save. The rule to this exception is when their loading and saving functions are the same. For example you could switch a textfield with a numberfield component as they both save and load a string. However this will be improved in the future, specifically:

  • Popup window when loading a save with non-matching templates
  • Option to skip problematic templates or try to salvage their data on best effort

TLDR: Create your nodes before you start a project and try not to change them. If you change nodes its currently advised to start a new project.

Clone this wiki locally