|
|
Line 24: |
Line 24: |
| {{OBDtr| 0x00 | float |FFDDDD| 00 00 00 00 | 0.000000 | camera angle (up / down) }} | | {{OBDtr| 0x00 | float |FFDDDD| 00 00 00 00 | 0.000000 | camera angle (up / down) }} |
| {{OBDtr| 0x04 | float |64AAAA| 00 00 00 00 | 0.000000 | rotation of the character on the y-axis in degrees }} | | {{OBDtr| 0x04 | float |64AAAA| 00 00 00 00 | 0.000000 | rotation of the character on the y-axis in degrees }} |
| {{OBDtr| 0x08 | bitset32 |EBEBEB| 00 00 00 00 | 0, 0, 0, 0 | }} | | {{OBDtr| 0x08 | bitset32 |EBEBEB| 00 00 00 00 | 0, 0, 0, 0 | keypress options 1; the following bits are possible: |
| {{OBDtr| 0x0C | bitset32 |EBEBEB| 00 00 00 00 | unused | }}
| | |
| {{OBDtr| 0x10 | int32 |8C8CCC| 00 00 00 00 | unused | }}
| |
| {{OBDtr| 0x14 | int32 |FF00C8| 00 00 00 00 | unused | }}
| |
| |}
| |
|
| |
|
| | :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) |
|
| |
|
| {{OBD_File_Footer | type=FILM | prev=ENVP | next=HPge | name=Film | family=Generic}}
| |
|
| |
|
| | }} |
| | {{OBDtr| 0x0C | bitset32 |EBEBEB| 00 00 00 00 | 0, 0, 0, 0 | keypress options 2; the following bits are possible: |
|
| |
|
| {{OBD_File_Header|align=center|type=FILM|prev=ENVP|next=HPge|name=Film|family=Generic}}
| |
| ----
| |
|
| |
|
| http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/film_a.gif
| | :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 |
|
| |
|
|
| |
|
| {| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0 | | }} |
| |- ALIGN=CENTER BGCOLOR="#FFDDBB"
| | {{OBDtr| 0x10 | int32 |8C8CCC| 00 00 00 00 | 0 | frame number }} |
| | WIDTH=15% | <B>Hex</B>
| | {{OBDtr| 0x14 | int32 |FF00C8| 00 00 00 00 | 0 | unknown (looks like the garbage parts in the [[OBD:BINA/PAR3|3D-Particles.BINA]] file) }} |
| | WIDTH=15% | <B>Translation</B> | |
| | WIDTH=70% | <B>Meaning</B>
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FF0000" | 01 9C 00 00
| |
| | 156
| |
| | ALIGN=LEFT | 00156-BomberKonRun01.FILM
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFFF00" | 01 00 00 06
| |
| | 3 | |
| | ALIGN=LEFT | level 3 | |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |
| | BGCOLOR="#FFC8C8" | FE 6B 81 44 | |
| | 1035.374855
| |
| | ALIGN=LEFT | x-coordinate (position)
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFC8C8" | 00 00 73 43
| |
| | 243.000000
| |
| | ALIGN=LEFT | y-coordinate (position)
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFC8C8" | F1 A8 F1 C1
| |
| | -30.207490
| |
| | ALIGN=LEFT | z-coordinate (position)
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFFFC8" | 34 E3 C8 40
| |
| | 6.277734
| |
| | ALIGN=LEFT | <FONT COLOR="red">look to state in degrees (angle over 360 is possible - huh?)</FONT>
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#C8FFC8" | 00 C8 1A 3B
| |
| | 0.002361 | |
| | ALIGN=LEFT | <FONT COLOR="red">facing in degrees (works nor correct, the angle isn't the same as the float)</FONT> | |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#C8FFFF" | 00 00 00 00
| |
| | 0.000000
| |
| | ALIGN=LEFT | looking from left or right to facing state
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFC8FF" | DB 8F B9 BF
| |
| | -1.449726
| |
| | ALIGN=LEFT | looking up or down
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFC800" | FF 00 00 00
| |
| | 255
| |
| | ALIGN=LEFT | film lenght in 1/60 seconds (4.25 seconds)
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#C800C8" | 00 00 00 00
| |
| | 0
| |
| | ALIGN=LEFT | [[OBD:TRAM|TRAM]] link 1
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |
| | BGCOLOR="#C87C64" | 00 00 00 00
| |
| | 0
| |
| | ALIGN=LEFT | [[OBD:TRAM|TRAM]] link 2
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#B0C3D4" | AD DE
| |
| | dead
| |
| | ALIGN=LEFT | not used
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#E7CEA5" | 5A 00 00 00
| |
| | 90
| |
| | ALIGN=LEFT | 90 packages follow (one package is edged in black)
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| |
| | COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFDDDD" | 00 00 00 00
| |
| | 0.000000
| |
| | ALIGN=LEFT | camera angle (up / down)
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#64AAAA" | 00 00 00 00
| |
| | 0.000000
| |
| | ALIGN=LEFT | rotation of the character on the y-axis in degrees
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#EBEBEB" | 00 00 00 00
| |
| | 0
| |
| | ALIGN=LEFT | keypress event bitset part 1 (see below)
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FF00C8" | 00 00 00 00
| |
| | 0
| |
| | ALIGN=LEFT | keypress event bitset part 2 (see below)
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#F0F096" | 00 00 00 00
| |
| | 0
| |
| | ALIGN=LEFT | frame
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#00C864" | 00 00 00 00
| |
| | 0
| |
| | ALIGN=LEFT | unknown
| |
| |} | | |} |
| ;TRAM links | | |
| | |
| | ;[[OBD:TRAM|TRAM]] links |
| :Those are custom animations that are not triggered by normal movements. | | :Those are custom animations that are not triggered by normal movements. |
| :There's a maximum of 2 custom anims per film. | | :There's a maximum of 2 custom anims per film. |
| :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? | | ;Note to self... other bitsets somewhere? |
Line 195: |
Line 103: |
|
| |
|
|
| |
|
| ----
| | {{OBD_File_Footer | type=FILM | prev=ENVP | next=HPge | name=Film | family=Generic}} |
| {{OBD_File_Footer|align=right|type=FILM|prev=ENVP|next=HPge|name=Film|family=Generic}} | |