[10005] | 1 | <LevelInfo |
---|
| 2 | name = "Jump" |
---|
| 3 | description = "Jump\nTip: Try to keep the multiplier high by avoiding shots and enemies." |
---|
| 4 | tags = "minigame" |
---|
| 5 | screenshot = "orxonoxArcade.png" |
---|
| 6 | /> |
---|
| 7 | <?lua |
---|
| 8 | include("stats.oxo") |
---|
| 9 | include("templates/lodInformation.oxt") |
---|
| 10 | ?> |
---|
| 11 | |
---|
| 12 | <?lua |
---|
[10017] | 13 | -- include("templates/spaceshipAssff2.oxt") |
---|
| 14 | -- include("templates/spaceshipPirate.oxt") |
---|
| 15 | include("templates/spaceshipJump.oxt") |
---|
| 16 | -- include("templates/enemyInvader.oxt") |
---|
| 17 | -- include("overlays/InvaderHUD.oxo") |
---|
[10005] | 18 | ?> |
---|
| 19 | |
---|
[10017] | 20 | |
---|
[10005] | 21 | <Level gametype = Jump> |
---|
| 22 | <templates> |
---|
| 23 | <Template link=lodtemplate_default /> |
---|
| 24 | </templates> |
---|
| 25 | <?lua include("includes/notifications.oxi") ?> |
---|
| 26 | |
---|
| 27 | <!-- ambientlight = "0.8, 0.8, 0.8" |
---|
| 28 | skybox = "Orxonox/Starbox" --> |
---|
| 29 | <Scene ambientlight = "0.8, 0.7, 0.4" skybox = "Orxonox/skyBoxBasic"> |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | <WorldAmbientSound |
---|
| 33 | source="Earth.ogg" |
---|
| 34 | looping="true" |
---|
| 35 | playOnLoad="true" |
---|
| 36 | /> |
---|
| 37 | |
---|
[10017] | 38 | <Planet |
---|
| 39 | position="0, 0, -2000" |
---|
| 40 | scale="1000" |
---|
| 41 | collisionType="dynamic" |
---|
| 42 | linearDamping="0.8" |
---|
| 43 | angularDamping="0" |
---|
| 44 | mass="10000000" |
---|
| 45 | pitch="0" |
---|
| 46 | mesh="planets/muunilinst.mesh" |
---|
| 47 | atmosphere="atmosphere1" |
---|
| 48 | rotationaxis="1,0,0" |
---|
| 49 | rotationrate="1.0" |
---|
| 50 | atmospheresize="80.0f" |
---|
| 51 | imagesize="1024.0f" |
---|
| 52 | collisiondamage = 2 |
---|
| 53 | enablecollisiondamage = true |
---|
| 54 | > |
---|
[10005] | 55 | |
---|
[10017] | 56 | </Planet> |
---|
| 57 | |
---|
[10032] | 58 | <MovableEntity |
---|
| 59 | position="0, 0, 500" |
---|
| 60 | scale="5" |
---|
| 61 | collisionType="dynamic" |
---|
| 62 | mass="10000000" |
---|
| 63 | > |
---|
| 64 | <attached> |
---|
| 65 | <Model mesh="Platform01.mesh" /> |
---|
| 66 | </attached> |
---|
| 67 | </MovableEntity> |
---|
[10017] | 68 | |
---|
| 69 | |
---|
[10032] | 70 | |
---|
[10005] | 71 | <!-- <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"/> --> |
---|
| 72 | <Light type=directional position="1100, 11000, -7000" lookat="0, 0, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" /> |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | |
---|
[10017] | 76 | <SpawnPoint team=0 position="0,0,0" lookat="0,0,-1" spawnclass=JumpShip pawndesign=spaceshipjump /> |
---|
[10005] | 77 | |
---|
| 78 | |
---|
| 79 | <JumpCenterPoint name=jumpcenter /> |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | <?lua |
---|
[10017] | 83 | for i = 1, 200, 1 do |
---|
[10005] | 84 | j = math.random() |
---|
| 85 | ?> |
---|
| 86 | |
---|
| 87 | <MovableEntity |
---|
[10017] | 88 | position = "<?lua print(math.random(-300,300)) ?>,<?lua print(math.random(-250,10000)) ?>,-300>" |
---|
[10005] | 89 | collisionType = dynamic |
---|
| 90 | linearDamping = 0.8 |
---|
| 91 | angularDamping = 0 |
---|
[10017] | 92 | scale = "10" |
---|
[10005] | 93 | collisiondamage = 0 |
---|
[10017] | 94 | enablecollisiondamage = no |
---|
| 95 | |
---|
[10005] | 96 | > |
---|
| 97 | <attached> |
---|
| 98 | <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
| 99 | </attached> |
---|
[10017] | 100 | |
---|
[10005] | 101 | </MovableEntity> |
---|
| 102 | |
---|
| 103 | <?lua |
---|
| 104 | end |
---|
| 105 | ?> |
---|
| 106 | |
---|
[10017] | 107 | |
---|
[10005] | 108 | |
---|
| 109 | </Scene> |
---|
[10032] | 110 | </Level> |
---|