NoMansSky:Cross SCENE Referencing

From Step Mods | Change The Game
Revision as of 09:45, August 9, 2020 by Lo2k (talk | contribs) (→‎Method 2)

Template:TOC right

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:Notice 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. Template:NMSPageClose