Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

started programming game logic

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