field_models_and_animation_metadata.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. <metadata>
  2. <!-- Renames functions/entities in scripts and script var names to something more readable -->
  3. <scripts>
  4. <!-- Used by PRTYE and other OpCodes -->
  5. <CharacterIds>
  6. <char Id="0" Name="Cloud"/>
  7. <char Id="1" Name="Barret"/>
  8. <char Id="2" Name="Tifa"/>
  9. <char Id="3" Name="Aeris"/>
  10. <char Id="4" Name="Red XIII"/>
  11. <char Id="5" Name="Yuffie"/>
  12. <char Id="6" Name="Cait Sith"/>
  13. <char Id="7" Name="Vincent"/>
  14. <char Id="8" Name="Cid"/>
  15. <char Id="9" Name="Young Cloud"/>
  16. <char Id="10" Name="Sephiroth"/>
  17. <char Id="11" Name="Chocobo"/>
  18. </CharacterIds>
  19. <!-- Applies to all fields or any field that hasn't got field specific data -->
  20. <var_names>
  21. <var Bank="1" Address="3" Name="love_point_aeris"/>
  22. <var Bank="1" Address="4" Name="love_point_tifa"/>
  23. <var Bank="1" Address="5" Name="love_point_yuffie"/>
  24. <var Bank="1" Address="6" Name="love_point_barret"/>
  25. <var Bank="1" Address="20" Name="timer_hours"/>
  26. <var Bank="1" Address="21" Name="timer_minutes"/>
  27. <var Bank="1" Address="22" Name="timer_seconds"/>
  28. <var Bank="1" Address="23" Name="timer_frames"/>
  29. <var Bank="1" Address="36" Name="graveyard_item"/>
  30. <var Bank="1" Address="48" Name="item_mask2"/>
  31. <var Bank="1" Address="80" Name="battle_love_aeris"/>
  32. <var Bank="1" Address="81" Name="battle_love_tifa"/>
  33. <var Bank="1" Address="82" Name="battle_love_yuffie"/>
  34. <var Bank="1" Address="83" Name="battle_love_barret"/>
  35. <var Bank="1" Address="164" Name="graveyard_train"/>
  36. <var Bank="1" Address="225" Name="act1_1_flags1"/>
  37. <var Bank="1" Address="226" Name="act1_1_flags2"/>
  38. <var Bank="2" Address="0" Name="progress_game"/>
  39. <var Bank="2" Address="28" Name="menu_appear"/>
  40. <var Bank="2" Address="30" Name="menu_selectable"/>
  41. <var Bank="3" Address="66" Name="act1_1_flags3"/>
  42. <var Bank="3" Address="111" Name="flower_flag"/>
  43. <var Bank="3" Address="112" Name="act1_3_flags5"/>
  44. <var Bank="3" Address="126" Name="act1_3_unknown"/>
  45. <var Bank="3" Address="127" Name="tunnel_room"/>
  46. <var Bank="3" Address="128" Name="act1_3_flags1"/>
  47. <var Bank="3" Address="129" Name="act1_3_flags2"/>
  48. <var Bank="3" Address="130" Name="act1_3_flags3"/>
  49. <var Bank="3" Address="131" Name="act1_3_flags4"/>
  50. <var Bank="3" Address="208" Name="act1_2_flags1"/>
  51. <var Bank="3" Address="209" Name="act1_2_flags2"/>
  52. <var Bank="3" Address="210" Name="act1_2_flags3"/>
  53. <var Bank="3" Address="211" Name="act1_2_flags4"/>
  54. <var Bank="3" Address="212" Name="act1_2_flags5"/>
  55. <var Bank="3" Address="213" Name="act1_2_flags6"/>
  56. <var Bank="3" Address="214" Name="act1_2_flags7"/>
  57. <var Bank="3" Address="215" Name="act1_2_flags8"/>
  58. <var Bank="3" Address="216" Name="act1_2_flags9"/>
  59. <var Bank="3" Address="217" Name="act1_7_flags1"/>
  60. <var Bank="3" Address="223" Name="act1_1_flags4"/>
  61. <var Bank="6" Address="0" Name="triangleId"/>
  62. <var Bank="6" Address="6" Name="expectedTriangleId"/>
  63. <var Bank="6" Address="9" Name="movieFrameNumber"/>
  64. <var Bank="5" Address="21" Name="bMoviePlaying"/>
  65. <var Bank="5" Address="11" Name="bMoviePastFrame30"/>
  66. <var Bank="13" Address="30" Name="pointer"/>
  67. <var Bank="13" Address="31" Name="materia_full"/>
  68. <var Bank="13" Address="91" Name="save_flag"/>
  69. <var Bank="15" Address="32" Name="sector1_item"/>
  70. <var Bank="15" Address="33" Name="sector5_item"/>
  71. <var Bank="15" Address="80" Name="subway_item"/>
  72. </var_names>
  73. <entity_names>
  74. <entity name="mapinit" new="Director"/>
  75. <entity name="directr" new="Director"/>
  76. <entity name="produce" new="Director"/>
  77. <entity name="init" new="Director"/>
  78. <entity name="dic" new="Director"/>
  79. <entity name="dir" new="Director"/>
  80. <entity name="cloud" new="Cloud"/>
  81. <entity name="cl" new="Cloud"/>
  82. <entity name="f_cloud" new="DressedCloud"/>
  83. <entity name="ba" new="Barret"/>
  84. <entity name="bal" new="Barret"/>
  85. <entity name="ballet" new="Barret"/>
  86. <entity name="balette" new="Barret"/>
  87. <entity name="earith" new="Aeris"/>
  88. <entity name="ea" new="Aeris"/>
  89. <entity name="fearis" new="DressedAeris"/>
  90. <entity name="cid" new="Cid"/>
  91. <entity name="big" new="Biggs"/>
  92. <entity name="bigs" new="Biggs"/>
  93. <entity name="av_m" new="Biggs"/>
  94. <entity name="av_b" new="Biggs"/>
  95. <entity name="aval" new="Biggs"/>
  96. <entity name="je" new="Jessie"/>
  97. <entity name="jecy" new="Jessie"/>
  98. <entity name="jesy" new="Jessie"/>
  99. <entity name="av_l" new="Jessie"/>
  100. <entity name="av_c" new="Jessie"/>
  101. <entity name="av_j" new="Jessie"/>
  102. <entity name="avaw" new="Jessie"/>
  103. <entity name="wedge" new="Wedge"/>
  104. <entity name="weadge" new="Wedge"/>
  105. <entity name="av_s" new="Wedge"/>
  106. <entity name="av_w" new="Wedge"/>
  107. <entity name="avaf" new="Wedge"/>
  108. <entity name="ti" new="Tifa"/>
  109. <entity name="tifa" new="Tifa"/>
  110. <entity name="fe0" new="Chest"/>
  111. <entity name="marine" new="Marlene"/>
  112. <entity name="drL" new="DoorLeft"/>
  113. <entity name="drR" new="DoorRight"/>
  114. </entity_names>
  115. <!-- Apply only to the given field, overrides the "global data -->
  116. <field name="md1stin">
  117. <!-- TODO correct namess -->
  118. <function entity_name="test" name="f1" new="action1" />
  119. <function entity_name="test" name="f2" new="action1" Comment="Barret run from train and invite Cloud" />
  120. <function entity_name="test" name="f3" new="action2" Comment="Barret run to next field" />
  121. <entity name="Hei0" new="Hei0" Comment="1st army man that attacks Cloud as we approach next field."/>
  122. <function entity_name="test" name="f4" new="action1" Comment="Army man run from gate to Cloud." />
  123. <entity name="Hei1" new="Hei1" Comment="2nd army man that attacks Cloud as we approach next field."/>
  124. <function entity_name="test" name="f5" new="action1" Comment="Army man run from gate to Cloud." />
  125. <function entity_name="test" name="f6" new="action1" Comment="This is all action that does Biggs. At first he jumps from train, then he throws guard and a bit later run to next map." />
  126. <function entity_name="test" name="f7" new="action1" Comment="This is all action that does Jessie. At first she run from train, then she kicks guard and a bit later run to next map." />
  127. <function entity_name="test" name="f8" new="action1" Comment="This is all action that does Wedge. At first he jumps from train, then he looks around and a bit later run to next map." />
  128. <entity name="Gu0" new="Gu0" Comment="One of two guards thas stays on train station at the very beginning.This one is closest to camera. Jessie takes him off." />
  129. <function entity_name="test" name="f9" new="action1" Comment="This is what Gu0 do. First Gu0 look to Jessie and then run to her. Jessie kicks Gu0 away and then Gu0 stay on the ground." />
  130. <entity name="Gu1" new="Gu1" Comment="One of two guards thas stays on train station at the very beginning. This one stay far from camera. Biggs takes him off." />
  131. <function entity_name="test" name="f10" new="action1" Comment="This is what Gu1 do after Biggs jumps from the train. First Gu1 look to Biggs and then run to him. Biggs throw Gu1 to the ground and then Gu1 stay on it." />
  132. <function entity_name="test" name="f11" new="activate" Comment="his will activate Gu1 in place of Gu0. Don't know why it is done this way." />
  133. <entity name="GuAdd" new="GuAdd" Comment="Additional guard model used when script switch model. Don't know why it is dome this way." />
  134. <function entity_name="test" name="f12" new="activate" Comment="We activate this entity after deactivation of Gu1. Don't know why we need to do this, but FFVII handle it this way. " />
  135. </field>
  136. <field name="md1_1">
  137. <!-- TODO not applied -->
  138. <entity name="entity_8" new="Movie" />
  139. <function entity_name="Cloud" name="script_3" new="scene_part_1" Comment="Move Cloud to talk position for the scene." />
  140. <function entity_name="Cloud" name="script_5" new="scene_part_5" Comment="Cloud reply his name to Avalanche." />
  141. <function entity_name="Cloud" name="script_6" new="scene_part_6" Comment="Cloud tells Biggs that he didn't care about names." />
  142. <function entity_name="Cloud" name="script_7" new="scene_part_9" />
  143. <function entity_name="Cloud" name="script_8" new="scene_part_14" />
  144. <function entity_name="Cloud" name="script_9" new="scene_part_16" Comment="look at reactor and run after Barret and others." />
  145. <function entity_name="Barret" name="script_3" new="scene_part_8" />
  146. <function entity_name="Barret" name="script_4" new="scene_part_13" />
  147. <function entity_name="Barret" name="script_5" new="scene_part_15" />
  148. <function entity_name="Biggs" name="script_3" new="scene_part_2" Comment="Turn to Cloud and start talk to him." />
  149. <function entity_name="Biggs" name="script_4" new="scene_part_4" Comment="Dialog with Jessie and Cloud. We input Cloud name during this scene and call Cloud reply." />
  150. <function entity_name="Biggs" name="script_5" new="scene_part_7" />
  151. <function entity_name="Biggs" name="script_6" new="scene_part_11" />
  152. <function entity_name="Jessie" name="script_3" new="scene_part_3" Comment="Stop breaking gate for a while and talk." />
  153. <function entity_name="Jessie" name="script_4" new="scene_part_10" />
  154. <function entity_name="Wedge" name="script_3" new="scene_part_12" />
  155. <function entity_name="DoorLeft" name="script_3" new="open" />
  156. <function entity_name="DoorRight" name="script_3" new="open" />
  157. </field>
  158. </scripts>
  159. <!-- Renames for models to something more readable -->
  160. <models>
  161. <model name="aaaa" target="cloud"></model>
  162. <model name="acgd" target="barret"></model>
  163. <model name="aagb" target="tifa"></model>
  164. <model name="abjb" target="yuffie"></model>
  165. <model name="abda" target="cid"></model>
  166. <model name="bxbe" target="wedge"></model>
  167. <model name="bwfd" target="biggs"></model>
  168. <model name="axdc" target="jessie"></model>
  169. <model name="bwab" target="soldier"></model>
  170. <model name="azhe" target="guard"></model>
  171. <model name="adda" target="sd_red"></model>
  172. <model name="byib" target="blue_materia"></model>
  173. <model name="cahc" target="aerisflowers"></model>
  174. <model name="cbfe" target="md8_2_midgar_woman"></model>
  175. <!--<model name="ccbc" target="md8_2_midgar_man"></model>-->
  176. <model name="cdja" target="shinra_train_conductor"></model>
  177. <model name="awcb" target="shinra_train_employee"></model>
  178. <model name="cfbb" target="midgar_beggar"></model>
  179. <model name="cfha" target="market_usan"></model>
  180. <model name="cgda" target="midgar_child_boy1"></model>
  181. <model name="cgif" target="midgar_child_boy2"></model>
  182. <model name="ched" target="midgar_child_girl"></model>
  183. <model name="ciac" target="midgar_man14"></model>
  184. </models>
  185. <!-- Renames for animations to something more readable -->
  186. <animations>
  187. <animation name="acfe" target="Idle"></animation>
  188. <animation name="aaff" target="Walk"></animation>
  189. <animation name="aaga" target="Run"></animation>
  190. <animation name="bygc" target="Climb"></animation>
  191. <animation name="bvjf" target="JumpFromTrain"></animation>
  192. <animation name="bxbb" target="JumpFromTrain"></animation>
  193. <animation name="bxbc" target="Throw"></animation>
  194. <animation name="bxbd" target="Kick"></animation>
  195. <animation name="bxhc" target="Dead1"></animation>
  196. <animation name="bxhd" target="LookBack"></animation>
  197. <animation name="bxhe" target="Kicked"></animation>
  198. <animation name="bxhf" target="Dead2"></animation>
  199. <animation name="bxia" target="Throwed"></animation>
  200. <animation name="auee" target="LookAtPeople"></animation>
  201. <animation name="ajdd" target="TalkNo"></animation>
  202. <animation name="bxib" target="Idle"></animation>
  203. <animation name="bxic" target="TalkGesture"></animation>
  204. <animation name="bxid" target="BreakUp"></animation>
  205. <animation name="bxie" target="BreakUpLookBack"></animation>
  206. <animation name="bxif" target="BreakUpGetUp"></animation>
  207. <animation name="bxja" target="LookAround"></animation>
  208. <animation name="bxjf" target="DoorIdle"></animation>
  209. <animation name="adcb" target="Idle"></animation>
  210. <animation name="adcc" target="Walk"></animation>
  211. <animation name="adcd" target="Run"></animation>
  212. <animation name="bwaa" target="Invitation"></animation>
  213. <animation name="aeae" target="Idle"></animation>
  214. <animation name="aeaf" target="Walk"></animation>
  215. <animation name="aeba" target="Run"></animation>
  216. </animations>
  217. </metadata>