-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAssetTypeGameMap.xsd
More file actions
143 lines (122 loc) · 5.75 KB
/
AssetTypeGameMap.xsd
File metadata and controls
143 lines (122 loc) · 5.75 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
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
138
139
140
141
142
143
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="uri:ea.com:eala:asset" xmlns:at="uri:ea.com:eala:asset:type" xmlns:xas="uri:ea.com:eala:asset:schema" targetNamespace="uri:ea.com:eala:asset" elementFormDefault="qualified" xmlns:XmlEdit="http://tempuri.org/XmlEdit.xsd">
<xs:include schemaLocation="Includes/Ref.xsd"/>
<xs:include schemaLocation="Includes/MetaDataCommon.xsd"/>
<xs:simpleType name="MapObjectFlagType">
<xs:restriction base="xs:string">
<xs:enumeration value="DRAWS_IN_MIRROR" />
<xs:enumeration value="ROAD_POINT1" />
<xs:enumeration value="ROAD_POINT2" />
<xs:enumeration value="OBSOLETE_BRIDGE_POINT1" />
<xs:enumeration value="OBSOLETE_BRIDGE_POINT2" />
<xs:enumeration value="ROAD_CORNER_TIGHT" />
<xs:enumeration value="ROAD_JOIN" />
<xs:enumeration value="DONT_RENDER" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="MapObjectBitFlags">
<xs:list itemType="MapObjectFlagType"></xs:list>
</xs:simpleType>
<xs:complexType name="StringPropertyPair">
<xs:attribute name="Key" type="xs:string" />
<xs:attribute name="Value" type="xs:string" />
</xs:complexType>
<xs:complexType name="BoolPropertyPair">
<xs:attribute name="Key" type="xs:string" />
<xs:attribute name="Value" type="SageBool" />
</xs:complexType>
<xs:complexType name="IntPropertyPair">
<xs:attribute name="Key" type="xs:string" />
<xs:attribute name="Value" type="SageInt" />
</xs:complexType>
<xs:complexType name="RealPropertyPair">
<xs:attribute name="Key" type="xs:string" />
<xs:attribute name="Value" type="SageReal" />
</xs:complexType>
<xs:complexType name="AssetIdPropertyPair">
<xs:attribute name="Key" type="xs:string" />
<xs:attribute name="Value" type="BaseAssetReference"/>
</xs:complexType>
<xs:complexType name="AssetIdListPropertyPair">
<xs:attribute name="Key" type="xs:string" />
<xs:attribute name="Value" type="AssetIdList" />
</xs:complexType>
<xs:complexType name="Dictionary">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="BoolProperty" type="BoolPropertyPair" />
<xs:element name="IntProperty" type="IntPropertyPair" />
<xs:element name="RealProperty" type="RealPropertyPair" />
<xs:element name="StringProperty" type="StringPropertyPair" />
<xs:element name="UnicodeStringProperty" type="StringPropertyPair" />
<xs:element name="AssetIdProperty" type="AssetIdPropertyPair" />
<xs:element name="AssetIdListProperty" type="AssetIdListPropertyPair" />
</xs:choice>
</xs:complexType>
<xs:complexType name="MapObject">
<xs:sequence>
<xs:element name="Position" type="Vector3" />
</xs:sequence>
<xs:attribute name="id" type="Poid" xas:refType="MapObject" />
<xs:attribute name="ThingTemplate" type="AssetReference" xas:refType="GameObject" />
<xs:attribute name="Flags" type="MapObjectBitFlags" />
<xs:attribute name="Angle" type="SageReal" />
</xs:complexType>
<xs:complexType name="MapObjectUSP">
<xs:complexContent>
<xs:extension base="MapObject">
<xs:attribute name="Faction" type="xs:string" />
<xs:attribute name="Team" type="xs:string" />
<xs:attribute name="Health" type="SageReal" />
<xs:attribute name="EventList" type="xs:string" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="EnvironmentObject">
<xs:attribute name="Cloud" type="TextureRef" />
<xs:attribute name="Macro" type="TextureRef" />
<xs:attribute name="Environment" type="TextureRef" />
</xs:complexType>
<xs:complexType name="RoadObject">
<xs:attribute name="id" type="AssetReference" xas:refType="Road" />
</xs:complexType>
<xs:complexType name="PostEffectObject">
<xs:attribute name="Effect" type="TextureRef" />
</xs:complexType>
<xs:simpleType name="WaterBodyType">
<xs:restriction base="xs:string">
<xs:enumeration value="INTERIOR"/>
<xs:enumeration value="EXTERIOR"/>
<xs:enumeration value="EXTERIOR_PARTIAL"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="MapAnalysisType">
<xs:sequence>
<xs:element name="WaterAreaType" type="WaterBodyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="GarrisonableStructures" type="xs:int" default="0"/>
<xs:attribute name="TechStructures" type="xs:int" default="0"/>
<xs:attribute name="CellsExamined" type="xs:int" default="0"/>
<xs:attribute name="WaterCells" type="xs:int" default="0"/>
<xs:attribute name="WaterAreas" type="xs:int" default="0"/>
</xs:complexType>
<xs:complexType name="GameMap" xas:typeGroup="Xml">
<xs:complexContent>
<xs:extension base="BaseAssetType">
<xs:sequence>
<xs:element name="Waypoint" type="MapObject" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="Structure" type="MapObjectUSP" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="Unit" type="MapObjectUSP" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="Prop" type="MapObjectUSP" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="Audio" type="MapObject" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="Unknown" type="MapObject" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="Road" type="RoadObject" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="MapMetaData" type="MetaDataObject" minOccurs="0" maxOccurs="1" xas:pipelineOnly="true"/>
<xs:element name="EnvironmentData" type="EnvironmentObject" minOccurs="0" maxOccurs="1" />
<xs:element name="WorldDict" type="Dictionary" minOccurs="0" maxOccurs="1" />
<xs:element name="PostEffect" type="PostEffectObject" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="MapAnalysis" type="MapAnalysisType" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>