NoMansSky:Cross SCENE Referencing: Difference between revisions

From Step Mods | Change The Game
m (Text replacement - "{{TOC_right}}" to "{{TOC}}")
m (Z929669 moved page NoMansSky:Cross SCENE Referencing to NoMansSky:Tutorials/Cross SCENE Referencing over a redirect without leaving a redirect: revert)
(No difference)

Revision as of 17:33, July 29, 2021

Nomanssky flare.png

Cross SCENE Referencing

Referencing a SCENE from another SCENE[edit | edit source]

Currently, we know of two different methods of including one scene in another. The first method is the simplest, and is generally what would be used when adding one scene into another.

Method 1[edit | edit source]

For a scene that already exists in the game files, the scene file can be edited in a text editor, and a REFERENCE node can be added as a child of some other node in the scene. This child node will need to have some transform, and a SCENEPATH node in the list of ATTACHMENTS. This is the only attachment that this node type may have.

Template:Alert small

Method 2[edit | edit source]

The second method is more advanced, but seems to get around the problems with the first method.

This method utilises the SELECTABLEOBJECTSTABLE in METADATA/SIMULATION/ENVIRONMENT, as well as, the GcObjectPlacementComponentData struct in an entity file attached to the model.