Jump to content

OBD:FILM: Difference between revisions

1,683 bytes added ,  22 March 2007
m
biggest bitset evah
m (TRAM links)
m (biggest bitset evah)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> FILM File
{{OBD_File_Header|align=center|type=FILM|prev=ENVP|next=HPge|name=Film|family=Generic}}
 
----
 
<CENTER>[[OBD:ENVP|<==]] <FONT SIZE=5>FILM File</FONT> [[OBD:HPge|==>]]<BR>
<FONT SIZE=2>Film</FONT></CENTER>
 


http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/film_a.gif
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/film_a.gif
Line 81: Line 77:
| ALIGN=LEFT | rotation of the character on the y-axis in degrees
| ALIGN=LEFT | rotation of the character on the y-axis in degrees
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#EBEBEB" | 00 00
| BGCOLOR="#EBEBEB" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#8C8CCC" | 00 00
| 0
| 0
| ALIGN=LEFT | move bitset (20 = run)
| ALIGN=LEFT | keypress event bitset part 1 (see below)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF00C8" | 00 00 00 00
| BGCOLOR="#FF00C8" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | unknown
| ALIGN=LEFT | keypress event bitset part 2 (see below)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#F0F096" | 00 00 00 00
| BGCOLOR="#F0F096" | 00 00 00 00
Line 106: Line 98:
:As far as FILM is concerned, those anims are ''local'' (link by ID)
:As far as FILM is concerned, those anims are ''local'' (link by ID)
:Actually, they're usually empty (looked up by name in level 0)
:Actually, they're usually empty (looked up by name in level 0)
;Keypress event bitset part 1
Actually this can be seen as an 8-byte bitset
:0x 01 00 00 00 : (1:00) escape
:0x 02 00 00 00 : (1:01) console
:0x 04 00 00 00 : (1:02) pausescreen
:0x 08 00 00 00 : (1:03) cutscene1
:0x 10 00 00 00 : (1:04) cutscene2
:0x 20 00 00 00 : (1:05) f4
:0x 40 00 00 00 : (1:06) f5
:0x 80 00 00 00 : (1:07) f6
:0x 00 01 00 00 : (1:08) f7
:0x 00 02 00 00 : (1:09) f8
:0x 00 04 00 00 : (1:0A) start_record
:0x 00 08 00 00 : (1:0B) stop_record
:0x 00 10 00 00 : (1:0C) play_record
:0x 00 20 00 00 : (1:0D) f12
*0x 00 40 00 00 : (1:0E) ........ ? apparently absent
:0x 00 80 00 00 : (1:0F) lookmode
:0x 00 00 01 00 : (1:10) screenshot
*0x 00 00 02 00 : (1:11) ........ ? apparently absent
*0x 00 00 04 00 : (1:12) ........ ? apparently absent
*0x 00 00 08 00 : (1:13) ........ ? apparently absent
*0x 00 00 10 00 : (1:14) ........ ? apparently absent
:0x 00 00 20 00 : (1:15) forward
:0x 00 00 40 00 : (1:16) backward
:0x 00 00 80 00 : (1:17) turnleft
:0x 00 00 00 01 : (1:18) turnright
:0x 00 00 00 02 : (1:19) stepleft
:0x 00 00 00 04 : (1:1A) stepright
:0x 00 00 00 08 : (1:1B) jump
:0x 00 00 00 10 : (1:1C) crouch
:0x 00 00 00 20 : (1:1D) punch
:0x 00 00 00 40 : (1:1E) kick
:0x 00 00 00 80 : (1:1F) block (no effect)


;Keypress event bitset part 2
:0x 01 00 00 00 : (1:20) walk
:0x 02 00 00 00 : (1:21) action
:0x 04 00 00 00 : (1:22) hypo
:0x 08 00 00 00 : (1:23) reload
:0x 10 00 00 00 : (1:24) swap
:0x 20 00 00 00 : (1:25) drop
:0x 40 00 00 00 : (1:26) fire1
:0x 80 00 00 00 : (1:27) fire2
:0x 00 01 00 00 : (1:28) fire3
*............................and that's all for keypresses, apparently


 
;Note to self... other bitsets somewhere?
<HR>
:(3:7) aim_lr
<CENTER>[[OBD:ENVP|<==]] <B>FILM File</B> [[OBD:HPge|==>]]</CENTER>
:(3:8) aim_ud
<HR>
:(4:0) man_cam_pan_left
:(4:1) man_cam_pan_up
:(4:2) man_cam_move_forward
:(4:3) man_cam_move_up
:(4:4) man_cam_move_left
:(5:0) man_cam_pan_right
:(5:1) man_cam_pan_down
:(5:2) man_cam_move_backward
:(5:3) man_cam_move_down
:(5:4) man_cam_move_right




[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> FILM File
----
{{OBD_File_Footer|align=right|type=FILM|prev=ENVP|next=HPge|name=Film|family=Generic}}