[7648] | 1 | <LevelInfo |
---|
| 2 | name = "Presentation XI" |
---|
| 3 | description = "1st Presentation level for Orxonox Convention XI" |
---|
| 4 | tags = "presentation" |
---|
[9016] | 5 | screenshot = "presentationxi.png" |
---|
[7648] | 6 | /> |
---|
| 7 | |
---|
[7027] | 8 | <?lua |
---|
| 9 | include("stats.oxo") |
---|
[7679] | 10 | include("HUDTemplates3.oxo") |
---|
[7027] | 11 | ?> |
---|
| 12 | |
---|
| 13 | <?lua |
---|
[7679] | 14 | include("templates/lodInformation.oxt") |
---|
| 15 | include("templates/spaceshipAssff.oxt") |
---|
| 16 | include("templates/spaceshipPirate.oxt") |
---|
| 17 | include("templates/spaceshipSwallow.oxt") |
---|
| 18 | include("templates/pickupRepresentationTemplates.oxt") |
---|
[7027] | 19 | ?> |
---|
| 20 | |
---|
| 21 | <Level |
---|
[9016] | 22 | gametype = "TeamDeathmatch" |
---|
[7027] | 23 | > |
---|
[7046] | 24 | <templates> |
---|
| 25 | <Template link=lodtemplate_default /> |
---|
| 26 | </templates> |
---|
[8706] | 27 | <?lua include("includes/notifications.oxi") ?> |
---|
[7046] | 28 | |
---|
[7027] | 29 | <Scene |
---|
| 30 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 31 | skybox = "Orxonox/Starbox" |
---|
| 32 | > |
---|
| 33 | |
---|
| 34 | <?lua |
---|
| 35 | include("includes/pickups.oxi") |
---|
| 36 | ?> |
---|
| 37 | |
---|
| 38 | <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" /> |
---|
[7101] | 39 | <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow /> |
---|
[7027] | 40 | |
---|
[7032] | 41 | <Billboard position="12.5, -30, -500" material="Banners/Pickups" scale="0.5"/> |
---|
[7102] | 42 | <Billboard position="500, -30, -500" material="Banners/Drone" scale="0.5"/> |
---|
| 43 | <EventDispatcher> |
---|
| 44 | <targets> |
---|
| 45 | <EventTarget target=pirate /> |
---|
| 46 | </targets> |
---|
| 47 | <events> |
---|
| 48 | <activity> |
---|
| 49 | <DistanceTrigger position="500, -50, -500" distance=20 target="SpaceShip" stayactive=true /> |
---|
| 50 | </activity> |
---|
| 51 | </events> |
---|
| 52 | </EventDispatcher> |
---|
| 53 | |
---|
| 54 | <Billboard position="1000, -30, -500" material="Banners/Formation" scale="0.5"/> |
---|
| 55 | <Billboard position="1000, -50, -500" material="Examples/Flare" scale="0.5"/> |
---|
| 56 | <EventDispatcher> |
---|
| 57 | <targets> |
---|
| 58 | <EventTarget target=formation /> |
---|
| 59 | </targets> |
---|
| 60 | <events> |
---|
| 61 | <activity> |
---|
| 62 | <DistanceTrigger position="1000, -50, -500" distance=20 target="SpaceShip" stayactive=true /> |
---|
| 63 | </activity> |
---|
| 64 | </events> |
---|
| 65 | </EventDispatcher> |
---|
| 66 | |
---|
| 67 | <SpaceShip position="500,0,-1500"> |
---|
| 68 | <templates> |
---|
| 69 | <Template link=spaceshippirate /> |
---|
| 70 | </templates> |
---|
| 71 | <controller> |
---|
| 72 | <AIController team=1 active=false name=pirate formationFlight=false passive=false /> |
---|
| 73 | </controller> |
---|
[7099] | 74 | </SpaceShip> |
---|
[7032] | 75 | |
---|
[7102] | 76 | |
---|
| 77 | <?lua |
---|
| 78 | for i = 1, 10, 1 do |
---|
| 79 | ?> |
---|
| 80 | <SpaceShip position="<?lua print(5000 + math.random() * 4000 - 2000) ?>,<?lua print(0 + math.random() * 2000 - 1000) ?>,<?lua print(math.random() * 2000 - 1000) ?>"> |
---|
| 81 | <templates> |
---|
| 82 | <Template link=spaceshippirate /> |
---|
| 83 | </templates> |
---|
| 84 | <controller> |
---|
| 85 | <AIController formationFlight=true passive=true team=0 name=formation active=false /> |
---|
| 86 | </controller> |
---|
| 87 | </SpaceShip> |
---|
| 88 | <?lua end ?> |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | <?lua |
---|
| 92 | for i = 1, 10, 1 do |
---|
| 93 | ?> |
---|
| 94 | <SpaceShip position="<?lua print(5000 + math.random() * 4000 - 2000) ?>,<?lua print(0 + math.random() * 2000 - 1000) ?>,<?lua print(math.random() * 2000 - 1000) ?>"> |
---|
| 95 | <templates> |
---|
| 96 | <Template link=spaceshipassff /> |
---|
| 97 | </templates> |
---|
| 98 | <controller> |
---|
| 99 | <AIController formationFlight=true passive=true team=1 name=formation active=false/> |
---|
| 100 | </controller> |
---|
| 101 | </SpaceShip> |
---|
| 102 | <?lua end ?> |
---|
| 103 | |
---|
[9348] | 104 | <PickupSpawner pickup=dronepickup position="500,-50,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" /> |
---|
[7042] | 105 | |
---|
[7027] | 106 | <!-- Shield pickups --> |
---|
| 107 | |
---|
[9348] | 108 | <PickupSpawner pickup=hugeshieldpickup position="-25,-50,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" /> |
---|
[7027] | 109 | |
---|
| 110 | <!-- Health pickups --> |
---|
| 111 | |
---|
[9348] | 112 | <PickupSpawner pickup=hugehealthpickup position="0,-75,-500" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" /> |
---|
[7027] | 113 | |
---|
| 114 | <!-- Speed pickups --> |
---|
| 115 | |
---|
[9348] | 116 | <PickupSpawner pickup=hugespeedpickup position="25,-50,-500" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" /> |
---|
| 117 | <PickupSpawner pickup=smalljumppickup position="50,-50,-500" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" /> |
---|
[7027] | 118 | |
---|
| 119 | <!-- Invisible pickups --> |
---|
| 120 | |
---|
[9348] | 121 | <PickupSpawner pickup=hugeinvisiblepickup position="0,-50,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" /> |
---|
[7027] | 122 | |
---|
| 123 | <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi --> |
---|
| 124 | <PickupRepresentation |
---|
[9348] | 125 | name = "MediumHealth" |
---|
[7027] | 126 | pickupName = "Medium Health Pack" |
---|
| 127 | pickupDescription = "Once used adds a medium amout of health to the ship." |
---|
| 128 | spawnerTemplate = "mediumhealthpickupRepresentation" |
---|
| 129 | inventoryRepresentation = "MediumHealth" |
---|
[9348] | 130 | /> |
---|
[7027] | 131 | |
---|
[9348] | 132 | <Template name=onusehealthpickup baseclass=HealthPickup> |
---|
| 133 | <HealthPickup representation="MediumHealth" health=50 activationType=onUse durationType=once /> |
---|
| 134 | </Template> |
---|
[7027] | 135 | |
---|
[9348] | 136 | <PickupSpawner pickup=onusehealthpickup position="25,-75,-500" respawnTime="60" triggerDistance="20" maxSpawnedItems="5" /> |
---|
| 137 | |
---|
[7027] | 138 | </Scene> |
---|
| 139 | </Level> |
---|