Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Initial checkin

File size: 2.1 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/spaceshipInvader.oxt")
16  include("templates/enemyInvader.oxt")
17  include("overlays/InvaderHUD.oxo")
18?>
19
20<Level gametype = Jump>
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24  <?lua include("includes/notifications.oxi") ?>
25
26    <!-- ambientlight = "0.8, 0.8, 0.8"
27    skybox       = "Orxonox/Starbox" -->
28  <Scene ambientlight = "0.8, 0.7, 0.4" skybox     = "Orxonox/skyBoxBasic">
29
30 
31    <WorldAmbientSound
32      source="Earth.ogg"
33      looping="true"
34      playOnLoad="true"
35    />
36 
37
38    <!-- <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"/> -->
39    <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" />
40
41
42
43    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=JumpShip pawndesign=spaceshipinvader />
44<!--
45    <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 />
46
47
48    <JumpCenterPoint name=jumpcenter />
49
50   
51    <?lua
52      for i = 1, 300, 1 do
53        j = math.random()
54    ?>
55
56    <MovableEntity
57      position = "<?lua print(math.random()* 40000 + 1000) ?>,-1000,<?lua print(math.random() * 4000 - 2000) ?>"
58      collisionType = dynamic
59      linearDamping = 0.8
60      angularDamping = 0
61      scale = "<?lua print(j * 150)?>"
62      collisiondamage = 0
63      enablecollisiondamage = true
64    >
65      <attached>
66        <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
67      </attached>
68      <collisionShapes>
69        <SphereCollisionShape radius="<?lua print(j * 350) ?>" />
70      </collisionShapes>
71    </MovableEntity>
72
73    <?lua
74      end
75    ?>
76
77  -->
78   
79  </Scene>
80</Level>
81
Note: See TracBrowser for help on using the repository browser.