Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/invaders/data/levels/turretTest.oxw @ 9701

Last change on this file since 9701 was 9664, checked in by landauf, 11 years ago

eol-style native

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1<LevelInfo
2 name = "turret Test"
3 description = "A level with a turret in it."
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/spaceshipTurret.oxt")
18?>
19
20<Level>
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24  <?lua include("includes/notifications.oxi") ?>
25
26  <Scene
27    ambientlight = "0.8, 0.8, 0.8"
28    skybox       = "Orxonox/Starbox"
29  >
30    <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"/>
31    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
32
33
34<StaticEntity position="0,0,0" yaw=0 pitch=0>
35    <attached>
36        <Model position="0,0,0" mesh="turretSocketFront.mesh" scale3D="10,10,10" />
37        <Model position="0,0,0" mesh="turretSocketIn.mesh" scale3D="10,10,10" />
38        <Model position="0,0,0" mesh="turretSocketTop.mesh" scale3D="10,10,10" />
39        <Model position="0,0,0" mesh="turretSocketLeft.mesh" scale3D="10,10,10" />
40        <Model position="0,0,0" mesh="turretSocketRight.mesh" scale3D="10,10,10" />
41    </attached>
42</StaticEntity>
43
44
45
46<Turret position="0,10,0" pitch="90" yaw="0" roll="0">
47    <templates>
48        <Template link=spaceshipturret />
49    </templates>
50    <controller>
51        <WaypointPatrolController alertnessradius=100 team=10>
52        </WaypointPatrolController>
53     </controller>
54</Turret>
55
56
57
58   
59  </Scene>
60</Level>
61
Note: See TracBrowser for help on using the repository browser.