OBD:ONCV: Difference between revisions

179 bytes removed ,  10 September 2007
m
design
m (oops)
m (design)
Line 1: Line 1:
{{OBD_File_Header|align=right|type=ONCV|prev=ONCP|next=ONFA|name=Oni Character Variant|family=Character|onistuff=oncv}}
{{OBD_File_Header | type=ONCV | prev=ONCP | next=ONFA | name=Oni Character Variant | family=Character | align=center}}
 
 
All ONCV files are 0 byte files. That means that Oni takes the information out of the ONCV files of level 0. Below is an example of an ONCV file of level 0.
 
 
[[image:oncv_all.gif]]
 
 
{{Table}}
{{OBDth}}
{{OBDtr| 0x00 | res_id  |FF0000| 01 99 06 00 | 1689  | 01689-konoko.ONCV }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0    | level 0 }}
{{OBDtr| 0x08 | link    |FFC8C8| 01 82 06 00 | 1666  | link to 01666-any.ONCV }}
{{OBDtr2|0x0C | char[32] |FFFFC8| Konoko              | character type name; Oni spawns this type when you start the game}}
{{OBDtr2|0x2C | char[32] |C8FFC8| unused              | character type name; if the "upgrade difficulty" bit in the [[OBD:BINA/OBJC/CHAR|Character.BINA]] file is set, Oni spawns this type if you play on hard }}
{{OBDtr| 0x4C | char[20] |C8FFFF| AD DE      | dead  | unused }}
|}


;Note 0:ONCV files are [[OBD:File types/Empty|empty]], except those of level 0.
:An overview of global (level 0) ONCV follows.


;Note 1:The ONCV are used for random [[OBD:ONCC|ONCC]] selection
;Note 1:The ONCV are used for random [[OBD:ONCC|ONCC]] selection
Line 34: Line 49:
:Inter-ONCV linking can serve the same purpose : in notes 1.3 and 2.4 above, any ONCC linking to the ONCV ''via'' another ONCV could also be selected.
:Inter-ONCV linking can serve the same purpose : in notes 1.3 and 2.4 above, any ONCC linking to the ONCV ''via'' another ONCV could also be selected.
:In order to play with that, however, you have to rename a level's ONCV, because originally, only the less general ones are included (not striker.ONCV or any.ONCV)
:In order to play with that, however, you have to rename a level's ONCV, because originally, only the less general ones are included (not striker.ONCV or any.ONCV)
;Example:'''01689-konoko.ONCV''' from '''level0_Final'''
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/oncv_all.gif
{|{{OBDtable}}
|align=center|
{|{{OBDtable}}
|-BGCOLOR="#FFDDBB"
!Offset
!Hex
!Translation
!Meaning
|-
| 0x00
| BGCOLOR="#FF0000" | 01 99 06 00
| 1689
| ALIGN=LEFT | 01689-konoko.ONCV
|-
| 0x04
| BGCOLOR="#FFFF00" | 01 00 00 00
| 0
| ALIGN=LEFT | level 0
|-
| 0x08
| BGCOLOR="#FFC8C8" | 01 82 06 00
| 1666
| ALIGN=LEFT | link to 01666-any.ONCV
|-
| 0x0C
| BGCOLOR="#FFFFC8" COLSPAN=2 | <TT>Konoko</TT><br>+ null char + blank filler
| ALIGN=LEFT | basic ("Easy" and "Normal") character type
|-
| 0x2C
| BGCOLOR="#C8FFC8" COLSPAN=2 | null char + blank filler
| ALIGN=LEFT | "Hard" character type (none here)
|-
| 0x4C
| BGCOLOR="#C8FFFF" | AD DE
| dead
| ALIGN=LEFT | blank filler (fills the file up to a 32 byte multiple)
|}
|}




----
{{OBD_File_Footer | type=ONCV | prev=ONCP | next=ONFA | name=Oni Character Variant | family=Character}}
----
{{OBD_File_Footer|align=right|type=ONCV|prev=ONCP|next=ONFA|name=Oni Character Variant|family=Character|onistuff=oncv}}
1,051

edits