Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

introduced loops

File size: 5.8 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    <TeamSpawnPoint 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<!--                 <ActionPoint position="12,34,56" action="FIGHT" enemy="ss" />
54 -->
55<!--     <SpaceShip position="2000, 1500, -1000" lookat="0,0,0" team=0 name="ss1">
56      <templates>
57        <Template link=spaceshipassff />
58      </templates>
59      <controller>
60        <DivisionController formationMode="wall" action="PROTECT" protect="FUCK" team=0>
61        </DivisionController>
62      </controller>
63    </SpaceShip> -->
64    <SpaceShip position="-1500, 1500, -1000" lookat="0,0,0" team=0 name="ss1">
65      <templates>
66        <Template link=spaceshipassff />
67      </templates>
68      <controller>
69        <DivisionController team=0 formationMode="finger4">
70          <actionpoints>
71            <Actionpoint position="-1000,1000,-1000" action="FLY" loopStart=true />
72            <Actionpoint position="-1250,1250,-500" action="FLY" />
73            <Actionpoint position="-1500,1500,-1000" action="FLY" loopEnd=true />
74          </actionpoints>
75        </DivisionController>
76      </controller>
77    </SpaceShip>
78    <SpaceShip position="-2000, 1500, -1000" lookat="0,0,0" team=0 name="ss2">
79      <templates>
80        <Template link=spaceshipassff />
81      </templates>
82      <controller>
83        <DivisionController team=0 formationMode="finger4">
84          <actionpoints>
85            <Actionpoint position="0,0,0" action="FLY" />
86            <Actionpoint position="-1000,750,-500" action="ATTACK" enemy="ss3" />
87            <Actionpoint position="-1000,750,-500" action="PROTECt" protect="fuck" />
88          </actionpoints>
89        </DivisionController>
90      </controller>
91    </SpaceShip>
92    <SpaceShip position="-2000, 1900, -1000" lookat="0,0,0" team=0>
93      <templates>
94        <Template link=spaceshipassff />
95      </templates>
96      <controller>
97        <SectionController team=0>
98        </SectionController>
99      </controller>
100    </SpaceShip>
101    <SpaceShip position="0, 0, 0" lookat="0,0,0" team=2 name="ss4">
102      <templates>
103        <Template link=spaceshipassff />
104      </templates>
105    </SpaceShip>
106    <SpaceShip position="1000, 300, 200" lookat="0,0,0" team=2 name="ss3">
107      <templates>
108        <Template link=spaceshipassff />
109      </templates>
110    </SpaceShip>
111    <SpaceShip position="-500, -300, -300" lookat="0,0,0" team=0 name="fuck">
112      <templates>
113        <Template link=spaceshipassff />
114      </templates>
115    </SpaceShip>
116   <!--  <SpaceShip position="4000 ,1500, -1600 " lookat="0,0,0" team=0>
117      <templates>
118        <Template link=spaceshipassff />
119      </templates>
120      <controller>
121        <WingmanController team=0>
122        </WingmanController>
123      </controller>
124    </SpaceShip>
125    <SpaceShip position="4000, 1500, -2200" lookat="0,0,0" team=0>
126      <templates>
127        <Template link=spaceshipassff />
128      </templates>
129      <controller>
130        <WingmanController team=0>
131        </WingmanController>
132      </controller>
133    </SpaceShip>
134    <SpaceShip position="4000, 1500, -2800 " lookat="0,0,0" team=0>
135      <templates>
136        <Template link=spaceshipassff />
137      </templates>
138      <controller>
139        <SectionController team=0>
140        </SectionController>
141      </controller>
142    </SpaceShip>
143    <SpaceShip position="-4000, 1500, -2800 " lookat="0,0,0" team=0 name="FUCK">
144      <templates>
145        <Template link=spaceshipassff />
146      </templates>
147      <controller>
148        <SectionController team=0>
149        </SectionController>
150      </controller>
151    </SpaceShip> -->
152   
153    <!-- <SpaceShip position="-4000, 1500, -5000" lookat="0,0,0">
154      <templates>
155        <Template link=spaceshipassff />
156      </templates>
157      <controller>
158        <DivisionController team=2 formationMode="wall" action="FIGHT">
159        </DivisionController>
160      </controller>
161    </SpaceShip>
162    <SpaceShip position="-4000 , 1500, -5600" lookat="0,0,0">
163      <templates>
164        <Template link=spaceshipassff />
165      </templates>
166      <controller>
167        <WingmanController team=2>
168        </WingmanController>
169      </controller>
170    </SpaceShip>
171    <SpaceShip position="-4000, 1500, -6200" lookat="0,0,0">
172      <templates>
173        <Template link=spaceshipassff />
174      </templates>
175      <controller>
176        <WingmanController team=2>
177        </WingmanController>
178      </controller>
179    </SpaceShip>
180    <SpaceShip position="-4000, 1500, -6800 " lookat="0,0,0">
181      <templates>
182        <Template link=spaceshipassff />
183      </templates>
184      <controller>
185        <SectionController team=2>
186        </SectionController>
187      </controller>
188    </SpaceShip> -->
189
190   
191   
192
193  </Scene>
194</Level>
195
Note: See TracBrowser for help on using the repository browser.