Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/SpaceRace_HS16/data/levels/newnewnewspacerace.oxw @ 11238

Last change on this file since 11238 was 11238, checked in by meilel, 8 years ago

new template for spaceship

File size: 2.2 KB
Line 
1<LevelInfo
2 name = "New Old Space Race 2"
3 description = "Under maintenance..."
4 tags = "gametype"
5 screenshot = "spacerace.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<?lua
15  include("templates/fastship.oxt")
16  include("templates/spaceshipPirate.oxt")
17?>
18
19<Level
20 plugins = "gametypes"
21 gametype = "OldSpaceRace"
22>
23  <templates>
24    <Template link=lodtemplate_default />
25  </templates>
26  <?lua include("includes/notifications.oxi") ?>
27
28  <Scene
29    ambientlight = "0.8, 0.8, 0.8"
30    skybox       = "Orxonox/skyBoxMoreNebula"
31  >
32 
33  <!-- SOUNDS & MUSIC -->
34    <WorldSound name="scoreSound" position="0,-2100,0" source="sounds/ReadyGo.ogg" >
35      <events>
36        <play>
37          <EventListener event="start" />
38        </play>
39      </events>
40    </WorldSound>
41    <DistanceTrigger name="start" position="0,-2100,0"  target="Pawn" distance=100 stayActive="true" delay=0.5 />
42 
43    <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true" />
44 
45
46    <?lua math.randomseed(98) ?>
47
48    <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"/>
49
50    <SimpleNotification message="Reach the last check point within 150 seconds!!" />
51
52    <!-- ------------------SpawnPoint----------------- -->
53    <SpawnPoint position="0,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=fastship active="true" >
54    </SpawnPoint>
55
56        <Model mesh="axes.mesh" scale="10" position="200,0,0"/>
57        <Model mesh="axes.mesh" scale="10" position="400,0,0"/>
58        <Model mesh="axes.mesh" scale="10" position="600,0,0"/>
59        <Model mesh="axes.mesh" scale="10" position="800,0,0"/>
60        <Model mesh="axes.mesh" scale="10" position="1000,0,0"/>
61        <Model mesh="axes.mesh" scale="10" position="1100,0,0"/>
62        <Model mesh="axes.mesh" scale="10" position="1200,0,0"/>
63        <Model mesh="axes.mesh" scale="10" position="1300,0,0"/>
64        <Model mesh="axes.mesh" scale="10" position="1400,0,0"/>
65        <Model mesh="axes.mesh" scale="10" position="1500,0,0"/>
66        <Model mesh="axes.mesh" scale="10" position="1600,0,0"/>
67        <Model mesh="axes.mesh" scale="10" position="1700,0,0"/>
68
69  </Scene>
70</Level>
Note: See TracBrowser for help on using the repository browser.