OBD:ONWC: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 9: Line 9:
|}
|}
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.
;Example: '''w1_tap.ONWC'''
;Example: '''w1_tap.ONWC''' (unless specified otherwise)
;Structure:Chunk with the main weapon data (216 = 0xD8 bytes)
;Structure
:Fixed-size array of 2 elements (128 = 0x80 bytes each) for firing modes
*Chunk with the main weapon data (216 = 0xD8 bytes)
:Fixed-size array of 16 elements (80 = 0x50 bytes each) for weapon particles
*Fixed-size array of 2 elements (128 = 0x80 bytes each) for firing modes
:68-byte trailing chunk
*Fixed-size array of 16 elements (80 = 0x50 bytes each) for weapon particles
:blank filler (up to a file size of 1824 = 0x720 bytes)
*68-byte trailing chunk
*Blank filler (for a total file size of 1824 = 0x720 bytes)