1 | <LevelInfo |
---|
2 | name = "MouseAPI Example" |
---|
3 | description = "A level to test our MouseAPI" |
---|
4 | tags = "test" |
---|
5 | screenshot = "emptylevel.png" |
---|
6 | /> |
---|
7 | |
---|
8 | <?lua |
---|
9 | include("stats.oxo") |
---|
10 | include("HUDTemplates3.oxo") |
---|
11 | include("templates/lodInformation.oxt") |
---|
12 | ?> |
---|
13 | |
---|
14 | <?lua |
---|
15 | include("templates/spaceshipEscort.oxt") |
---|
16 | ?> |
---|
17 | |
---|
18 | <Level gametype=MouseGametype> |
---|
19 | |
---|
20 | <templates> |
---|
21 | <Template link=lodtemplate_default /> |
---|
22 | </templates> |
---|
23 | |
---|
24 | <Scene |
---|
25 | ambientlight = "0.8, 0.8, 0.8" |
---|
26 | skybox = "Orxonox/Starbox" |
---|
27 | > |
---|
28 | |
---|
29 | <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"/> |
---|
30 | <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" /> |
---|
31 | |
---|
32 | |
---|
33 | <MouseAPIExample position="100,0,0" direction="0,0,0"> |
---|
34 | <attached> |
---|
35 | <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" /> |
---|
36 | </attached> |
---|
37 | </MouseAPIExample> |
---|
38 | |
---|
39 | <MouseAPIExample position="100,100,0" direction="0,0,0"> |
---|
40 | <attached> |
---|
41 | <Model position="0,0,0" mesh="sphere.mesh" scale=10 /> |
---|
42 | </attached> |
---|
43 | </MouseAPIExample> |
---|
44 | |
---|
45 | </Scene> |
---|
46 | </Level> |
---|
47 | |
---|