Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/turretTest.oxw @ 9997

Last change on this file since 9997 was 9939, checked in by jo, 11 years ago

presentationHS13 branch merged into trunk

  • Property svn:eol-style set to native
File size: 1.6 KB
RevLine 
[9939]1<!-- -->
2
[9469]3<LevelInfo
4 name = "turret Test"
[9489]5 description = "A level with a turret in it."
[9469]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/spaceshipPirate.oxt")
[9489]19  include("templates/spaceshipTurret.oxt")
[9469]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  >
[9489]32    <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"/>
33    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
[9469]34
35
[9489]36<StaticEntity position="0,0,0" yaw=0 pitch=0>
37    <attached>
38        <Model position="0,0,0" mesh="turretSocketFront.mesh" scale3D="10,10,10" />
39        <Model position="0,0,0" mesh="turretSocketIn.mesh" scale3D="10,10,10" />
40        <Model position="0,0,0" mesh="turretSocketTop.mesh" scale3D="10,10,10" />
41        <Model position="0,0,0" mesh="turretSocketLeft.mesh" scale3D="10,10,10" />
42        <Model position="0,0,0" mesh="turretSocketRight.mesh" scale3D="10,10,10" />
43    </attached>
44</StaticEntity>
[9469]45
46
[9489]47
[9525]48<Turret position="0,10,0" pitch="90" yaw="0" roll="0">
[9489]49    <templates>
50        <Template link=spaceshipturret />
51    </templates>
52    <controller>
53        <WaypointPatrolController alertnessradius=100 team=10>
54        </WaypointPatrolController>
55     </controller>
[9525]56</Turret>
57
58
59
[9469]60   
61  </Scene>
62</Level>
63
Note: See TracBrowser for help on using the repository browser.