Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

major change: introduced Actionpoints, look AITest.oxw. Only FLY works for now

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