Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ai2/data/levels/missionOne.oxw @ 8786

Last change on this file since 8786 was 8786, checked in by jo, 13 years ago

Bots can fetch pickups. Waypointmanagement is unstable yet.

File size: 4.1 KB
Line 
1<LevelInfo
2 name = "Tutorial"
3 description = "First guided steps in the orxonoxian universe."
4 tags = ""
5/>
6
7<?lua
8  include("stats.oxo")
9  include("HUDTemplates3.oxo")
10  include("templates/lodInformation.oxt")
11  include("templates/spaceshipAssff2.oxt")
12  include("templates/spaceshipPirate.oxt")
13?>
14
15<Level
16 name         = "Tutorial"
17 description  = "How to steer a spaceship."
18>
19  <templates>
20    <Template link=lodtemplate_default />
21  </templates>
22  <?lua include("includes/notifications.oxi") ?>
23
24  <Scene
25    ambientlight = "0.8, 0.8, 0.8"
26    skybox       = "Orxonox/Starbox"
27  >
28
29    <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"/>
30    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
31
32<!-- Four boxes for aiming
33TODO: Turn engine off at the beginning.
34TODO: display text: "Destroy those four boxes. Aim the a the box and shoot by using the left mouse button."
35"The laser is a standard weapon. It is fast and precise but does not deal much damage. Now do the same with the next target, but right click instead."
36"That was the lightning gun. Its plasma munition is quite slow, but a normal spaceship can't take more than three hits of such a strong weapon. That should be your favourite in close range combat or if you want to hit a really slow enemy. Try to destroy the next box by right clicking at it."
37"The target seeking rockets follow their target on their own and the explosive load shouldn't be underestimated. Now its time to hit the last target with the hand guided rocket. You can release one by pressing T once. Note: If you miss the target, you can get out of the rocket by clicking or pressing T once more."
38
39TODO: send in waypoint controlled ship that moves
40
41"Task complete. Manual rockets are your most powerful weapon. But since you have to steer it to your target yourself, you will leave your spaceship unprotected for a while. Now lets move to a slightly more difficult target. Take a look at your radar. The red dot is an enemy's ship. Try to turn your ship towards it, such that the red dot is in the radar's centre. You should be able to see it then directly. Your task is to destroy it."
42
43TODO: Turn engine on. Display a waypoint.
44"Lets start flying. Use W to accelerate and S to brake. The goal is to reach the spacestation which is displayed on the radar. If you want to be faster you can temporarily boost by hitting additionally to A the space button. If you use too much boost your engine heats up and you won't be able to use boost for a while. By the way boost could be useful during combat .."
45"That thing you've just collected is a drone. It will follow and protect you."
46TODO: send in a level 0.1 bot on a pirate ship.
47"Hi. We have been attacked by a pirate lately. Please protect us. The drone pickup will help you."
48
49-->   
50  <Pawn health=30 position="0,0,0" direction="0,-1,0" collisionType=dynamic mass=100000>
51      <attached>
52        <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
53      </attached>
54      <collisionShapes>
55        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
56      </collisionShapes>
57  </Pawn>
58  <Pawn health=30 position="70,0,0" direction="0,-1,0" collisionType=dynamic mass=100000>
59      <attached>
60        <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
61      </attached>
62      <collisionShapes>
63        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
64      </collisionShapes>
65  </Pawn>
66  <Pawn health=30 position="140,0,0" direction="0,-1,0" collisionType=dynamic mass=100000>
67      <attached>
68        <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" />
69      </attached>
70      <collisionShapes>
71        <BoxCollisionShape position="0,0,0" halfExtents="25,25,25" />
72      </collisionShapes>
73  </Pawn>
74  <Pawn health=30 position="210,0,0" direction="0,-1,0" collisionType=dynamic mass=100000>
75      <attached>
76        <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" />
77      </attached>
78      <collisionShapes>
79        <BoxCollisionShape position="0,0,0" halfExtents="25,25,25" />
80      </collisionShapes>
81  </Pawn>
82
83
84
85  </Scene>
86</Level>
87
Note: See TracBrowser for help on using the repository browser.