Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Test Level implemented; still buggy

File size: 1.0 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>
19  <templates>
20    <Template link=lodtemplate_default />
21  </templates>
22       
23  <Scene
24    ambientlight = "0.8, 0.8, 0.8"
25    skybox       = "Orxonox/Starbox"
26  >
27
28    <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"/>
29    <SpawnPoint team=0 position="0,0,0" lookat="0,0,0"/>
30   
31        <MouseAPIExample position="100,0,0" direction="0,-1,0" collisionType=static mass=100000 friction=0.01 >
32            <attached>
33                <Model position="0,0,0" mesh="cube.mesh" scale3D="10000,10000,1000" />
34            </attached>
35            <collisionShapes>
36                <BoxCollisionShape position="0,0,0" halfExtents="10000,10000,1000" />
37            </collisionShapes>
38        </MouseAPIExample>
39   
40  </Scene>
41</Level>
42
Note: See TracBrowser for help on using the repository browser.