[9698] | 1 | <LevelInfo |
---|
[9866] | 2 | name = "Orxonox Arcade" |
---|
[9874] | 3 | description = "2D Arcade shooter. Maximise your points!!!\nTip: try to keep the multiplier high by avoiding shots and enemies." |
---|
[9866] | 4 | tags = "minigame" |
---|
[9905] | 5 | screenshot = "orxonoxArcade.png" |
---|
[9698] | 6 | /> |
---|
| 7 | <?lua |
---|
| 8 | include("stats.oxo") |
---|
| 9 | include("templates/lodInformation.oxt") |
---|
| 10 | ?> |
---|
| 11 | |
---|
| 12 | <?lua |
---|
| 13 | include("templates/spaceshipAssff2.oxt") |
---|
| 14 | include("templates/spaceshipPirate.oxt") |
---|
[9701] | 15 | include("templates/spaceshipInvader.oxt") |
---|
[9777] | 16 | include("templates/enemyInvader.oxt") |
---|
[9828] | 17 | include("overlays/InvaderHUD.oxo") |
---|
[9698] | 18 | ?> |
---|
| 19 | |
---|
[10624] | 20 | <Level |
---|
| 21 | plugins = invader |
---|
| 22 | gametype = Invader |
---|
| 23 | > |
---|
[9698] | 24 | <templates> |
---|
| 25 | <Template link=lodtemplate_default /> |
---|
| 26 | </templates> |
---|
| 27 | <?lua include("includes/notifications.oxi") ?> |
---|
| 28 | |
---|
[9868] | 29 | <!-- ambientlight = "0.8, 0.8, 0.8" |
---|
| 30 | skybox = "Orxonox/Starbox" --> |
---|
[9698] | 31 | <Scene |
---|
[9868] | 32 | ambientlight = "0.8, 0.7, 0.4" |
---|
| 33 | skybox = "Orxonox/skyBoxBasic" |
---|
[9698] | 34 | > |
---|
| 35 | |
---|
[9884] | 36 | <WorldAmbientSound |
---|
| 37 | source="Earth.ogg" |
---|
| 38 | looping="true" |
---|
| 39 | playOnLoad="true" |
---|
| 40 | /> |
---|
| 41 | |
---|
[9868] | 42 | <!-- <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"/> --> |
---|
| 43 | <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" /> |
---|
[9709] | 44 | <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=InvaderShip pawndesign=spaceshipinvader /> |
---|
| 45 | |
---|
[11627] | 46 | <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 /> |
---|
[9724] | 47 | |
---|
[11627] | 48 | |
---|
[11589] | 49 | <InvaderCenterPoint name=invadercenter /> |
---|
[11504] | 50 | |
---|
[11627] | 51 | <?lua |
---|
| 52 | for i = 1, 300, 1 do |
---|
| 53 | j = math.random() |
---|
| 54 | ?> |
---|
| 55 | |
---|
| 56 | <MovableEntity |
---|
| 57 | position = "<?lua print(math.random()* 40000 + 1000) ?>,-1000,<?lua print(math.random() * 4000 - 2000) ?>" |
---|
[11504] | 58 | collisionType = dynamic |
---|
| 59 | linearDamping = 0.8 |
---|
| 60 | angularDamping = 0 |
---|
[11627] | 61 | scale = "<?lua print(j * 150)?>" |
---|
[11504] | 62 | collisiondamage = 0 |
---|
| 63 | enablecollisiondamage = true |
---|
| 64 | > |
---|
| 65 | <attached> |
---|
[11627] | 66 | <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
[11504] | 67 | </attached> |
---|
| 68 | <collisionShapes> |
---|
[11627] | 69 | <SphereCollisionShape radius="<?lua print(j * 350) ?>" /> |
---|
[11504] | 70 | </collisionShapes> |
---|
| 71 | </MovableEntity> |
---|
| 72 | |
---|
[11627] | 73 | <?lua |
---|
| 74 | end |
---|
| 75 | ?> |
---|
[9724] | 76 | |
---|
[9698] | 77 | </Scene> |
---|
| 78 | </Level> |
---|
| 79 | |
---|