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
RevLine 
[10655]1<LevelInfo
[10805]2 name = "New AI testing level"
3 description = "A level with two opposing new AI teams"
[10655]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"/>
[10849]34    <TeamSpawnPoint team=0 position="-1000,-1000,-1000" lookat="1,1,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
[10838]35   
[10805]36<!--
[10655]37    <?lua
38      for i = 0, 5, 1 do
39    ?>
[10709]40
[10805]41   
42    <SpaceShip position="<?lua print(-1600+i*200) ?>,<?lua print(-3000-i*500) ?>, -1500 ?>" lookat="0,0,0">
[10655]43      <templates>
44        <Template link=spaceshipassff />
45      </templates>
46      <controller>
[10805]47        <AIController accuracy=10 team=2>
[10655]48        </AIController>
49      </controller>
50    </SpaceShip>
[10805]51    <?lua end ?> -->
52 
[10847]53<!--                 <ActionPoint position="12,34,56" action="FIGHT" enemy="ss" />
54 -->
[10849]55<!--     <SpaceShip position="2000, 1500, -1000" lookat="0,0,0" team=0 name="ss1">
[10759]56      <templates>
57        <Template link=spaceshipassff />
58      </templates>
59      <controller>
[10838]60        <DivisionController formationMode="wall" action="PROTECT" protect="FUCK" team=0>
[10759]61        </DivisionController>
62      </controller>
[10849]63    </SpaceShip> -->
64    <SpaceShip position="-2000, 1500, -1000" lookat="0,0,0" team=1 name="ss2">
[10847]65      <templates>
66        <Template link=spaceshipassff />
67      </templates>
68      <controller>
[10849]69        <DivisionController team=1>
[10847]70          <actionpoints>
[10849]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" />
[10847]75          </actionpoints>
76        </DivisionController>
77      </controller>
78    </SpaceShip>
[10849]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>
[10843]94   <!--  <SpaceShip position="4000 ,1500, -1600 " lookat="0,0,0" team=0>
[10759]95      <templates>
96        <Template link=spaceshipassff />
97      </templates>
98      <controller>
[10840]99        <WingmanController team=0>
[10759]100        </WingmanController>
101      </controller>
102    </SpaceShip>
[10838]103    <SpaceShip position="4000, 1500, -2200" lookat="0,0,0" team=0>
[10759]104      <templates>
105        <Template link=spaceshipassff />
106      </templates>
107      <controller>
[10840]108        <WingmanController team=0>
[10759]109        </WingmanController>
110      </controller>
111    </SpaceShip>
[10838]112    <SpaceShip position="4000, 1500, -2800 " lookat="0,0,0" team=0>
[10759]113      <templates>
114        <Template link=spaceshipassff />
115      </templates>
116      <controller>
[10840]117        <SectionController team=0>
[10759]118        </SectionController>
119      </controller>
[10805]120    </SpaceShip>
[10838]121    <SpaceShip position="-4000, 1500, -2800 " lookat="0,0,0" team=0 name="FUCK">
122      <templates>
123        <Template link=spaceshipassff />
124      </templates>
125      <controller>
[10840]126        <SectionController team=0>
[10838]127        </SectionController>
128      </controller>
[10843]129    </SpaceShip> -->
[10709]130   
[10838]131    <!-- <SpaceShip position="-4000, 1500, -5000" lookat="0,0,0">
[10709]132      <templates>
133        <Template link=spaceshipassff />
134      </templates>
135      <controller>
[10832]136        <DivisionController team=2 formationMode="wall" action="FIGHT">
[10725]137        </DivisionController>
[10717]138      </controller>
139    </SpaceShip>
[10805]140    <SpaceShip position="-4000 , 1500, -5600" lookat="0,0,0">
[10717]141      <templates>
142        <Template link=spaceshipassff />
143      </templates>
144      <controller>
[10805]145        <WingmanController team=2>
[10709]146        </WingmanController>
147      </controller>
148    </SpaceShip>
[10805]149    <SpaceShip position="-4000, 1500, -6200" lookat="0,0,0">
[10725]150      <templates>
151        <Template link=spaceshipassff />
152      </templates>
153      <controller>
[10805]154        <WingmanController team=2>
[10725]155        </WingmanController>
156      </controller>
157    </SpaceShip>
[10805]158    <SpaceShip position="-4000, 1500, -6800 " lookat="0,0,0">
[10717]159      <templates>
160        <Template link=spaceshipassff />
161      </templates>
162      <controller>
[10805]163        <SectionController team=2>
[10719]164        </SectionController>
[10717]165      </controller>
[10838]166    </SpaceShip> -->
[10722]167
[10805]168   
[10722]169   
[10655]170
171  </Scene>
172</Level>
173
Note: See TracBrowser for help on using the repository browser.