[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" |
---|
[11392] | 6 | /> |
---|
[11379] | 7 | |
---|
[11392] | 8 | <?lua |
---|
| 9 | include("HUDTemplates3.oxo") |
---|
| 10 | include("jumpHUD.oxo") |
---|
| 11 | include("stats.oxo") |
---|
| 12 | include("templates/lodInformation.oxt") |
---|
| 13 | ?> |
---|
[11379] | 14 | |
---|
[11392] | 15 | <Template name=sobfigurecameras defaults=0> |
---|
[11381] | 16 | <SOBFigure> |
---|
| 17 | <camerapositions> |
---|
[11392] | 18 | <CameraPosition position="0,-150,30" absolute=true mouselook=false drag=false direction="0,1,0"/> |
---|
[11381] | 19 | </camerapositions> |
---|
| 20 | </SOBFigure> |
---|
| 21 | </Template> |
---|
[11379] | 22 | |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | |
---|
[11396] | 26 | |
---|
[11381] | 27 | <Template name=sobFigureTemplate> |
---|
[11392] | 28 | <SOBFigure camerapositiontemplate=sobfigurecameras collisionType="dynamic" position="0,0,30"> |
---|
[11381] | 29 | <attached> |
---|
[11392] | 30 | <Model mesh="Orxo.mesh" scale=2.5 pitch=0 roll=90 yaw=90/> |
---|
[11381] | 31 | </attached> |
---|
| 32 | |
---|
[11392] | 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> |
---|
[11381] | 37 | |
---|
[11392] | 38 | |
---|
| 39 | </SOBFigure> |
---|
[11381] | 40 | </Template> |
---|
| 41 | |
---|
| 42 | <Level |
---|
| 43 | plugins = "superorxobros" |
---|
| 44 | gametype = "SOB" |
---|
[11392] | 45 | >- |
---|
[11381] | 46 | |
---|
| 47 | |
---|
[11392] | 48 | <templates> |
---|
| 49 | <Template link=lodtemplate_default /> |
---|
| 50 | </templates> |
---|
| 51 | <?lua include("includes/notifications.oxi") ?> |
---|
[11381] | 52 | |
---|
[11392] | 53 | <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/> |
---|
[11381] | 54 | |
---|
[11379] | 55 | |
---|
[11392] | 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" /> |
---|
[11379] | 59 | |
---|
[11381] | 60 | |
---|
| 61 | |
---|
[11379] | 62 | |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | |
---|
[11392] | 66 | <MovableEntity> |
---|
| 67 | <attached> |
---|
| 68 | <SOBCenterpoint name=jumpcenter cameraOffset="10" figureTemplate=sobFigureTemplate> |
---|
| 69 | <attached> |
---|
| 70 | </attached> |
---|
| 71 | </SOBCenterpoint> |
---|
[11379] | 72 | |
---|
[11392] | 73 | </attached> |
---|
| 74 | </MovableEntity> |
---|
[11379] | 75 | |
---|
[11381] | 76 | |
---|
| 77 | |
---|
[11392] | 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> |
---|
[11379] | 105 | </Level> |
---|