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 |
---|
20 | include("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 | |
---|
58 | <Template name=PortalDefault> |
---|
59 | <PortalEndPoint> |
---|
60 | <attached> |
---|
61 | <Billboard material="Portals/Default" /> |
---|
62 | </attached> |
---|
63 | </PortalEndPoint> |
---|
64 | </Template> |
---|
65 | |
---|
66 | <PortalEndPoint position="350,0,0" id="1" distance="40" target="MobileEntity" design="PortalDefault"/> |
---|
67 | <PortalEndPoint position="-30300,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/> |
---|
68 | |
---|
69 | <SpaceBoundaries warnDistance="1" maxDistance="450" showDistance="300" healthDecrease="0.1" position="0,0,0"/> |
---|
70 | <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-30000,0,0"/> |
---|
71 | |
---|
72 | <PortalLink fromID="1" toID="2" /> |
---|
73 | <PortalLink fromID="2" toID="1" /> |
---|
74 | |
---|
75 | <!-- MODELS, DEBRIS, ETC --> |
---|
76 | |
---|
77 | <!-- hydrogen farmer --> |
---|
78 | <SpaceShip position="0,1750,0" roll=90 mass=10000 > |
---|
79 | <attached> |
---|
80 | <!-- Docking --> |
---|
81 | <DistanceTriggerBeacon name="bcnDestroyer" /> |
---|
82 | <DockingTarget name="destroyer" /> |
---|
83 | |
---|
84 | <Dock orientation="0.5, 0.5, 0.5, 0.5" position="-1500,0,0" > |
---|
85 | <animations> |
---|
86 | <MoveToDockingTarget target="destroyer" position="-1300,0,0" /> |
---|
87 | </animations> |
---|
88 | <effects> |
---|
89 | <DockToShip target="spaceShip" /> |
---|
90 | </effects> |
---|
91 | <events> |
---|
92 | <execute> |
---|
93 | <EventListener event="dockMe" /> |
---|
94 | </execute> |
---|
95 | </events> |
---|
96 | <attached> |
---|
97 | <DistanceTrigger position="0,0,-200" distance="30" target="Pawn" |
---|
98 | beaconMode="exclude" targetname="bcnDestroyer" name="dockMe" |
---|
99 | /> |
---|
100 | <Billboard position="0,0,-200" material="Examples/Flare" colour="1.0, 0, 0" /> |
---|
101 | </attached> |
---|
102 | </Dock> |
---|
103 | |
---|
104 | <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=100 /> |
---|
105 | <!-- <Model mesh="cube.mesh" mass=10 position="-1120,0,0" scale3D="230,200,490" /> --> |
---|
106 | <!-- <Model mesh="cube.mesh" mass=10 position="580,0,-960" scale3D="230,200,490" yaw=-120 /> --> |
---|
107 | <!-- <Model mesh="cube.mesh" mass=10 position="580,0,960" scale3D="230,200,490" yaw=-240 /> --> |
---|
108 | <!-- <Model mesh="cube.mesh" mass=10 position="0,0,0" scale3D="600,200,100" /> --> |
---|
109 | </attached> |
---|
110 | <collisionShapes> |
---|
111 | <BoxCollisionShape position="-1120,0,0" halfExtents="230,200,490" /> |
---|
112 | <BoxCollisionShape position="580,0,-960" halfExtents="230,200,490" yaw=-120 /> |
---|
113 | <BoxCollisionShape position="580,0,960" halfExtents="230,200,490" yaw=-240 /> |
---|
114 | </collisionShapes> |
---|
115 | </SpaceShip> |
---|
116 | |
---|
117 | <SpaceShip template="spaceshipassff2" position="0,3500,0" > |
---|
118 | <attached> |
---|
119 | <DockingTarget name="spaceShip" /> |
---|
120 | </attached> |
---|
121 | |
---|
122 | </SpaceShip> |
---|
123 | |
---|
124 | |
---|
125 | <!-- This is a model of Earth: mass=EarthMass/1000 and radius=EarthRadius[km]*10 --> |
---|
126 | <Planet |
---|
127 | position="70500,0,0" |
---|
128 | scale="63000" |
---|
129 | collisionType="dynamic" |
---|
130 | linearDamping="0.8" |
---|
131 | angularDamping="0" |
---|
132 | mass="5.9e21" |
---|
133 | pitch="-90" |
---|
134 | yaw="50" |
---|
135 | mesh="planets/earth.mesh" |
---|
136 | atmosphere="atmosphere1" |
---|
137 | rotationaxis="0,1,0" |
---|
138 | rotationrate="0.2" |
---|
139 | atmospheresize="80.0f" |
---|
140 | imagesize="1024.0f" |
---|
141 | collisiondamage = 2 |
---|
142 | enablecollisiondamage = true |
---|
143 | > |
---|
144 | <attached> |
---|
145 | <ForceField position="0,0,0" mode="newtonianGravity" diameter="140000" massDiameter="126000" mass="5.9e21" /> |
---|
146 | </attached> |
---|
147 | <collisionShapes> |
---|
148 | <SphereCollisionShape radius="63000" position="0,0,0" /> |
---|
149 | </collisionShapes> |
---|
150 | </Planet> |
---|
151 | |
---|
152 | <!-- This is a model of our Moon: mass=MoonMass/1000 and radius=MoonRadius[km]*10 and position=DistanceFromEarth[km]*10 --> |
---|
153 | <Planet |
---|
154 | position="-15000,0,0" |
---|
155 | scale="4000" |
---|
156 | collisionType="dynamic" |
---|
157 | linearDamping="0.8" |
---|
158 | angularDamping="0" |
---|
159 | mass="7.36e19" |
---|
160 | pitch="0" |
---|
161 | mesh="planets/moon.mesh" |
---|
162 | atmosphere="atmosphere1" |
---|
163 | rotationaxis="0,1,0" |
---|
164 | rotationrate="0.2" |
---|
165 | atmospheresize="0.0f" |
---|
166 | imagesize="1024.0f" |
---|
167 | collisiondamage = 2 |
---|
168 | enablecollisiondamage = true |
---|
169 | > |
---|
170 | <attached> |
---|
171 | <ForceField position="0,0,0" mode="newtonianGravity" diameter="40000" massDiameter="34740" mass="7.36e19" /> |
---|
172 | </attached> |
---|
173 | <collisionShapes> |
---|
174 | <SphereCollisionShape radius="4000" position="0,0,0" /> |
---|
175 | </collisionShapes> |
---|
176 | </Planet> |
---|
177 | |
---|
178 | |
---|
179 | <PickupSpawner position="-25,-50,-125" respawnTime="10" triggerDistance="20" maxSpawnedItems="5"> |
---|
180 | <pickup> |
---|
181 | <ShrinkPickup template ="smallshrinkpickup"/> |
---|
182 | </pickup> |
---|
183 | </PickupSpawner> |
---|
184 | |
---|
185 | <PickupSpawner position="25,50,-125" respawnTime="10" triggerDistance="20" maxSpawnedItems="5"> |
---|
186 | <pickup> |
---|
187 | <ShrinkPickup template ="smallshrinkpickup"/> |
---|
188 | </pickup> |
---|
189 | </PickupSpawner> |
---|
190 | </Scene> |
---|
191 | </Level> |
---|
192 | |
---|