Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12302 was 12302, checked in by mkarpf, 6 years ago

getRadius added, example-level

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