OBD:DPge: Difference between revisions

m
...
No edit summary
m (...)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> DPge File
{{OBD_File_Header | type=DPge | prev=DOOR | next=ENVP | name=Diary Page | family=Interface | align=center}}




<CENTER>[[OBD:DOOR|<==]] <FONT SIZE=5>DPge File</FONT> [[OBD:ENVP|==>]]<BR>
[[Image:dpge_all.gif]]
<FONT SIZE=2>Diary Page - Level 0 File</FONT></CENTER>




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/dpge_all.gif
{{Table}}
{{OBDth}}
{{OBDtr| 0x00 | res_id  |FF0000| 01 71 10 00 | 4209 | 04209-lev_01_pg_01.DPge }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0    | level 0 }}
{{OBDtr| 0x08 | int16    |FFC8C8| 01 00      | 1    | level number }}
{{OBDtr| 0x0A | int16    |FFFFC8| 01 00      | 1    | page number }}
{{OBDtr| 0x0C | bool    |C8FFC8| 00          | 0    | 0 - normal page, 1 - learned move page }}
{{OBDtr| 0x0D | char[3]  |C8FFC8| DE AD DE    | dead | padding }}
{{OBDtr| 0x10 | uint32[12]|C8FFC8| 00 00 00 ...| 0    | action icons; always zero }}
{{OBDtr| 0x40 | int16    |C8FFFF| 01 6B 10 00 | 4203 | link to 04203-.[[OBD:IGPG|IGPG]] }}
|}




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
;Note
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
:The game can load at most 60 DPge instances.
| WIDTH=15% | <B>Hex</B>
| WIDTH=15% | <B>Translation</B>
| WIDTH=70% | <B>Meaning</B>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF0000" | 01 71 10 00
| 4209
| ALIGN=LEFT | 04209-lev_01_pg_01.DPge
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFF00" | 01 00 00 00
| 0
| ALIGN=LEFT | level 0
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 01 00
| 1
| ALIGN=LEFT | level 1
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 01 00
| 1
| ALIGN=LEFT | diary page 1
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | &nbsp;
| dead
| ALIGN=LEFT | not used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 01 6B 10 00
| 4203
| ALIGN=LEFT | link to 04203-.[[OBD:IGPG|IGPG]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | AD DE
| dead
| ALIGN=LEFT | not used
|}


;Action icons
:While this field is unused in all existing DPges, Oni still uses the data if it is provided. The purpose is to provide visual instructions for performing a move (assuming this is a move page). Until reaching 12 actions or an int32 that is zero, Oni will walk through these values and display icons left-to-right in the sub-text area of the diary page for the following actions. The TXMPs for each action are determined by [[OBD:KeyI|KeyI]].
::''Modifiers'' (add this bit on top of an action):
::Hold this key = 0x1000
::Press key quickly = 0x2000
::''Symbols'':
::Plus sign = 0x0100 (for placing between action icons)
::Wait before pressing next key = 0x0200 (creates empty space, not an icon)
::''Actions'':
::Punch = 0x0001
::Kick = 0x0002
::Forward = 0x0004
::Backward = 0x0008
::Strafe left = 0x0010
::Strafe right = 0x0020
::Crouch = 0x0040
::Jump = 0x0060
:While using this field produces interesting results, it's likely that BWest realized it would be more complicated to explain how to perform moves with icons than to simply write some text, explaining why this field was never used.


<HR>
<CENTER>[[OBD:DOOR|<==]] <B>DPge File</B> [[OBD:ENVP|==>]]</CENTER>
<HR>


{{OBD_File_Footer | type=DPge | prev=DOOR | next=ENVP | name=Diary Page | family=Interface}}


[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> DPge File
{{OBD}}
281

edits