-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAssetTypeLogicCommand.xsd
More file actions
64 lines (59 loc) · 2.96 KB
/
AssetTypeLogicCommand.xsd
File metadata and controls
64 lines (59 loc) · 2.96 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
<?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="SkirmishAI/AssetTypeAISpecialPower.xsd"/>
<xs:simpleType name="LogicCommandType">
<xs:restriction base="xs:string">
<xs:enumeration value="NONE"/>
<xs:enumeration value="SPECIAL_POWER"/>
<xs:enumeration value="STOP"/>
<xs:enumeration value="OBJECT_UPGRADE"/>
<xs:enumeration value="PLAYER_UPGRADE"/>
<xs:enumeration value="DOZER_CONSTRUCT"/>
<xs:enumeration value="UNIT_BUILD"/>
<xs:enumeration value="EVACUATE"/>
<xs:enumeration value="EXIT_CONTAINER"/>
<xs:enumeration value="SET_STANCE"/>
<xs:enumeration value="ATTACK_MOVE"/>
<xs:enumeration value="CANCEL_UNIT_BUILD"/>
<xs:enumeration value="CANCEL_UPGRADE"/>
<xs:enumeration value="CONSTRUCTION_YARD_CONSTRUCT"/>
<xs:enumeration value="HORDE_TOGGLE_FORMATION"/>
<xs:enumeration value="GARRISON_BUILDING"/>
<xs:enumeration value="COLLECT"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="LogicCommandOptions">
<xs:restriction base="xs:string">
<xs:enumeration value="NEED_TARGET_ENEMY_OBJECT"/>
<xs:enumeration value="NEED_TARGET_NEUTRAL_OBJECT"/>
<xs:enumeration value="NEED_TARGET_ALLY_OBJECT"/>
<xs:enumeration value="FIRED_BY_SCRIPT"/>
<xs:enumeration value="OPTION_ONE"/>
<xs:enumeration value="OPTION_TWO"/>
<xs:enumeration value="OPTION_THREE"/>
<xs:enumeration value="AUTO_ABILITY_TRIGGERED"/>
<xs:enumeration value="NEED_TARGET_POS"/>
<xs:enumeration value="NEED_TARGET_ORIENTATION"/>
<xs:enumeration value="OK_FOR_MULTI_EXECUTE"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="LogicCommandOptionsBitFlags">
<xs:list itemType="LogicCommandOptions"/>
</xs:simpleType>
<xs:complexType name="LogicCommand" xas:runtimeWrapper="::LogicCommand" xas:typeGroup="Xml">
<xs:complexContent>
<xs:extension base="BaseInheritableAsset">
<xs:sequence>
<xs:element name="SpecialPower" type="SpecialPowerTemplateRef" minOccurs="0" maxOccurs="1"/>
<xs:element name="Upgrade" type="UpgradeTemplateRef" minOccurs="0" maxOccurs="1" />
<xs:element name="Object" type="GameObjectRef" minOccurs="0" maxOccurs="1" />
<xs:element name="AISpecialPowerInfo" type="AISpecialPowerInfo" minOccurs="0" maxOccurs="1"/>
<!-- This is now specified in the SpecialPowerTemplate, UpgradeTemplate, or GameObject as appropriate - asc 11/06 -->
<!-- <xs:element name="GameDependency" type="GameDependencyType" minOccurs="0" maxOccurs="1" /> -->
</xs:sequence>
<xs:attribute name="Type" type="LogicCommandType" default="NONE"/>
<xs:attribute name="Options" type="LogicCommandOptionsBitFlags" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>