Changeset 9717 for code/branches/levelKaan/data
- Timestamp:
- Oct 28, 2013, 3:09:01 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelKaan/data/levels/Level_01.oxw
r9704 r9717 58 58 59 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"/>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 61 62 62 <SpawnPoint team=0 position="0,0,0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> 63 63 64 65 66 < !-- <?lua64 <SpaceBoundaries warnDistance="1" maxDistance="1000" showDistance="300" healthDecrease="0.1" position="0,0,0"/> 65 66 <?lua 67 67 for i = 1, 250, 1 68 68 do … … 71 71 72 72 <MovableEntity 73 position = "<?lua print(math.random()* 6000 - 3000) ?>,<?lua print(math.random() * 10000 + 3000) ?>,<?lua print(math.random() * 6000 -3000) ?>"73 position = "<?lua print(math.random()* 6000-3000) ?>,<?lua print(math.random() * 6000 -3000) ?>,<?lua print(math.random() * 6000-3000) ?>" 74 74 collisionType = dynamic 75 75 linearDamping = 0.8 76 76 angularDamping = 0 77 77 scale = "<?lua print(j * 150)?>" 78 collisiondamage = 0.0 578 collisiondamage = 0.005 79 79 enablecollisiondamage = true 80 velocity = "-5,0,0" 80 81 > 81 82 <attached> … … 89 90 <?lua 90 91 end 91 ?> -->92 ?> 92 93 93 94 … … 96 97 <!-----------------------------------------------------------------------------------------------------> 97 98 98 <!-- OBJECTS IN THIS PART 99 99 <!-- OBJECTS IN THIS PART --> 100 101 <!-- @Objects: HYDROGEN FARMER & DOCKING --> 102 100 103 <!-- @Objects: HYDROGEN FARMER & DOCKING --> 101 104 <SpaceShip … … 107 110 name = "HydroFarmer" 108 111 radarname = "Hydrogen Farmer" > 109 visible = true110 112 <attached> 111 113 <!-- Docking --> … … 151 153 </SpaceShip> 152 154 155 <Dock position="-4000,3900,4000" roll=90 yaw=180 > 156 <animations> 157 <MoveToDockingTarget target="destroyer" /> 158 </animations> 159 <effects> 160 <DockToShip target="spaceShip" /> 161 </effects> 162 <events> 163 <execute> 164 <EventListener event="dockMe" /> 165 </execute> 166 <activity> 167 <EventListener event=notGameEnd /> 168 </activity> 169 </events> 170 <attached> 171 <DistanceTrigger position="10,-202, -42" distance="800" target="Pawn" 172 beaconMode="exclude" targetname="bcnDestroyer" name="dockMe" 173 /> 174 </attached> 175 176 </Dock> 177 153 178 <!--@Objects: SpaceCruiser as docking target --> 154 179 <SpaceShip 155 template = "spaceship assff"180 template = "spaceshipspacecruiser" 156 181 team = "0" 157 position = "-4000, 3900,4000"182 position = "-4000,4700,4000" 158 183 orientation = "-0.14, 0.68, 0.68, 0.223" 159 184 health = "400" … … 167 192 reloadwaittime = "1" 168 193 name = "cruiser" 169 radarname = "Spaceship Assff" > 170 visible = true 194 radarname = "Spacecruiser" > 171 195 <attached> 172 196 <DockingTarget name="spaceShip" /> 173 197 </attached> 174 198 </SpaceShip> 199 175 200 176 201 <MovableEntity position="-500,500, 500"> … … 199 224 </SimpleNotification> 200 225 201 <DistanceTrigger name="flying3" position="-500,500, 500" target="Pawn" distance=50 stayActive="true" delay=3/>226 <DistanceTrigger name="flying3" position="-500,500, 500" target="Pawn" distance=50 stayActive="true" delay=3/> 202 227 <SimpleNotification message="Our friends from District 69 are under attack"> 203 228 <events> … … 208 233 </SimpleNotification> 209 234 210 <DistanceTrigger name="flying4" position="-500,500, 500" target="Pawn" distance=50 stayActive="true" delay=7/>235 <DistanceTrigger name="flying4" position="-500,500, 500" target="Pawn" distance=50 stayActive="true" delay=7/> 211 236 <SimpleNotification message="We need you to help them."> 212 237 <events> … … 217 242 </SimpleNotification> 218 243 219 <DistanceTrigger name="flying5" position="- 500,500,500" target="Pawn" distance=50 stayActive="true" delay=11/>244 <DistanceTrigger name="flying5" position="-4000,4000,4000" target="Pawn" distance=50 stayActive="true" delay=11/> 220 245 <SimpleNotification message="Dock on the station to get a better ship."> 221 246 <events> … … 225 250 </events> 226 251 </SimpleNotification> 252 253 <DistanceTrigger name="wormhole1" position="-1400,-500,800" target="Pawn" distance=100 stayActive="true" mode="and"> 254 <EventTrigger name="ondock" activations="1" stayactive="true" delay=6> 255 <events> 256 <trigger> 257 <EventListener event="dockMe" /> 258 </trigger> 259 </events> 260 <Trigger mode=and> 261 <DistanceTrigger name="toHydroFarmer" position="-47000,-1000,1300" target="Pawn" distance=100 stayActive="true" /> 262 <EventTrigger activations="1" invert="true"> 263 <events> 264 <trigger> 265 <EventListener event="gameEnd" /> 266 </trigger> 267 </events> 268 </EventTrigger> 269 </Trigger> 270 </EventTrigger> 271 <EventTrigger activations="1" invert="true"> 272 <events> 273 <trigger> 274 <EventListener event="earlyEnd" /> 275 </trigger> 276 </events> 277 </EventTrigger> 278 </DistanceTrigger> 227 279 228 280 <!-----------------------------------------------------------------------------------------------------> … … 230 282 <!-----------------------------------------------------------------------------------------------------> 231 283 284 <!-- OBJECTS IN THIS PART --> 285 286 <Template name=PortalDefault> 287 <PortalEndPoint> 288 <attached> 289 <Model mesh="Spacegate.mesh" yaw="90"/> 290 </attached> 291 </PortalEndPoint> 292 </Template> 293 294 <PortalEndPoint position="0,2000,0" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> 295 <PortalEndPoint position="0,50000,0" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> 296 <PortalLink fromID="1" toID="2" /> 297 <!--<PortalLink fromID="2" toID="1" />--> 298 299 <?lua 300 for i = 1, 500, 1 301 do 302 j = math.random() 303 ?> 304 305 <MovableEntity 306 position = "<?lua print(math.random()* 10000 - 5000) ?>,<?lua print(math.random() * 15000 + 45000) ?>,<?lua print(math.random() * 10000 - 5000) ?>" 307 collisionType = dynamic 308 linearDamping = 0.8 309 angularDamping = 0 310 scale = "<?lua print(j * 200)?>" 311 collisiondamage = 0.05 312 enablecollisiondamage = true 313 > 314 <attached> 315 <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 316 </attached> 317 <collisionShapes> 318 <SphereCollisionShape radius="<?lua print(j * 350) ?>" /> 319 </collisionShapes> 320 </MovableEntity> 321 322 <?lua 323 end 324 ?> 325 326 <DistanceTrigger name="portal2" position="-4000,4000,4000" target="Pawn" distance=50 stayActive="true" delay=3/> 327 <SimpleNotification message="Now go to the portal"> 328 <events> 329 <trigger> 330 <EventListener event="portal2" /> 331 </trigger> 332 </events> 333 </SimpleNotification> 334 335 <DistanceTrigger name="portal3" position="0,50000,0" target="Pawn" distance=50 stayActive="true" delay=3/> 336 <SimpleNotification message="You came to District 69"> 337 <events> 338 <trigger> 339 <EventListener event="portal3" /> 340 </trigger> 341 </events> 342 </SimpleNotification> 232 343 233 344 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.