Scriptable Layers (Metroid Prime 2): Difference between revisions

>Aruki
mNo edit summary
>Aruki
 
(One intermediate revision by the same user not shown)
Line 209: Line 209:
| colspan=5 {{unknown|End of property}}
| colspan=5 {{unknown|End of property}}
|}
|}
== Generated Objects ==
Generated objects are stored on a separate layer, denoted with <code>SCGN</code>. The SCGN layer isn't a real layer; it doesn't store a self-index and instances on the layer still contain the index of their original SCLY script layer in their instance ID. These are the stipulations that cause an instance to be written to SCGN:
* Any instance that receives a Generate/Activate message (MP2) or a Generate/Attach, Generate0/Attach, or Generate1/Attach message (MP3, DKCR) is written to SCGN instead of SCLY.
* In DKCR, all GenericCreature instances are written to both SCLY and SCGN. (The generated one is spawned if you scroll the creature offscreen and come back.)


[[Category:File Formats]]
[[Category:File Formats]]
Anonymous user