Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Improve MouseAPI
Add Comments
Cleanup

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