OBD:BINA/OBJC/TRGV

From OniGalore
< OBD:BINA‎ | OBJC
Revision as of 21:18, 4 September 2006 by Geyser (talk | contribs)
Jump to navigation Jump to search
ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
SNDG << Other OBJC >> TRIG
TRGV : Trigger Volume
XML tutorial
Overview @ Oni Stuff
OBD.png


bin_r_tv.gif


Hex Translation Meaning
43 4A 42 4F OBJC object
7C 33 00 00 13180 13180 bytes is the length of the following trigger volume part from this position
27 00 00 00 39 identification number for the weapon classes; in every level the same; do not change it
60 01 00 00 352 352 bytes (22 lines) is the lenght of the following package (area edged in black)
Below follows the first package.
56 47 52 54 TRGV trigger volume
ED 1B 00 00 7149 old file ID
00 00 00 00 0 unknown
5C 47 36 44 729.114990 x-position of the trigger volume
00 00 00 00 0.000000 y-position (height) of the trigger volume
73 D8 C9 C3 -403.691009 z-position of the trigger volume
00 00 00 00 0.000000 rotation on the x-axis in degrees
00 00 00 00 0.000000 rotation on the y-axis in degrees
00 00 00 00 0.000000 rotation on the z-axis in degrees
trigger_volume_01 name of the trigger volume
spawn_floor2_guards name of the function, which is called up when you enter the trigger volume
not used name of the function, which is called up when you're inside the trigger volume
not used name of the function, which is called up when you leave the trigger volume
01 1 teams, which can trigger off the trigger volume; it's a bitset; the following teams are possible (values in dec):

0 -  no team
1 -  Konoko
2 -  TCTF
4 -  Syndicate
8 -  Neutral
16 -  SecurityGuard
32 -  RogueKonoko
64 -  Switzerland
128 -  SyndicateAccessory

(Thanks to geyser who figured that out.)
FF FF FF unknown unknown, always the same; maybe only a filler
00 00 F8 41 31.000000 x-dimension of the trigger volume
00 00 4C 42 51.000000 y-dimension (height) of the trigger volume
00 00 08 42 34.000000 z-dimension of the trigger volume
01 00 00 00 1 trigger volume ID
00 00 00 00 0 trigger volume ID of the parent trigger volume, if this one is a child
not used space for notes
81 129 setting of the trigger volume; the settings are stored as bits, so the following settings are possible (values in dec):

0 -  all functions reset
1 -  entry function called up once, rest reset
2 -  inside function called up once, rest reset
4 -  exit function called up once, rest reset
8 -  entry function disabled
16 -  inside function disabled
32 -  exit function disabled
64 -  all functions disabled
128 -  only the player character can fire off the trigger volume

(Thanks to geyser who figured that out.)
00 00 00 00 0 unknown, always zero; maybe only a filler


ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
SNDG << Other OBJC >> TRIG
TRGV : Trigger Volume
[[OBD:File types/{{{family}}}|{{{family}}} file]]