OBD:BINA/OBJC/TRGV: Difference between revisions

From OniGalore
< OBD:BINA‎ | OBJC
Jump to navigation Jump to search
mNo edit summary
m (design)
Line 1: Line 1:
{{OBD OBJC Header|align=center|type=TRGV|prev=SNDG|next=TRIG|name=Trigger Volume|onistuff=b_tv}}
{{OBD OBJC Header | align=center | type=TRGV | prev=SNDG | next=TRIG | name=Trigger Volume}}
----
----
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_tv.gif




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
[[image:bin_r_tv.gif]]
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
 
| WIDTH=15% | <B>Hex</B>
 
| WIDTH=15% | <B>Translation</B>
{{Table}}
| WIDTH=70% | <B>Meaning</B>
{{OBDth}}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x000 | char[4]  |FF0000| 43 4A 42 4F | OBJC       | object collection }}
| BGCOLOR="#FF0000" | 43 4A 42 4F
{{OBDtr| 0x004 | int32    |FFFF00| 7C 33 00 00 | 13180     | size of the complete neutral part from this postion in bytes }}
| OBJC
{{OBDtr| 0x008 | int32    |00FF00| 27 00 00 00 | 39         | unknown; do not change it }}
| ALIGN=LEFT | object
{{OBDtr| 0x00C | int32    |00FFFF| 60 01 00 00 | 352       | size of the following object in bytes }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtrBK|First object (grey outline}}
| BGCOLOR="#FFFF00" | 7C 33 00 00
{{OBDtr| 0x000 | char[4]  |FFC8C8| 56 47 52 54 | TRGV       | trigger volume }}
| 13180
{{OBDtr| 0x004 | int32    |FFFFC8| ED 1B 00 00 | 7149       | old file ID }}
| ALIGN=LEFT | 13180 bytes is the length of the following trigger volume part from this position
{{OBDtr| 0x008 | int32    |C8FFC8| 00 00 00 00 | 0         | unknown }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x00C | float    |C8FFFF| 5C 47 36 44 | 729.114990 | x-position of trigger volume }}
| BGCOLOR="#00FF00" | 27 00 00 00
{{OBDtr| 0x010 | float    |C8FFFF| 00 00 00 00 | 0.000000   | y-position (height) of trigger volume }}
| 39
{{OBDtr| 0x014 | float    |C8FFFF| 73 D8 C9 C3 | -403.691009| z-position of trigger volume }}
| ALIGN=LEFT | identification number for the weapon classes; in every level the same; do not change it  
{{OBDtr| 0x018 | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the x-axis in degrees }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x01C | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the y-axis in degrees }}
| BGCOLOR="#00FFFF" | 60 01 00 00
{{OBDtr| 0x020 | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the z-axis in degrees }}
| 352
{{OBDtr2|0x024 | char[63] |FFC800| Give VDG Pistol ...      | trigger volume name  }}
| ALIGN=LEFT | 352 bytes (22 lines) is the lenght of the following package (area edged in black)
{{OBDtr2|0x063 | char[32] |C800C8| spawn_floor2_guards     | enter function; called up when you enter the trigger volume }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr2|0x083 | char[32] |C87C64| unused                  | inside function; called up when you're inside the trigger volume }}
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
{{OBDtr2|0x0A3 | char[32] |B0C3D4| unused                  | exit function; called up when you leave the trigger volume }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x0C3 | bitset  |E7CEA5| 01         | 1         | teams, which can trigger off the trigger volume; the following bits are possible:
| BGCOLOR="#FFC8C8" | 56 47 52 54
 
| TRGV
 
| ALIGN=LEFT | trigger volume
:00 - no team
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
:01 - Konoko
| BGCOLOR="#FFFFC8" | ED 1B 00 00
:02 - TCTF
| 7149
:04 - Syndicate
| ALIGN=LEFT | old file ID
:08 - Neutral
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
:10 - SecurityGuard
| BGCOLOR="#C8FFC8" | 00 00 00 00
:20 - RogueKonoko
| 0
:40 - Switzerland
| ALIGN=LEFT | unknown
:80 - SyndicateAccessory
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
 
| BGCOLOR="#C8FFFF" | 5C 47 36 44
 
| 729.114990
}}
| ALIGN=LEFT | x-position of the trigger volume
{{OBDtr| 0x0C4 | int24    |FFDDDD| FF FF FF   | unknown   | unknown, always the same; maybe only a filler }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x0C7 | float    |64AAAA| 00 00 F8 41 | 31.000000 | x-dimension of the trigger volume }}
| BGCOLOR="#C8FFFF" | 00 00 00 00
{{OBDtr| 0x0CB | float    |64AAAA| 00 00 4C 42 | 51.000000 | y-dimension of the trigger volume }}
| 0.000000
{{OBDtr| 0x0CF | float    |64AAAA| 00 00 08 42 | 34.000000 | z-dimension of the trigger volume }}
| ALIGN=LEFT | y-position (height) of the trigger volume
{{OBDtr| 0x0D3 | int32    |EBEBEB| 01 00 00 00 | 1         | trigger volume ID }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x0D7 | int32    |8C8CCC| 00 00 00 00 | 0         | trigger volume ID of the parent trigger volume, if this one is a child }}
| BGCOLOR="#C8FFFF" | 73 D8 C9 C3
{{OBDtr2|0x0DB | char[128]|FF00C8| unused                  | space for notes }}
| -403.691009
{{OBDtr| 0x15B | bitset  |F0F096| 81         | 129       | trigger volume flags; the following bits are possible:
| ALIGN=LEFT | z-position of the trigger volume
 
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
 
| BGCOLOR="#FFC8FF" | 00 00 00 00
:00 - all functions reset
| 0.000000
:01 - entry function called up once, rest reset
| ALIGN=LEFT | rotation on the x-axis in degrees
:02 - inside function called up once, rest reset
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
:04 - exit function called up once, rest reset
| BGCOLOR="#FFC8FF" | 00 00 00 00
:08 - entry function disabled
| 0.000000
:10 - inside function disabled
| ALIGN=LEFT | rotation on the y-axis in degrees
:20 - exit function disabled
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
:40 - all functions disabled
| BGCOLOR="#FFC8FF" | 00 00 00 00
:80 - only the player character can fire off the trigger volume
| 0.000000
 
| ALIGN=LEFT | rotation on the z-axis in degrees
 
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
}}
| BGCOLOR="#FFC800" COLSPAN=2 | <TT>trigger_volume_01</TT>
{{OBDtr| 0x15C | int32    |00C864| 00 00 00 00 | 0         | unknown, always zero; maybe only a filler }}
| ALIGN=LEFT | name of the trigger volume
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" COLSPAN=2 | <TT>spawn_floor2_guards</TT>
| ALIGN=LEFT | name of the function, which is called up when you enter the trigger volume
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C87C64" COLSPAN=2 | not used
| ALIGN=LEFT | name of the function, which is called up when you're inside the trigger volume
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#B0C3D4" COLSPAN=2 | not used
| ALIGN=LEFT | name of the function, which is called up when you leave the trigger volume
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#E7CEA5" | 01
| 1
| ALIGN=LEFT | teams, which can trigger off the trigger volume; it's a bitset; the following teams are possible (values in dec):<BR><BR>
{| BORDER=0 CELLPADDING=0 CELLSPACING=0
|- VALIGN=TOP
| ALIGN=RIGHT | 0 -&nbsp;
| no team
|- VALIGN=TOP
| ALIGN=RIGHT | 1 -&nbsp;
| Konoko
|- VALIGN=TOP
| ALIGN=RIGHT | 2 -&nbsp;
| TCTF
|- VALIGN=TOP
| ALIGN=RIGHT | 4 -&nbsp;
| Syndicate
|- VALIGN=TOP
| ALIGN=RIGHT | 8 -&nbsp;
| Neutral
|- VALIGN=TOP
| ALIGN=RIGHT | 16 -&nbsp;
| SecurityGuard
|- VALIGN=TOP
| ALIGN=RIGHT | 32 -&nbsp;
| RogueKonoko
|- VALIGN=TOP
| ALIGN=RIGHT | 64 -&nbsp;
| Switzerland
|- VALIGN=TOP
| ALIGN=RIGHT | 128 -&nbsp;
| SyndicateAccessory
|}<BR>(Thanks to geyser who figured that out.)<BR>
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFDDDD" | FF FF FF
| unknown
| ALIGN=LEFT | unknown, always the same; maybe only a filler
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#64AAAA" | 00 00 F8 41
| 31.000000
| ALIGN=LEFT | x-dimension of the trigger volume
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#64AAAA" | 00 00 4C 42
| 51.000000
| ALIGN=LEFT | y-dimension (height) of the trigger volume
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#64AAAA" | 00 00 08 42
| 34.000000
| ALIGN=LEFT | z-dimension of the trigger volume
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#EBEBEB" | 01 00 00 00
| 1
| ALIGN=LEFT | trigger volume ID
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#8C8CCC" | 00 00 00 00
| 0
| ALIGN=LEFT | trigger volume ID of the parent trigger volume, if this one is a child
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FF00C8" COLSPAN=2 | not used
| ALIGN=LEFT | space for notes
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#F0F096" | 81
| 129
| ALIGN=LEFT | setting of the trigger volume; the settings are stored as bits, so the following settings are possible (values in dec):<BR><BR>
{| BORDER=0 CELLPADDING=0 CELLSPACING=0
|- VALIGN=TOP
| ALIGN=RIGHT | 0 -&nbsp;
| all functions reset
|- VALIGN=TOP
| ALIGN=RIGHT | 1 -&nbsp;
| entry function called up once, rest reset
|- VALIGN=TOP
| ALIGN=RIGHT | 2 -&nbsp;
| inside function called up once, rest reset
|- VALIGN=TOP
| ALIGN=RIGHT | 4 -&nbsp;
| exit function called up once, rest reset
|- VALIGN=TOP
| ALIGN=RIGHT | 8 -&nbsp;
| entry function disabled
|- VALIGN=TOP
| ALIGN=RIGHT | 16 -&nbsp;
| inside function disabled
|- VALIGN=TOP
| ALIGN=RIGHT | 32 -&nbsp;
| exit function disabled
|- VALIGN=TOP
| ALIGN=RIGHT | 64 -&nbsp;
| all functions disabled
|- VALIGN=TOP
| ALIGN=RIGHT | 128 -&nbsp;
| only the player character can fire off the trigger volume
|}<BR>(Thanks to geyser who figured that out.)<BR>
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#00C864" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown, always zero; maybe only a filler
|}
|}
----
 
