Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10709 was 10709, checked in by gania, 9 years ago

Restructured

File size: 2.8 KB
Line 
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="-2000,-1000,3000" lookat="0,0,0" 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   
65    <SpaceShip position = "-1000, -1000, -1000">
66      <templates>
67        <Template link=spaceshipassff />
68      </templates>
69      <controller>
70        <FleetController accuracy=10 team=1 >
71        </FleetController>
72      </controller>
73    </SpaceShip>
74   
75    <SpaceShip position="1000, 1000, -1500 ?>" lookat="0,0,0">
76      <templates>
77        <Template link=spaceshipassff />
78      </templates>
79      <controller>
80        <WingmanController team=1>
81        </WingmanController>
82      </controller>
83    </SpaceShip>
84    <SpaceShip position="1000, 1000, -1900 ?>" lookat="0,0,0">
85      <templates>
86        <Template link=spaceshipassff />
87      </templates>
88      <controller>
89        <WingmanController team=1>
90        </WingmanController>
91      </controller>
92    </SpaceShip>
93    <!-->
94    <?lua
95      for i = 0, 5, 1 do
96    ?>
97    <SpaceShip position="<?lua print(1600+i*200) ?>,3000, 6000 ?>" lookat="0,0,0">
98      <templates>
99        <Template link=spaceshipassff />
100      </templates>
101      <controller>
102        <AIController accuracy=10 team=2>
103        </AIController>
104      </controller>
105    </SpaceShip>
106    <?lua end ?>
107    </!-->
108
109  </Scene>
110</Level>
111
Note: See TracBrowser for help on using the repository browser.