Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/portals/data/levels/portals.oxw @ 8200

Last change on this file since 8200 was 8200, checked in by FelixSchulthess, 13 years ago

blah

File size: 4.6 KB
Line 
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")
12  include("templates/lodInformation.oxt")
13?>
14
15<Level
16 name         = "Presentation"
17 description  = "A simple testlevel"
18>
19  <templates>
20    <Template link=lodtemplate_default />
21  </templates>
22
23  <Scene
24   ambientlight = "0.5, 0.5, 0.5"
25   skybox       = "Orxonox/skypanoramagen1"
26  >
27
28
29        <PortalEndPoint position="0,0,0" id="1">
30                <attached>
31                        <Billboard material="Examples/Flare" />
32                </attached>
33        </PortalEndPoint>
34        <PortalEndPoint position="-100,0,0" id="2">
35                <attached>
36                        <Billboard material="Examples/Flare2" />
37                </attached>
38        </PortalEndPoint>
39        <PortalLink fromID="1" toID="2" />
40
41    <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" />
42
43    <SpawnPoint position="200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
44
45    <GlobalShader compositor="Bloom" visible=false>
46      <events>
47        <visibility>
48          <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
49        </visibility>
50      </events>
51    </GlobalShader>
52
53
54<!--
55    <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
56    <StaticEntity position="0,0,0" collisionType=static>
57      <collisionShapes>
58        <SphereCollisionShape radius="20" />
59      </collisionShapes>
60    </StaticEntity>
61-->
62
63
64<!--
65    <?lua
66      for i = 1, 70, 1 do
67    ?>
68      <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) ?>">
69        <attached>
70          <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
71        </attached>
72      </MovableEntity>
73      <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) ?>">
74        <attached>
75          <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
76        </attached>
77      </MovableEntity>
78
79      <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) ?>">
80        <attached>
81          <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
82        </attached>
83      </MovableEntity>
84      <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) ?>">
85        <attached>
86          <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
87        </attached>
88      </MovableEntity>
89
90      <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) ?>">
91        <attached>
92          <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
93        </attached>
94      </MovableEntity>
95      <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) ?>">
96        <attached>
97          <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
98        </attached>
99      </MovableEntity>
100    <?lua end ?>
101-->
102
103  </Scene>
104</Level>
Note: See TracBrowser for help on using the repository browser.