Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Asteroid_HS17/data/levels/Asteroids2D.oxw @ 11608

Last change on this file since 11608 was 11608, checked in by vyang, 6 years ago

Asteroids2D erfolgreich als Minigame eingebunden, Dimensionen des Spielfeldes werden im CenterPoint gesetzt.

File size: 1.5 KB
RevLine 
[11593]1<LevelInfo
2 name = "Asteroids2D"
3 description = "Try to prevent asteroids from colliding into your spaceshuttle. Be prepared to dodge all asteroids or destroy them."
4 tags = "minigame"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("templates/lodInformation.oxt")
11?>
12
13<?lua
[11608]14  include("templates/spaceshipAssff2.oxt")
15  include("templates/spaceshipPirate.oxt")
[11593]16  include("templates/spaceshipAsteroids2D.oxt")
[11608]17  include("templates/enemyInvader.oxt")
18  include("overlays/Asteroids2DHUD.oxo")
[11593]19?>
20
21<Level
[11608]22  plugins = asteroids2D
[11593]23  gametype = Asteroids2D
24>
25  <templates>
26    <Template link=lodtemplate_default />
27  </templates>
28  <?lua include("includes/notifications.oxi") ?>
29
30  <Scene
[11608]31    ambientlight = "1.0, 1.0, 1.0"
32    skybox       = "Orxonox/Starbox"
33    negativeWorldRange = "-100000, -100000, -100000"
34    positiveWorldRange = " 100000,  100000,  100000"
[11593]35  >
[11608]36
37  <WorldAmbientSound
38    source="Earth.ogg"
39    looping="true"
40    playOnLoad="true"
41  />
42
[11593]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"/> -->
[11608]44    <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" />
45    <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass= Asteroids2DShip pawndesign=spaceshipasteroids2d />
[11593]46
[11608]47    <Model mesh="axes.mesh" scale=10 position="0,0,0" />
48    <Asteroids2DCenterPoint name=asteroids2Dcenter />
[11593]49 
50   
51  </Scene>
[11608]52</Level>
Note: See TracBrowser for help on using the repository browser.