Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Fixed some bugs, only DivisionController works for now

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