Changeset 7084 for code/branches/presentation3
- Timestamp:
- Jun 2, 2010, 5:08:18 PM (14 years ago)
- Location:
- code/branches/presentation3/data/levels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/data/levels/Fight in our Back.oxw
r7083 r7084 7 7 include("templates/spaceship_Transporter.oxt") 8 8 ?> 9 10 <NotificationQueue 11 name = "notification" 12 position = "0.40, 0.05" 13 font = "VeraMono" 14 textsize = 0.020 15 length = 3 16 width = 50 17 /> 9 18 10 19 <!--*****************************************************************************************************************************************************************************************--> … … 59 68 gametype=TeamDeathmatch 60 69 > 61 62 63 70 <templates> 71 <Template link=lodtemplate_default /> 72 </templates> 64 73 65 74 <!-- Ausgang: Szene ===> ambientlight/skybox --> … … 75 84 <!--*****************************************************************************************************************************************************************************************--> 76 85 <!--Quests--> 77 <GlobalQuest id="FightInOurBack.DiscoveryMission_"> <!--QUESTIDS MUST HAVE AT LEAST 32 CHARACTERS-->86 <GlobalQuest id="FightInOurBack.DiscoveryMission_"> 78 87 <QuestDescription title="Discovery mission" description="Your team has to scout out this sector." failMessage="You failed!" completeMessage="You won. You have reached the end of this level." /> 79 88 <subquests> … … 97 106 <!--Player's Spawnpoints______________________________________________________________________________________________________________________________________________________________________--> 98 107 <!--Spieler Spawnpoint ===> position/direction--> <!-- funktioniert noch nicht ab naechtem Mal wahrscheinlich--> 99 <SpawnPoint position="0,50,25" direction="2000,0,-1000" spawnclass=SpaceShip pawndesign=spaceshipassffplayer team=0 active="true" />108 <SpawnPoint position="0,50,25" direction="2000,0,-1000" spawnclass=SpaceShip pawndesign=spaceshipassffplayer team=0 active="true" > 100 109 <!---> <events> 101 110 <activity> … … 111 120 </activity> include("templates/lodinformation.oxt") 112 121 </events> 122 <!----> 113 123 </SpawnPoint> 114 124 … … 127 137 </events> 128 138 <attached> 129 <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Examples/Flare" /> 130 <DistanceTrigger name="FightInOurBack_MainStart_FollowStart" position="0,0,0" distance="50" target="DistanceTriggerBeacon" targetname="spaceshipassffplayer" invert=1 stayactive=1 activations=1 /> 139 <!--<Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Examples/Flare" />--> 131 140 </attached> 132 141 </QuestEffectBeacon> 142 143 <DistanceTrigger name="FightInOurBack_MainStart_FollowStart" position="0,50,25" distance="50" target="DistanceTriggerBeacon" targetname="spaceshipassffplayer" /> 133 144 <!----> 134 145 <QuestEffectBeacon position="8000,0,3100" times=1 > 135 146 <effects> 136 <AddQuest questID="FightInOurBack. FollowYourGroupLeader" />147 <AddQuest questID="FightInOurBack.TransportersAhead" /> 137 148 <AddQuest questID="FightInOurBack.TheySentUsAssistance" /> 138 149 <CompleteQuest questID="FightInOurBack.FollowYourGroupLeader" /> 139 150 </effects> 140 151 <events> 141 <EventListener event="FightInOurBack_FollowEnd_DTranspStart_AssisStart" /> 152 <execute> 153 <EventListener event="FightInOurBack_FollowEnd_DTranspStart_AssisStart" /> 154 </execute> 142 155 </events> 143 156 <attached> 144 < Billboard position="0,0,0" colour="1,1,1" material="Examples/Flare" />157 <!--<Billboard position="0,0,0" colour="1,1,1" material="Examples/Flare" />--> 145 158 <DistanceTrigger name="FightInOurBack_FollowEnd_DTranspStart_AssisStart" position="0,0,0" distance="1000" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" stayactive=1 activations=1 /> 146 159 </attached> … … 220 233 <Model mesh="cube.mesh" scale=0 position="2050,0,-1000" /> 221 234 <Model mesh="cube.mesh" scale=0 position="6050,0,0" /> 222 223 235 <Model mesh="cube.mesh" scale=0 position="10050,0,3000" /> 236 <Model mesh="cube.mesh" scale=0 position="3050,0,3000" /> 224 237 <Model mesh="cube.mesh" scale=0 position="-4050,0,3000" /> 225 238 </waypoints> … … 237 250 <Model mesh="cube.mesh" scale=0 position="2000,0,-900" /> 238 251 <Model mesh="cube.mesh" scale=0 position="6000,0,0" /> 239 240 252 <Model mesh="cube.mesh" scale=0 position="10000,0,3100" /> 253 <Model mesh="cube.mesh" scale=0 position="3000,0,3100" /> 241 254 <Model mesh="cube.mesh" scale=0 position="-4000,0,3100"/> 242 255 </waypoints> … … 254 267 <Model mesh="cube.mesh" scale=0 position="2000,0,-1100" /> 255 268 <Model mesh="cube.mesh" scale=0 position="6000,0,-100" /> 256 257 269 <Model mesh="cube.mesh" scale=0 position="10000,0,2900" /> 270 <Model mesh="cube.mesh" scale=0 position="3000,0,2900" /> 258 271 <Model mesh="cube.mesh" scale=0 position="-4000,0,2900" /> 259 272 </waypoints> … … 432 445 <WaypointPatrolController alertnessRadius=1500 team=1> 433 446 <waypoints> 434 <Model mesh="cube.mesh" scale= 10 position="<?lua print(200+8000) ?>,0,1000" />447 <Model mesh="cube.mesh" scale=0 position="<?lua print(200+8000) ?>,0,1000" /> 435 448 </waypoints> 436 449 </WaypointPatrolController> -
code/branches/presentation3/data/levels/The Time Machine.oxw
r7083 r7084 64 64 gametype=TeamDeathmatch 65 65 > 66 <templates> 67 <Template link=lodtemplate_default /> 68 </templates> 69 66 <templates> 67 <Template link=lodtemplate_default /> 68 </templates> 70 69 <Scene 71 70 ambientlight="0.8,0.8,0.8" … … 90 89 91 90 92 <!--TRIGGERS IF THE PLAYERS REACHES THE "TIME MACHINE"--> 93 <!---> 94 <DistanceTrigger name="LeaveTimeMachine" position="0,0,0" distance="100" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" stayactive="true" activations=1000 invert="true" ><!----> 95 <!---> <DistanceTrigger name="EnterTimeMachine" position="0,0,0" distance="100" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" active=false > 91 92 93 94 95 96 <!--Triggers (used for the Time Machine effect)_________________________________________________________________________________________________________________________partially working--> 97 98 <!--TRIGGERS IF THE PLAYERS REACHES THE "TIME MACHINE"--> 99 <DistanceTrigger name="EnterTimeMachine" position="0,0,0" distance="100" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" invert=true > 96 100 <attached> 97 101 <Billboard position="0,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> … … 104 108 </attached> 105 109 </DistanceTrigger> 106 <!---> 107 <!----> 108 <DistanceTrigger name="EnterTimeMachine" position="0,0,0" distance="100" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" invert=1 > 109 <!----> <attached> 110 <Billboard position="0,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> 111 <Billboard position="100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> 112 <Billboard position="0,100,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> 113 <Billboard position="0,0,100" material="Examples/Flare" colour="0, 0, 1" scale=1/> 114 <Billboard position="-100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> 115 <Billboard position="0,-100,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> 116 <Billboard position="0,0,-100" material="Examples/Flare" colour="0, 0, 1" scale=1/> 117 </attached> 118 <!----> </DistanceTrigger> 119 120 121 110 111 <!--Triggers (used for the Time Machine effect)_____________________________________________________________________________________________________________________________________________--> 112 122 113 <!--Creating Spaceships___________________________________________________________________________________________________________________________________________________________________OK--> 123 114 124 115 <?lua for i=0,5,1 do 125 116 y=math.random(-500,500) 126 z=math.random(- 500,500)117 z=math.random(-1000,1000) 127 118 y2=math.random(-500,500) 128 z2=math.random(- 500,500)119 z2=math.random(-1000,1000) 129 120 health=230 130 121 addh=100 131 122 ?> 132 <!-- 133 <EventTrigger name="ActivateAll" stayactive=1 > 134 <events> 135 <trigger> 136 <Bot> 137 <events> 138 <activity> 139 <EventListener event="EnterTimeMachine" /> 140 </activity> 141 </events> 142 </Bot> 143 </trigger> 144 </events> 145 </EventTrigger> 146 --> 147 <EventTrigger name="ActivateAll" > 123 <!-- Creation of Bots 124 <EventTrigger name="ActivateAll" stayactive=1 > 148 125 <events> 149 126 <trigger> 150 <SpaceShip position="-2000,<?lua print(y) ?>,<?lua print(z) ?>" lookat="1000,<?lua print(y) ?>,<?lua print(z) ?>" health=<?lua print(health) ?> maxhealth=<?lua print(health) ?> initialhealth=<?lua print(health) ?> > 127 <Bot> 128 <events> 129 <activity> 130 <EventListener event="EnterTimeMachine" /> 131 </activity> 132 </events> 133 </Bot> 134 </trigger> 135 </events> 136 </EventTrigger> 137 --> 138 139 <EventTrigger name="ActivateAll" stayactive=true > 140 <events> 141 <trigger> 142 <SpaceShip position="-4000,<?lua print(y) ?>,<?lua print(z) ?>" lookat="1000,<?lua print(y) ?>,<?lua print(z) ?>" health=<?lua print(health) ?> maxhealth=<?lua print(health) ?> initialhealth=<?lua print(health) ?> > 151 143 <templates> 152 144 <Template link=spaceshipassff /> … … 159 151 <events> 160 152 <activity> 161 <EventListener event="EnterTimeMachine" />162 153 <Trigger mode=or > 163 154 <EventTrigger> … … 171 162 <events> 172 163 <trigger> 173 <EventListener event=" Reactivate" />164 <EventListener event="ActivateAll" /> 174 165 </trigger> 175 166 </events> … … 187 178 188 179 189 <Trigger mode=and name="Reactivate"> 190 <EventTrigger switch=true > 191 <events> 192 <trigger> 193 <EventListener event="ActivateAll" /> 194 <EventListener event="ToggleBack" /> 195 </trigger> 196 </events> 197 </EventTrigger> 198 <EventTrigger invert=true> 199 <events> 200 <trigger> 201 <EventListener event="EnterTimeMachine" /> 202 </trigger> 203 </events> 204 </EventTrigger> 205 </Trigger> 206 207 <Trigger mode=and name="ToggleBack" > 208 <EventTrigger invert=1 > 209 <events> 210 <trigger> 211 <EventListener event="EnterTimeMachine" /> 212 213 </trigger> 214 </events> 215 </EventTrigger> 216 </Trigger> 217 218 <!---> 219 <Trigger mode=and name="SomeTrigger"> 220 <EventTrigger switch=true > 221 <events> 222 <trigger> 223 <EventListener event="trigger1" /> 224 <EventListener event="ToggleBack" /> 225 </trigger> 226 </events> 227 </EventTrigger> 228 <EventTrigger invert=true> 229 <events> 230 <trigger> 231 <EventListener event="EnterTimeMachine" /> 232 </trigger> 233 </events> 234 </EventTrigger> 235 </Trigger> 236 237 <Trigger name="trigger1" mode=and> 238 <EventTrigger> 239 <events> 240 <trigger> 241 <EventListener event="ActivateAll" /> 242 </trigger> 243 </events> 244 </EventTrigger> 245 <EventTrigger invert=true> 246 <events> 247 <trigger> 248 <EventListener event="EnterTimeMachine" /> 249 </trigger> 250 </events> 251 </EventTrigger> 252 </Trigger> 253 254 <Trigger mode=and name="ToggleBack"> 255 <EventTrigger switch=true> 256 <events> 257 <trigger> 258 <EventListener event="trigger1" /> 259 <EventListener event="ToggleBack" /> 260 </trigger> 261 </events> 262 </EventTrigger> 263 <EventTrigger> 264 <events> 265 <trigger> 266 <EventListener event="EnterTimeMachine" /> 267 </trigger> 268 </events> 269 </EventTrigger> 270 </Trigger> 271 <!----> 272 <!-- 273 <EventTrigger name="ActivateAll"> 180 <EventTrigger name="ActivateAll" stayactive=true> 274 181 <events> 275 182 <trigger> 276 <SpaceShip position=" 2000,<?lua print(y2) ?>,<?lua print(z2) ?>" lookat="-1000,<?lua print(y2) ?>, <?lua print(z2) ?>" health=<?lua print(health+addh) ?> maxhealth=<?lua print(health+addh) ?> initialhealth=<?lua print(health+addh) ?> >183 <SpaceShip position="4000,<?lua print(y2) ?>,<?lua print(z2) ?>" lookat="-1000,<?lua print(y2) ?>, <?lua print(z2) ?>" health=<?lua print(health+addh) ?> maxhealth=<?lua print(health+addh) ?> initialhealth=<?lua print(health+addh) ?> > 277 184 <templates> 278 185 <Template link=spaceshippirate /> … … 296 203 <events> 297 204 <trigger> 298 <EventListener event=" SomeTrigger" />205 <EventListener event="ActivateAll" /> 299 206 </trigger> 300 207 </events> … … 309 216 </events> 310 217 </EventTrigger> 311 --> 312 313 <?lua end ?> 218 <?lua end ?> 219 314 220 <!--Creating Spaceships_____END___________________________________________________________________________________________________________________________________________________________OK--> 315 221 316 <!--BILLBOARD ON THE MIDDLE OF THE BATTLEFIELD-->222 <!--BILLBOARD IN THE MIDDLE OF THE BATTLEFIELD--> 317 223 <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Flares/backlightflare" scale=1 /> 318 224 … … 361 267 362 268 363 <!--FIRST DISTANT -->269 <!--FIRST DISTANT PAIR--> 364 270 <?lua for i=0,1,1 do ?> 365 271 <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=10 > … … 408 314 </MovableEntity> 409 315 <?lua end ?> 410 <!--SECOND DISTANT -->316 <!--SECOND DISTANT PAIR--> 411 317 <?lua for i=0,1,1 do ?> 412 318 <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=8 > … … 455 361 </MovableEntity> 456 362 <?lua end ?> 457 <!--THIRD DISTANT -->363 <!--THIRD DISTANT PAIR--> 458 364 <?lua for i=0,1,1 do ?> 459 365 <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=9 > … … 502 408 </MovableEntity> 503 409 <?lua end ?> 504 <!--FOURTH DISTANT -->410 <!--FOURTH DISTANT PAIR--> 505 411 <?lua for i=0,1,1 do ?> 506 412 <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=12 > … … 549 455 </MovableEntity> 550 456 <?lua end ?> 551 <!--FIFTH DISTANT -->457 <!--FIFTH DISTANT PAIR--> 552 458 <?lua for i=0,1,1 do ?> 553 459 <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=11 > … … 596 502 </MovableEntity> 597 503 <?lua end ?> 598 599 600 601 504 </attached> 602 505 </MovableEntity> 603 <!--<DistanceTrigger>-->604 506 </attached> 605 507 </StaticEntity> 508 606 509 607 510 <!--TIME MACHINE END____________________________________________________________________________________________________________________________________________________________________--> … … 609 512 <!--Forcefields_________________________________________________________________________________________________________________________________________________________________________--> 610 513 611 <!--NO 1- >514 <!--NO 1--> 612 515 <ForceField position="-2500,0,800" direction="1,0,0" diameter=500 velocity=5000 length=1000 /> 613 516 <MovableEntity position="-2500,0,800"> … … 620 523 </attached> 621 524 </MovableEntity> 622 <!--NO 2- >525 <!--NO 2--> 623 526 <ForceField position="2500,0,-800" direction="-1,0,0" diameter=500 velocity=5000 length=1000 /> 624 527 <MovableEntity position="2500,0,-800"> … … 632 535 </MovableEntity> 633 536 634 <!--NO 3- >537 <!--NO 3--> 635 538 <ForceField position="-2500,0,-600" direction="0.75,0.5,1" diameter=500 velocity=5000 length=1000 /> 636 539 <MovableEntity position="-2500,0,-600"> … … 643 546 </attached> 644 547 </MovableEntity> 645 <!----> 646 <!--NO 4- >548 549 <!--NO 4--> 647 550 <ForceField position="2500,0,600" direction="-0.75,-0.5,-1" diameter=500 velocity=5000 length=1000 /> 648 551 <MovableEntity position="2500,0,600"> … … 655 558 </attached> 656 559 </MovableEntity> 657 <!----> 658 659 <!--NO 5 (samller)-> 560 561 <!--NO 5 (samller)--> 660 562 <ForceField position="0,-500,500" direction="0,1,0" diameter=500 velocity=3000 length=1000 /> 661 563 <MovableEntity position="0,-500,500"> … … 667 569 </attached> 668 570 </MovableEntity> 669 <!----> 670 671 <!--No 6 (smaller)-> 571 572 <!--No 6 (smaller)--> 672 573 <ForceField position="0,500,-500" direction="0,-1,0" diameter=500 velocity=3000 length=1000 /> 673 574 <MovableEntity position="0,500,-500"> … … 679 580 </attached> 680 581 </MovableEntity> 681 <!----> 682 683 <!--No 7 (smaller)-> 582 583 <!--No 7 (smaller)--> 684 584 <ForceField position="500,0,-500" direction="0,0,1" diameter=500 velocity=2500 length=750 /> 685 585 <MovableEntity position="500,0,-500"> … … 691 591 </attached> 692 592 </MovableEntity> 693 <!----> 694 695 <!--No 8 (smaller)-> 593 594 <!--No 8 (smaller)--> 696 595 <ForceField position="-500,0,500" direction="0,0,-1" diameter=500 velocity=2500 length=750 /> 697 596 <MovableEntity position="-500,0,500"> … … 703 602 </attached> 704 603 </MovableEntity> 705 <!----> 706 707 <!--Invisible Forcefield (immediatly sends you to the time machine)--> 604 605 <!--Invisible Forcefield (immediatly sends the player to the time machine)--> 708 606 <ForceField position="-2500,2500,800" direction="1,-1,-0.32" diameter=200 velocity=10000 length=880 /> 709 <Billboard position="-2500,2500,800" material="Examples/Flare" colour="1,1,1" /> 710 711 <!----> 712 607 <Billboard position="-2500,2500,800" material="Examples/Flare" colour="1,1,1" /> <!--This Billboard looks like a star on the Skybox--> 608 609 713 610 </Scene> 714 611 </Level> 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730
Note: See TracChangeset
for help on using the changeset viewer.