Changeset 10164 for code/branches/keckslevelHS14/data
- Timestamp:
- Dec 10, 2014, 3:16:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/keckslevelHS14/data/levels/kecks.oxw
r10153 r10164 1 1 <LevelInfo 2 2 name = "kecks" 3 description = " A level with nothing in it."3 description = "Save your planet." 4 4 tags = "Test" 5 5 screenshot = "pirateattack.png" 6 6 gametype=Mission 7 7 /> 8 9 <!--"screenShot_12102014_144326778.png"--> 8 10 9 11 <?lua … … 29 31 <Template link=lodtemplate_default /> 30 32 </templates> 31 32 <?lua include("includes/notifications.oxi") ?> 33 34 <?lua include("includes/notifications.oxi") ?> 35 36 <NotificationQueueCEGUI 37 name="narrative" 38 targets="simpleNotification" 39 size=3 40 displayTime=3.9 41 position="0.2, 0, 0.1, 0" 42 fontSize="23" 43 fontColor="0.3, 1, 0.2, 0.8" 44 alignment="HorzCentred" 45 displaySize="0.6, 0, 0, 0" 46 /> 33 47 34 48 <Scene … … 40 54 <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"/> 41 55 42 <SpawnPoint roll="180" position="0, 56 <SpawnPoint roll="180" position="0,0, 0" lookat="0, 1000, 0" spawnclass=SpaceShip pawndesign=spaceshipHXY team=0 active="true" /> 43 57 44 58 <!-- 2. Spawnpoint … … 51 65 </SpawnPoint> 52 66 --> 53 <DistanceTrigger name="startmission" position="0, 0,0" target="SpaceShip" targetname="spaceshipHXY" distance=100 activations=1 stayActive=true />54 <!--Funktioniert nicht 55 <SimpleNotification message="Follow the spaceships to escape" b roadcast="true">67 <DistanceTrigger name="startmission" position="0,100,0" target="SpaceShip" targetname="spaceshipHXY" distance=90 activations=1 stayActive=true /> 68 69 <SimpleNotification message="Follow the spaceships to escape" boadcast="true"> 56 70 <events> 57 71 <trigger> … … 59 73 </trigger> 60 74 </events> 61 </SimpleNotification>--> 75 </SimpleNotification> 76 77 <SimpleNotification message="Destroy the box to free the spaceships." boadcast="true"> 78 <events> 79 <trigger> 80 <EventListener event="atPortal1" /> 81 </trigger> 82 </events> 83 </SimpleNotification> 84 85 <SimpleNotification message="Defend your planet." broadcast="true"> 86 <events> 87 <trigger> 88 <EventListener event="boxDestroyed" /> 89 </trigger> 90 </events> 91 </SimpleNotification> 92 93 62 94 <!-- Distance Trigger--> 63 95 64 96 <DistanceTrigger name="atPortal1" position="0,112000,0" target="SpaceShip" targetname="spaceshipHXY" distance=100 activations=1 stayActive=true /> 97 <EventTrigger name="boxtrigger" activations="1" stayactive="true" delay=0.1> 98 <events> 99 <trigger> 100 <EventListener event="boxDestroyed" /> 101 </trigger> 102 </events> 103 </EventTrigger> 65 104 66 105 <!--Asteroiden-Guertel Versuch Schlaufe … … 76 115 ?> 77 116 --> 117 78 118 79 119 <!-- Asteroidenguertel--> … … 101 141 <WaypointPatrolController alertnessradius=1500 active=true team=0> 102 142 <waypoints> 103 <StaticEntity position=" 50,10250,0"/>143 <StaticEntity position="0,10350,0"/> 104 144 </waypoints> 105 145 </WaypointPatrolController> … … 162 202 <waypoints> 163 203 <?lua 164 for k = 0, ( 59*math.pi/30), (math.pi/30)204 for k = 0, (29*math.pi/15), (math.pi/15) 165 205 do 166 206 ?> … … 195 235 do 196 236 ?> 197 <SpaceShip position="<?lua print ( 40*i)?>, 120000 ,<?lua print (-200*j)?>" roll="180" lookat="0, 0, 0">237 <SpaceShip position="<?lua print (50*i-100)?>, 120000 ,<?lua print (-200*j+150)?>" roll="180" lookat="0, 0, 0"> 198 238 <templates> 199 239 <Template link=spaceshippirate /> 200 240 </templates> 201 241 <controller> 202 <WaypointPatrolController alertnessradius=1 550 active=false team=1>242 <WaypointPatrolController alertnessradius=1000 active=false team=1> 203 243 <waypoints> 204 <StaticEntity position=" 0,111000,0"/>244 <StaticEntity position="<?lua print (5000*i-10000)?>, 0 ,<?lua print (-20000*j+15000)?>"/> 205 245 </waypoints> 206 246 <events> … … 227 267 do 228 268 ?> 229 <SpaceShip position="<?lua print ( 40*i-40)?>, 120000 ,<?lua print (-40-80*j)?>" roll="180" lookat="0, 0, 0">269 <SpaceShip position="<?lua print (50*i-150)?>, 120000 ,<?lua print (100-100*j)?>" roll="180" lookat="0, 0, 0"> 230 270 <templates> 231 271 <Template link=spaceshippirate /> 232 272 </templates> 233 273 <controller> 234 <WaypointPatrolController alertnessradius=1 450 active=false team=1>274 <WaypointPatrolController alertnessradius=1250 active=false team=1> 235 275 <waypoints> 236 <StaticEntity position=" 0,110000,0"/>276 <StaticEntity position="<?lua print (5000*i-15000)?>, 0 ,<?lua print (10000-10000*j)?>"/> 237 277 </waypoints> 238 278 <events> … … 255 295 do 256 296 ?> 257 <SpaceShip position="<?lua print ( 40*i-40)?>, 120000 ,-80" roll="180" lookat="0, 0, 0">297 <SpaceShip position="<?lua print (50*i-150)?>, 120000 ,50" roll="180" lookat="0, 0, 0"> 258 298 <templates> 259 299 <Template link=spaceshippirate /> 260 300 </templates> 261 301 <controller> 262 <WaypointPatrolController alertnessradius=15 50 active=false team=1>302 <WaypointPatrolController alertnessradius=1500 active=false team=1> 263 303 <waypoints> 264 <StaticEntity position=" 0,110000,0"/>304 <StaticEntity position="<?lua print (5000*i-15000)?>, 0 ,5000"/> 265 305 </waypoints> 266 306 <events> … … 276 316 ?> 277 317 278 279 <?lua 280 for i = 0, 6, 1318 319 <?lua 320 for i = 1, 5, 2 281 321 do 282 322 ?> 283 323 284 <SpaceShip position="<?lua print ( 40*i-40)?>, 120000 ,-160" roll="180" lookat="0, 0, 0">324 <SpaceShip position="<?lua print (50*i-150)?>, 120000 ,-100" roll="180" lookat="0, 0, 0"> 285 325 <templates> 286 326 <Template link=spaceshippirate /> 287 327 </templates> 288 328 <controller> 289 <WaypointPatrolController alertnessradius=1 450 active=false team=1>329 <WaypointPatrolController alertnessradius=1000 active=false team=1> 290 330 <waypoints> 291 <StaticEntity position="0,110000,0"/> 292 </waypoints> 293 <events> 294 <activity> 295 <EventListener event="atPortal1" stayActiv=1 /> 296 </activity> 297 </events> 298 </WaypointPatrolController> 299 </controller> 300 </SpaceShip> 301 302 <?lua 303 end 304 ?> 305 306 <?lua 307 for i = 1, 5, 2 308 do 309 ?> 310 311 <SpaceShip position="<?lua print (40*i-40)?>, 120000 ,-240" roll="180" lookat="0, 0, 0"> 312 <templates> 313 <Template link=spaceshippirate /> 314 </templates> 315 <controller> 316 <WaypointPatrolController alertnessradius=1550 active=false team=1> 317 <waypoints> 318 <StaticEntity position="0,110000,0"/> 331 <StaticEntity position="<?lua print (5000*i-15000)?>, 0 ,-10000"/> 319 332 </waypoints> 320 333 <events> … … 335 348 <!-- Boxen um Flotte zu befreien --> 336 349 337 <?lua 338 for j = 0, 1, 1 339 do 340 ?> 341 <?lua 342 for i = 0, 1, 1 343 do 344 ?> 345 346 <Pawn health=10 position="<?lua print(25-i*50) ?>, <?lua print(116000) ?>,<?lua print(25-j*50) ?>" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Gravitation Box" > 350 351 <Pawn health=20 position="0, 112900, 0" direction="0,-1,0" name="boxDestroyed" collisionType=dynamic mass=100000 radarname = "Gravitation Box" > 347 352 <attached> 348 <Model position="0,0,0" scale="10" mesh="CuboidBody.mesh" />353 <Model position="0,0,0" scale="10" mesh="CuboidBody.mesh" /> 349 354 </attached> 350 355 <collisionShapes> … … 356 361 </controller> 357 362 </Pawn> 358 359 <?lua 360 end 361 ?> 362 363 <?lua 364 end 365 ?> 363 366 364 367 365 <!-- Flotte Erde--> … … 376 374 377 375 378 <SpaceShip position="<?lua print(50-i*50) ?>, <?lua print(116000) ?>,<?lua print(50-j*50) ?>" lookat="0,150000,0" maxhealt="200" initialhealth="200" >376 <SpaceShip position="<?lua print(50-i*50) ?>, 113000,<?lua print(50-j*50) ?>" lookat="0,150000,0" maxhealt="200" initialhealth="200" > 379 377 <templates> 380 378 <Template link=spaceshipassff2 /> <!--spaceshipTransporter --> 381 379 </templates> 382 380 <controller> 383 <WaypointPatrolController alertnessradius= 1500 active=false team=0>381 <WaypointPatrolController alertnessradius=5000 active=false team=0> 384 382 <waypoints> 385 <StaticEntity position=" 0,150000,0"/>383 <StaticEntity position="<?lua print(200-i*200) ?>,113000,<?lua print(400-j*400) ?>"/> 386 384 </waypoints> 387 385 <events> 388 386 <activity> 389 <EventListener event=" atPortal1" />387 <EventListener event="boxtrigger" /> 390 388 </activity> 391 389 </events> 392 390 </WaypointPatrolController> 393 391 </controller> 394 </SpaceShip> 392 </SpaceShip> 395 393 396 394 … … 415 413 416 414 <PortalEndPoint position="0,112000,0" id="1" pitch="90" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> 417 <PortalEndPoint position=" 50,10250,0" id="2" pitch="90" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/>415 <PortalEndPoint position="0,10350,0" id="2" pitch="90" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> 418 416 <PortalLink fromID="1" toID="2" /> 419 417 <PortalLink fromID="2" toID="1" /> … … 428 426 angularDamping="0" 429 427 mass="5000000" 430 pitch=" 0"428 pitch="180" 431 429 yaw="0" 432 430 roll="0"
Note: See TracChangeset
for help on using the changeset viewer.