[11481] | 1 | <LevelInfo |
---|
| 2 | name = "Flappy Orx" |
---|
| 3 | description = "TODO" |
---|
| 4 | tags = "minigame" |
---|
| 5 | screenshot = "orxonoxArcade.png" |
---|
| 6 | /> |
---|
| 7 | |
---|
| 8 | <?lua |
---|
[11503] | 9 | include("stats.oxo") |
---|
| 10 | include("templates/lodInformation.oxt") |
---|
[11481] | 11 | ?> |
---|
| 12 | |
---|
[11503] | 13 | <?lua |
---|
| 14 | include("templates/spaceshipAssff2.oxt") |
---|
| 15 | include("templates/spaceshipPirate.oxt") |
---|
| 16 | include("templates/spaceshipFlappyOrx.oxt") |
---|
| 17 | include("templates/enemyFlappyOrx.oxt") |
---|
| 18 | include("overlays/FlappyOrxHUD.oxo") |
---|
| 19 | ?> |
---|
| 20 | |
---|
[11481] | 21 | <Level |
---|
[11503] | 22 | plugins = flappyorx |
---|
| 23 | gametype = FlappyOrx |
---|
[11481] | 24 | > |
---|
[11503] | 25 | <templates> |
---|
| 26 | <Template link=lodtemplate_default /> |
---|
| 27 | </templates> |
---|
| 28 | <?lua include("includes/notifications.oxi") ?> |
---|
[11481] | 29 | |
---|
[11503] | 30 | <!-- ambientlight = "0.8, 0.8, 0.8" |
---|
| 31 | skybox = "Orxonox/Starbox" --> |
---|
| 32 | <Scene |
---|
| 33 | ambientlight = "0.8, 0.7, 0.4" |
---|
[11568] | 34 | skybox = "Orxonox/skyBox" |
---|
[11503] | 35 | > |
---|
[11481] | 36 | |
---|
[11503] | 37 | <WorldAmbientSound |
---|
| 38 | source="Earth.ogg" |
---|
| 39 | looping="true" |
---|
| 40 | playOnLoad="true" |
---|
| 41 | /> |
---|
[11481] | 42 | |
---|
[11503] | 43 | <!-- <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"/> --> |
---|
[11563] | 44 | <Light type=directional position="11000, 11000, -7000" lookat="0, 0, 0" diffuse="1, 1, 1, 1" specular="1.0, 0.9, 0.9, 1.0" /> |
---|
[11509] | 45 | <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=FlappyOrxShip pawndesign=spaceshipFlappyOrx /> |
---|
[11503] | 46 | |
---|
| 47 | |
---|
| 48 | <FlappyOrxCenterPoint name=flappyorxcenter /> |
---|
| 49 | |
---|
[11529] | 50 | |
---|
| 51 | |
---|
| 52 | <?lua |
---|
| 53 | for i = 1, 6, 1 do |
---|
| 54 | for j = 3, 12,3 do |
---|
| 55 | ?> |
---|
| 56 | |
---|
| 57 | <Template name=Asteroid<?lua print(j) ?>_<?lua print(i) ?>> |
---|
| 58 | <MovableEntity |
---|
| 59 | collisionType = dynamic |
---|
| 60 | linearDamping = 0.8 |
---|
| 61 | angularDamping = 0 |
---|
| 62 | scale = "<?lua print(j) ?>" |
---|
| 63 | collisiondamage = 10000 |
---|
| 64 | enablecollisiondamage = true |
---|
| 65 | > |
---|
| 66 | |
---|
| 67 | <attached> |
---|
| 68 | <Model mass="1000" mesh="ast<?lua print(i) ?>.mesh" /> |
---|
| 69 | </attached> |
---|
| 70 | <collisionShapes> |
---|
| 71 | <SphereCollisionShape radius="<?lua print(j) ?>" /> |
---|
| 72 | </collisionShapes> |
---|
| 73 | </MovableEntity> |
---|
| 74 | </Template> |
---|
| 75 | |
---|
| 76 | <?lua |
---|
| 77 | end |
---|
| 78 | end |
---|
| 79 | ?> |
---|
| 80 | |
---|
| 81 | <!-- |
---|
[11509] | 82 | <?lua |
---|
| 83 | for i = 1, 30, 1 do |
---|
| 84 | j = math.random() |
---|
| 85 | ?> |
---|
[11503] | 86 | |
---|
[11509] | 87 | <MovableEntity |
---|
| 88 | position = "<?lua print(i* 300) ?>,0, <?lua print(j* 200) ?>" |
---|
| 89 | collisionType = dynamic |
---|
| 90 | linearDamping = 0.8 |
---|
| 91 | angularDamping = 0 |
---|
| 92 | scale = "<?lua print(10)?>" |
---|
[11521] | 93 | collisiondamage = 100000 |
---|
[11509] | 94 | enablecollisiondamage = true |
---|
| 95 | > |
---|
[11503] | 96 | |
---|
[11509] | 97 | <attached> |
---|
| 98 | <Model mass="1000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
| 99 | </attached> |
---|
| 100 | <collisionShapes> |
---|
| 101 | <SphereCollisionShape radius="<?lua print(10) ?>" /> |
---|
| 102 | </collisionShapes> |
---|
| 103 | </MovableEntity> |
---|
| 104 | |
---|
| 105 | <MovableEntity |
---|
| 106 | position = "<?lua print(i* 300) ?>,0,<?lua print(-150 + j* 200) ?>" |
---|
| 107 | collisionType = dynamic |
---|
| 108 | linearDamping = 0.8 |
---|
| 109 | angularDamping = 0 |
---|
| 110 | scale = "<?lua print(10)?>" |
---|
[11521] | 111 | collisiondamage = 100000 |
---|
[11509] | 112 | enablecollisiondamage = true |
---|
| 113 | > |
---|
| 114 | |
---|
| 115 | <attached> |
---|
| 116 | <Model mass="1000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
| 117 | </attached> |
---|
| 118 | <collisionShapes> |
---|
| 119 | <SphereCollisionShape radius="<?lua print(10) ?>" /> |
---|
| 120 | </collisionShapes> |
---|
| 121 | </MovableEntity> |
---|
| 122 | |
---|
| 123 | <?lua |
---|
| 124 | end |
---|
| 125 | ?> |
---|
[11529] | 126 | --> |
---|
| 127 | |
---|
| 128 | |
---|
[11503] | 129 | </Scene> |
---|
[11529] | 130 | </Level> |
---|