Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/portals.oxw @ 9679

Last change on this file since 9679 was 9348, checked in by landauf, 12 years ago

merged branch presentation2012merge back to trunk

  • Property svn:eol-style set to native
File size: 5.0 KB
RevLine 
[8177]1 
2<LevelInfo
3 name = "Portals"
4 description = "Level for testing portals"
[9016]5 tags = "test"
6 screenshot = "portals.png"
[8177]7/>
8
9<?lua
10  include("HUDTemplates3.oxo")
11  include("stats.oxo")
12  include("templates/spaceshipAssff.oxt")
[8454]13  include("templates/pickupRepresentationTemplates.oxt")
[8177]14  include("templates/lodInformation.oxt")
15?>
16
[9016]17<Level>
[8177]18  <templates>
19    <Template link=lodtemplate_default />
20  </templates>
[8706]21  <?lua include("includes/notifications.oxi") ?>
[8177]22
23  <Scene
24   ambientlight = "0.5, 0.5, 0.5"
[9348]25   skybox       = "Orxonox/skyBoxBasic"
[8177]26  >
27
[8454]28    <Template name=PortalDefault>
[8243]29        <PortalEndPoint>
30            <attached>
[9348]31                <Model mesh="Spacegate.mesh" yaw="90"/>
[8243]32            </attached>
33        </PortalEndPoint>
34    </Template>
[8177]35
[8706]36    <PortalEndPoint position="0,0,0" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/>
37    <PortalEndPoint position="-300,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/>
[8243]38    <PortalLink fromID="1" toID="2" />
39    <PortalLink fromID="2" toID="1" />
40
[9348]41    <!--PickupSpawner pickup=dronepickup position="-200,0,0" triggerDistance="10" respawnTime="10" maxSpawnedItems="10" /-->
[8454]42
[8177]43    <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" />
44
45    <SpawnPoint position="200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
46
47    <GlobalShader compositor="Bloom" visible=false>
48      <events>
49        <visibility>
50          <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
51        </visibility>
52      </events>
53    </GlobalShader>
54
55
56<!--
57    <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
58    <StaticEntity position="0,0,0" collisionType=static>
59      <collisionShapes>
60        <SphereCollisionShape radius="20" />
61      </collisionShapes>
62    </StaticEntity>
63-->
64
65
66<!--
67    <?lua
68      for i = 1, 70, 1 do
69    ?>
70      <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 1000 + 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
71        <attached>
72          <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
73        </attached>
74      </MovableEntity>
75      <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * -1000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
76        <attached>
77          <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
78        </attached>
79      </MovableEntity>
80
81      <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 1000 + 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
82        <attached>
83          <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
84        </attached>
85      </MovableEntity>
86      <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * -1000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
87        <attached>
88          <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
89        </attached>
90      </MovableEntity>
91
92      <MovableEntity position="<?lua print(math.random() * 1000 + 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
93        <attached>
94          <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
95        </attached>
96      </MovableEntity>
97      <MovableEntity position="<?lua print(math.random() * -1000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
98        <attached>
99          <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
100        </attached>
101      </MovableEntity>
102    <?lua end ?>
103-->
104
105  </Scene>
106</Level>
Note: See TracBrowser for help on using the repository browser.