Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pickupsFS14/data/levels/Jump.oxw @ 10017

Last change on this file since 10017 was 10017, checked in by fvultier, 10 years ago

Steuerung funktioniert

File size: 2.3 KB
Line 
1<LevelInfo
2 name = "Jump"
3 description = "Jump\nTip: Try to keep the multiplier high by avoiding shots and enemies."
4 tags = "minigame"
5 screenshot = "orxonoxArcade.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/spaceshipJump.oxt")
16  -- include("templates/enemyInvader.oxt")
17  -- include("overlays/InvaderHUD.oxo")
18?>
19
20
21<Level gametype = Jump>
22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
25  <?lua include("includes/notifications.oxi") ?>
26
27    <!-- ambientlight = "0.8, 0.8, 0.8"
28    skybox       = "Orxonox/Starbox" -->
29  <Scene ambientlight = "0.8, 0.7, 0.4" skybox     = "Orxonox/skyBoxBasic">
30
31 
32    <WorldAmbientSound
33      source="Earth.ogg"
34      looping="true"
35      playOnLoad="true"
36    />
37 
38    <Planet
39      position="0, 0, -2000"
40      scale="1000"
41      collisionType="dynamic"
42      linearDamping="0.8"
43      angularDamping="0"
44      mass="10000000"
45      pitch="0"
46      mesh="planets/muunilinst.mesh"
47      atmosphere="atmosphere1"
48      rotationaxis="1,0,0"
49      rotationrate="1.0"
50      atmospheresize="80.0f"
51      imagesize="1024.0f"
52      collisiondamage = 2
53      enablecollisiondamage = true
54    >
55
56    </Planet>
57
58
59
60    <!-- <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"/> -->
61    <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" />
62
63
64
65    <SpawnPoint team=0 position="0,0,0" lookat="0,0,-1" spawnclass=JumpShip pawndesign=spaceshipjump />
66
67   
68
69
70    <JumpCenterPoint name=jumpcenter />
71
72   
73    <?lua
74      for i = 1, 200, 1 do
75        j = math.random()
76    ?>
77
78    <MovableEntity
79      position = "<?lua print(math.random(-300,300)) ?>,<?lua print(math.random(-250,10000)) ?>,-300>"
80      collisionType = dynamic
81      linearDamping = 0.8
82      angularDamping = 0
83      scale = "10"
84      collisiondamage = 0
85      enablecollisiondamage = no
86
87    >
88      <attached>
89        <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
90      </attached>
91
92    </MovableEntity>
93
94    <?lua
95      end
96    ?>
97
98 
99   
100  </Scene>
101</Level>
Note: See TracBrowser for help on using the repository browser.