-
Notifications
You must be signed in to change notification settings - Fork 9
/
CMP.bt
65 lines (60 loc) · 1.38 KB
/
CMP.bt
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
//------------------------------------------------
//--- 010 Editor v8.0.1 Binary Template
//
// File:
// Authors:
// Version:
// Purpose:
// Category:
// File Mask:
// ID Bytes:
// History:
//------------------------------------------------
struct {
char AOSCP[6] <name="Signature">;
UINT16 ScenBrfCount;
UINT16 ConnCount <name="Number of connections">;
UINT16 Unknown; // 0
UINT16 Unknown; // 1
UINT16 Unknown; // 1
UINT Unknown; // 0
UINT16 Unknown;
UINT16 Unknown;
UINT16 Unknown;
UINT16 Unknown;
UINT16 Unknown;
UINT16 Unknown;
UINT16 Unknown;
UINT16 Unknown;
} HEADER <name="Header">;
struct {
UINT16 NodeIndex <name="Index">;
UINT16 Type <name="Type">; // 2 - scenario, 3 - briefing
UINT16 NextNodeIndex1;
UINT16 NextNodeIndex2;
UINT Unknown; //0
UINT PosX;
UINT PosY;
char ScenarioFileName[260];
char Name[64];
} CAMPAIGN_NODES[HEADER.ScenBrfCount] <name="Nodes">;
struct {
UINT16 NodeIndex1;
UINT16 NodeIndex2;
UINT16 Connection1Type; // 102, 101, 103
UINT16 Connection2Type; // 102, 101, 103
UINT Unknown; // 3, 4
struct {
UINT X;
UINT Y;
UINT Z;
} P1;
struct {
UINT X;
UINT Y;
UINT Z;
} P2;
} CONNECTIONS[HEADER.ConnCount] <name="Connection lines">;
string CompaignTitle <name="Title">;
string CompaignDescription <name="Description">;
string ScriptFileName <name="ScriptFile">;