Triggers¶
This section describes areas in the scene and how the game shall use them.
Format¶
The section is an array of Trigger structures.
| Size | Type | Description |
|---|---|---|
| 4B | uint | some kind of index |
| 4B | enum | collider type |
| 4B | uint | flag if direction should be normalized |
| 12B | Vec3f | direction |
| 4B | enum | trigger type |
| 4B | uint | trigger type specific parameter |
| 4B | uint | trigger type specific parameter |
| 4B | uint | trigger type specific parameter |
| 4B | uint | trigger type specific parameter |
| zstring | Mostly empty and unused string | |
| 12B | Vec3f | position |
| 12B | Vec3f | collider type == Box size |
| 4B | float | collider type == Sphere radius |
Collider Type¶
| Value | Description |
|---|---|
| 0 | Box |
| 1 | Sphere |
| 2 | Point |
Note that internally, there are more collider types, but these are the ones used in the game.
Trigger Type¶
| Value | Name | Description |
|---|---|---|
| 0 | Doorway | used as entrance/exit of a scene, see detail page |
| 1 | SingleplayerStartpoint | see detail page |
| 2 | MultiplayerStartpoint | |
| 3 | NpcStartpoint | |
| 4 | CameraPosition | used by scripts to change the camera view, see detail page |
| 5 | Waypoint | used for NPCs, see detail page |
| 6 | StartDuel | used only internally |
| 7 | LeaveDuel | used only internally |
| 8 | NpcAttackPosition | used mostly for wild fairies, see detail page |
| 9 | FlyArea | used only internally |
| 10 | KillPlayer | |
| 11 | SetCameraView | used only internally |
| 12 | SavePoint | used only internally |
| 13 | SwampMarker | |
| 14 | RiverMarker | |
| 15 | PlayVideo | used only internally |
| 16 | Elevator | in the executable it is actually called teleporter |
| 17 | GettingACard | used only internally |
| 18 | Sign | |
| 19 | GettingPixie | used only internally |
| 20 | UsingPipe | used only internally |
| 21 | DancePlatform | used only internally |
| 22 | LeaveDancePlatform | used only internally |
| 23 | RemoveStoneBlocker | used only internally |
| 24 | RemovePlantBlocker | used only internally |
| 25 | EventCamera | this trigger is used by the exectuable to set the camera on certain events like removing stone/plant blockers, CreatePlatforms, etc. |
| 26 | Platform | see detail page |
| 27 | CreatePlatforms | see detail page |
| 28 | ShadowLight | |
| 29 | CreateItems | see detail page |
| 30 | Item | see detail page |
| 31 | Shrink | used only internally |
| 32 | WizformMarker | used only internally |
| -/- | RemoveLock | this name is in the executable, but it messes up with the rest of the types |
| 33 | IndoorCamera | used only internally |
| 34 | LensFlare | used only internally |
| 35 | FogModifier | |
| 36 | OpenMagicWaypoints | used only internally |
| 37 | RuneTarget | not an original name, used to place Amy after teleporting with rune, ii1 either 0 or 1000, meaning unknown |
| 38 | Unused38 | no name present in the executable |
| 39 | Animal | see detail page |
| 40 | AnimalWaypoint | see detail page |
| 41 | SceneOpening | used only internally |
| 42 | CollectionWizform | used in London to place the unused fairies |
| 43 | ElementalLock | |
| 44 | ItemGenerator | |
| 45 | Escape | |
| 46 | Jumper | used to place air jump fields, effect number yet to be known |
| 47 | RefreshMana | used only internally |
| 48 | StartSubgame | used only internally |
| 49 | TemporaryNpc | |
| 50 | EffectBeam | |
| 51 | MultiplayerObserverPosition | |
| 52 | MultiplayerHealingPool | |
| 53 | MultiplayerManaPool | |
| 54 | Ceiling | used in arena scenes to limit flying height |
| 55 | HealAllWizforms |