5,391
edits
mNo edit summary |
mNo edit summary |
||
Line 15: | Line 15: | ||
|} | |} | ||
There's an [[OBD:File types|empty]] ONWC file in every level, and the 12 actual ONWC files are in level 0. | There's an [[OBD:File types|empty]] ONWC file in every level, and the 12 actual ONWC files are in level 0. | ||
;File size:1824 = 0x720 bytes | |||
;Example: '''w1_tap.ONWC''' (unless specified otherwise) | ;Example: '''w1_tap.ONWC''' (unless specified otherwise) | ||
;Structure | ;Structure | ||
*MAIN WEAPON DATA (216 = 0xD8 bytes) | *0x08 - 0xD7 : MAIN WEAPON DATA (216 = 0xD8 bytes) | ||
**0x08 - 0x53 : laser sight | **0x08 - 0x53 : laser sight | ||
**0x54 - 0x5F : ammo meter | **0x54 - 0x5F : ammo meter | ||
**0x60 - 0xD7 : various weapon parameters | **0x60 - 0xD7 : various weapon parameters | ||
*FIRING MODE ARRAY (2 elements, 128 = 0x80 bytes each) | *0xD8 - 0x1D7 : FIRING MODE ARRAY (2 elements, 128 = 0x80 bytes each) | ||
** | **0xD8 - 0x157 : primary firing mode | ||
** | **0x158 - 0x1D7 : secondary firing mode | ||
*WEAPON PARTICLE ARRAY (16 elements, 80 = 0x50 bytes each) | *0x1D8 - 0x6DC : WEAPON PARTICLE ARRAY (16 elements, 80 = 0x50 bytes each) | ||
* | *0x6D8 - 0x71F : TRAILING CHUNK (68 =0x48 bytes) | ||
**weapon sounds, unheld weapon parameters, blank filler | |||
;Coordinates | ;Coordinates | ||
:Unless specified otherwise, they are relative to the weapon's mesh | :Unless specified otherwise, they are relative to the weapon's mesh | ||
Line 753: | Line 754: | ||
---- | ---- | ||
---- | ---- | ||
== | ==0x6D8 - 0x71F== | ||
;ENDING | ;ENDING | ||
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/onwc_e.gif | http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/onwc_e.gif |