Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/minigame4DHS14/data/levels/4Dtest.oxw @ 10100

Last change on this file since 10100 was 10100, checked in by richtero, 10 years ago

CMakeList added

File size: 2.6 KB
Line 
1<LevelInfo
2 name = "4Dtest"
3 description = "Test of 4D minigame."
4  screenshot = "asteroidFieldTest.png"
5 tags = "test, showcase"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<!-- Templates here
15<Template name=mini4Dgamestone>
16  <Mini4DgameStone>
17    <attached>
18      <Model mesh="asteroid_UV.mesh" scale="2" />
19    </attached>
20  </Mini4DgameStone>
21</Template>
22 -->
23
24<Level
25 gametype = "Mini4Dgame"
26>
27
28  <templates>
29    <Template link=lodtemplate_default />
30  </templates>
31  <?lua include("includes/notifications.oxi") ?>
32
33  <Scene
34    ambientlight = "0.8, 0.8, 0.8"
35    skybox       = "Orxonox/Starbox"
36  >
37
38        <WorldAmbientSound
39      source="Ganymede.ogg"
40      looping="true"
41      playOnLoad="true"
42    />
43   
44    <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"/>
45   
46   
47    <SpawnPoint position="-200,200,100" lookat="0,0,0" />
48
49        <Mini4DgameCenterpoint name=mini4Dgamecenter width=16 height=16 length=16 position="0,0,0">
50        <attached>
51            <Model position="1,1,1" mesh="cube.mesh" scale3D="1,1,1" />
52            <Model position="-1,1,1" mesh="cube.mesh" scale3D="1,1,1" />
53            <Model position="1,-1,1" mesh="cube.mesh" scale3D="1,1,1" />
54            <Model position="-1,-1,1" mesh="cube.mesh" scale3D="1,1,1" />
55            <Model position="1,1,-1" mesh="cube.mesh" scale3D="1,1,1" />
56            <Model position="-1,1,-1" mesh="cube.mesh" scale3D="1,1,1" />
57            <Model position="1,-1,-1" mesh="cube.mesh" scale3D="1,1,1" />
58            <Model position="-1,-1,-1" mesh="cube.mesh" scale3D="1,1,1" />
59        </attached>
60    </Mini4DgameCenterpoint>
61
62        <!-- Blinking Slot Selector
63        <BlinkingBillboard position="0,0,0" frequency=0.6 amplitude=0.4 material="Flares/lensflare" colour="1,1,0.05">
64          <events>
65            <visibility>
66              <EventTrigger invert=true>
67                <events>
68                  <trigger>
69                    <EventListener event=flying4 />
70                  </trigger>
71                </events>
72              </EventTrigger>
73            </visibility>
74          </events>
75        </BlinkingBillboard>
76        -->
77    <!-- Planet in the middle
78    <Planet
79      position="0,0,0"
80      scale="50"
81      collisionType="dynamic"
82      linearDamping="0.8"
83      angularDamping="0"
84      mass="0"
85      pitch="0"
86      mesh="planets/muunilinst.mesh"
87      atmosphere="atmosphere1"
88      rotationaxis="1,0,0"
89      rotationrate="0"
90      atmospheresize="2.0f"
91      imagesize="1024.0f"
92    >
93    </Planet>
94     -->
95
96
97
98  </Scene>
99</Level>
100
Note: See TracBrowser for help on using the repository browser.