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