----
 
{{OBD OBJC Footer|align=center|type=TRGV|prev=SNDG|next=TRIG|name=Trigger Volume|onistuff=b_tv}}
;Bluebox screenshot
 
http://ssg.oni2.net/subfold/bluebox/images/212_trigger_volume_properties.jpg
 
:Wahl = Choose
:Abbrechen = Cancel
:Speichern = Save
 
{{OBD OBJC Footer | type=TRGV | prev=SNDG | next=TRIG | name=Trigger Volume}}

Revision as of 18:41, 25 September 2007

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


Offset Type Raw Hex Value Description
0x000 char[4] 43 4A 42 4F OBJC object collection
0x004 int32 7C 33 00 00 13180 size of the complete neutral part from this postion in bytes
0x008 int32 27 00 00 00 39 unknown; do not change it
0x00C int32 60 01 00 00 352 size of the following object in bytes
First object (grey outline
0x000 char[4] 56 47 52 54 TRGV trigger volume
0x004 int32 ED 1B 00 00 7149 old file ID
0x008 int32 00 00 00 00 0 unknown
0x00C float 5C 47 36 44 729.114990 x-position of trigger volume
0x010 float 00 00 00 00 0.000000 y-position (height) of trigger volume
0x014 float 73 D8 C9 C3 -403.691009 z-position of trigger volume
0x018 float 00 00 00 00 0.000000 rotation on the x-axis in degrees
0x01C float 00 00 00 00 0.000000 rotation on the y-axis in degrees
0x020 float 00 00 00 00 0.000000 rotation on the z-axis in degrees
0x024 char[63] Give VDG Pistol ... trigger volume name
0x063 char[32] spawn_floor2_guards enter function; called up when you enter the trigger volume
0x083 char[32] unused inside function; called up when you're inside the trigger volume
0x0A3 char[32] unused exit function; called up when you leave the trigger volume
0x0C3 bitset 01 1 teams, which can trigger off the trigger volume; the following bits are possible:


00 - no team
01 - Konoko
02 - TCTF
04 - Syndicate
08 - Neutral
10 - SecurityGuard
20 - RogueKonoko
40 - Switzerland
80 - SyndicateAccessory


0x0C4 int24 FF FF FF unknown unknown, always the same; maybe only a filler
0x0C7 float 00 00 F8 41 31.000000 x-dimension of the trigger volume
0x0CB float 00 00 4C 42 51.000000 y-dimension of the trigger volume
0x0CF float 00 00 08 42 34.000000 z-dimension of the trigger volume
0x0D3 int32 01 00 00 00 1 trigger volume ID
0x0D7 int32 00 00 00 00 0 trigger volume ID of the parent trigger volume, if this one is a child
0x0DB char[128] unused space for notes
0x15B bitset 81 129 trigger volume flags; the following bits are possible:


00 - all functions reset
01 - entry function called up once, rest reset
02 - inside function called up once, rest reset
04 - exit function called up once, rest reset
08 - entry function disabled
10 - inside function disabled
20 - exit function disabled
40 - all functions disabled
80 - only the player character can fire off the trigger volume


0x15C int32 00 00 00 00 0 unknown, always zero; maybe only a filler


Bluebox screenshot

212_trigger_volume_properties.jpg

Wahl = Choose
Abbrechen = Cancel
Speichern = Save
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]]