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="-200,200,100" 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 | ?> |
---|
58 | <?lua |
---|
59 | for j = -90, 90, 60 |
---|
60 | ?> |
---|
61 | <?lua |
---|
62 | for k = -90, 90, 60 |
---|
63 | ?> |
---|
64 | <Model |
---|
65 | position="<?lua print(i) ?>,<?lua print(j) ?>,<?lua print(k) ?>" |
---|
66 | mesh="ast1.mesh" |
---|
67 | scale="1" /> |
---|
68 | <?lua |
---|
69 | end |
---|
70 | ?> |
---|
71 | <?lua |
---|
72 | end |
---|
73 | ?> |
---|
74 | <?lua |
---|
75 | end |
---|
76 | ?> |
---|
77 | </attached> |
---|
78 | </Mini4DgameCenterpoint> |
---|
79 | |
---|
80 | |
---|
81 | </Scene> |
---|
82 | </Level> |
---|
83 | |
---|