Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12334 was 12334, checked in by tkuonen, 6 years ago

Continue With MouseAPI Cursor

File size: 1.2 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<?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="0,-0,-70" direction="0,0,0" id=1>
34    <attached>
35        <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
36    </attached>
37</MouseAPIExample>
38
39<MouseAPIExample position="0,0,70" direction="0,0,0" id=2>
40    <attached>
41        <Model position="0,0,0" mesh="sphere.mesh" scale=10 />
42    </attached>
43</MouseAPIExample>
44
45<MouseAPIExample position="0,70,0" direction="0,0,0" id=3>
46    <attached>
47        <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,100" />
48    </attached>
49</MouseAPIExample>
50
51 
52  </Scene>
53</Level>
54
Note: See TracBrowser for help on using the repository browser.