Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation3/data/levels/Level(UnderAttack).oxw @ 6920

Last change on this file since 6920 was 6920, checked in by stmathia, 14 years ago

Changes in level files. Addition to TemaDeathmatch, should now be able to only use active SpawnPoints (at least if there are active ones), not fully working, yet, though.

File size: 4.4 KB
Line 
1<?lua
2        include("stats.oxo")
3        include("hudtemplates3.oxo")
4        include("underattackhud.oxo")
5        include("templates/spaceship_assff.oxt")
6        include("templates/spaceship_pirate.oxt")
7        include("templates/spaceship_destroyer.oxt")
8?>
9
10<!-- Ausgang: Level ===> name/description -->
11<Level
12  name="Level"
13  description="Level zerstoeren von Transportern"
14  gametype=UnderAttack
15>
16
17        <!-- Ausgang: Szene ===> ambientlight/skybox -->
18        <Scene
19          ambientlight="0.8,0.8,0.8"
20          skybox="Orxonox/skypanoramagen1"
21        >
22               
23                <!--Light: noch zu aendern -->
24                <Light type=directional position="0,0,0" direction="0, 0, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 1.0, 0.9" />
25
26<!--******************************************************************************************************************************************************************************************-->
27<!--Quests ==> id/title/description/failMessage/completeMessage-->
28        <GlobalQuest id="Levelname.nameofQuest1.testsasimplequesttoseehowitworks">    <!--QUESTIDS MUST HAVE AT LEAST 32 CHARACTERS-->
29                <QuestDescription title="ErkundungsFlug" description="Ein Erkundungsflug durch die Skybox!" failMessage="You failed!" completeMessage="You win!" />
30        </GlobalQuest>
31
32
33<!--QuestEnd-->
34<!--******************************************************************************************************************************************************************************************-->
35
36                <!--Spieler Spawnpoint ===> position/direction-->
37                <SpawnPoint position="-100,50,0" direction="1000,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff team=0 />
38
39
40                <!--Auslosen der 1 testQuest-->
41<!-- Funktioniert noch nicht Fehler mit einem Argument in Quest-->
42                <QuestEffectBeacon position="1000,0,0" times="1">
43                        <effects>
44                                <AddQuest questId="Levelname.nameofQuest1.testsasimplequesttoseehowitworks"/>
45                        </effects>
46                        <events>
47                                <execute>
48                                        <EventListener event="Levelnamequest1"/>
49                                </execute>
50                        </events>
51                        <attached>
52                                <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Examples/Flare"/>
53                                <DistanceTrigger name="Levelnamequest1" position="0,0,0" distance="50" target="ControllableEntity"/>
54                        </attached>
55                </QuestEffectBeacon>
56
57                <!--Destroyer 1 ++ Benutzen des spaceship_destroyer template (Fehler mit dem Ziel ==> muss nur den letzten transporter zerstoeren) ==> health/maxHealth/initialHealth-->
58                <Destroyer
59                        position="3000,0,3000"
60                        velocity="-25,0,0"
61                        template=spaceshipDestroyer
62                        health=1000
63                        maxHealth = 1000
64                        initialHealth = 1000
65                >
66                </Destroyer>
67
68<!--Erstellen der Schiffe des ErkundungsTrupps__________________________________________________________________-->
69                <!--Spaceships team 0 (player:team=0)-->
70                <SpaceShip position="75,0,0" lookat="1000,0,0" >
71                        <templates>
72                                <Template link=spaceshipassff />
73                        </templates>
74                        <controller>
75                                <WaypointPatrolController alertnessradius=1000 team=0>
76                                        <waypoints>
77                                                <Model mesh="cube.mesh" scale=0 position="3025,0,0" />
78                                                <Model mesh="cube.mesh" scale=0 position="4025,0,1000" />
79                                                <Model mesh="cube.mesh" scale=0 position="3025,0,3000" />
80                                        </waypoints>
81                                </WaypointPatrolController>
82                        </controller>
83                </SpaceShip>
84                <!--Second Spaceship team 0 (player: team 0)-->
85                <SpaceShip position="0,0,75" lookat="1000,0,75" >
86                        <templates>
87                                <Template link=spaceshipassff />
88                        </templates>
89                        <controller>
90                                <WaypointPatrolController alertnessradius=1000 team=0>
91                                        <waypoints>
92                                                <Model mesh="cube.mesh" scale=0 position="3000,0,25" />
93                                                <Model mesh="cube.mesh" scale=0 position="4000,0,1025" />
94                                                <Model mesh="cube.mesh" scale=0 position="3000,0,3025" />
95                                        </waypoints>
96                                </WaypointPatrolController>
97                        </controller>
98                </SpaceShip>
99                <!--third Spaceship team 0 (player: team 0)-->
100                <SpaceShip position="0,0,-75" lookat="1000,0,-75" >
101                        <templates>
102                                <Template link=spaceshipassff />
103                        </templates>
104                        <controller>
105                                <WaypointPatrolController alertnessradius=1000 team=0>
106                                        <waypoints>
107                                                <Model mesh="cube.mesh" scale=0 position="3000,0,-25" />
108                                                <Model mesh="cube.mesh" scale=0 position="4000,0,975" />
109                                                <Model mesh="cube.mesh" scale=0 position="3000,0,2975" />
110                                        </waypoints>
111                                </WaypointPatrolController>
112                        </controller>
113                </SpaceShip>
114<!--Erstellen der Schiffe des ErkundungsTrupps ______ENDE ______________________________________________-->
115
116
117        </Scene>
118</Level>
Note: See TracBrowser for help on using the repository browser.