Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 8805 was 8706, checked in by dafrick, 14 years ago

Merging presentation branch back into trunk.
There are many new features and also a lot of other changes and bugfixes, if you want to know, digg through the svn log.
Not everything is yet working as it should, but it should be fairly stable. If you habe any bug reports, just send me an email.

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