1 | <LevelInfo |
---|
2 | name = "New AI testing level" |
---|
3 | description = "A level with two opposing new AI teams" |
---|
4 | tags = "test" |
---|
5 | screenshot = "emptylevel.png" |
---|
6 | /> |
---|
7 | |
---|
8 | <?lua |
---|
9 | include("stats.oxo") |
---|
10 | include("HUDTemplates3.oxo") |
---|
11 | include("templates/lodInformation.oxt") |
---|
12 | ?> |
---|
13 | |
---|
14 | <?lua |
---|
15 | include("templates/spaceshipAssff.oxt") |
---|
16 | include("templates/spaceshipPirate.oxt") |
---|
17 | include("templates/spaceshipEscort.oxt") |
---|
18 | include("templates/spaceshipRing.oxt") |
---|
19 | include("templates/spaceshipSwallow.oxt") |
---|
20 | ?> |
---|
21 | |
---|
22 | <Level> |
---|
23 | <templates> |
---|
24 | <Template link=lodtemplate_default /> |
---|
25 | </templates> |
---|
26 | <?lua include("includes/notifications.oxi") ?> |
---|
27 | |
---|
28 | <Scene |
---|
29 | ambientlight = "0.8, 0.8, 0.8" |
---|
30 | skybox = "Orxonox/Starbox" |
---|
31 | > |
---|
32 | |
---|
33 | <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> |
---|
34 | <TeamSpawnPoint team=0 position="-1000,-1000,-1000" lookat="1,1,-1" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
35 | |
---|
36 | <!-- HERE STARTS DEMO FOR THE "WAYPOINTS" --> |
---|
37 | <!-- |
---|
38 | <Model mesh="cube.mesh" scale=8 position=" 0,2000,-600" /> |
---|
39 | <Model mesh="cube.mesh" scale=8 position=" 0,2000,-700" /> |
---|
40 | <Model mesh="cube.mesh" scale=8 position="100,2000,-700" /> |
---|
41 | <Model mesh="cube.mesh" scale=8 position="100,2000,-600" /> |
---|
42 | <Model mesh="cube.mesh" scale=8 position="0,0,0" /> |
---|
43 | |
---|
44 | <SpaceShip position="-1500, 1500, -1000" lookat="0,0,0" team=0 name="ss1"> |
---|
45 | <templates> |
---|
46 | <Template link=spaceshipassff /> |
---|
47 | </templates> |
---|
48 | <controller> |
---|
49 | <DivisionController team=0 formationMode="finger4"> |
---|
50 | <actionpoints> |
---|
51 | <Actionpoint position=" 0,2000,-600" action="FLY" loopStart=true/> |
---|
52 | <Actionpoint position=" 0,2000,-700" action="FLY" /> |
---|
53 | <Actionpoint position="100,2000,-700" action="FLY" /> |
---|
54 | <Actionpoint position="100,2000,-600" action="FLY" loopEnd=true /> |
---|
55 | </actionpoints> |
---|
56 | </DivisionController> |
---|
57 | </controller> |
---|
58 | </SpaceShip> |
---|
59 | --> |
---|
60 | <!-- HERE ENDS DEMO FOR THE "WAYPOINTS" --> |
---|
61 | |
---|
62 | <!-- HERE STARTS DEMO FOR THE ACTIONPOINTS --> |
---|
63 | |
---|
64 | <Model mesh="cube.mesh" scale=8 position="0,0,0" /> |
---|
65 | |
---|
66 | <SpaceShip position="-2000, 1500, -1000" lookat="0,0,0" team=0 name="ss2"> |
---|
67 | <templates> |
---|
68 | <Template link=spaceshipassff /> |
---|
69 | </templates> |
---|
70 | <controller> |
---|
71 | <DivisionController team=0 formationMode="finger4"> |
---|
72 | <actionpoints> |
---|
73 | <Actionpoint position="0,0,0" action="FLY" /> |
---|
74 | <Actionpoint position="-1000,750,-500" action="ATTACK" attack="ss3" /> |
---|
75 | <Actionpoint position="-1000,750,-500" action="PROTECt" protect="fuck" /> |
---|
76 | </actionpoints> |
---|
77 | </DivisionController> |
---|
78 | </controller> |
---|
79 | </SpaceShip> |
---|
80 | <SpaceShip position="-2000, 1900, -1000" lookat="0,0,0" team=0> |
---|
81 | <templates> |
---|
82 | <Template link=spaceshipassff /> |
---|
83 | </templates> |
---|
84 | <controller> |
---|
85 | <SectionController team=0> |
---|
86 | </SectionController> |
---|
87 | </controller> |
---|
88 | </SpaceShip> |
---|
89 | <SpaceShip position="-2000, 2100, -1000" lookat="0,0,0" team=0> |
---|
90 | <templates> |
---|
91 | <Template link=spaceshipassff /> |
---|
92 | </templates> |
---|
93 | <controller> |
---|
94 | <WingmanController team=0> |
---|
95 | </WingmanController> |
---|
96 | </controller> |
---|
97 | </SpaceShip> |
---|
98 | <SpaceShip position="-2000, 2400, -1000" lookat="0,0,0" team=0> |
---|
99 | <templates> |
---|
100 | <Template link=spaceshipassff /> |
---|
101 | </templates> |
---|
102 | <controller> |
---|
103 | <WingmanController team=0> |
---|
104 | </WingmanController> |
---|
105 | </controller> |
---|
106 | </SpaceShip> |
---|
107 | <SpaceShip position="0, 0, 0" lookat="0,0,0" team=2 name="ss4"> |
---|
108 | <templates> |
---|
109 | <Template link=spaceshipassff /> |
---|
110 | </templates> |
---|
111 | </SpaceShip> |
---|
112 | <SpaceShip position="3000, 1000, 2000" lookat="0,0,0" team=2 name="ss3"> |
---|
113 | <templates> |
---|
114 | <Template link=spaceshipassff /> |
---|
115 | </templates> |
---|
116 | </SpaceShip> |
---|
117 | <SpaceShip position="-500, -300, -300" lookat="0,0,0" team=0 name="fuck"> |
---|
118 | <templates> |
---|
119 | <Template link=spaceshipassff /> |
---|
120 | </templates> |
---|
121 | </SpaceShip> |
---|
122 | |
---|
123 | <!-- HERE ENDS DEMO FOR THE ACTIONPOINTS --> |
---|
124 | <!-- HERE STARTS DEMO FOR FIGHTING --> |
---|
125 | <!-- |
---|
126 | <SpaceShip position="-2000, 1500, -1000" lookat="0,0,0" team=0 name="ss2"> |
---|
127 | <templates> |
---|
128 | <Template link=spaceshipassff /> |
---|
129 | </templates> |
---|
130 | <controller> |
---|
131 | <DivisionController team=0 formationMode="finger4"> |
---|
132 | <actionpoints> |
---|
133 | <Actionpoint position="0,0,0" action="ATTACK" attack="ss3" /> |
---|
134 | </actionpoints> |
---|
135 | </DivisionController> |
---|
136 | </controller> |
---|
137 | </SpaceShip> |
---|
138 | <SpaceShip position="-2000, 1900, -1000" lookat="0,0,0" team=0> |
---|
139 | <templates> |
---|
140 | <Template link=spaceshipassff /> |
---|
141 | </templates> |
---|
142 | <controller> |
---|
143 | <SectionController team=0> |
---|
144 | </SectionController> |
---|
145 | </controller> |
---|
146 | </SpaceShip> |
---|
147 | <SpaceShip position="-2000, 2100, -1000" lookat="0,0,0" team=0> |
---|
148 | <templates> |
---|
149 | <Template link=spaceshipassff /> |
---|
150 | </templates> |
---|
151 | <controller> |
---|
152 | <WingmanController team=0> |
---|
153 | </WingmanController> |
---|
154 | </controller> |
---|
155 | </SpaceShip> |
---|
156 | <SpaceShip position="-2000, 2400, -1000" lookat="0,0,0" team=0> |
---|
157 | <templates> |
---|
158 | <Template link=spaceshipassff /> |
---|
159 | </templates> |
---|
160 | <controller> |
---|
161 | <WingmanController team=0> |
---|
162 | </WingmanController> |
---|
163 | </controller> |
---|
164 | </SpaceShip> |
---|
165 | |
---|
166 | <SpaceShip position="2000, -1500, 1000" lookat="0,0,0" team=1 name="ss3"> |
---|
167 | <templates> |
---|
168 | <Template link=spaceshipassff /> |
---|
169 | </templates> |
---|
170 | <controller> |
---|
171 | <DivisionController team=1 formationMode="WALL"> |
---|
172 | <actionpoints> |
---|
173 | <Actionpoint position="0,0,0" action="ATTACk" attack="ss2" /> |
---|
174 | </actionpoints> |
---|
175 | </DivisionController> |
---|
176 | </controller> |
---|
177 | </SpaceShip> |
---|
178 | <SpaceShip position="2000, -1900, 1000" lookat="0,0,0" team=1> |
---|
179 | <templates> |
---|
180 | <Template link=spaceshipassff /> |
---|
181 | </templates> |
---|
182 | <controller> |
---|
183 | <SectionController team=1> |
---|
184 | </SectionController> |
---|
185 | </controller> |
---|
186 | </SpaceShip> |
---|
187 | <SpaceShip position="2000, -2100, 1000" lookat="0,0,0" team=1> |
---|
188 | <templates> |
---|
189 | <Template link=spaceshipassff /> |
---|
190 | </templates> |
---|
191 | <controller> |
---|
192 | <WingmanController team=1> |
---|
193 | </WingmanController> |
---|
194 | </controller> |
---|
195 | </SpaceShip> |
---|
196 | <SpaceShip position="2000, -2400, 1000" lookat="0,0,0" team=1> |
---|
197 | <templates> |
---|
198 | <Template link=spaceshipassff /> |
---|
199 | </templates> |
---|
200 | <controller> |
---|
201 | <WingmanController team=1> |
---|
202 | </WingmanController> |
---|
203 | </controller> |
---|
204 | </SpaceShip> |
---|
205 | --> |
---|
206 | <!-- HERE ENDS DEMO FOR FIGHTING --> |
---|
207 | <!-- HERE STARTS DEMO FOR FORMATIONS --> |
---|
208 | <!-- |
---|
209 | <Model mesh="cube.mesh" scale=8 position=" 0,2000, 0" /> |
---|
210 | <Model mesh="cube.mesh" scale=8 position=" 0,2000,-2000" /> |
---|
211 | <Model mesh="cube.mesh" scale=8 position="2000,2000,-2000" /> |
---|
212 | <Model mesh="cube.mesh" scale=8 position="2000,2000, 0" /> |
---|
213 | |
---|
214 | <SpaceShip position="-1500, 1500, -1000" lookat="0,0,0" team=0 name="ss1"> |
---|
215 | <templates> |
---|
216 | <Template link=spaceshipassff /> |
---|
217 | </templates> |
---|
218 | <controller> |
---|
219 | <DivisionController team=0 formationMode="DIAMOND"> |
---|
220 | <actionpoints> |
---|
221 | <Actionpoint position=" 0,2000, 0" action="FLY" loopStart=true/> |
---|
222 | <Actionpoint position=" 0,2000,-2000" action="FLY" /> |
---|
223 | <Actionpoint position="2000,2000,-2000" action="FLY" /> |
---|
224 | <Actionpoint position="2000,2000, 0" action="FLY" loopEnd=true /> |
---|
225 | </actionpoints> |
---|
226 | </DivisionController> |
---|
227 | </controller> |
---|
228 | </SpaceShip> |
---|
229 | |
---|
230 | <SpaceShip position="-2000, 1900, -1000" lookat="0,0,0" team=0> |
---|
231 | <templates> |
---|
232 | <Template link=spaceshipassff /> |
---|
233 | </templates> |
---|
234 | <controller> |
---|
235 | <SectionController team=0> |
---|
236 | </SectionController> |
---|
237 | </controller> |
---|
238 | </SpaceShip> |
---|
239 | <SpaceShip position="-2000, 2100, -1000" lookat="0,0,0" team=0> |
---|
240 | <templates> |
---|
241 | <Template link=spaceshipassff /> |
---|
242 | </templates> |
---|
243 | <controller> |
---|
244 | <WingmanController team=0> |
---|
245 | </WingmanController> |
---|
246 | </controller> |
---|
247 | </SpaceShip> |
---|
248 | <SpaceShip position="-2000, 2400, -1000" lookat="0,0,0" team=0> |
---|
249 | <templates> |
---|
250 | <Template link=spaceshipassff /> |
---|
251 | </templates> |
---|
252 | <controller> |
---|
253 | <WingmanController team=0> |
---|
254 | </WingmanController> |
---|
255 | </controller> |
---|
256 | </SpaceShip> |
---|
257 | --> |
---|
258 | <!-- HERE ENDS DEMO FOR FORMATIONS --> |
---|
259 | |
---|
260 | |
---|
261 | |
---|
262 | |
---|
263 | </Scene> |
---|
264 | </Level> |
---|
265 | |
---|