Scene: Difference between revisions
imported>Leoetlino |
imported>Leoetlino No edit summary |
||
Line 1: | Line 1: | ||
Scene changes | ''Not to be confused with [[map]]s, [[Map unit|map units]] or [[Stage|stages]]''. | ||
<onlyinclude>'''Scenes'''<ref>"SceneWorkTime" @ 0x7100A89528 (Switch 1.5.0)</ref> are active instances of a [[stage]]. By design, exactly one scene is active at a time. The active scene is managed by [[GameScene]], which is responsible for generating and unloading stages and changing to another scene.</onlyinclude> | |||
== Scene changes == | |||
In practice, '''scene changes''' are essentially warps that trigger loading screens. They can be explicitly triggered with three different actions: ChangeScene, FromCDungeonToMainField and ToCDungeon. | |||
All three actions are very similar; in fact they share the same base class. However, the first one is the most flexible action since the other two can only be used for shrines. | All three actions are very similar; in fact they share the same base class. However, the first one is the most flexible action since the other two can only be used for shrines. | ||
Line 5: | Line 10: | ||
Scene changes can also be triggered from [[AIDef:Action/AreaRoot]]. | Scene changes can also be triggered from [[AIDef:Action/AreaRoot]]. | ||
== Actions == | === Actions === | ||
=== ChangeScene === | ==== ChangeScene ==== | ||
{{link to article|link=AIDef:Action/ChangeScene}} | {{link to article|link=AIDef:Action/ChangeScene}} | ||
=== FromCDungeonToMainField === | ==== FromCDungeonToMainField ==== | ||
{{link to article|link=AIDef:Action/FromCDungeonToMainField}} | {{link to article|link=AIDef:Action/FromCDungeonToMainField}} | ||
=== ToCDungeon === | ==== ToCDungeon ==== | ||
{{link to article|link=AIDef:Action/ToCDungeon}} | {{link to article|link=AIDef:Action/ToCDungeon}} | ||
== Warp cutscene == | === Warp cutscene === | ||
[[Demo|Demo005_1]] is used as the event flow for most warps, for example when fast travelling to shrines, towers, Travel Medallion and Divine Beasts. | [[Demo|Demo005_1]] is used as the event flow for most warps, for example when fast travelling to shrines, towers, Travel Medallion and Divine Beasts. |
Revision as of 21:55, 12 October 2019
Not to be confused with maps, map units or stages.
Scenes[1] are active instances of a stage. By design, exactly one scene is active at a time. The active scene is managed by GameScene, which is responsible for generating and unloading stages and changing to another scene.
Scene changes
In practice, scene changes are essentially warps that trigger loading screens. They can be explicitly triggered with three different actions: ChangeScene, FromCDungeonToMainField and ToCDungeon.
All three actions are very similar; in fact they share the same base class. However, the first one is the most flexible action since the other two can only be used for shrines.
Scene changes can also be triggered from AIDef:Action/AreaRoot.
Actions
ChangeScene
Full article: AIDef:Action/ChangeScene
FromCDungeonToMainField
Full article: AIDef:Action/FromCDungeonToMainField
ToCDungeon
Full article: AIDef:Action/ToCDungeon
Warp cutscene
Demo005_1 is used as the event flow for most warps, for example when fast travelling to shrines, towers, Travel Medallion and Divine Beasts.
Entry point ClearRemains
is used when completing a Divine Beast. The main difference between CommonFunc
and ClearRemains
is the warp effect (sound and visual).
- ↑ "SceneWorkTime" @ 0x7100A89528 (Switch 1.5.0)