Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Asteroid_HS17/data/levels/MiniGameTest.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
Line 
1<LevelInfo
2 name = "MiniGameTest"
3 description = "Try to come as far as possible"
4 tags = "minigame"
5 screenshot = "DodgeRace.png"
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")
15  include("templates/spaceshipMiniGameTest.oxt")
16  include("templates/enemyInvader.oxt")
17  include("overlays/MiniGameTestHUD.oxo")
18?>
19
20<Level
21  plugins = minigametest
22  gametype = MiniGameTest
23>
24  <templates>
25    <Template link=lodtemplate_default />
26  </templates>
27  <?lua include("includes/notifications.oxi") ?>
28
29  <Scene
30    ambientlight = "1.0, 1.0, 1.0"
31    skybox       = "Orxonox/Starbox"
32    negativeWorldRange = "-100000, -100000, -100000"
33    positiveWorldRange = " 100000,  100000,  100000"
34  >
35
36  <WorldAmbientSound
37    source="Earth.ogg"
38    looping="true"
39    playOnLoad="true"
40  />
41
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="-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" />
44    <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass= MiniGameTestShip pawndesign=spaceshipminigametest />
45
46    <Model mesh="axes.mesh" scale=10 position="0,0,0" />
47
48    <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 />
49
50
51    <MiniGameTestCenterPoint name=invadercenter />
52 
53
54   
55 
56   
57  </Scene>
58</Level>
59
Note: See TracBrowser for help on using the repository browser.