Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Improve MouseAPI
Add Comments
Cleanup

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("MouseCursor.oxo")
12  include("templates/lodInformation.oxt")
13?>
14
15<Level gametype=MouseGametype>
16 
17  <templates>
18    <Template link=lodtemplate_default />
19  </templates>
20  <!--<?lua include("includes/notifications.oxi") ?>-->
21
22  <Scene
23    ambientlight = "0.8, 0.8, 0.8"
24    skybox       = "Orxonox/Starbox"
25  >
26 
27    <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"/>
28    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0"  />
29   
30
31<MouseAPIExample position="0,-0,-70" direction="0,0,0" id=1>
32    <attached>
33        <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
34    </attached>
35</MouseAPIExample>
36
37<MouseAPIExample position="0,0,70" direction="0,0,0" id=2>
38    <attached>
39        <Model position="0,0,0" mesh="sphere.mesh" scale=10 />
40    </attached>
41</MouseAPIExample>
42
43<MouseAPIExample position="0,70,0" direction="0,0,0" id=3>
44    <attached>
45        <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,100" />
46    </attached>
47</MouseAPIExample>
48
49  </Scene>
50</Level>
51
Note: See TracBrowser for help on using the repository browser.