Changes

Jump to navigation Jump to search

FF7/Field/Triggers

103 bytes removed, 05:19, 23 May 2019
m
10 revisions imported
= Triggers/Gateways =
([http://forums.qhimm.com/index.php?topic=4358.msg58674#msg58674 ] [http://forums.qhimm.com/index.php?topic=3247.msg53525#msg53525 ] and [http://forums.qhimm.com/index.php?topic=7129.msg87583#msg87583)]
{| borderclass="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;wikitable"! style="background:rgb(204,204,204)" | Offset! style="background:rgb(204,204,204)" | Size! style="background:rgb(204,204,204)" | Data
|-
| 0
| 10
| 2
| UnknownHeight to focus the camera on the character (0= normal focus, <0= focus below, >0= focus above)
|-
| 12
| Camera Range
|-
| style="background: rgb(255,255,204)" | 20| style="background: rgb(255,255,204)" | 4| style="background: rgb(255,255,204)" | Unknown (Bg layer 3 & 4related)|-| ''Blank''24| 2| Background layer 3 animation width (or 1024 if no layer 3)|-| 26| 2| Background layer 3 animation height (or 1024)|-| 28| 2| Background layer 4 animation width (or 1024)
|-
|style="background:rgb(255,255,204)" | 2430|style="background:rgb(255,255,204)" | 82|style="background:rgbBackground layer 4 animation height (255,255,204or 1024)" | Unknown Range
|-
| style="background: rgb(255,255,204)" | 32| style="background: rgb(255,255,204)" | 24| ''Blank''style="background: rgb(255,255,204)" | Unknown (Bg layer 3 & 4 related)
|-
| 56
| 536
| 12
| Shown arrows on gateway lines (not present in jp version)
|-
| 548
| 12 * 16
| Arrow type and position Arrows (not present in jp version)
|}
== range ==
typedef struct {
} Range;
== Vertex ==
typedef struct {
} Vertex;
== Gateways data ==
For each gateway:
{| borderclass="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;wikitable"! style="background:rgb(204,204,204)" | Offset! style="background:rgb(204,204,204)" | Size! style="background:rgb(204,204,204)" | Data
|-
| 0
| Field ID
|-
|style="background:rgb(255,255,204)" | 20|style="background:rgb(255,255,204)" | 4|style="background:rgb(255,255,204)" | Unknown(four equal bytes)
|}
== Triggers data ==
For each trigger:
{| borderclass="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;wikitable"! style="background:rgb(204,204,204)" | Offset! style="background:rgb(204,204,204)" | Size! style="background:rgb(204,204,204)" | Data
|-
| 0
|}
=== Behavior ===
behavior can be from 0 to 5:
0 - OnTrigger - ON<br/>1 - OnTrigger - OFF<br/>2 - OnTrigger - ON, AwayFromTrigger - OFF<br/>3 - OnTrigger - OFF, AwayFromTrigger - ON<br/>4 - OnTrigger - ON, AwayFromTriggerOnPlusSide - OFF<br/>5 - OnTrigger - OFF, AwayFromTriggerOnPlusSide - ON<br/> == Shown arrows == For each gateway you can show an arrow. If shown arrow = 1, a red arrow is displayed in the middle of the corresponding gateway line. == Arrows ==
== Arrow type and This an arrow list to position ==an arrow where you want.
{| borderclass="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;wikitable"! style="background:rgb(204,204,204)" | Offset! style="background:rgb(204,204,204)" | Size! style="background:rgb(204,204,204)" | Data
|-
| 0
| 4
| Position X(signed)
|-
| 4
| 4
| Position Z(signed)
|-
| 8
| 4
| Position Y(signed)
|-
| 12
| 4
| Arrow type (0= invisibledisabled, 1= red, 2= green)
|}

Navigation menu