NoMansSky:Cross SCENE Referencing: Difference between revisions

From Step Mods | Change The Game
(Created page with "__NOTITLE__ {{NMSPage|contentTitle=Tutorials // Cross SCENE Referencing}} {{TOC_right}} == Referencing a SCENE from another SCENE == Currently, we know of two different method...")
 
No edit summary
Line 16: Line 16:
This method utilises the '''SELECTABLEOBJECTSTABLE''' in <code>METADATA/SIMULATION/<some other folder...>/</code>, as well as, the '''GcObjectPlacementComponentData''' struct in an entity file attached to the model.
This method utilises the '''SELECTABLEOBJECTSTABLE''' in <code>METADATA/SIMULATION/<some other folder...>/</code>, as well as, the '''GcObjectPlacementComponentData''' struct in an entity file attached to the model.
{{NMSPageClose}}
{{NMSPageClose}}
[[Category:No Man's Sky]][[Category:NMS-Tutorial]]

Revision as of 22:55, July 29, 2020

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/<some other folder...>/, as well as, the GcObjectPlacementComponentData struct in an entity file attached to the model. Template:NMSPageClose