Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/particleEffectsHS15/data/levels/presentationHS13.oxw @ 10944

Last change on this file since 10944 was 10258, checked in by landauf, 10 years ago

merged presentationHS14merge back to trunk

  • Property svn:eol-style set to native
File size: 9.9 KB
Line 
1<!--  -->
2<LevelInfo
3 name = "Presentation HS 13"
4 description = "Entering a Space Station."
5 tags = "presentation"
6 screenshot = "emptylevel.png"
7/>
8
9<?lua
10  include("stats.oxo")
11  include("HUDTemplates3.oxo")
12  include("templates/lodInformation.oxt")
13  include("templates/pickupRepresentationTemplates.oxt")
14?>
15
16<?lua
17  include("templates/spaceshipAssff.oxt")
18  include("templates/spaceshipPirate.oxt")
19  include("templates/spaceshipEscort.oxt")
20  include("templates/bigship.oxt")
21  include("templates/spaceshipTurret.oxt")
22  include("templates/spaceshipCollateralDamage.oxt")
23  include("templates/FPS.oxt")
24  include("templates/HeavyCruiser.oxt")
25?>
26
27<Level
28  gametype = Deathmatch
29>
30  <templates>
31    <Template link=lodtemplate_default />
32  </templates>
33
34  <Scene
35    ambientlight = "0.5, 0.5, 0.5"
36    skybox       = "Orxonox/skyBoxMoreNebula"
37    negativeWorldRange = "-100000, -100000, -100000"
38    positiveWorldRange = " 100000,  100000,  100000"
39    gravity      = "0,0,0"
40    hasPhysics   = true
41  >
42
43    <?lua
44      include("includes/pickups.oxi")
45    ?>
46
47    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0,1.0,1.0,0.5" specular="1.0, 0.9, 0.9, 1.0"/>
48    <SpawnPoint team=0 position="4320,1610,-741" lookat="2800,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
49
50
51    <StaticEntity position  = "2800,0,0" mass=10000 collisionType=static >
52      <attached>
53        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 />
54      </attached>
55      <collisionShapes>
56        <BoxCollisionShape  position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes -->
57        <BoxCollisionShape  position="290,0,-480" halfExtents="115,100,245" yaw=-120 />
58        <BoxCollisionShape  position="290,0,480" halfExtents="115,100,245" yaw=-240 />
59        <BoxCollisionShape  position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections -->
60        <BoxCollisionShape  position="140,0,-240" halfExtents="163,50,50" yaw=-120 />
61        <BoxCollisionShape  position="140,0,240" halfExtents="163,50,50" yaw=-240 />
62        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower -->
63        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-120 />
64        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-240 />
65        <BoxCollisionShape  position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one-->
66        <BoxCollisionShape  position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs -->
67        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=-30 />
68        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=30 />
69        <BoxCollisionShape  position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs -->
70        <BoxCollisionShape  position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 />
71        <BoxCollisionShape  position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 />
72      </collisionShapes>
73    </StaticEntity>
74
75<!-- Docking  -->
76    <Dock position="2830,20,50" roll=0 yaw=0 >
77        <animations>
78            <MoveToDockingTarget target="fistperson" />
79        </animations>
80        <effects>
81            <DockToShip target="fistperson" />
82        </effects>
83        <events>
84            <execute>
85                <EventListener event="dockMe" />
86            </execute>
87
88            <undocking>
89                <EventListener event="undockMe" />
90            </undocking>
91       
92        </events>
93        <attached>
94        <!-- Trigger for docking with billboard -->
95            <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
96            <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
97                beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
98            />
99        <!-- Trigger for undocking with billboard -->
100            <Billboard position="-2800,-20055,-700" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
101            <DistanceTrigger position="-2800,-20055,-700" distance="150" target="Pawn"
102                beaconMode="identify" targetname="bcnDestroyer" name="undockMe"
103            />
104        </attached>
105
106    </Dock>
107   
108<!-- FPS Player as destination of the dock -->
109    <FpsPlayer template = "fps" radarname = "First Person Player" position = "172,-20000,-676" >
110      <attached>
111        <DistanceTriggerBeacon name="bcnDestroyer" />
112        <DockingTarget name="fistperson" />
113      </attached>
114    </FpsPlayer>
115
116
117
118
119<!-- Docking  II -->
120    <Dock position="-840,-20055,1.8" roll=0 yaw=0 >
121        <animations>
122            <MoveToDockingTarget target="spaceShip" />
123        </animations>
124        <effects>
125            <DockToShip target="spaceShip" />
126        </effects>
127        <events>
128            <execute>
129                <EventListener event="dockMe" />
130            </execute>
131
132            <undocking>
133                        <EventListener event="undockMe" />
134            </undocking>
135       
136        </events>
137        <attached>
138        <!-- Trigger for docking with billboard -->
139            <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 />
140            <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
141                beaconMode="exclude" targetname="bcnSpaceShip" name="dockMe"
142            />
143        <!-- Trigger for undocking with billboard -->
144            <Billboard position="4140,20055,-295" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 />
145            <DistanceTrigger position="4140,20055,-295" distance="300" target="Pawn"
146                beaconMode="identify" targetname="bcnSpaceShip" name="undockMe"
147            />
148        </attached>
149
150    </Dock>
151
152    <SpaceShip
153        template            = "HeavyCruiser"
154        team                = "0"
155        position            = "3600,-20,-120"
156        orientation         = "1,0,0,0"
157        health              = "400"
158        initialhealth       = "400"
159        maxhealth           = "500"
160        shieldhealth        = "80"
161        initialshieldhealth = "80"
162        maxshieldhealth     = "120"
163        shieldabsorption    = "0.8"
164        reloadrate          = "1"
165        reloadwaittime      = "1"
166        name                = "Tanis1"
167        radarname           = "Tanis Cruiser" >
168      <attached>
169        <DockingTarget name="spaceShip" />
170        <DistanceTriggerBeacon name="bcnSpaceShip" />
171      </attached>
172    </SpaceShip>
173
174
175
176
177<!-- SpaceStation
178
179The station can either be hidden outside of the skybox, within the hull of the space station if it is big enough or within a planet.
180Complex spacestations can be placed very far away from the spaceship so it is rendered at low resolution while the player uses the space ship.
181
182-->
183  <StaticEntity position="0,-20000,0" direction="0,-1,0" collisionType=static mass=100000 friction=0.01 pitch=-90>
184      <attached>
185    <Model position="0,0,0" mesh="ss_tube.mesh" scale3D="100,100,100" />
186        <Model position="500,0,0" mesh="ss_tube.mesh" scale3D="100,100,100" />
187        <Model position="1200,0,0" mesh="ss_tube_x.mesh" scale3D="100,100,100" />
188        <Model position="1900,0,0" mesh="ss_curve.mesh" scale3D="100,100,100" />
189        <Model position="1200,0,703.5" mesh="ss_curve.mesh" scale3D="100,100,100" />
190        <Model position="1805.0,0,-800" mesh="ss_curve.mesh" scale3D="100,100,100" yaw=90 />
191        <Model position="1010.0,0,-700.0" mesh="ss_curve.mesh" scale3D="100,100,100" yaw=-180 />
192       
193       
194        <Model position="750,-16,703.5" pitch=-90 mesh="ss_flag_room.mesh" scale3D="100,100,100" />
195        <Model position="-250,-16,0" pitch=-90 mesh="ss_flag_room.mesh" scale3D="100,100,100" />
196        <Model position="1200,100,-100" roll=180 mesh="ss_machine.mesh" scale3D="0.15,0.15,0.15" />
197        <Model position="-100,100,0" roll=180 mesh="ss_table.mesh" scale3D="25,25,25" />
198        <Model position="-300,100,0" roll=180 mesh="ss_table_cracked.mesh" scale3D="25,25,25" />
199        <Model position="600,75,0" roll=180 mesh="ss_cylinder.mesh" scale3D="25,25,25" />
200        <Model position="300,50,0" roll=180  pitch=20 mesh="ss_chair.mesh" scale3D="20,20,20" />
201        <Model position="1000,50,0" roll=180 mesh="ss_wall.mesh" scale3D="20,20,20" />
202        <Model position="-830,20,0" roll=180 mesh="ss_flag_aean.mesh" scale3D="40,40,40" />
203       
204        <!--Model mesh="cube.mesh" mass=10 position="0,-100,0" scale3D="5000,0.5,1000" yaw=0 />
205    <Model mesh="cube.mesh" mass=10 position="0,100,0" scale3D="2000,0.5,1000" yaw=0 />
206    <!--Model mesh="cube.mesh" mass=10 position="0,0,100" scale3D="5000,100,0.5" yaw=0 />
207    <Model mesh="cube.mesh" mass=10 position="0,0,-100" scale3D="5000,100,0.5" yaw=0 /-->
208      </attached>
209      <collisionShapes>
210        <!--BoxCollisionShape position="0,-100,0" halfExtents="5000,0,100" /-->
211            <BoxCollisionShape position="0,100,0" halfExtents="2000,0,1000" />
212            <!--BoxCollisionShape position="0,0,100" halfExtents="5000,100,0" />
213            <BoxCollisionShape position="0,0,-100" halfExtents="5000,100,0" /-->
214      </collisionShapes>
215  </StaticEntity>
216
217<!--       
218
219-->
220
221
222  <!--Model position="2820,-20,-160" yaw="90" pitch="-90" roll="0" scale="10" mesh="ss_tube.mesh" />
223  <Model position="2820,-20,-210" yaw="90" pitch="-90" roll="0" scale="10" mesh="ss_tube.mesh" />
224  <Model position="2820,-20,-280" yaw="90" pitch="-90" roll="0" scale="10" mesh="ss_curve.mesh" />
225  <Model position="2820,-100,-270.5" yaw="0" pitch="180" roll="90" scale="10" mesh="ss_curve.mesh" /-->
226 
227   
228<!-- Homogenous gravitationfield to simulate local gravity (activating the normal gravity will affect the spaceship terribly) -->
229<ForceField position="0,-20000,0" mode="homogen" diameter="3000" forcedirection = "0,-500,0" />
230
231
232
233
234
235<!-- Some more stuff -->
236
237    <!-- triple large belt around the planet  -->
238    <?lua
239        dofile("includes/asteroidField.lua")
240        asteroidBelt(0, -19900, 0, 30, 0, 30, 30, 50, 7190, 7800, 250, 1)
241    ?>
242    <?lua
243        dofile("includes/asteroidField.lua")
244        asteroidBelt(0, -19900, 0, 30, 0, 30, 30, 50, 10000, 11000, 300, 1)
245    ?>
246    <?lua
247        dofile("includes/asteroidField.lua")
248        asteroidBelt(0, -19900, 0, 30, 0, 30, 30, 50, 14000, 15000, 350, 1)
249    ?>
250
251    <Model position="0,-19900,0" mesh="planets/ganymede.mesh" scale="5000" />
252   
253   
254
255  </Scene>
256
257</Level>
258
Note: See TracBrowser for help on using the repository browser.