Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Asteroid_HS17/data/levels/Asteroids.oxw @ 11516

Last change on this file since 11516 was 11516, checked in by vyang, 7 years ago

Files hinzugefuegt, versucht Aehnlichkeiten mit anderen minigames (dodgerace, invader) zu finden. Testlevel noch zu bearbeiten. Gametype Asteroids crashed immer noch

File size: 2.0 KB
Line 
1 <LevelInfo
2 name = "Asteroids"
3 description = "Try to prevent asteroids from colliding into your spaceshuttle. Be prepared to dodge all asteroids or destroy them;"
4 tags = "asteroids, minigame"
5 screenshot = "emptylevel.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/spaceshipDodgeRace.oxt")
17  include("templates/enemyInvader.oxt")
18  include("templates/DodgeRacePattern.oxt")
19  include("overlays/DodgeRaceHUD.oxo")
20?>
21
22
23
24<Level
25    plugin = asteroids
26    gametype = Asteroids
27    >
28
29
30  <templates>
31    <Template link=lodtemplate_default />
32  </templates>
33  <?lua include("includes/notifications.oxi") ?>
34
35  <Scene
36    ambientlight = "1.0, 1.0, 1.0"
37    skybox       = "Orxonox/skyBoxClouds"
38    negativeWorldRange = "-100000, -100000, -100000"
39    positiveWorldRange = " 100000,  100000,  100000"
40  >
41
42  <WorldAmbientSound
43    source="Earth.ogg"
44    looping="true"
45    playOnLoad="true"
46  />
47
48    <!-- <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"/> -->
49    <Light type=directional position="-100, 10000, -700" lookat="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
50    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=AsteroidsShip pawndesign=spaceshipdodgerace />
51
52    <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 />
53
54
55    <DodgeRaceCenterPoint name=invadercenter />
56 
57  <StaticEntity position="0,-50,0" direction="0,0,0"   scale="1" collisionType=static mass=1 friction=0.01 >
58      <attached>
59        <Model position="0,0,0" mesh="plane.mesh" scale3D="100000,0,100000" />
60      </attached>
61
62      <collisionShapes>
63        <BoxCollisionShape position="0,0,0" halfExtents="1,1,1" />
64      </collisionShapes>
65
66  </StaticEntity>
67   
68   
69   
70   
71   
72   
73  </Scene>
74</Level>
75
Note: See TracBrowser for help on using the repository browser.