19,499
edits
mNo edit summary |
m (copy-edit) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
[[ | All ONCV files are 0 byte files. That means that Oni takes the information out of the ONCV files of level 0. | ||
[[Image:oncv_all.gif]] | |||
Line 11: | Line 15: | ||
{{OBDtr| 0x08 | link |FFC8C8| 01 82 06 00 | 1666 | link to 01666-any.ONCV }} | {{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|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| | {{OBDtr2|0x2C | char[32] |C8FFC8| unused | character type name; if the "upgrade difficulty" bit in the [[OBD:BINA/OBJC/CHAR|BINA/CHAR]] is set, Oni spawns this type if you play on Hard }} | ||
{{OBDtr| 0x4C | char[20] |C8FFFF| AD DE | dead | unused }} | {{OBDtr| 0x4C | char[20] |C8FFFF| AD DE | dead | unused }} | ||
|} | |} | ||
;Note 1:The | ;Note 1: The ONCVs are used for random [[OBD:ONCC|ONCC]] selection (e.g. spawning striker_easy_1, striker_easy_2 or striker_easy_3, at random). | ||
:If character variants are enabled (in [[OBD:BINA/OBJC/CHAR|BINA/CHAR]]): | |||
:If character variants are enabled (in [[OBD:BINA/OBJC/CHAR| | :#The ONCC specified in BINA/CHAR is selected. | ||
:# | :#The ONCV link in that ONCC is looked up. | ||
:# | :#The actual ONCC is chosen at random from all ONCCs linking to the ONCV. | ||
:# | |||
In order to experiment with this, you have to change the ONCV links in several | In order to experiment with this, you have to change the ONCV links in several ONCCs. For example: | ||
: | :Make '''ONCCstriker_easy_1''', '''ONCCstriker_easy_2''' and '''ONCstriker_easy_3''' link to '''ONCVstriker_hard''' and vice versa: | ||
and vice | :Make '''ONCCstriker_hard_1''', '''ONCCstriker_hard_2''' and '''ONCCstriker_hard_3''' link to '''ONCVstriker_easy'''. | ||
: | Then you won't notice any change for those spawns where the character variant was disabled, and for those where it's enabled, you'll get hard Strikers instead of easy ones and vice versa. | ||
Then you won't notice any change for those spawns where the character variant was disabled, | |||
;Note 2:The ONCV | ;Note 2: The ONCV defines the "harder" characters spawned on Hard mode (if enabled in BINA/CHAR). If "harder character variants" are enabled (in BINA/CHAR): | ||
:#The ONCC specified in BINA/CHAR is selected. | |||
:# | :#The ONCV link in that ONCC is looked up. | ||
:# | :#The "harder" ONCV name in that ONCV is looked up. | ||
:# | :#The actual ONCC is chosen at random from all ONCCs linking to that new ONCV. | ||
:# | :#In case there is no matching ONCC, the ONCC in step 1 is kept. | ||
:# | Thus, if you take e.g. '''ONCVninja_med''' and replace the string "ninja_hard" with "striker_hard" (not forgetting about the null char), you'll have a surprise at the start of Rooftops. In fact, anywhere where you used to have a blue Ninja on Easy and Normal, | ||
Thus, if you take e.g. ''' | and a red one on Hard, you'll have a red ''Striker'' on Hard. Nice, eh? (If you want a ''real'' challenge, just try "Konoko"....) | ||
(not forgetting about the null char), you'll have a surprise at the start of Rooftops | |||
and a red one on Hard, you'll have a red ''Striker'' on Hard. Nice, eh? | |||
( | |||
;Note 3 | ;Note 3: ONCVkonoko links to ONCVany, which links to nothing. | ||
: | :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 | :In order to play with that, however, you have to rename a level's ONCV, because originally only the more specific ones are included (not ONCVstriker or ONCVany). | ||
:In order to play with that, however, you have to rename a level's ONCV, because originally | |||