Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/campaignHS15/data/levels/AITest.oxw @ 10836

Last change on this file since 10836 was 10834, checked in by maxima, 9 years ago

AI_HS15 merged into campaignHS15

File size: 3.4 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="wall" action="FIGHT">
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="4000, 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   
91    <SpaceShip position="-4000, 1500, -5000" lookat="0,0,0">
92      <templates>
93        <Template link=spaceshipassff />
94      </templates>
95      <controller>
96        <DivisionController team=2 formationMode="wall" action="FIGHT">
97        </DivisionController>
98      </controller>
99    </SpaceShip>
100    <SpaceShip position="-4000 , 1500, -5600" lookat="0,0,0">
101      <templates>
102        <Template link=spaceshipassff />
103      </templates>
104      <controller>
105        <WingmanController team=2>
106        </WingmanController>
107      </controller>
108    </SpaceShip>
109    <SpaceShip position="-4000, 1500, -6200" lookat="0,0,0">
110      <templates>
111        <Template link=spaceshipassff />
112      </templates>
113      <controller>
114        <WingmanController team=2>
115        </WingmanController>
116      </controller>
117    </SpaceShip>
118    <SpaceShip position="-4000, 1500, -6800 " lookat="0,0,0">
119      <templates>
120        <Template link=spaceshipassff />
121      </templates>
122      <controller>
123        <SectionController team=2>
124        </SectionController>
125      </controller>
126    </SpaceShip>
127
128   
129   
130
131  </Scene>
132</Level>
133
Note: See TracBrowser for help on using the repository browser.