Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation/data/levels/presentationFS11.oxw @ 8628

Last change on this file since 8628 was 8628, checked in by dafrick, 13 years ago

Some changes in prsentation level. Making PortalEndPoints radar viewable.

File size: 6.4 KB
Line 
1<LevelInfo
2 name = "Presentation FS11"
3 description = "Presentation level spring semester '11"
4 tags = "test"
5/>
6
7<?lua
8  include("stats.oxo")
9  include("HUDTemplates3.oxo")
10  include("templates/lodInformation.oxt")
11?>
12
13<?lua
14  include("templates/spaceshipAssff.oxt")
15  include("templates/spaceshipAssff2.oxt")
16  include("templates/spaceshipPirate.oxt")
17?>
18
19<?lua
20include("templates/pickupRepresentationTemplates.oxt")
21?>
22
23<Level
24 name         = "Sample"
25 description  = "Just a few tests"
26>
27  <templates>
28    <Template link=lodtemplate_default />
29  </templates>
30
31  <Scene
32    ambientlight = "0.8, 0.8, 0.8"
33    skybox       = "Orxonox/skyboxempty"
34  >
35
36    <?lua
37      include("includes/pickups.oxi")
38    ?>
39
40    <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"/>
41    <SpawnPoint team=0 position="0,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
42
43<!-- PICKUPS -->
44    <PickupSpawner position="-50,50,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
45      <pickup>
46        <DronePickup template=dronepickup />
47      </pickup>
48    </PickupSpawner>
49
50    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp" lifetime=500 loop=1 startdelay=2.5 />
51    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp2" lifetime=500 loop=1 startdelay=2 />
52    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp3" lifetime=500 loop=1 startdelay=2 />
53
54   
55    <!-- BOUNDARIES AND PORTALS -->
56
57    <Template name=PortalDefault>
58        <PortalEndPoint>
59            <attached>
60                <Billboard material="Portals/Default" />
61            </attached>
62        </PortalEndPoint>
63    </Template>
64
65    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-90000,0,0"/>
66    <PortalEndPoint position="-350,0,0" id="3" distance="40" target="MobileEntity" design="PortalDefault"/>
67    <PortalEndPoint position="-72000,0,0" id="4" distance="40" target="MobileEntity" design="PortalDefault"/>
68    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,10000,0"/>
69
70    <SpaceBoundaries warnDistance="1" maxDistance="450" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
71    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-30000,0,0"/>
72
73    <PortalLink fromID="3" toID="4" />
74    <PortalLink fromID="4" toID="3" />
75
76    <!-- MODELS, DEBRIS, ETC -->
77
78    <!-- This is a model of Earth: mass=EarthMass/1000 and radius=EarthRadius[km]*10 -->
79    <Planet
80      position="80500,0,0"
81      scale="63000"
82      collisionType="dynamic"
83      linearDamping="0.8"
84      angularDamping="0"
85      mass="5.9e21"
86      pitch="-90"
87      yaw="50"
88      mesh="planets/earth.mesh"
89      atmosphere="atmosphere1"
90      rotationaxis="0,1,0"
91      rotationrate="0.2"
92      atmospheresize="80.0f"
93      imagesize="1024.0f"
94      collisiondamage = 2
95      enablecollisiondamage = true
96    >
97      <attached>
98        <ForceField position="0,0,0" mode="newtonianGravity" diameter="140000" massDiameter="126000" mass="5.9e21" />
99      </attached>
100      <collisionShapes>
101        <SphereCollisionShape radius="63000" position="0,0,0" />
102      </collisionShapes>
103    </Planet>
104
105    <!-- MOON AREA -->
106
107    <!-- This is a model of our Moon: mass=MoonMass/1000 and radius=MoonRadius[km]*10 and position=DistanceFromEarth[km]*10 -->
108    <Planet
109      position="-80000,0,0"
110      scale="4000"
111      collisionType="dynamic"
112      linearDamping="0.8"
113      angularDamping="0"
114      mass="7.36e19"
115      pitch="0"
116      mesh="planets/moon.mesh"
117      atmosphere="atmosphere1"
118      rotationaxis="0,1,0"
119      rotationrate="0.2"
120      atmospheresize="0.0f"
121      imagesize="1024.0f"
122      collisiondamage = 2
123      enablecollisiondamage = true
124    >
125      <attached>
126        <ForceField position="0,0,0" mode="newtonianGravity" diameter="40000" massDiameter="34740" mass="7.36e19" />
127      </attached>
128      <collisionShapes>
129        <SphereCollisionShape radius="4000" position="0,0,0" />
130      </collisionShapes>
131    </Planet>
132
133    <!-- Hydrogen farmer -->
134    <SpaceShip position="-74000,2500,0" roll=90 yaw=180 pitch=20 mass=10000 >
135      <attached>
136        <!-- Docking -->
137        <DistanceTriggerBeacon name="bcnDestroyer" />
138        <DockingTarget name="destroyer" />
139
140        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=100 />
141        <!-- <Model mesh="cube.mesh" mass=10 position="-1120,0,0" scale3D="230,200,490"  /> -->
142        <!-- <Model mesh="cube.mesh" mass=10 position="580,0,-960" scale3D="230,200,490" yaw=-120 /> -->
143        <!-- <Model mesh="cube.mesh" mass=10 position="580,0,960" scale3D="230,200,490" yaw=-240 /> -->
144        <!-- <Model mesh="cube.mesh" mass=10 position="0,0,0" scale3D="600,200,100" /> -->
145      </attached>
146      <collisionShapes>
147        <BoxCollisionShape  position="-1120,0,0" halfExtents="230,200,490" />
148        <BoxCollisionShape  position="580,0,-960" halfExtents="230,200,490" yaw=-120 />
149        <BoxCollisionShape  position="580,0,960" halfExtents="230,200,490" yaw=-240 />
150      </collisionShapes>
151    </SpaceShip>
152
153    <Dock position="-73942, 1288, -255" roll=90 yaw=180 >
154        <animations>
155            <MoveToDockingTarget target="destroyer" />
156        </animations>
157        <effects>
158            <DockToShip target="spaceShip" />
159        </effects>
160        <events>
161            <execute>
162                <EventListener event="dockMe" />
163            </execute>
164        </events>
165        <attached>
166            <DistanceTrigger position="10,-202, -42" distance="400" target="Pawn"
167                beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
168            />
169            <Billboard position="10,-202,-42" material="Examples/Flare" colour="1.0, 0, 0" />
170        </attached>
171    </Dock>
172
173    <SpaceShip template="spaceshipassff2" position="-73915,3786,67" orientation="-0.14045, 0.68254, 0.68144, 0.223774" >
174      <attached>
175        <DockingTarget name="spaceShip" />
176      </attached>
177    </SpaceShip>
178
179
180    <PickupSpawner position="-25,-50,-125" respawnTime="10" triggerDistance="20" maxSpawnedItems="5">
181      <pickup>
182        <ShrinkPickup template ="smallshrinkpickup"/>
183      </pickup>
184    </PickupSpawner>
185
186    <PickupSpawner position="25,50,-125" respawnTime="10" triggerDistance="20" maxSpawnedItems="5">
187      <pickup>
188        <ShrinkPickup template ="smallshrinkpickup"/>
189      </pickup>
190    </PickupSpawner>
191  </Scene>
192</Level>
193
Note: See TracBrowser for help on using the repository browser.