Field Sections 3 and 8

  • Thread starter Thread starter Reunion
  • Start date Start date
Status
Not open for further replies.
R

Reunion

Guest
I spent some time working with sections 3 and 8 of the pc field files but in section 8 I could use some help with the camera range matrix and the exit positions matrix. The camera range matrix seems to set the range of motion by the camera on a x,y axis. The exit positions matrix sets the position of an exit in a level map on a x,y axis. I just don't understand the how the matrices are set up.

Field Section Summary:
Section 1 Field Script & Dialog
Section 2 Camera Matrix
Section 3 HRC Loader
Section 4 Palette
Section 5 Walkmesh
Section 6 Unknown
Section 7 Encounter
Section 8 Camera Ranges & Exit Positions/Level Linking
Section 9 Background

Note- please forgive a non-programmers ugly descriptions...

Section 3: HRC Loader
Code: [Select]
Code:
Section length: longshort: blank short: num_HRC  //number of hierarchysshort: (512),(1024)… //hierarchy typelen(short): char_str //length of character stringchar_str: (level_map)(char_name).char //#example# md1stinmain_n_cloud.charshort: blank HRC_str: (HRC_file_name).(HRC),(512),(1024)…+ blank byte //#example# AAAA.HRC512short: num_animations //number of animationsHRC_light_map: 30 bytes //all animations render under hierarchy’s light map #example of HRC_light_map #134,130,131110,0,73250,252,14157,155,156138,9,62246,163,24777,77,77118,244,73250,103,24664,64,64  // RGB levellen(short): aki_str //length of animation stringaki_str: (animation_file_name).(aki),(yos),(ani),(tor)..  //#example# ACFE.akishort: 1

Section 8: Camera Ranges & Exit Positions/Level Linking
Code: [Select]
Code:
Section length: long(level_map_str) + blank byte //level map stringshort: blankbyte: main_char control axis  //for inverting controls#examples#(128:up = y right = x) (64:up = x right = -y)10 bytes: camera range matrix + 1 blank byte //sets some camera ranges...#example (not arranged properly) #64,00,-10,-10,10,1long: blankShort: 4 unknownshort: 4 unknownshort: 4 unknownbyte : 4 unknown24 blank bytes14 bytes: exit position matrix  //sets the positions for the level map exits…#example (not arranged properly) #82,255175,25464,-255-45,255112,25464,25596,251long: next_map_pos //sets the linked level maps main_char starting positionshort: exit_link  //sets level map that exit is linked to#examples#1-64 world map locations65 - Debug room66 - 786? Field locationslong: unknown

well the rest of section 8 I just don't get at all so...
and if someone could explain how  the matrices work further…

Anyway I hope someone can make use of this information.

-Reunion
 
Status
Not open for further replies.
Back
Top