Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Example Level with scaling

File size: 922 bytes
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  </Scene>
39</Level>
40
Note: See TracBrowser for help on using the repository browser.