Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10848 was 10847, checked in by gania, 9 years ago

I hope that you don't code today, that version is not compilable just yet

File size: 4.3 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=1 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="0, 1500, -1000" lookat="0,0,0" team=0 name="ss2">
65      <templates>
66        <Template link=spaceshipassff />
67      </templates>
68      <controller>
69        <DivisionController team=12>
70          <actionpoints>
71            <Actionpoint position="12,34,56" action="PROTECT" protectMe=true />
72            <Actionpoint position="12,34,56" action="FLY" />
73          </actionpoints>
74        </DivisionController>
75      </controller>
76    </SpaceShip>
77   
78   <!--  <SpaceShip position="4000 ,1500, -1600 " 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="4000, 1500, -2200" 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="4000, 1500, -2800 " 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="-4000, 1500, -2800 " lookat="0,0,0" team=0 name="FUCK">
106      <templates>
107        <Template link=spaceshipassff />
108      </templates>
109      <controller>
110        <SectionController team=0>
111        </SectionController>
112      </controller>
113    </SpaceShip> -->
114   
115    <!-- <SpaceShip position="-4000, 1500, -5000" lookat="0,0,0">
116      <templates>
117        <Template link=spaceshipassff />
118      </templates>
119      <controller>
120        <DivisionController team=2 formationMode="wall" action="FIGHT">
121        </DivisionController>
122      </controller>
123    </SpaceShip>
124    <SpaceShip position="-4000 , 1500, -5600" lookat="0,0,0">
125      <templates>
126        <Template link=spaceshipassff />
127      </templates>
128      <controller>
129        <WingmanController team=2>
130        </WingmanController>
131      </controller>
132    </SpaceShip>
133    <SpaceShip position="-4000, 1500, -6200" lookat="0,0,0">
134      <templates>
135        <Template link=spaceshipassff />
136      </templates>
137      <controller>
138        <WingmanController team=2>
139        </WingmanController>
140      </controller>
141    </SpaceShip>
142    <SpaceShip position="-4000, 1500, -6800 " lookat="0,0,0">
143      <templates>
144        <Template link=spaceshipassff />
145      </templates>
146      <controller>
147        <SectionController team=2>
148        </SectionController>
149      </controller>
150    </SpaceShip> -->
151
152   
153   
154
155  </Scene>
156</Level>
157
Note: See TracBrowser for help on using the repository browser.