Changeset 9821
- Timestamp:
- Nov 25, 2013, 4:05:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelKaan/data/levels/Level_01.oxw
r9807 r9821 59 59 <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 60 61 <TeamSpawnPoint team=0 position=" -4000,2500,4100" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage/> <!--spaceshipescort-->61 <TeamSpawnPoint team=0 position="0,0,0" direction="-1,1,1" spawnclass=SpaceShip pawndesign=spaceshipescort/> <!--spaceshipescort--> 62 62 63 63 … … 122 122 </SpaceShip> 123 123 124 125 126 127 128 129 130 131 124 <Dock position="-4000,4000,4000" roll=90 yaw=180 > 125 <animations> 126 <MoveToDockingTarget target="destroyer" /> 127 </animations> 128 <effects> 129 <DockToShip target="spaceShip" /> 130 </effects> 131 <events> 132 132 <execute> 133 133 <EventListener event="dockMe" /> … … 139 139 <attached> 140 140 <DistanceTrigger position="10,-202, -42" distance="800" target="Pawn" 141 beaconMode="exclude" targetname="bcnDestroyer" name="dockMe" 142 141 beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"/> 142 <Billboard position="10,-202,-42" material="Flares/ringflare" colour="0.7,0.4,0.1" scale=1/> 143 143 </attached> 144 144 … … 167 167 </SpaceShip> 168 168 169 170 171 <MovableEntity position="-500,500, 500"> 172 <attached> 173 <Billboard position="0,0,0" material="Examples/Flare" colour="1, 0, 0" scale=0.5/> 174 </attached> 175 </MovableEntity> 169 <BlinkingBillboard position="-3800,4800,4000" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> 170 <events> 171 <visibility> 172 <EventListener event=dockMe /> 173 </visibility> 174 </events> 175 </BlinkingBillboard> 176 177 <BlinkingBillboard position="-500,500,500" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> 178 <events> 179 <visibility> 180 <EventTrigger invert=true> 181 <events> 182 <trigger> 183 <EventListener event=flying3 /> 184 </trigger> 185 </events> 186 </EventTrigger> 187 </visibility> 188 </events> 189 </BlinkingBillboard> 190 <Billboard position="-500,500,500" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1"> 191 <events> 192 <visibility> 193 <EventTrigger> 194 <events> 195 <trigger> 196 <EventListener event=flying3 /> 197 </trigger> 198 </events> 199 </EventTrigger> 200 </visibility> 201 </events> 202 </Billboard> 176 203 177 204 <DistanceTrigger name="flying1" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=4/> … … 220 247 </SimpleNotification> 221 248 222 <DistanceTrigger name="flying6" position="-4000,2800,4000" target="Pawn" distance=100 stayActive="true" delay=1/>223 <SimpleNotification message="Enemy behind the portal!">224 <events>225 <trigger>226 <EventListener event="flying6" />227 </trigger>228 </events>229 </SimpleNotification>230 231 <DistanceTrigger name="flying7" position="-4000,2800,4000" target="Pawn" distance=100 stayActive="true" delay=4/>232 <SimpleNotification message="Kill it by pressing T!">233 <events>234 <trigger>235 <EventListener event="flying7" />236 </trigger>237 </events>238 </SimpleNotification>239 249 240 250 <!-----------------------------------------------------------------------------------------------------> … … 245 255 <!------------------------------------- OBJECTS IN THIS PART ------------------------------------------> 246 256 247 <Model position="-4000, 2800, 4000" yaw="90" pitch="-90" roll=" 0" scale="3" mesh="satellite.mesh" />257 <Model position="-4000, 2800, 4000" yaw="90" pitch="-90" roll="90" scale="3" mesh="satellite.mesh" /> 248 258 249 259 <Template name=PortalDefault> … … 256 266 257 267 <PortalEndPoint position="-4000,2500,4000" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> 258 <PortalEndPoint position="0,9 5000,0" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/>268 <PortalEndPoint position="0,94000,0" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> 259 269 <PortalLink fromID="1" toID="2" /> 260 270 <!--<PortalLink fromID="2" toID="1" />--> … … 265 275 <!-- Meteoriten, die sich bewegen --> 266 276 <?lua 267 for i = 1, 4 00, 1277 for i = 1, 450, 1 268 278 do 269 279 j = math.random() … … 271 281 272 282 <MovableEntity 273 position = "<?lua print(math.random()* 2000-1000) ?>,<?lua print(math.random() * 10000 + 95000) ?>,<?lua print(math.random() * 2000-1000) ?>"283 position = "<?lua print(math.random()* 1500-750) ?>,<?lua print(math.random() * 10000 + 95000) ?>,<?lua print(math.random() * 1500-750) ?>" 274 284 scale = "<?lua print(j * 40)?>" 275 velocity = " 0, -20, 0"285 velocity = "<?lua print(j*30)?>, <?lua print(j*30)?>-180, <?lua print(j*30)?>" 276 286 collisionType = dynamic 277 287 collisiondamage = 0.1 … … 301 311 ?> 302 312 303 <DistanceTrigger name="start" position="0,9 5000,0" target="SpaceShip" beaconMode="exclude" targetname="SpaceShipSupport" distance=20 stayActive="true" delay=0 />313 <DistanceTrigger name="start" position="0,94000,0" target="SpaceShip" beaconMode="exclude" targetname="bcnDestroyer" distance=20 stayActive="true" delay=0 /> 304 314 305 315 <DistanceTrigger name="portal2" position="-4000,4000,4000" target="Pawn" distance=50 stayActive="true" delay=3/> 306 <SimpleNotification message="Now go to the satel">316 <SimpleNotification message="Now go to the portal next to the satellite"> 307 317 <events> 308 318 <trigger> … … 312 322 </SimpleNotification> 313 323 314 <DistanceTrigger name="portal3" position="0,9 5000,0" target="Pawn" distance=50 stayActive="true" delay=3/>324 <DistanceTrigger name="portal3" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=3/> 315 325 <SimpleNotification message="Reach the wormhole to District 69"> 316 326 <events> 317 327 <trigger> 318 328 <EventListener event="portal3" /> 329 </trigger> 330 </events> 331 </SimpleNotification> 332 333 <SimpleNotification message="Take the lead of the formation"> 334 <events> 335 <trigger> 336 <EventListener event="endOfLevel" /> 319 337 </trigger> 320 338 </events> … … 329 347 330 348 <SpaceShip 331 position="-50+i*50, 94 000, 4000"349 position="-50+i*50, 94200, 0" 332 350 > 333 351 <templates> 334 <Template link=spaceshipcollateraldamage /> <!--spaceshipTransporter spaceshippirate-->352 <Template link=spaceshipcollateraldamage /> 335 353 </templates> 336 354 <controller> … … 367 385 </Script> <!-- !!! activates formation behaviour !!! --> 368 386 387 <Script code="formationcontroller followme"> 388 <events> 389 <trigger> 390 <EventListener event=start /> 391 </trigger> 392 </events> 393 </Script> <!-- !!! activates formation behaviour !!! --> 394 369 395 <Script code="artificialcontroller setbotlevel 5" onLoad="false"> 370 396 <events> … … 377 403 <SpaceShip 378 404 team = 0 379 position = "0,10 0000,0"405 position = "0,106000,0" 380 406 roll = 0 yaw=90 pitch=0 381 407 mass = 10000 … … 387 413 <DistanceTriggerBeacon name="bcnDestroyer" /> 388 414 <Billboard position="0,0,0" material="Portals/Default" /> 415 <DistanceTrigger name="endOfLevel" position="0,0,0" target="SpaceShip" beaconMode="exclude" targetname="bcnDestroyer" distance=50 stayActive="true" delay=0/> 389 416 390 417 <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 /> … … 426 453 </SpaceShip> 427 454 428 <DistanceTrigger name="endOfLevel" position="0,100000,0" target="SpaceShip" beaconMode="exclude" targetname="bcnDestroyer" distance=50 stayActive="true" delay=3/>429 455 <SimpleNotification message="End of game"> 430 456 <events> 431 457 <trigger> 432 <EventListener event=" portal3" />458 <EventListener event="endOfLevel" /> 433 459 </trigger> 434 460 </events>
Note: See TracChangeset
for help on using the changeset viewer.