[9704] | 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") |
---|
[9721] | 21 | include("templates/spaceshipCollateralDamage.oxt") |
---|
[9704] | 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 | |
---|
[9717] | 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"/> |
---|
[9704] | 61 | |
---|
| 62 | <SpawnPoint team=0 position="0,0,0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | <!-----------------------------------------------------------------------------------------------------> |
---|
| 68 | <!-------------------------------------- PART ZERO: Docking on ---------------------------------------> |
---|
| 69 | <!-----------------------------------------------------------------------------------------------------> |
---|
| 70 | |
---|
[9717] | 71 | <!-- OBJECTS IN THIS PART --> |
---|
[9704] | 72 | |
---|
| 73 | <!-- @Objects: HYDROGEN FARMER & DOCKING --> |
---|
[9717] | 74 | |
---|
| 75 | <!-- @Objects: HYDROGEN FARMER & DOCKING --> |
---|
[9704] | 76 | <SpaceShip |
---|
| 77 | team = 0 |
---|
| 78 | position = "-4000,4000,4000" |
---|
| 79 | roll = 90 yaw=0 pitch=20 |
---|
| 80 | mass = 10000 |
---|
| 81 | health = 100000 initialhealth=100000 maxhealth="100000" |
---|
| 82 | name = "HydroFarmer" |
---|
[9721] | 83 | radarname = "Main-Station" > |
---|
[9704] | 84 | <attached> |
---|
| 85 | <!-- Docking --> |
---|
| 86 | <DistanceTriggerBeacon name="bcnDestroyer" /> |
---|
| 87 | <DockingTarget name="destroyer" /> |
---|
| 88 | |
---|
| 89 | <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 /> |
---|
| 90 | <!-- <Model mesh="cube.mesh" mass=10 position="-560,0,0" scale3D="115,100,245" /> |
---|
| 91 | <Model mesh="cube.mesh" mass=10 position="290,0,-480" scale3D="115,100,245" yaw=-120 /> |
---|
| 92 | <Model mesh="cube.mesh" mass=10 position="290,0,480" scale3D="115,100,245" yaw=-240 /> |
---|
| 93 | <Model mesh="cube.mesh" mass=10 position="-280,0,0" scale3D="163,50,50" /> |
---|
| 94 | <Model mesh="cube.mesh" mass=10 position="140,0,-240" scale3D="163,50,50" yaw=-120/> |
---|
| 95 | <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="163,50,50" yaw=-240/> |
---|
| 96 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" /> |
---|
| 97 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-120/> |
---|
| 98 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-240/> |
---|
| 99 | <Model mesh="cube.mesh" mass=10 position="0,400,0" scale3D="43,110,26" yaw=-30 /> |
---|
| 100 | <Model mesh="cube.mesh" mass=10 position="-200,100,0" scale3D="26,50,43" /> |
---|
| 101 | <Model mesh="cube.mesh" mass=10 position="100,100,-173" scale3D="43,50,26" yaw=-30/> |
---|
| 102 | <Model mesh="cube.mesh" mass=10 position="100,100,173" scale3D="43,50,26" yaw=30/> |
---|
| 103 | <Model mesh="cube.mesh" mass=10 position="-100,264,0" scale3D="26,105,43" roll=-49/> |
---|
| 104 | <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/> |
---|
| 105 | <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/> --> |
---|
| 106 | </attached> |
---|
| 107 | <collisionShapes> |
---|
| 108 | <BoxCollisionShape position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes --> |
---|
| 109 | <BoxCollisionShape position="290,0,-480" halfExtents="115,100,245" yaw=-120 /> |
---|
| 110 | <BoxCollisionShape position="290,0,480" halfExtents="115,100,245" yaw=-240 /> |
---|
| 111 | <BoxCollisionShape position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections --> |
---|
| 112 | <BoxCollisionShape position="140,0,-240" halfExtents="163,50,50" yaw=-120 /> |
---|
| 113 | <BoxCollisionShape position="140,0,240" halfExtents="163,50,50" yaw=-240 /> |
---|
| 114 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower --> |
---|
| 115 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-120 /> |
---|
| 116 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-240 /> |
---|
| 117 | <BoxCollisionShape position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one--> |
---|
| 118 | <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs --> |
---|
| 119 | <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=-30 /> |
---|
| 120 | <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=30 /> |
---|
| 121 | <BoxCollisionShape position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs --> |
---|
| 122 | <BoxCollisionShape position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 /> |
---|
| 123 | <BoxCollisionShape position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 /> |
---|
| 124 | </collisionShapes> |
---|
| 125 | </SpaceShip> |
---|
| 126 | |
---|
[9721] | 127 | <Dock position="-4000,4000,4000" roll=90 yaw=180 > |
---|
[9717] | 128 | <animations> |
---|
| 129 | <MoveToDockingTarget target="destroyer" /> |
---|
| 130 | </animations> |
---|
| 131 | <effects> |
---|
| 132 | <DockToShip target="spaceShip" /> |
---|
| 133 | </effects> |
---|
| 134 | <events> |
---|
| 135 | <execute> |
---|
| 136 | <EventListener event="dockMe" /> |
---|
| 137 | </execute> |
---|
| 138 | <activity> |
---|
| 139 | <EventListener event=notGameEnd /> |
---|
| 140 | </activity> |
---|
| 141 | </events> |
---|
| 142 | <attached> |
---|
| 143 | <DistanceTrigger position="10,-202, -42" distance="800" target="Pawn" |
---|
| 144 | beaconMode="exclude" targetname="bcnDestroyer" name="dockMe" |
---|
| 145 | /> |
---|
| 146 | </attached> |
---|
| 147 | |
---|
| 148 | </Dock> |
---|
| 149 | |
---|
[9704] | 150 | <!--@Objects: SpaceCruiser as docking target --> |
---|
| 151 | <SpaceShip |
---|
[9721] | 152 | template = "spaceshipcollateraldamage" |
---|
[9704] | 153 | team = "0" |
---|
[9717] | 154 | position = "-4000,4700,4000" |
---|
[9704] | 155 | orientation = "-0.14, 0.68, 0.68, 0.223" |
---|
| 156 | health = "400" |
---|
| 157 | initialhealth = "400" |
---|
| 158 | maxhealth = "500" |
---|
| 159 | shieldhealth = "80" |
---|
| 160 | initialshieldhealth = "80" |
---|
| 161 | maxshieldhealth = "120" |
---|
| 162 | shieldabsorption = "0.8" |
---|
| 163 | reloadrate = "1" |
---|
| 164 | reloadwaittime = "1" |
---|
| 165 | name = "cruiser" |
---|
[9717] | 166 | radarname = "Spacecruiser" > |
---|
[9704] | 167 | <attached> |
---|
| 168 | <DockingTarget name="spaceShip" /> |
---|
| 169 | </attached> |
---|
| 170 | </SpaceShip> |
---|
| 171 | |
---|
[9717] | 172 | |
---|
[9721] | 173 | <!--<MovableEntity position="-500,500, 500"> |
---|
[9704] | 174 | <attached> |
---|
| 175 | <Billboard position="0,0,0" material="Examples/Flare" colour="1, 0, 0" scale=0.5/> |
---|
| 176 | </attached> |
---|
[9721] | 177 | </MovableEntity>--> |
---|
[9704] | 178 | |
---|
| 179 | |
---|
| 180 | <DistanceTrigger name="flying1" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=4/> |
---|
| 181 | <SimpleNotification message="Hey Rookie.. We got a new mission for you."> |
---|
| 182 | <events> |
---|
| 183 | <trigger> |
---|
| 184 | <EventListener event="flying1" /> |
---|
| 185 | </trigger> |
---|
| 186 | </events> |
---|
| 187 | </SimpleNotification> |
---|
| 188 | |
---|
| 189 | <DistanceTrigger name="flying2" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=8/> |
---|
| 190 | <SimpleNotification message="Go to the main station for more information."> |
---|
| 191 | <events> |
---|
| 192 | <trigger> |
---|
| 193 | <EventListener event="flying2" /> |
---|
| 194 | </trigger> |
---|
| 195 | </events> |
---|
| 196 | </SimpleNotification> |
---|
| 197 | |
---|
[9721] | 198 | <DistanceTrigger name="flying3" position="-4000,4000, 4000" target="Pawn" distance=3500 stayActive="true" delay=3/> |
---|
| 199 | <SimpleNotification message="Our Commander got kidnapped in District 69"> |
---|
[9704] | 200 | <events> |
---|
| 201 | <trigger> |
---|
| 202 | <EventListener event="flying3" /> |
---|
| 203 | </trigger> |
---|
| 204 | </events> |
---|
| 205 | </SimpleNotification> |
---|
| 206 | |
---|
[9721] | 207 | <DistanceTrigger name="flying4" position="-4000,4000, 4000" target="Pawn" distance=3500 stayActive="true" delay=7/> |
---|
| 208 | <SimpleNotification message="We need you to rescue him."> |
---|
[9704] | 209 | <events> |
---|
| 210 | <trigger> |
---|
| 211 | <EventListener event="flying4" /> |
---|
| 212 | </trigger> |
---|
| 213 | </events> |
---|
| 214 | </SimpleNotification> |
---|
| 215 | |
---|
[9721] | 216 | <DistanceTrigger name="flying5" position="-4000,4000,4000" target="Pawn" distance=3500 stayActive="true" delay=11/> |
---|
[9704] | 217 | <SimpleNotification message="Dock on the station to get a better ship."> |
---|
| 218 | <events> |
---|
| 219 | <trigger> |
---|
| 220 | <EventListener event="flying5" /> |
---|
| 221 | </trigger> |
---|
| 222 | </events> |
---|
| 223 | </SimpleNotification> |
---|
| 224 | |
---|
[9717] | 225 | |
---|
[9721] | 226 | |
---|
[9704] | 227 | <!-----------------------------------------------------------------------------------------------------> |
---|
| 228 | <!-------------------------------- PART ONE: Passing throug wormhole ---------------------------------> |
---|
| 229 | <!-----------------------------------------------------------------------------------------------------> |
---|
| 230 | |
---|
[9717] | 231 | <!-- OBJECTS IN THIS PART --> |
---|
| 232 | |
---|
| 233 | <Template name=PortalDefault> |
---|
| 234 | <PortalEndPoint> |
---|
| 235 | <attached> |
---|
| 236 | <Model mesh="Spacegate.mesh" yaw="90"/> |
---|
| 237 | </attached> |
---|
| 238 | </PortalEndPoint> |
---|
| 239 | </Template> |
---|
| 240 | |
---|
| 241 | <PortalEndPoint position="0,2000,0" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> |
---|
[9721] | 242 | <PortalEndPoint position="0,97100,0" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> |
---|
[9717] | 243 | <PortalLink fromID="1" toID="2" /> |
---|
| 244 | <!--<PortalLink fromID="2" toID="1" />--> |
---|
| 245 | |
---|
[9721] | 246 | <SpaceBoundaries warnDistance="1" maxDistance="500" showDistance="300" healthDecrease="0.1" position="0,97100,0"/> |
---|
| 247 | |
---|
| 248 | <?lua |
---|
[9717] | 249 | for i = 1, 500, 1 |
---|
| 250 | do |
---|
| 251 | j = math.random() |
---|
| 252 | ?> |
---|
| 253 | |
---|
| 254 | <MovableEntity |
---|
[9721] | 255 | position = "<?lua print(math.random()* 10000-5000) ?>,<?lua print(math.random() * 10000 + 95000) ?>,<?lua print(math.random() * 10000-5000) ?>" |
---|
[9717] | 256 | collisionType = dynamic |
---|
| 257 | linearDamping = 0.8 |
---|
| 258 | angularDamping = 0 |
---|
[9721] | 259 | scale = "<?lua print(j * 150)?>" |
---|
| 260 | collisiondamage = 0.005 |
---|
[9717] | 261 | enablecollisiondamage = true |
---|
[9721] | 262 | |
---|
[9717] | 263 | > |
---|
| 264 | <attached> |
---|
| 265 | <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
| 266 | </attached> |
---|
| 267 | <collisionShapes> |
---|
| 268 | <SphereCollisionShape radius="<?lua print(j * 350) ?>" /> |
---|
| 269 | </collisionShapes> |
---|
| 270 | </MovableEntity> |
---|
| 271 | |
---|
| 272 | <?lua |
---|
| 273 | end |
---|
| 274 | ?> |
---|
| 275 | |
---|
[9721] | 276 | <SpaceShip position="0,97300,200" lookat="0,-1,0" name="movingtarget" radarname="Pirate"> |
---|
| 277 | <templates> |
---|
| 278 | <Template link=spaceshippirate /> |
---|
| 279 | </templates> |
---|
| 280 | </SpaceShip> |
---|
| 281 | |
---|
[9717] | 282 | <DistanceTrigger name="portal2" position="-4000,4000,4000" target="Pawn" distance=50 stayActive="true" delay=3/> |
---|
| 283 | <SimpleNotification message="Now go to the portal"> |
---|
| 284 | <events> |
---|
| 285 | <trigger> |
---|
| 286 | <EventListener event="portal2" /> |
---|
| 287 | </trigger> |
---|
| 288 | </events> |
---|
| 289 | </SimpleNotification> |
---|
| 290 | |
---|
[9721] | 291 | <DistanceTrigger name="portal3" position="0,100000,0" target="Pawn" distance=50 stayActive="true" delay=3/> |
---|
[9717] | 292 | <SimpleNotification message="You came to District 69"> |
---|
| 293 | <events> |
---|
| 294 | <trigger> |
---|
| 295 | <EventListener event="portal3" /> |
---|
| 296 | </trigger> |
---|
| 297 | </events> |
---|
| 298 | </SimpleNotification> |
---|
[9721] | 299 | |
---|
| 300 | <!-----------------------------------------------------------------------------------------------------> |
---|
| 301 | <!--------------------------- PART TWO: Passing throug area with meteorits ----------------------------> |
---|
| 302 | <!-----------------------------------------------------------------------------------------------------> |
---|
[9704] | 303 | |
---|
| 304 | </Scene> |
---|
| 305 | </Level> |
---|
| 306 | |
---|