Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/4Dtest.oxw @ 10262

Last change on this file since 10262 was 10262, checked in by landauf, 9 years ago

eol-style native. no changes in code.

  • Property svn:eol-style set to native
File size: 1.5 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
16
17<Level
18 gametype=Mini4Dgame
19>
20
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24  <?lua include("includes/notifications.oxi") ?>
25
26  <Scene
27    ambientlight = "0.8, 0.8, 0.8"
28    skybox       = "Orxonox/Starbox"
29  >
30
31        <WorldAmbientSound
32      source="Ganymede.ogg"
33      looping="true"
34      playOnLoad="true"
35    />
36   
37    <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"/>
38   
39   
40    <SpawnPoint position="-330,330,165" lookat="0,0,0" />
41
42        <Mini4DgameBoard>
43        <attached>
44        <?lua
45                for i = -90, 90, 60
46                do
47                ?>
48                        <?lua
49                        for j = -90, 90, 60
50                        do
51                        ?>
52                                <?lua
53                                for k = -90, 90, 60
54                                do
55                                ?>
56                                        <Model
57                                        position="<?lua print(i) ?>,<?lua print(j) ?>,<?lua print(k) ?>"
58                                        mesh="checkPoint.mesh"
59                                        scale="5" />
60                                <?lua
61                                end
62                                ?>
63                        <?lua
64                        end
65                        ?>
66                <?lua
67                end
68                ?>
69        </attached>
70       
71        </Mini4DgameBoard>
72
73<!--
74<attached>
75    <BlinkingBillboard position="0,0,0" frequency=0.6 amplitude=0.4 material="Flares/lensflare" colour="0,1,0" visabilaty=gone>
76        </BlinkingBillboard>
77</attached>
78-->
79
80  </Scene>
81</Level>
82
Note: See TracBrowser for help on using the repository browser.