Changeset 9721 for code/branches/levelKaan/data
- Timestamp:
- Oct 28, 2013, 3:59:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelKaan/data/levels/Level_01.oxw
r9717 r9721 19 19 include("templates/spaceshipPirate.oxt") 20 20 include("templates/spaceshipEscort.oxt") 21 include("templates/spaceship Spacecruiser.oxt")21 include("templates/spaceshipCollateralDamage.oxt") 22 22 ?> 23 23 … … 62 62 <SpawnPoint team=0 position="0,0,0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> 63 63 64 <SpaceBoundaries warnDistance="1" maxDistance="1000" showDistance="300" healthDecrease="0.1" position="0,0,0"/> 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() * 6000 -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.005 79 enablecollisiondamage = true 80 velocity = "-5,0,0" 81 > 82 <attached> 83 <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 84 </attached> 85 <collisionShapes> 86 <SphereCollisionShape radius="<?lua print(j * 350) ?>" /> 87 </collisionShapes> 88 </MovableEntity> 89 90 <?lua 91 end 92 ?> 64 93 65 94 66 … … 109 81 health = 100000 initialhealth=100000 maxhealth="100000" 110 82 name = "HydroFarmer" 111 radarname = " Hydrogen Farmer" >83 radarname = "Main-Station" > 112 84 <attached> 113 85 <!-- Docking --> … … 153 125 </SpaceShip> 154 126 155 <Dock position="-4000, 3900,4000" roll=90 yaw=180 >127 <Dock position="-4000,4000,4000" roll=90 yaw=180 > 156 128 <animations> 157 129 <MoveToDockingTarget target="destroyer" /> … … 178 150 <!--@Objects: SpaceCruiser as docking target --> 179 151 <SpaceShip 180 template = "spaceship spacecruiser"152 template = "spaceshipcollateraldamage" 181 153 team = "0" 182 154 position = "-4000,4700,4000" … … 199 171 200 172 201 < MovableEntity position="-500,500, 500">173 <!--<MovableEntity position="-500,500, 500"> 202 174 <attached> 203 175 <Billboard position="0,0,0" material="Examples/Flare" colour="1, 0, 0" scale=0.5/> 204 176 </attached> 205 </MovableEntity> 177 </MovableEntity>--> 206 178 207 179 … … 224 196 </SimpleNotification> 225 197 226 <DistanceTrigger name="flying3" position="- 500,500, 500" target="Pawn" distance=50 stayActive="true" delay=3/>227 <SimpleNotification message="Our friends from District 69 are under attack">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"> 228 200 <events> 229 201 <trigger> … … 233 205 </SimpleNotification> 234 206 235 <DistanceTrigger name="flying4" position="- 500,500, 500" target="Pawn" distance=50 stayActive="true" delay=7/>236 <SimpleNotification message="We need you to help them.">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."> 237 209 <events> 238 210 <trigger> … … 242 214 </SimpleNotification> 243 215 244 <DistanceTrigger name="flying5" position="-4000,4000,4000" target="Pawn" distance= 50 stayActive="true" delay=11/>216 <DistanceTrigger name="flying5" position="-4000,4000,4000" target="Pawn" distance=3500 stayActive="true" delay=11/> 245 217 <SimpleNotification message="Dock on the station to get a better ship."> 246 218 <events> … … 251 223 </SimpleNotification> 252 224 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> 225 279 226 280 227 <!-----------------------------------------------------------------------------------------------------> … … 293 240 294 241 <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"/>242 <PortalEndPoint position="0,97100,0" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> 296 243 <PortalLink fromID="1" toID="2" /> 297 244 <!--<PortalLink fromID="2" toID="1" />--> 298 245 299 <?lua 246 <SpaceBoundaries warnDistance="1" maxDistance="500" showDistance="300" healthDecrease="0.1" position="0,97100,0"/> 247 248 <?lua 300 249 for i = 1, 500, 1 301 250 do … … 304 253 305 254 <MovableEntity 306 position = "<?lua print(math.random()* 10000 - 5000) ?>,<?lua print(math.random() * 15000 + 45000) ?>,<?lua print(math.random() * 10000 -5000) ?>"255 position = "<?lua print(math.random()* 10000-5000) ?>,<?lua print(math.random() * 10000 + 95000) ?>,<?lua print(math.random() * 10000-5000) ?>" 307 256 collisionType = dynamic 308 257 linearDamping = 0.8 309 258 angularDamping = 0 310 scale = "<?lua print(j * 200)?>"311 collisiondamage = 0.0 5259 scale = "<?lua print(j * 150)?>" 260 collisiondamage = 0.005 312 261 enablecollisiondamage = true 262 313 263 > 314 264 <attached> … … 324 274 ?> 325 275 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 326 282 <DistanceTrigger name="portal2" position="-4000,4000,4000" target="Pawn" distance=50 stayActive="true" delay=3/> 327 283 <SimpleNotification message="Now go to the portal"> … … 333 289 </SimpleNotification> 334 290 335 <DistanceTrigger name="portal3" position="0, 50000,0" target="Pawn" distance=50 stayActive="true" delay=3/>291 <DistanceTrigger name="portal3" position="0,100000,0" target="Pawn" distance=50 stayActive="true" delay=3/> 336 292 <SimpleNotification message="You came to District 69"> 337 293 <events> … … 341 297 </events> 342 298 </SimpleNotification> 299 300 <!-----------------------------------------------------------------------------------------------------> 301 <!--------------------------- PART TWO: Passing throug area with meteorits ----------------------------> 302 <!-----------------------------------------------------------------------------------------------------> 343 303 344 304 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.