Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Added MouseCursor

File size: 1.3 KB
RevLine 
[12258]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")
[12363]11  include("MouseCursor.oxo")
12  include("tetrisHUD.oxo")
[12258]13  include("templates/lodInformation.oxt")
14?>
15
[12297]16<?lua
17  include("templates/spaceshipEscort.oxt")
18?>
19
20<Level gametype=MouseGametype>
[12276]21 
[12258]22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
[12363]25
[12258]26  <Scene
27    ambientlight = "0.8, 0.8, 0.8"
28    skybox       = "Orxonox/Starbox"
29  >
[12271]30 
[12258]31    <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"/>
[12297]32    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0"  />
[12258]33   
[12271]34
[12312]35<MouseAPIExample position="0,-0,-70" direction="0,0,0" id=1>
[12276]36    <attached>
37        <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
38    </attached>
[12271]39</MouseAPIExample>
[12302]40
[12312]41<MouseAPIExample position="0,0,70" direction="0,0,0" id=2>
[12302]42    <attached>
43        <Model position="0,0,0" mesh="sphere.mesh" scale=10 />
44    </attached>
45</MouseAPIExample>
[12309]46
[12330]47<MouseAPIExample position="0,70,0" direction="0,0,0" id=3>
[12312]48    <attached>
49        <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,100" />
50    </attached>
51</MouseAPIExample>
[12334]52
[12363]53<!--<MouseAPICursor></MouseAPICursor>
54<MouseCursor></MouseCursor>-->
[12258]55  </Scene>
56</Level>
57
Note: See TracBrowser for help on using the repository browser.