-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathw3-doo.ksy
95 lines (95 loc) · 1.65 KB
/
w3-doo.ksy
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
meta:
id: w3_doo
file-extension: doo
endian: le
imports:
- w3id
params:
- id: use_skin
type: u1
seq:
- id: file_id
type: w3id
- id: version
type: u4
- id: sub_version
type: u4
- id: num_doodad
type: u4
- id: doodad
type: doodad
repeat: expr
repeat-expr: num_doodad
- id: special_doodad_version
type: u4
- id: num_special_doodad
type: u4
- id: special_doodad
type: special_doodad
repeat: expr
repeat-expr: num_special_doodad
types:
doodad:
seq:
- id: id
type: w3id
- id: variation
type: u4
- id: x
type: f4
- id: y
type: f4
- id: z
type: f4
- id: angle
type: f4
- id: scale_x
type: f4
- id: scale_y
type: f4
- id: scale_z
type: f4
- id: skin_id
type: w3id
if: _root.use_skin != 0
- id: flags
type: u1
- id: life
type: u1
- id: random_item_set_ptr
type: u4
if: _root.version == 8
- id: num_item_set
type: u4
if: _root.version == 8
- id: item_set
type: item_set
repeat: expr
repeat-expr: num_item_set
if: _root.version == 8
- id: editor_id
type: u4
item_set:
seq:
- id: num_item
type: u4
- id: item
type: item
repeat: expr
repeat-expr: num_item
item:
seq:
- id: id
type: w3id
- id: chance
type: u4
special_doodad:
seq:
- id: id
type: w3id
- id: x
type: f4
- id: y
type: f4
- id: z
type: f4