1 | <!-- --> |
---|
2 | |
---|
3 | <LevelInfo |
---|
4 | name = "Level_01" |
---|
5 | description = "A level with absolutely nothing in it." |
---|
6 | tags = "mission" |
---|
7 | screenshot = "emptylevel.png" |
---|
8 | /> |
---|
9 | |
---|
10 | <?lua |
---|
11 | include("stats.oxo") |
---|
12 | include("HUDTemplates3.oxo") |
---|
13 | include("templates/lodInformation.oxt") |
---|
14 | ?> |
---|
15 | |
---|
16 | <?lua |
---|
17 | include("templates/spaceshipAssff.oxt") |
---|
18 | include("templates/spaceshipAssff2.oxt") |
---|
19 | include("templates/spaceshipPirate.oxt") |
---|
20 | include("templates/spaceshipEscort.oxt") |
---|
21 | include("templates/spaceshipSpacecruiser.oxt") |
---|
22 | ?> |
---|
23 | |
---|
24 | <Level gametype="Mission"> |
---|
25 | |
---|
26 | <templates> |
---|
27 | <Template link=lodtemplate_default /> |
---|
28 | </templates> |
---|
29 | <?lua include("includes/notifications.oxi") ?> |
---|
30 | |
---|
31 | <NotificationQueueCEGUI |
---|
32 | name="narrative" |
---|
33 | targets="simpleNotification" |
---|
34 | size=3 |
---|
35 | displayTime=3.9 |
---|
36 | position="0.2, 0, 0.1, 0" |
---|
37 | fontSize="23" |
---|
38 | fontColor="0.3, 1, 0.2, 0.8" |
---|
39 | alignment="HorzCentred" |
---|
40 | displaySize="0.6, 0, 0, 0" |
---|
41 | /> |
---|
42 | |
---|
43 | <Scene |
---|
44 | ambientlight = "0.5, 0.5, 0.5" |
---|
45 | skybox = "Orxonox/Starbox" |
---|
46 | hasPhysics = true |
---|
47 | |
---|
48 | > |
---|
49 | |
---|
50 | <?lua |
---|
51 | include("includes/pickups.oxi") |
---|
52 | ?> |
---|
53 | |
---|
54 | |
---|
55 | <?lua |
---|
56 | dofile("includes/CuboidSpaceStation.lua") |
---|
57 | ?> |
---|
58 | |
---|
59 | |
---|
60 | <<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"/> |
---|
61 | |
---|
62 | <SpawnPoint team=0 position="0,0,0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> |
---|
63 | |
---|
64 | |
---|
65 | |
---|
66 | <!-- <?lua |
---|
67 | for i = 1, 250, 1 |
---|
68 | do |
---|
69 | j = math.random() |
---|
70 | ?> |
---|
71 | |
---|
72 | <MovableEntity |
---|
73 | position = "<?lua print(math.random()* 6000 - 3000) ?>,<?lua print(math.random() * 10000 + 3000) ?>,<?lua print(math.random() * 6000 - 3000) ?>" |
---|
74 | collisionType = dynamic |
---|
75 | linearDamping = 0.8 |
---|
76 | angularDamping = 0 |
---|
77 | scale = "<?lua print(j * 150)?>" |
---|
78 | collisiondamage = 0.05 |
---|
79 | enablecollisiondamage = true |
---|
80 | > |
---|
81 | <attached> |
---|
82 | <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
83 | </attached> |
---|
84 | <collisionShapes> |
---|
85 | <SphereCollisionShape radius="<?lua print(j * 350) ?>" /> |
---|
86 | </collisionShapes> |
---|
87 | </MovableEntity> |
---|
88 | |
---|
89 | <?lua |
---|
90 | end |
---|
91 | ?>--> |
---|
92 | |
---|
93 | |
---|
94 | <!-----------------------------------------------------------------------------------------------------> |
---|
95 | <!-------------------------------------- PART ZERO: Docking on ---------------------------------------> |
---|
96 | <!-----------------------------------------------------------------------------------------------------> |
---|
97 | |
---|
98 | <!-- OBJECTS IN THIS PART |
---|
99 | |
---|
100 | <!-- @Objects: HYDROGEN FARMER & DOCKING --> |
---|
101 | <SpaceShip |
---|
102 | team = 0 |
---|
103 | position = "-4000,4000,4000" |
---|
104 | roll = 90 yaw=0 pitch=20 |
---|
105 | mass = 10000 |
---|
106 | health = 100000 initialhealth=100000 maxhealth="100000" |
---|
107 | name = "HydroFarmer" |
---|
108 | radarname = "Hydrogen Farmer" > |
---|
109 | visible = true |
---|
110 | <attached> |
---|
111 | <!-- Docking --> |
---|
112 | <DistanceTriggerBeacon name="bcnDestroyer" /> |
---|
113 | <DockingTarget name="destroyer" /> |
---|
114 | |
---|
115 | <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 /> |
---|
116 | <!-- <Model mesh="cube.mesh" mass=10 position="-560,0,0" scale3D="115,100,245" /> |
---|
117 | <Model mesh="cube.mesh" mass=10 position="290,0,-480" scale3D="115,100,245" yaw=-120 /> |
---|
118 | <Model mesh="cube.mesh" mass=10 position="290,0,480" scale3D="115,100,245" yaw=-240 /> |
---|
119 | <Model mesh="cube.mesh" mass=10 position="-280,0,0" scale3D="163,50,50" /> |
---|
120 | <Model mesh="cube.mesh" mass=10 position="140,0,-240" scale3D="163,50,50" yaw=-120/> |
---|
121 | <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="163,50,50" yaw=-240/> |
---|
122 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" /> |
---|
123 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-120/> |
---|
124 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-240/> |
---|
125 | <Model mesh="cube.mesh" mass=10 position="0,400,0" scale3D="43,110,26" yaw=-30 /> |
---|
126 | <Model mesh="cube.mesh" mass=10 position="-200,100,0" scale3D="26,50,43" /> |
---|
127 | <Model mesh="cube.mesh" mass=10 position="100,100,-173" scale3D="43,50,26" yaw=-30/> |
---|
128 | <Model mesh="cube.mesh" mass=10 position="100,100,173" scale3D="43,50,26" yaw=30/> |
---|
129 | <Model mesh="cube.mesh" mass=10 position="-100,264,0" scale3D="26,105,43" roll=-49/> |
---|
130 | <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/> |
---|
131 | <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/> --> |
---|
132 | </attached> |
---|
133 | <collisionShapes> |
---|
134 | <BoxCollisionShape position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes --> |
---|
135 | <BoxCollisionShape position="290,0,-480" halfExtents="115,100,245" yaw=-120 /> |
---|
136 | <BoxCollisionShape position="290,0,480" halfExtents="115,100,245" yaw=-240 /> |
---|
137 | <BoxCollisionShape position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections --> |
---|
138 | <BoxCollisionShape position="140,0,-240" halfExtents="163,50,50" yaw=-120 /> |
---|
139 | <BoxCollisionShape position="140,0,240" halfExtents="163,50,50" yaw=-240 /> |
---|
140 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower --> |
---|
141 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-120 /> |
---|
142 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-240 /> |
---|
143 | <BoxCollisionShape position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one--> |
---|
144 | <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs --> |
---|
145 | <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=-30 /> |
---|
146 | <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=30 /> |
---|
147 | <BoxCollisionShape position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs --> |
---|
148 | <BoxCollisionShape position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 /> |
---|
149 | <BoxCollisionShape position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 /> |
---|
150 | </collisionShapes> |
---|
151 | </SpaceShip> |
---|
152 | |
---|
153 | <!--@Objects: SpaceCruiser as docking target --> |
---|
154 | <SpaceShip |
---|
155 | template = "spaceshipassff" |
---|
156 | team = "0" |
---|
157 | position = "-4000,3900,4000" |
---|
158 | orientation = "-0.14, 0.68, 0.68, 0.223" |
---|
159 | health = "400" |
---|
160 | initialhealth = "400" |
---|
161 | maxhealth = "500" |
---|
162 | shieldhealth = "80" |
---|
163 | initialshieldhealth = "80" |
---|
164 | maxshieldhealth = "120" |
---|
165 | shieldabsorption = "0.8" |
---|
166 | reloadrate = "1" |
---|
167 | reloadwaittime = "1" |
---|
168 | name = "cruiser" |
---|
169 | radarname = "Spaceship Assff" > |
---|
170 | visible = true |
---|
171 | <attached> |
---|
172 | <DockingTarget name="spaceShip" /> |
---|
173 | </attached> |
---|
174 | </SpaceShip> |
---|
175 | |
---|
176 | <MovableEntity position="-500,500, 500"> |
---|
177 | <attached> |
---|
178 | <Billboard position="0,0,0" material="Examples/Flare" colour="1, 0, 0" scale=0.5/> |
---|
179 | </attached> |
---|
180 | </MovableEntity> |
---|
181 | |
---|
182 | |
---|
183 | <DistanceTrigger name="flying1" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=4/> |
---|
184 | <SimpleNotification message="Hey Rookie.. We got a new mission for you."> |
---|
185 | <events> |
---|
186 | <trigger> |
---|
187 | <EventListener event="flying1" /> |
---|
188 | </trigger> |
---|
189 | </events> |
---|
190 | </SimpleNotification> |
---|
191 | |
---|
192 | <DistanceTrigger name="flying2" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=8/> |
---|
193 | <SimpleNotification message="Go to the main station for more information."> |
---|
194 | <events> |
---|
195 | <trigger> |
---|
196 | <EventListener event="flying2" /> |
---|
197 | </trigger> |
---|
198 | </events> |
---|
199 | </SimpleNotification> |
---|
200 | |
---|
201 | <DistanceTrigger name="flying3" position="-500,500,500" target="Pawn" distance=50 stayActive="true" delay=3/> |
---|
202 | <SimpleNotification message="Our friends from District 69 are under attack"> |
---|
203 | <events> |
---|
204 | <trigger> |
---|
205 | <EventListener event="flying3" /> |
---|
206 | </trigger> |
---|
207 | </events> |
---|
208 | </SimpleNotification> |
---|
209 | |
---|
210 | <DistanceTrigger name="flying4" position="-500,500,500" target="Pawn" distance=50 stayActive="true" delay=7/> |
---|
211 | <SimpleNotification message="We need you to help them."> |
---|
212 | <events> |
---|
213 | <trigger> |
---|
214 | <EventListener event="flying4" /> |
---|
215 | </trigger> |
---|
216 | </events> |
---|
217 | </SimpleNotification> |
---|
218 | |
---|
219 | <DistanceTrigger name="flying5" position="-500,500,500" target="Pawn" distance=50 stayActive="true" delay=11/> |
---|
220 | <SimpleNotification message="Dock on the station to get a better ship."> |
---|
221 | <events> |
---|
222 | <trigger> |
---|
223 | <EventListener event="flying5" /> |
---|
224 | </trigger> |
---|
225 | </events> |
---|
226 | </SimpleNotification> |
---|
227 | |
---|
228 | <!-----------------------------------------------------------------------------------------------------> |
---|
229 | <!-------------------------------- PART ONE: Passing throug wormhole ---------------------------------> |
---|
230 | <!-----------------------------------------------------------------------------------------------------> |
---|
231 | |
---|
232 | |
---|
233 | </Scene> |
---|
234 | </Level> |
---|
235 | |
---|