Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 11381 was 11381, checked in by jkindle, 7 years ago

Works whoow

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