[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 | |
---|
[11381] | 26 | <Template name=sobFigureTemplate> |
---|
[11392] | 27 | <SOBFigure camerapositiontemplate=sobfigurecameras collisionType="dynamic" position="0,0,30"> |
---|
[11381] | 28 | <attached> |
---|
[11392] | 29 | <Model mesh="Orxo.mesh" scale=2.5 pitch=0 roll=90 yaw=90/> |
---|
[11381] | 30 | </attached> |
---|
| 31 | |
---|
[11392] | 32 | <collisionShapes> |
---|
| 33 | <BoxCollisionShape position="-2,0,2" halfExtents="3,1,10" /> |
---|
| 34 | <!-- <SphereCollisionShape yaw="20" pitch="20" roll="20" radius="10" position="0,0,10" /> --> |
---|
| 35 | </collisionShapes> |
---|
[11381] | 36 | |
---|
[11392] | 37 | |
---|
| 38 | </SOBFigure> |
---|
[11381] | 39 | </Template> |
---|
| 40 | |
---|
| 41 | <Level |
---|
| 42 | plugins = "superorxobros" |
---|
| 43 | gametype = "SOB" |
---|
[11392] | 44 | >- |
---|
[11381] | 45 | |
---|
| 46 | |
---|
[11392] | 47 | <templates> |
---|
| 48 | <Template link=lodtemplate_default /> |
---|
| 49 | </templates> |
---|
| 50 | <?lua include("includes/notifications.oxi") ?> |
---|
[11381] | 51 | |
---|
[11392] | 52 | <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/> |
---|
[11381] | 53 | |
---|
[11379] | 54 | |
---|
[11392] | 55 | <Scene ambientlight="1.0, 1.0, 1.0" skybox="Orxonox/skyBoxBasic"> |
---|
| 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 | <SpawnPoint position="991.729, -110.11, 435.404" orientation="0.534038, 0.563456, 0.212168, 0.593553" /> |
---|
[11379] | 58 | |
---|
[11381] | 59 | |
---|
| 60 | |
---|
[11379] | 61 | |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | |
---|
[11392] | 65 | <MovableEntity> |
---|
| 66 | <attached> |
---|
| 67 | <SOBCenterpoint name=jumpcenter cameraOffset="10" figureTemplate=sobFigureTemplate> |
---|
| 68 | <attached> |
---|
| 69 | </attached> |
---|
| 70 | </SOBCenterpoint> |
---|
[11379] | 71 | |
---|
[11392] | 72 | </attached> |
---|
| 73 | </MovableEntity> |
---|
[11379] | 74 | |
---|
[11381] | 75 | |
---|
| 76 | |
---|
[11392] | 77 | |
---|
| 78 | |
---|
| 79 | <?lua |
---|
| 80 | for i = 0, 100, 1 |
---|
| 81 | do |
---|
| 82 | j = math.random() |
---|
| 83 | ?> |
---|
| 84 | |
---|
| 85 | <SOBItem position="<?lua print(i*10) ?>,0,-20" collisionType="static"> |
---|
| 86 | <attached> |
---|
| 87 | <Model mesh="MarioCube.mesh" scale="10" /> |
---|
| 88 | </attached> |
---|
| 89 | |
---|
| 90 | </SOBItem> |
---|
| 91 | |
---|
| 92 | <?lua |
---|
| 93 | end |
---|
| 94 | ?> |
---|
| 95 | |
---|
| 96 | <StaticEntity collisionType="static"> |
---|
| 97 | <collisionShapes> |
---|
| 98 | <BoxCollisionShape position="500,0,-20" halfExtents="500,5,5" /> |
---|
| 99 | </collisionShapes> |
---|
| 100 | </StaticEntity> |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | </Scene> |
---|
[11379] | 104 | </Level> |
---|