Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/AI_HS15/data/levels/AITest.oxw @ 10805

Last change on this file since 10805 was 10805, checked in by gania, 8 years ago

Finished groundwork: AI fights enemies like I want it to. TODO implement all the functionality of old AI, like Waypoints, XMLPort

File size: 5.5 KB
Line 
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    <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   
42    <SpaceShip position="<?lua print(-1600+i*200) ?>,<?lua print(-3000-i*500) ?>, -1500 ?>" lookat="0,0,0">
43      <templates>
44        <Template link=spaceshipassff />
45      </templates>
46      <controller>
47        <AIController accuracy=10 team=2>
48        </AIController>
49      </controller>
50    </SpaceShip>
51    <?lua end ?> -->
52 
53   
54    <SpaceShip position="4000, 1500, -1000" lookat="0,0,0">
55      <templates>
56        <Template link=spaceshipassff />
57      </templates>
58      <controller>
59        <DivisionController team=1 formationMode="DIAMOND">
60        </DivisionController>
61      </controller>
62    </SpaceShip>
63    <SpaceShip position="4000 ,1500, -1600 " lookat="0,0,0">
64      <templates>
65        <Template link=spaceshipassff />
66      </templates>
67      <controller>
68        <WingmanController team=1>
69        </WingmanController>
70      </controller>
71    </SpaceShip>
72    <SpaceShip position="4000, 1500, -2200" lookat="0,0,0">
73      <templates>
74        <Template link=spaceshipassff />
75      </templates>
76      <controller>
77        <WingmanController team=1>
78        </WingmanController>
79      </controller>
80    </SpaceShip>
81    <SpaceShip position="6000, 1500, -2800" lookat="0,0,0">
82      <templates>
83        <Template link=spaceshipassff />
84      </templates>
85      <controller>
86        <SectionController team=1>
87        </SectionController>
88      </controller>
89    </SpaceShip>
90    <SpaceShip position="6000, 1500, -1000" lookat="0,0,0">
91      <templates>
92        <Template link=spaceshipassff />
93      </templates>
94      <controller>
95        <DivisionController team=1 formationMode="DIAMOND">
96        </DivisionController>
97      </controller>
98    </SpaceShip>
99    <SpaceShip position="6000 ,1500, -1600 " lookat="0,0,0">
100      <templates>
101        <Template link=spaceshipassff />
102      </templates>
103      <controller>
104        <WingmanController team=1>
105        </WingmanController>
106      </controller>
107    </SpaceShip>
108    <SpaceShip position="6000, 1500, -2200" lookat="0,0,0">
109      <templates>
110        <Template link=spaceshipassff />
111      </templates>
112      <controller>
113        <WingmanController team=1>
114        </WingmanController>
115      </controller>
116    </SpaceShip>
117    <SpaceShip position="6000, 1500, -2800" lookat="0,0,0">
118      <templates>
119        <Template link=spaceshipassff />
120      </templates>
121      <controller>
122        <SectionController team=1>
123        </SectionController>
124      </controller>
125    </SpaceShip>
126 
127   
128    <SpaceShip position="-4000, 1500, -5000" lookat="0,0,0">
129      <templates>
130        <Template link=spaceshipassff />
131      </templates>
132      <controller>
133        <DivisionController team=2 formationMode="FINGER4">
134        </DivisionController>
135      </controller>
136    </SpaceShip>
137    <SpaceShip position="-4000 , 1500, -5600" lookat="0,0,0">
138      <templates>
139        <Template link=spaceshipassff />
140      </templates>
141      <controller>
142        <WingmanController team=2>
143        </WingmanController>
144      </controller>
145    </SpaceShip>
146    <SpaceShip position="-4000, 1500, -6200" lookat="0,0,0">
147      <templates>
148        <Template link=spaceshipassff />
149      </templates>
150      <controller>
151        <WingmanController team=2>
152        </WingmanController>
153      </controller>
154    </SpaceShip>
155    <SpaceShip position="-4000, 1500, -6800 " lookat="0,0,0">
156      <templates>
157        <Template link=spaceshipassff />
158      </templates>
159      <controller>
160        <SectionController team=2>
161        </SectionController>
162      </controller>
163    </SpaceShip>
164
165       <SpaceShip position="-6000, 1500, -5000" lookat="0,0,0">
166      <templates>
167        <Template link=spaceshipassff />
168      </templates>
169      <controller>
170        <DivisionController team=2 formationMode="FINGER4">
171        </DivisionController>
172      </controller>
173    </SpaceShip>
174    <SpaceShip position="-6000 , 1500, -5600" lookat="0,0,0">
175      <templates>
176        <Template link=spaceshipassff />
177      </templates>
178      <controller>
179        <WingmanController team=2>
180        </WingmanController>
181      </controller>
182    </SpaceShip>
183    <SpaceShip position="-6000, 1500, -6200" lookat="0,0,0">
184      <templates>
185        <Template link=spaceshipassff />
186      </templates>
187      <controller>
188        <WingmanController team=2>
189        </WingmanController>
190      </controller>
191    </SpaceShip>
192    <SpaceShip position="-6000, 1500, -6800 " lookat="0,0,0">
193      <templates>
194        <Template link=spaceshipassff />
195      </templates>
196      <controller>
197        <SectionController team=2>
198        </SectionController>
199      </controller>
200    </SpaceShip>
201
202
203   
204   
205
206  </Scene>
207</Level>
208
Note: See TracBrowser for help on using the repository browser.