Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/MouseAPI_FS19/data/levels/MouseAPIExample.oxw @ 12276

Last change on this file since 12276 was 12276, checked in by mkarpf, 5 years ago

Test-Level with 3 Blocks

File size: 1.5 KB
Line 
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<Level>
15 
16  <templates>
17    <Template link=lodtemplate_default />
18  </templates>
19       
20  <Scene
21    ambientlight = "0.8, 0.8, 0.8"
22    skybox       = "Orxonox/Starbox"
23  >
24 
25    <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"/>
26    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" />
27   
28
29<MouseAPIExample position="100,0,0" direction="0,0,0">
30    <attached>
31        <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
32    </attached>
33    <collisionShapes>
34        <BoxCollisionShape position="0,0,0" halfExtents="10,10,10" />
35    </collisionShapes>
36</MouseAPIExample>
37
38<MouseAPIExample position="100,0,100" direction="0,0,0">
39    <attached>
40        <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
41    </attached>
42    <collisionShapes>
43        <BoxCollisionShape position="0,0,0" halfExtents="10,10,10" />
44    </collisionShapes>
45</MouseAPIExample>
46
47<MouseAPIExample position="100,0,-100" direction="0,0,0">
48    <attached>
49        <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
50    </attached>
51    <collisionShapes>
52        <BoxCollisionShape position="0,0,0" halfExtents="10,10,10" />
53    </collisionShapes>
54</MouseAPIExample>
55 
56  </Scene>
57</Level>
58
Note: See TracBrowser for help on using the repository browser.