Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/spaceraceTwo/data/levels/Spacerace2.oxw @ 8949

Last change on this file since 8949 was 8949, checked in by eceline, 13 years ago

level Spacerace2 works now

File size: 2.0 KB
Line 
1<LevelInfo
2 name = "Spacerace2"
3 description = "Just a few tests"
4 tags = "test"
5/>
6
7<?lua
8  include("stats.oxo")
9  include("HUDTemplates3.oxo")
10  include("templates/lodInformation.oxt")
11
12  include("templates/spaceshipAssff.oxt")
13 
14?>
15
16<?lua
17  include("templates/spaceshipAssff2.oxt")
18  include("templates/spaceshipPirate.oxt")
19?>
20
21<Level
22 name         = "Spacerace2"
23 description  = "Just a few tests"
24gametype = SpaceRace
25>
26  <templates>
27    <Template link=lodtemplate_default />
28  </templates>
29  <?lua include("includes/notifications.oxi") ?>
30
31  <Scene
32    ambientlight = "0.8, 0.8, 0.8"
33    skybox       = "Orxonox/Starbox"
34  >
35
36    <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"/>
37
38       
39        <SpaceRaceManager>
40<checkpoints>  
41        <RaceCheckPoint name="checkpoint1" position="0,-2000,1000" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="0" islast="true">
42        <attached>
43            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
44        </attached>
45        <collisionShapes>
46            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
47            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
48            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
49            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
50        </collisionShapes>
51    </RaceCheckPoint>
52</checkpoints>
53</SpaceRaceManager>
54
55 <SpaceShip position="0,2000,2000" lookat="0,0,0" team=1 >
56      <templates>
57        <Template link=spaceshipassff />
58      </templates>
59      <controller>
60         <WaypointPatrolController alertnessradius=1500 team=0 >
61            <waypoints>
62                <Model scale=0 position="0,2000,2000" />
63            </waypoints>
64         </WaypointPatrolController>
65      </controller>
66    </SpaceShip>
67
68
69    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
70
71
72   
73
74   
75  </Scene>
76</Level>
77
Note: See TracBrowser for help on using the repository browser.