Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

some comments added

File size: 3.4 KB
RevLine 
[10655]1<LevelInfo
[10805]2 name = "New AI testing level"
3 description = "A level with two opposing new AI teams"
[10655]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"/>
[10731]34    <SpawnPoint team=0 position="-1000,-1000,-1000" lookat="1,1,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
[10805]35    >
36<!--
[10655]37    <?lua
38      for i = 0, 5, 1 do
39    ?>
[10709]40
[10805]41   
42    <SpaceShip position="<?lua print(-1600+i*200) ?>,<?lua print(-3000-i*500) ?>, -1500 ?>" lookat="0,0,0">
[10655]43      <templates>
44        <Template link=spaceshipassff />
45      </templates>
46      <controller>
[10805]47        <AIController accuracy=10 team=2>
[10655]48        </AIController>
49      </controller>
50    </SpaceShip>
[10805]51    <?lua end ?> -->
52 
[10709]53   
[10805]54    <SpaceShip position="4000, 1500, -1000" lookat="0,0,0">
[10759]55      <templates>
56        <Template link=spaceshipassff />
57      </templates>
58      <controller>
59        <DivisionController team=1 formationMode="DIAMOND">
60        </DivisionController>
61      </controller>
62    </SpaceShip>
[10805]63    <SpaceShip position="4000 ,1500, -1600 " lookat="0,0,0">
[10759]64      <templates>
65        <Template link=spaceshipassff />
66      </templates>
67      <controller>
68        <WingmanController team=1>
69        </WingmanController>
70      </controller>
71    </SpaceShip>
[10805]72    <SpaceShip position="4000, 1500, -2200" lookat="0,0,0">
[10759]73      <templates>
74        <Template link=spaceshipassff />
75      </templates>
76      <controller>
77        <WingmanController team=1>
78        </WingmanController>
79      </controller>
80    </SpaceShip>
[10826]81    <SpaceShip position="4000, 1500, -2800 " lookat="0,0,0">
[10759]82      <templates>
83        <Template link=spaceshipassff />
84      </templates>
85      <controller>
86        <SectionController team=1>
87        </SectionController>
88      </controller>
[10805]89    </SpaceShip>
[10709]90   
[10805]91    <SpaceShip position="-4000, 1500, -5000" lookat="0,0,0">
[10709]92      <templates>
93        <Template link=spaceshipassff />
94      </templates>
95      <controller>
[10805]96        <DivisionController team=2 formationMode="FINGER4">
[10725]97        </DivisionController>
[10717]98      </controller>
99    </SpaceShip>
[10805]100    <SpaceShip position="-4000 , 1500, -5600" lookat="0,0,0">
[10717]101      <templates>
102        <Template link=spaceshipassff />
103      </templates>
104      <controller>
[10805]105        <WingmanController team=2>
[10709]106        </WingmanController>
107      </controller>
108    </SpaceShip>
[10805]109    <SpaceShip position="-4000, 1500, -6200" lookat="0,0,0">
[10725]110      <templates>
111        <Template link=spaceshipassff />
112      </templates>
113      <controller>
[10805]114        <WingmanController team=2>
[10725]115        </WingmanController>
116      </controller>
117    </SpaceShip>
[10805]118    <SpaceShip position="-4000, 1500, -6800 " lookat="0,0,0">
[10717]119      <templates>
120        <Template link=spaceshipassff />
121      </templates>
122      <controller>
[10805]123        <SectionController team=2>
[10719]124        </SectionController>
[10717]125      </controller>
126    </SpaceShip>
[10722]127
[10805]128   
[10722]129   
[10655]130
131  </Scene>
132</Level>
133
Note: See TracBrowser for help on using the repository browser.