Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/SuperOrxoBros_FS17/data/levels/SOB.oxw @ 11396

Last change on this file since 11396 was 11396, checked in by davidf, 7 years ago

Added new lvl file

File size: 2.2 KB
Line 
1<LevelInfo
2 name = "SOOOOOOOOOOOB"
3 description = "Jump as high as you can. Use the mouse to guide the jumper."
4 tags = "minigame"
5 screenshot = "jump.png"
6 />
7
8 <?lua
9 include("HUDTemplates3.oxo") 
10 include("jumpHUD.oxo")
11 include("stats.oxo")
12 include("templates/lodInformation.oxt")
13 ?>
14
15 <Template name=sobfigurecameras defaults=0>
16  <SOBFigure>
17    <camerapositions>
18      <CameraPosition position="0,-150,30" absolute=true mouselook=false drag=false direction="0,1,0"/>
19    </camerapositions>
20  </SOBFigure>
21</Template>
22
23
24
25
26
27<Template name=sobFigureTemplate>
28  <SOBFigure camerapositiontemplate=sobfigurecameras collisionType="dynamic" position="0,0,30">
29    <attached>
30      <Model  mesh="Orxo.mesh" scale=2.5 pitch=0 roll=90 yaw=90/>
31    </attached>
32
33    <collisionShapes>
34    <BoxCollisionShape position="-2,0,2" halfExtents="3,1,10" />
35<!--      <SphereCollisionShape yaw="20" pitch="20" roll="20"  radius="10" position="0,0,10" />   -->
36   </collisionShapes>
37
38
39 </SOBFigure>
40</Template>
41
42<Level
43 plugins = "superorxobros"
44 gametype = "SOB"
45 >-
46
47
48 <templates>
49  <Template link=lodtemplate_default />
50</templates>
51<?lua include("includes/notifications.oxi") ?>
52
53<WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
54
55
56<Scene ambientlight="1.0, 1.0, 1.0" skybox="Orxonox/skyBoxBasic">
57  <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" />
58  <SpawnPoint position="991.729, -110.11, 435.404" orientation="0.534038, 0.563456, 0.212168, 0.593553" />
59
60
61
62
63
64
65
66  <MovableEntity>
67    <attached>
68      <SOBCenterpoint name=jumpcenter cameraOffset="10" figureTemplate=sobFigureTemplate>
69        <attached> 
70        </attached>
71      </SOBCenterpoint>
72
73    </attached>
74  </MovableEntity>
75
76
77
78
79
80<?lua
81      for i = 0, 100, 1
82      do
83      j = math.random()
84    ?>
85
86     <SOBItem position="<?lua print(i*10) ?>,0,-20" collisionType="static">
87    <attached>
88      <Model  mesh="MarioCube.mesh" scale="10" />
89   </attached>
90
91</SOBItem>
92
93    <?lua
94      end
95    ?>
96
97<StaticEntity collisionType="static">
98    <collisionShapes>
99    <BoxCollisionShape position="500,0,-20" halfExtents="500,5,5" />
100  </collisionShapes>
101</StaticEntity>
102
103
104</Scene>
105</Level>
Note: See TracBrowser for help on using the repository browser.