1 | <LevelInfo |
---|
2 | name = "Orxonox Arcade" |
---|
3 | description = "2D Arcade shooter. Maximise your points!!!\nTip: try to keep the multiplier high by avoiding shots and enemies." |
---|
4 | tags = "minigame" |
---|
5 | screenshot = "orxonoxArcade.png" |
---|
6 | /> |
---|
7 | |
---|
8 | <?lua |
---|
9 | include("stats.oxo") |
---|
10 | include("templates/lodInformation.oxt") |
---|
11 | ?> |
---|
12 | |
---|
13 | <?lua |
---|
14 | include("templates/spaceshipAssff2.oxt") |
---|
15 | include("templates/spaceshipPirate.oxt") |
---|
16 | include("templates/spaceshipInvader.oxt") |
---|
17 | include("templates/enemyInvader.oxt") |
---|
18 | include("overlays/InvaderHUD.oxo") |
---|
19 | ?> |
---|
20 | |
---|
21 | <Level |
---|
22 | plugins = invader |
---|
23 | gametype = Invader |
---|
24 | > |
---|
25 | <templates> |
---|
26 | <Template link=lodtemplate_default /> |
---|
27 | </templates> |
---|
28 | <?lua include("includes/notifications.oxi") ?> |
---|
29 | |
---|
30 | <!-- ambientlight = "0.8, 0.8, 0.8" |
---|
31 | skybox = "Orxonox/Starbox" --> |
---|
32 | <Scene |
---|
33 | ambientlight = "0.8, 0.7, 0.4" |
---|
34 | skybox = "Orxonox/skyBoxBasic" |
---|
35 | > |
---|
36 | |
---|
37 | <WorldAmbientSound |
---|
38 | source="Earth.ogg" |
---|
39 | looping="true" |
---|
40 | playOnLoad="true" |
---|
41 | /> |
---|
42 | |
---|
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"/> --> |
---|
44 | <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" /> |
---|
45 | <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=InvaderShip pawndesign=spaceshipinvader /> |
---|
46 | |
---|
47 | <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=FlappyOrxShip pawndesign=spaceshipFlappyOrx /> |
---|
48 | |
---|
49 | |
---|
50 | <FlappyOrxCenterPoint name=flappyorxcenter /> |
---|
51 | <?lua |
---|
52 | for i = 1, 30, 1 do |
---|
53 | j = math.random() |
---|
54 | ?> |
---|
55 | |
---|
56 | <MovableEntity |
---|
57 | position = "<?lua print(i* 3000) ?>,0, <?lua print(j* 200) ?>" |
---|
58 | collisionType = dynamic |
---|
59 | linearDamping = 0.8 |
---|
60 | angularDamping = 0 |
---|
61 | scale = "<?lua print(10)?>" |
---|
62 | collisiondamage = 0 |
---|
63 | enablecollisiondamage = true |
---|
64 | > |
---|
65 | |
---|
66 | <attached> |
---|
67 | <Model mass="1000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
68 | </attached> |
---|
69 | <collisionShapes> |
---|
70 | <SphereCollisionShape radius="<?lua print(10) ?>" /> |
---|
71 | </collisionShapes> |
---|
72 | </MovableEntity> |
---|
73 | |
---|
74 | <MovableEntity |
---|
75 | position = "<?lua print(i* 3000) ?>,0,<?lua print(-150 + j* 200) ?>" |
---|
76 | collisionType = dynamic |
---|
77 | linearDamping = 0.8 |
---|
78 | angularDamping = 0 |
---|
79 | scale = "<?lua print(10)?>" |
---|
80 | collisiondamage = 0 |
---|
81 | enablecollisiondamage = true |
---|
82 | > |
---|
83 | |
---|
84 | <attached> |
---|
85 | <Model mass="1000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
86 | </attached> |
---|
87 | <collisionShapes> |
---|
88 | <SphereCollisionShape radius="<?lua print(10) ?>" /> |
---|
89 | </collisionShapes> |
---|
90 | </MovableEntity> |
---|
91 | |
---|
92 | <?lua |
---|
93 | end |
---|
94 | ?> |
---|
95 | |
---|
96 | </Scene> |
---|
97 | </Level> |
---|
98 | |
---|