Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

works for the most part, still need to fix Section and Wingman

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