1 | <LevelInfo |
---|
2 | name = "AI testing level" |
---|
3 | description = "A level with two opposing 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 | <SpawnPoint team=0 position="-1000,-1000,-1000" lookat="1,1,-1" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
35 | <!--> |
---|
36 | |
---|
37 | <?lua |
---|
38 | for i = 0, 5, 1 do |
---|
39 | ?> |
---|
40 | |
---|
41 | <StaticEntity position="0,-10000,0" direction="0,-1,0" > |
---|
42 | <controller> |
---|
43 | <FleetController team=1> |
---|
44 | </FleetController> |
---|
45 | </controller> |
---|
46 | </StaticEntity> |
---|
47 | <StaticEntity position="0,10000,0" direction="0,-1,0" > |
---|
48 | <controller> |
---|
49 | <FleetController team=2> |
---|
50 | </FleetController> |
---|
51 | </controller> |
---|
52 | </StaticEntity> |
---|
53 | <SpaceShip position="<?lua print(1600+i*200) ?>,<?lua print(3000-i*500) ?>, -1500 ?>" lookat="0,0,0"> |
---|
54 | <templates> |
---|
55 | <Template link=spaceshipassff /> |
---|
56 | </templates> |
---|
57 | <controller> |
---|
58 | <AIController accuracy=10 team=1> |
---|
59 | </AIController> |
---|
60 | </controller> |
---|
61 | </SpaceShip> |
---|
62 | <?lua end ?> |
---|
63 | </!--> |
---|
64 | <SpaceShip position="0,-10000,0" direction="0,-1,0" > |
---|
65 | <templates> |
---|
66 | <Template link=spaceshipassff /> |
---|
67 | </templates> |
---|
68 | <controller> |
---|
69 | <FleetController team=1> |
---|
70 | </FleetController> |
---|
71 | </controller> |
---|
72 | </SpaceShip> |
---|
73 | <?lua |
---|
74 | for i = 0, 0, 1 do |
---|
75 | ?> |
---|
76 | |
---|
77 | |
---|
78 | <SpaceShip position="<?4000 ?>,<?lua print(1500+i*1000) ?>, -1000 ?>" lookat="0,0,0"> |
---|
79 | <templates> |
---|
80 | <Template link=spaceshipassff /> |
---|
81 | </templates> |
---|
82 | <controller> |
---|
83 | <DivisionController team=1 formationMode="DIAMOND"> |
---|
84 | </DivisionController> |
---|
85 | </controller> |
---|
86 | </SpaceShip> |
---|
87 | <!-- <SpaceShip position="<?1000 ?>,<?lua print(1500+i*1000) ?>, -1600 ?>" lookat="0,0,0"> |
---|
88 | <templates> |
---|
89 | <Template link=spaceshipassff /> |
---|
90 | </templates> |
---|
91 | <controller> |
---|
92 | <WingmanController team=1> |
---|
93 | </WingmanController> |
---|
94 | </controller> |
---|
95 | </SpaceShip> |
---|
96 | <SpaceShip position="<?1000 ?>,<?lua print(1500+i*1000) ?>, -2200 ?>" lookat="0,0,0"> |
---|
97 | <templates> |
---|
98 | <Template link=spaceshipassff /> |
---|
99 | </templates> |
---|
100 | <controller> |
---|
101 | <WingmanController team=1> |
---|
102 | </WingmanController> |
---|
103 | </controller> |
---|
104 | </SpaceShip> |
---|
105 | <SpaceShip position="<?1000 ?>,<?lua print(1500+i*1000) ?>, -2800 ?>" lookat="0,0,0"> |
---|
106 | <templates> |
---|
107 | <Template link=spaceshipassff /> |
---|
108 | </templates> |
---|
109 | <controller> |
---|
110 | <SectionController team=1> |
---|
111 | </SectionController> |
---|
112 | </controller> |
---|
113 | </SpaceShip> --> |
---|
114 | <?lua end ?> |
---|
115 | <!-- <SpaceShip position="4000, 1500, -1300 ?>" lookat="0,0,0"> |
---|
116 | <templates> |
---|
117 | <Template link=spaceshipassff /> |
---|
118 | </templates> |
---|
119 | <controller> |
---|
120 | <WingmanController team=2> |
---|
121 | </WingmanController> |
---|
122 | </controller> |
---|
123 | </SpaceShip> --> |
---|
124 | <!-- |
---|
125 | <?lua |
---|
126 | for i = 0, 0, 1 do |
---|
127 | ?> |
---|
128 | |
---|
129 | <StaticEntity position="1000,-10000,0" direction="0,-1,0" > |
---|
130 | <controller> |
---|
131 | <FleetController team=2> |
---|
132 | </FleetController> |
---|
133 | </controller> |
---|
134 | </StaticEntity> |
---|
135 | <SpaceShip position="<?50000 ?>,<?lua print(1500+i*1000) ?>, -1000 ?>" lookat="0,0,0"> |
---|
136 | <templates> |
---|
137 | <Template link=spaceshipassff /> |
---|
138 | </templates> |
---|
139 | <controller> |
---|
140 | <DivisionController team=2> |
---|
141 | </DivisionController> |
---|
142 | </controller> |
---|
143 | </SpaceShip> |
---|
144 | <SpaceShip position="<?50000 ?>,<?lua print(1500+i*1000) ?>, -1600 ?>" lookat="0,0,0"> |
---|
145 | <templates> |
---|
146 | <Template link=spaceshipassff /> |
---|
147 | </templates> |
---|
148 | <controller> |
---|
149 | <WingmanController team=2> |
---|
150 | </WingmanController> |
---|
151 | </controller> |
---|
152 | </SpaceShip> |
---|
153 | <SpaceShip position="<?50000 ?>,<?lua print(1500+i*1000) ?>, -2200 ?>" lookat="0,0,0"> |
---|
154 | <templates> |
---|
155 | <Template link=spaceshipassff /> |
---|
156 | </templates> |
---|
157 | <controller> |
---|
158 | <WingmanController team=2> |
---|
159 | </WingmanController> |
---|
160 | </controller> |
---|
161 | </SpaceShip> |
---|
162 | <SpaceShip position="<?50000 ?>,<?lua print(1500+i*1000) ?>, -2800 ?>" lookat="0,0,0"> |
---|
163 | <templates> |
---|
164 | <Template link=spaceshipassff /> |
---|
165 | </templates> |
---|
166 | <controller> |
---|
167 | <SectionController team=2> |
---|
168 | </SectionController> |
---|
169 | </controller> |
---|
170 | </SpaceShip> |
---|
171 | <?lua end ?> --> |
---|
172 | |
---|
173 | <!-- |
---|
174 | |
---|
175 | <StaticEntity position = "-1000, -1000, -1000"> |
---|
176 | |
---|
177 | <controller> |
---|
178 | <FleetController accuracy=10 team=1 > |
---|
179 | </FleetController> |
---|
180 | </controller> |
---|
181 | </StaticEntity> |
---|
182 | |
---|
183 | <SpaceShip position="1000, 1000, -1300 ?>" lookat="0,0,0"> |
---|
184 | <templates> |
---|
185 | <Template link=spaceshipassff /> |
---|
186 | </templates> |
---|
187 | <controller> |
---|
188 | <DivisionController team=1> |
---|
189 | </DivisionController> |
---|
190 | </controller> |
---|
191 | </SpaceShip> |
---|
192 | <SpaceShip position="1000, 1500, -1300 ?>" lookat="0,0,0"> |
---|
193 | <templates> |
---|
194 | <Template link=spaceshipassff /> |
---|
195 | </templates> |
---|
196 | <controller> |
---|
197 | <WingmanController team=1> |
---|
198 | </WingmanController> |
---|
199 | </controller> |
---|
200 | </SpaceShip> |
---|
201 | <SpaceShip position="1000, 1500, -1700 ?>" lookat="0,0,0"> |
---|
202 | <templates> |
---|
203 | <Template link=spaceshipassff /> |
---|
204 | </templates> |
---|
205 | <controller> |
---|
206 | <WingmanController team=1> |
---|
207 | </WingmanController> |
---|
208 | </controller> |
---|
209 | </SpaceShip> |
---|
210 | <SpaceShip position="1000, 1000, -1900 ?>" lookat="0,0,0"> |
---|
211 | <templates> |
---|
212 | <Template link=spaceshipassff /> |
---|
213 | </templates> |
---|
214 | <controller> |
---|
215 | <SectionController team=1> |
---|
216 | </SectionController> |
---|
217 | </controller> |
---|
218 | </SpaceShip> |
---|
219 | |
---|
220 | |
---|
221 | <StaticEntity position = "-1000, -1000, -2000"> |
---|
222 | |
---|
223 | <controller> |
---|
224 | <FleetController accuracy=10 team=2 > |
---|
225 | </FleetController> |
---|
226 | </controller> |
---|
227 | </StaticEntity> |
---|
228 | |
---|
229 | <SpaceShip position="4000, 1000, -1300 ?>" lookat="0,0,0"> |
---|
230 | <templates> |
---|
231 | <Template link=spaceshipassff /> |
---|
232 | </templates> |
---|
233 | <controller> |
---|
234 | <DivisionController team=2> |
---|
235 | </DivisionController> |
---|
236 | </controller> |
---|
237 | </SpaceShip> |
---|
238 | <SpaceShip position="4000, 1500, -1300 ?>" lookat="0,0,0"> |
---|
239 | <templates> |
---|
240 | <Template link=spaceshipassff /> |
---|
241 | </templates> |
---|
242 | <controller> |
---|
243 | <WingmanController team=2> |
---|
244 | </WingmanController> |
---|
245 | </controller> |
---|
246 | </SpaceShip> |
---|
247 | <SpaceShip position="4000, 1500, -1700 ?>" lookat="0,0,0"> |
---|
248 | <templates> |
---|
249 | <Template link=spaceshipassff /> |
---|
250 | </templates> |
---|
251 | <controller> |
---|
252 | <WingmanController team=2> |
---|
253 | </WingmanController> |
---|
254 | </controller> |
---|
255 | </SpaceShip> |
---|
256 | <SpaceShip position="4000, 1000, -1900 ?>" lookat="0,0,0"> |
---|
257 | <templates> |
---|
258 | <Template link=spaceshipassff /> |
---|
259 | </templates> |
---|
260 | <controller> |
---|
261 | <SectionController team=2> |
---|
262 | </SectionController> |
---|
263 | </controller> |
---|
264 | </SpaceShip> --> |
---|
265 | |
---|
266 | |
---|
267 | <!--> |
---|
268 | <?lua |
---|
269 | for i = 0, 5, 1 do |
---|
270 | ?> |
---|
271 | <SpaceShip position="<?lua print(1600+i*200) ?>,3000, 6000 ?>" lookat="0,0,0"> |
---|
272 | <templates> |
---|
273 | <Template link=spaceshipassff /> |
---|
274 | </templates> |
---|
275 | <controller> |
---|
276 | <AIController accuracy=10 team=2> |
---|
277 | </AIController> |
---|
278 | </controller> |
---|
279 | </SpaceShip> |
---|
280 | <?lua end ?> |
---|
281 | </!--> |
---|
282 | |
---|
283 | </Scene> |
---|
284 | </Level> |
---|
285 | |
---|