Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentationHS12/data/levels/turretTest.oxw @ 9903

Last change on this file since 9903 was 9525, checked in by jo, 12 years ago

The Turret class was not called in the turret test level. That is why the code was not executed.

File size: 1.6 KB
RevLine 
[9469]1<LevelInfo
2 name = "turret Test"
[9489]3 description = "A level with a turret in it."
[9469]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")
[9489]17  include("templates/spaceshipTurret.oxt")
[9469]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  >
[9489]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 />
[9469]32
33
[9489]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>
[9469]43
44
[9489]45
[9525]46<Turret position="0,10,0" pitch="90" yaw="0" roll="0">
[9489]47    <templates>
48        <Template link=spaceshipturret />
49    </templates>
50    <controller>
51        <WaypointPatrolController alertnessradius=100 team=10>
52        </WaypointPatrolController>
53     </controller>
[9525]54</Turret>
55
56
57
[9469]58   
59  </Scene>
60</Level>
61
Note: See TracBrowser for help on using the repository browser.