-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
CGameCtnMacroBlockInfo.chunkl
137 lines (120 loc) · 2.29 KB
/
CGameCtnMacroBlockInfo.chunkl
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
CGameCtnMacroBlockInfo 0x0310D000
- inherits: CGameCtnCollector
0x000 [MP4, TM2020] // block spawns
list<BlockSpawn> BlockSpawns
0x001 [MP4, TM2020] // block skin spawns
list<BlockSkinSpawn> BlockSkinSpawns
0x002 [MP4, TM2020] // card events spawns
list<CardEventsSpawn> CardEventsSpawns
0x006 [MP4, TM2020]
int = 2
data // SceneDecals?
0x007
CGameCtnMediaClipGroup
CGameCtnMediaClipGroup
CMwNod
0x008 [MP4, TM2020]
CGameCtnAutoTerrain[]_deprec AutoTerrains
int
int
0x00B (skippable) [MP4, TM2020] // script metadata
0x00C (skippable) [MP4.v2, TM2020.v2] // splines
version = 2
v0=
CMwNod[]_deprec
CPlugSpline3D[]_deprec
CMwNod[]_deprec
CMwNod[]_deprec
int
int
int
v2+
return
CMwNod[]_deprec
0x00D
version
0x00E [MP4.v2, TM2020.v2] // object spawns
version
list<ObjectSpawn> ObjectSpawns
v2-
v1+
int2[]
v3+
int4[]
0x00F [MP4, TM2020]
version
int3
int3
int3[]
0x010 (skippable) [MP4, TM2020]
version
int IconSize
0x011 (skippable) [MP4, TM2020] // clips
archive BlockSpawn
int Version
ident BlockModel
if Version < 2
int3 Coord
int<Direction> Direction
if Version >= 2
if Version < 5
byte3 Coord
byte<Direction> Direction
int Flags
if Version >= 3
if Version >= 5
if ((Flags >> 26) & 1) != 0
vec3 AbsolutePositionInMap
vec3 PitchYawRoll
if ((Flags >> 26) & 1) == 0
byte3 Coord
byte<Direction> Direction
CGameWaypointSpecialProperty Waypoint
if Version >= 4
if Version < 6
CMwNod
if Version >= 8
short
archive BlockSkinSpawn
int Version
CGameCtnBlockSkin Skin
if Version == 0
int3 // its position?
int BlockSpawnIndex
archive CardEventsSpawn
int Version
ident[]
int3
archive ObjectSpawn
int Version
ident ItemModel
if Version < 3
byte QuarterY
if Version >= 1
byte AdditionalDir
if Version >= 3
vec3 PitchYawRoll
int3 BlockCoord
id AnchorTreeId
vec3 AbsolutePositionInMap
if Version < 5
int U01
if Version < 6
int U02
if Version >= 6
short U03
if Version >= 7
vec3 PivotPosition
if Version >= 8
CGameWaypointSpecialProperty Waypoint
if Version >= 9
float Scale
if Version >= 10
int3 U04
if Version >= 14
int U05
boolbyte U06
if U06
packdesc PackDesc
packdesc ForegroundPackDesc
int U07