Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/campaignHS15/data/levels/turretTest.oxw @ 10804

Last change on this file since 10804 was 10216, checked in by landauf, 10 years ago

merged branch presentationFS14 back to trunk

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1<!-- -->
2
3<LevelInfo
4 name = "turret Test"
5 description = "A level to test turrets with."
6 tags = "test"
7 screenshot = "emptylevel.png"
8/>
9
10<?lua
11  include("stats.oxo")
12  include("HUDTemplates3.oxo")
13  include("templates/lodInformation.oxt")
14?>
15
16<?lua
17  include("templates/spaceshipAssff.oxt")
18  include("templates/standardTurret.oxt")
19?>
20
21<Level>
22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
25  <?lua include("includes/notifications.oxi") ?>
26
27  <Scene
28    ambientlight = "0.8, 0.8, 0.8"
29    skybox       = "Orxonox/Starbox"
30  >
31    <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"/>
32    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
33
34<SpaceShip position = "0,0,800" collisionType="dynamic" team=10>
35  <controller>
36    <TeamTargetProxy team=10/>
37  </controller>
38  <attached>
39    <Model position="0,0,0" mesh="plane.mesh" scale3D="20,20,20" pitch=-90/>
40
41    <?lua for i = 1, 10, 1 do ?>
42      <Turret position="<?lua print(150-i*30) ?>,<?lua print(150-i*30) ?>,0" pitch="0" yaw="0" roll="0">
43        <templates>
44          <Template link=standardturret />
45        </templates>
46      </Turret>
47    <?lua end ?>
48
49  </attached>
50  <collisionShapes>
51    <BoxCollisionShape radius="10"   position="0,0,0" halfExtents="200, 200, 0"/>
52  </collisionShapes>
53</SpaceShip>
54   
55  </Scene>
56</Level>
57
Note: See TracBrowser for help on using the repository browser.