[957778]: vvcformat.txt  Maximize  Restore  History

Download this file

97 lines (85 with data), 3.4 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
VVC files format
FileExtension : VVC
Content : The description of VVC - VEF Video Cell files
History : Description by Manveru (09.07.2001)
Update : Manveru (26.07.2001)
Malnefein (major update 03.08.2001)
Avenger (major update 05.22.2004)
Visual 'spell casting' effects with sounds attached. This kind of file call a BAM file and sometimes a sound one for playing 3D graphical effect. They are called by some script actions like CreateVisualEffect or CreateVisualEffectObject - they are not hardcoded in exe and could be simply made and put in override to use even without chitin.key reference. VVCs are used in the "Play 3D effect" in spells and items.
These files have constant length 1ECh bytes.
Offset Size (data type) Description
0x0000 4 (char array) Signature ('VVC ')
0x0004 4 (char array) Version ('V1.0')
0x0008 8 (resref) Reference to the BAM file - the animation of spell (in BG2 SPELAnim.bif) usually
0x0010 8 (resref ?) unknown
0x0018 1 (dword) various flags, broken up by bytes below:
0x0018 1 (Byte)
Bit 1:
Bit 2: Half transparent
Bit 4: //if this bit was set, then 0x10 should contain non-zero, probably a transparency mask???
Bit 8: Blended (dark parts are transparent)
Bit 0x10: Mirror Y axis if required
Bit 0x20: Mirror X axis if required
Bit 0x40:
Bit 0x80:
0x0019 1 (byte)
Bit 1:
Bit 2:
Bit 4:
Bit 8:
Bit 0x10:
Bit 0x20:
Bit 0x40:
Bit 0x80:
0x001a 1 (byte)
Bit 1: Tint1
Bit 2: Tint2 (both tint flags need to be set for lightmap tint)
Bit 4:
Bit 8: Greyscale
Bit 0x10:
Bit 0x20: Glowing
Bit 0x40:
Bit 0x80:
0x001b 1 (byte)
Bit 1:
Bit 2: Red Tint ???
Bit 4:
Bit 8:
Bit 0x10:
Bit 0x20:
Bit 0x40:
Bit 0x80:
0x001c 4 (dword) unknown, always 0, Useless?
0x0020 4 (dword) This field indicates the following :
Bit 1: looping second sequence
Bit 2: ?
Bit 4: position used?
Bit 8: explosion sound (secondary)/BAM used?
Bit 0x10: ?
Bit 0x20: ?
Bit 0x40: not covered by walls
Bit 0x80: ?
0x0024 4 (dword) unknown
0x0028 4 (dword) X position (used with 0x0020 if it is set to 0C or 0D, as Y and Z). 00 is the smallest.
0x002c 4 (dword) Distance between the feets of the character and the BAM. 00 is the highest and FF is the lowest. Y position.
0x0030 4 (dword) unknown, Useless?
0x0034 4 (dword) Frame rate. 01 is the slowest. I would suggest you to not go above 20, a too high fame rate crash the game. Usually 0Fh in original game files
0x0038 4 (dword) unknown
0x003c 4 (dword) unknown
0x0040 4 (dword) position
0x0044 4 (dword) unknown
0x0048 4 (dword) unknown
0x004c 4 (dword) Distance between the head of the character and the BAM. 00 is the lowest and FF is the highest. (Almost as 0x002c) Z position.
0x0050 4 (dword) unknown
0x0054 8 (resref ?) unknown
0x005c 4 (dword) duration, default set to FFFF FFFF
0x0060 8 (resref ?) unknown, always 0
0x0068 4 (dword) First sequence of the BAM to play.
0x006c 4 (dword) Second sequence of the BAM to play.
0x0070 8 (resref ?) unknown
0x0078 8 (resref) resref to the WAVC file (usually from SFXSound.bif in BG2) - sound of starting sequences of animation
0x0080 8 (resref) resref to the WAVC file (usually from SFXSound.bif in BG2) - sound of animation in its duration
0x0088 8 (resref ?) unknown, unused
0x0090 4 cycle number of 3rd bam sequence
0x0094 8 (resref) sound resource of 3rd sequence (release)
0x009c 336 (bytes) unknown, unused

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks