19,666
edits
(fixing a few things, but not all of them yet) |
m (added family to footer template call) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{OBD OBJC Header | align=center | type=TRGV | prev=SNDG | next=TRIG | name=Trigger Volume}} | {{OBD OBJC Header | align=center | type=TRGV | prev=SNDG | next=TRIG | name=Trigger Volume | stuff=b_tv}} | ||
[[ | [[Image:bin_r_tv.gif]] | ||
{{Table}} | {{Table}} | ||
{{OBDth}} | {{OBDth}} | ||
{{OBDtr| 0x000 | char[4] |FF0000| 43 4A 42 4F | OBJC | | {{OBDtr| 0x000 | char[4] |FF0000| 43 4A 42 4F | OBJC | objects }} | ||
{{OBDtr| 0x004 | int32 |FFFF00| 7C 33 00 00 | 13180 | size of the complete neutral part from this | {{OBDtr| 0x004 | int32 |FFFF00| 7C 33 00 00 | 13180 | size of the complete neutral part from this position in bytes }} | ||
{{OBDtr| 0x008 | int32 |00FF00| 27 00 00 00 | 39 | object | {{OBDtr| 0x008 | int32 |00FF00| 27 00 00 00 | 39 | object list version }} | ||
{{OBDtr| 0x00C | int32 |00FFFF| 60 01 00 00 | 352 | size of the following object in bytes }} | {{OBDtr| 0x00C | int32 |00FFFF| 60 01 00 00 | 352 | size of the following object in bytes }} | ||
{{OBDtrBK|First object (grey outline}} | {{OBDtrBK|First object (grey outline}} | ||
Line 44: | Line 44: | ||
{{OBDtr| 0x0D7 | int32 |8C8CCC| 00 00 00 00 | 0 | trigger volume ID of the parent TV, if this one is a child }} | {{OBDtr| 0x0D7 | int32 |8C8CCC| 00 00 00 00 | 0 | trigger volume ID of the parent TV, if this one is a child }} | ||
{{OBDtr2|0x0DB | char[128]|FF00C8| unused | space for notes }} | {{OBDtr2|0x0DB | char[128]|FF00C8| unused | space for notes }} | ||
{{OBDtr| 0x15B | | {{OBDtr| 0x15B | int32 |F0F096| 81 00 00 00 | 0x80 + 0x01| flags; any combination of the following: | ||
:0x01 - "entry" called only once (otherwise called every time character enters the TV) | :0x01 - "entry" called only once (otherwise called every time character enters the TV) | ||
:0x02 - "inside" called only once (otherwise called at every frame while character is in the TV) | :0x02 - "inside" called only once (otherwise called at every frame while character is in the TV) | ||
Line 54: | Line 53: | ||
:0x40 - "all" disabled (master switch, can be enabled with '''[[trigvolume_enable]] tv_name all 1''') | :0x40 - "all" disabled (master switch, can be enabled with '''[[trigvolume_enable]] tv_name all 1''') | ||
:0x80 - additional restriction: only player characters can fire off the TV | :0x80 - additional restriction: only player characters can fire off the TV | ||
}} | }} | ||
{{OBDtr| | {{OBDtr| 0x15F | |00C864| 00 | 0 | padding }} | ||
|} | |} | ||
;Resetting the trigger volume | ;Resetting the trigger volume | ||
Line 63: | Line 61: | ||
:This one is triggered at every frame (60 times per second) unless the trigger-only-once flag is set. Continuous triggering is typically needed for fire or gas damage. | :This one is triggered at every frame (60 times per second) unless the trigger-only-once flag is set. Continuous triggering is typically needed for fire or gas damage. | ||
; | ;Tool Mode dialog | ||
: | |||
[[Image:Tool dialog - Trigger Volume Properties.png]] | |||
{{OBD OBJC Footer | type=TRGV | prev=SNDG | next=TRIG | name=Trigger Volume | family=Level}} | |||
{{OBD | {{OBD}} |