Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Asteroid_HS17/data/levels/MiniGameTest.oxw @ 11594

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

MiniGameTest Minigame erstellt → Kopie von DodgeRace, Namen von Asteroid zu Asteroid 2D geaendert, da schon eine Klasse mit dem selben Namen existiert

File size: 1.9 KB
RevLine 
[11593]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("templates/DodgeRacePattern.oxt")
18  include("overlays/DodgeRaceHUD.oxo")
19?>
20
21<Level
22  plugins = minigametest
23  gametype = MiniGameTest
24>
25  <templates>
26    <Template link=lodtemplate_default />
27  </templates>
28  <?lua include("includes/notifications.oxi") ?>
29
30  <Scene
31    ambientlight = "1.0, 1.0, 1.0"
32    skybox       = "Orxonox/skyBoxClouds"
33    negativeWorldRange = "-100000, -100000, -100000"
34    positiveWorldRange = " 100000,  100000,  100000"
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="-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="-200,0,0" lookat="0,0,0" spawnclass= MiniGameTestShip pawndesign=spaceshipdodgerace />
46
47    <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 />
48
49
50    <MiniGameTestCenterPoint name=invadercenter />
51 
52  <StaticEntity position="0,-50,0" direction="0,0,0"   scale="1" collisionType=static mass=1 friction=0.01 >
53      <attached>
54        <Model position="0,0,0" mesh="plane.mesh" scale3D="100000,0,100000" />
55      </attached>
56
57      <collisionShapes>
58        <BoxCollisionShape position="0,0,0" halfExtents="1,1,1" />
59      </collisionShapes>
60
61  </StaticEntity>
62   
63 
64   
65  </Scene>
66</Level>
67
Note: See TracBrowser for help on using the repository browser.