Jump to content

OBD:ONCP: Difference between revisions

424 bytes removed ,  10 September 2007
m
design
m (besser so ^^)
m (design)
Line 1: Line 1:
{{OBD_File_Header|align=center|type=ONCP|prev=ONCC|next=ONCV|name=Oni Character Particle Array|family=Character|onistuff=oncp}}
{{OBD_File_Header | type=ONCP | prev=ONCC | next=ONCV | name=Oni Character Particle Array | family=Character | align=center}}


http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/oncp_a.gif


==Header==
[[image:oncp_a.gif]]
{|{{OBDtable}}
 
|align=center|
 
{|{{OBDtable}}
{{Table}}
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
{{OBDth}}
!Offset
{{OBDtr| 0x00 | res_id  |FF0000| 01 F9 03 00 | 1017       | 01017-.ONCP }}
!Raw hex
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 06 | 3         | level 3 }}
!Value
{{OBDtr| 0x08 | char[20] |00FF00| AD DE       | dead       | unused }}
!Meaning
{{OBDtr| 0x1C | int32    |00FFFF| 0D 00 00 00 | 13         | array size }}
|-
{{OBDtrBK}}
|0x00
{{OBDtr2|0x00 | char[16] |FFC8C8| acid                     | particle name (all entries after the first 00 are useless); (called up from the [[OBD:TRAM/raw0x2C|Particle.TRAM]] file) }}
| BGCOLOR="#FF0000" | 01 F9 03 00
{{OBDtr2|0x10 | char[64] |FFFFC8| env_splash_e01a         | reference to 05799-3RAPenv_splash_e01a.[[OBD:BINA/PAR3|BINA]] of level 0 (all entries after the first 00 are useless) }}
| 1017
{{OBDtr| 0x50 | int16hb  |C8FFC8| FF FF      |-1, high bit| number of the bodypart, which the particle is fixed to (-1 <nowiki>=</nowiki> disabled); if the high bit is set (the high bit is 00 80), the particle isn't fixed to a bodypart, but calculated }}
| ALIGN=LEFT | file ID : 01017-.ONCP
{{OBDtr| 0x52 | int16    |C8FFFF| 5F 00      | 95         | unknown; always the same }}
|-
{{OBDtr| 0x54 | int32    |FFC8FF| 00 00 00 00 | 0         | unknown; always the same }}
|0x04
| BGCOLOR="#FFFF00" | 01 00 00 06
| 3
| ALIGN=LEFT | level ID : level 3
|-
|0x08 - 0x1B
| BGCOLOR="#00FF00" | AD DE
| dead
| ALIGN=LEFT | blank filler
|-
|0x1C
| BGCOLOR="#00FFFF" | 0D 00 00 00
| 13
| ALIGN=LEFT | 13 particles in array (first particle is outlined in black)
|}
|}
==Particle array==
The array starts at 0x20. Every particle is 0x58=88 bytes long.
;Example:acid/env_splash_e01a
Offsets are relative to the start of a particle slot.
{|{{OBDtable}}
|align=center|
{|{{OBDtable}}
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
!Offset
!Raw hex
!Value
!Meaning
|-
|0x00 - 0x0F
| BGCOLOR="#FFC8C8" COLSPAN=2 | <TT>acid</TT> + null char + garbage
| ALIGN=LEFT | label of the particle (used by [[OBD:TRAM/raw0x2C|particle tracks]] of [[OBD:TRAM|TRAM]])
|-
|0x10 - 0x4F
| BGCOLOR="#FFFFC8" COLSPAN=2 | <TT>env_splash_e01a</TT> + null char + garbage
| ALIGN=LEFT | link by name to [[OBD:BINA/Particles|3RAP]] env_splash_e01a.[[OBD:BINA|BINA]] of level 0
|-
|0x50
| BGCOLOR="#C8FFC8"| FFFF
| -1
| ALIGN=LEFT | default [[OBD:TRIA#Bones|bone]] to which particle is linked (-1 = root/none?, 32768 = ?)
|-
|0x52
| BGCOLOR="#C8FFFF"|5F00
| 95
| ALIGN=LEFT | unknown (always the same?)
|-
|0x54
| BGCOLOR="#FFC8FF"| 00000000
| 0
| ALIGN=LEFT | unknown (always the same?)
|}
|}
|}
;Note
;Note
:The ONCP is the list of all the particles (motion trails, combo flashes, etc) that will be available for the [[OBD:ONCC|ONCC]] that links to it.
:The ONCP is the list of all the particles (motion trails, combo flashes, etc) that will be available for the [[OBD:ONCC|ONCC]] that links to it.
Line 79: Line 28:




----
{{OBD_File_Footer | type=ONCP | prev=ONCC | next=ONCV | name=Oni Character Particle Array | family=Character}}
----
{{OBD_File_Footer|align=center|type=ONCP|prev=ONCC|next=ONCV|name=Oni Character Particle Array|family=Character|onistuff=oncp}}
1,051

edits