[7648] | 1 | <LevelInfo |
---|
| 2 | name = "Pickups showcase" |
---|
| 3 | description = "Level to test and showcase pickups." |
---|
| 4 | tags = "test, showcase" |
---|
[8916] | 5 | screenshot = "pickupsshowcase.png" |
---|
[7648] | 6 | /> |
---|
| 7 | |
---|
[6512] | 8 | <?lua |
---|
| 9 | include("stats.oxo") |
---|
[7679] | 10 | include("HUDTemplates3.oxo") |
---|
[6512] | 11 | ?> |
---|
| 12 | |
---|
| 13 | <?lua |
---|
[7679] | 14 | include("templates/spaceshipAssff.oxt") |
---|
| 15 | include("templates/pickupRepresentationTemplates.oxt") |
---|
| 16 | include("templates/lodInformation.oxt") |
---|
[6512] | 17 | ?> |
---|
| 18 | |
---|
| 19 | <Level |
---|
| 20 | name = "Sample" |
---|
| 21 | description = "Just a few tests" |
---|
| 22 | > |
---|
[7036] | 23 | <templates> |
---|
| 24 | <Template link=lodtemplate_default /> |
---|
| 25 | </templates> |
---|
[8706] | 26 | <?lua include("includes/notifications.oxi") ?> |
---|
[7083] | 27 | |
---|
[6512] | 28 | <Scene |
---|
| 29 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 30 | skybox = "Orxonox/Starbox" |
---|
| 31 | > |
---|
| 32 | |
---|
[7007] | 33 | <?lua |
---|
| 34 | include("includes/pickups.oxi") |
---|
| 35 | ?> |
---|
| 36 | |
---|
[6712] | 37 | <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" /> |
---|
| 38 | <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
[6512] | 39 | |
---|
[6998] | 40 | <!-- Shield pickups --> |
---|
[7007] | 41 | |
---|
| 42 | <PickupSpawner position="-25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 43 | <pickup> |
---|
| 44 | <ShieldPickup template=smallshieldpickup /> |
---|
| 45 | </pickup> |
---|
[6998] | 46 | </PickupSpawner> |
---|
| 47 | |
---|
[7007] | 48 | <PickupSpawner position="0,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 49 | <pickup> |
---|
| 50 | <ShieldPickup template=mediumshieldpickup /> |
---|
| 51 | </pickup> |
---|
[6998] | 52 | </PickupSpawner> |
---|
| 53 | |
---|
[7007] | 54 | <PickupSpawner position="25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 55 | <pickup> |
---|
| 56 | <ShieldPickup template=hugeshieldpickup /> |
---|
| 57 | </pickup> |
---|
[6998] | 58 | </PickupSpawner> |
---|
[7007] | 59 | |
---|
[6712] | 60 | <!-- Health pickups --> |
---|
[7007] | 61 | |
---|
| 62 | <PickupSpawner position="-25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 63 | <pickup> |
---|
| 64 | <HealthPickup template=smallhealthpickup /> |
---|
| 65 | </pickup> |
---|
[6512] | 66 | </PickupSpawner> |
---|
[7007] | 67 | |
---|
| 68 | <PickupSpawner position="0,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 69 | <pickup> |
---|
| 70 | <HealthPickup template=mediumhealthpickup /> |
---|
| 71 | </pickup> |
---|
[6512] | 72 | </PickupSpawner> |
---|
[7007] | 73 | |
---|
| 74 | <PickupSpawner position="25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 75 | <pickup> |
---|
| 76 | <HealthPickup template=hugehealthpickup /> |
---|
| 77 | </pickup> |
---|
[6512] | 78 | </PickupSpawner> |
---|
[7007] | 79 | |
---|
| 80 | <PickupSpawner position="50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 81 | <pickup> |
---|
| 82 | <HealthPickup template=crazyhealthpickup /> |
---|
| 83 | </pickup> |
---|
[6512] | 84 | </PickupSpawner> |
---|
[7007] | 85 | |
---|
[6712] | 86 | <!-- Speed pickups --> |
---|
[7007] | 87 | |
---|
| 88 | <PickupSpawner position="-25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 89 | <pickup> |
---|
| 90 | <SpeedPickup template=smallspeedpickup /> |
---|
| 91 | </pickup> |
---|
[6519] | 92 | </PickupSpawner> |
---|
[6512] | 93 | |
---|
[7007] | 94 | <PickupSpawner position="0,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 95 | <pickup> |
---|
| 96 | <SpeedPickup template=mediumspeedpickup /> |
---|
| 97 | </pickup> |
---|
[6711] | 98 | </PickupSpawner> |
---|
[6512] | 99 | |
---|
[7007] | 100 | <PickupSpawner position="25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 101 | <pickup> |
---|
| 102 | <SpeedPickup template=hugespeedpickup /> |
---|
| 103 | </pickup> |
---|
[6712] | 104 | </PickupSpawner> |
---|
| 105 | |
---|
[7007] | 106 | <PickupSpawner position="50,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 107 | <pickup> |
---|
| 108 | <SpeedPickup template=smalljumppickup /> |
---|
| 109 | </pickup> |
---|
[6712] | 110 | </PickupSpawner> |
---|
[7007] | 111 | |
---|
[6712] | 112 | <!-- Invisible pickups --> |
---|
[7007] | 113 | |
---|
| 114 | <PickupSpawner position="-25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 115 | <pickup> |
---|
| 116 | <InvisiblePickup template=smallinvisiblepickup /> |
---|
| 117 | </pickup> |
---|
[6712] | 118 | </PickupSpawner> |
---|
| 119 | |
---|
[7007] | 120 | <PickupSpawner position="0,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 121 | <pickup> |
---|
| 122 | <InvisiblePickup template=mediuminvisiblepickup /> |
---|
| 123 | </pickup> |
---|
[6712] | 124 | </PickupSpawner> |
---|
| 125 | |
---|
[7007] | 126 | <PickupSpawner position="25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 127 | <pickup> |
---|
| 128 | <InvisiblePickup template=hugeinvisiblepickup /> |
---|
| 129 | </pickup> |
---|
[6712] | 130 | </PickupSpawner> |
---|
[7007] | 131 | |
---|
[6712] | 132 | <!-- Meta pickups --> |
---|
[7007] | 133 | |
---|
| 134 | <PickupSpawner position="-25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 135 | <pickup> |
---|
| 136 | <MetaPickup metaType="use" /> |
---|
| 137 | </pickup> |
---|
[6712] | 138 | </PickupSpawner> |
---|
| 139 | |
---|
[7007] | 140 | <PickupSpawner position="0,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 141 | <pickup> |
---|
| 142 | <MetaPickup metaType="drop" /> |
---|
| 143 | </pickup> |
---|
[6712] | 144 | </PickupSpawner> |
---|
[7007] | 145 | |
---|
[7162] | 146 | <PickupSpawner position="25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 147 | <pickup> |
---|
| 148 | <MetaPickup metaType="destroy" /> |
---|
| 149 | </pickup> |
---|
| 150 | </PickupSpawner> |
---|
| 151 | |
---|
| 152 | <PickupSpawner position="50,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 153 | <pickup> |
---|
| 154 | <MetaPickup metaType="destroyCarrier" /> |
---|
| 155 | </pickup> |
---|
| 156 | </PickupSpawner> |
---|
| 157 | |
---|
[6712] | 158 | <!-- Pickup Collection pickups --> |
---|
[7007] | 159 | |
---|
[7008] | 160 | <PickupSpawner position="-50,25,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
[7007] | 161 | <pickup> |
---|
| 162 | <PickupCollection template=triplehealthspeedinvisibilitypickup /> |
---|
| 163 | </pickup> |
---|
[6901] | 164 | </PickupSpawner> |
---|
[7038] | 165 | |
---|
| 166 | <!-- Drone pickup --> |
---|
| 167 | |
---|
| 168 | <PickupSpawner position="-50,50,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 169 | <pickup> |
---|
| 170 | <DronePickup template=dronepickup /> |
---|
| 171 | </pickup> |
---|
| 172 | </PickupSpawner> |
---|
| 173 | |
---|
| 174 | <!-- Other pickups --> |
---|
[7007] | 175 | |
---|
[7008] | 176 | <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi --> |
---|
[7007] | 177 | <PickupRepresentation |
---|
| 178 | pickupName = "Medium Health Pack" |
---|
| 179 | pickupDescription = "Once used adds a medium amout of health to the ship." |
---|
| 180 | spawnerTemplate = "mediumhealthpickupRepresentation" |
---|
| 181 | inventoryRepresentation = "MediumHealth" |
---|
| 182 | > |
---|
| 183 | <pickup> |
---|
[7162] | 184 | <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous /> |
---|
[7007] | 185 | </pickup> |
---|
| 186 | </PickupRepresentation> |
---|
| 187 | |
---|
[7008] | 188 | <PickupSpawner position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> |
---|
[7007] | 189 | <pickup> |
---|
[7162] | 190 | <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous /> |
---|
[7007] | 191 | </pickup> |
---|
| 192 | </PickupSpawner> |
---|
| 193 | |
---|
[8706] | 194 | <PickupSpawner position="-25,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> |
---|
| 195 | <pickup> |
---|
| 196 | <ShrinkPickup template ="smallshrinkpickup"/> |
---|
| 197 | </pickup> |
---|
| 198 | </PickupSpawner> |
---|
| 199 | |
---|
| 200 | <PickupSpawner position="0,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> |
---|
| 201 | <pickup> |
---|
| 202 | <ShrinkPickup template ="mediumshrinkpickup"/> |
---|
| 203 | </pickup> |
---|
| 204 | </PickupSpawner> |
---|
| 205 | |
---|
| 206 | <PickupSpawner position="25,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> |
---|
| 207 | <pickup> |
---|
| 208 | <ShrinkPickup template ="hugeshrinkpickup"/> |
---|
| 209 | </pickup> |
---|
| 210 | </PickupSpawner> |
---|
| 211 | |
---|
| 212 | <!--StaticEntity position="0,-200,0" direction="0,-1,0" collisionType=static mass=500 friction=0.01 > |
---|
| 213 | <attached> |
---|
| 214 | <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" /> |
---|
| 215 | </attached> |
---|
| 216 | <collisionShapes> |
---|
| 217 | <BoxCollisionShape position="0,0,0" halfExtents="10,10,10" /> |
---|
| 218 | </collisionShapes> |
---|
| 219 | </StaticEntity--> |
---|
| 220 | |
---|
[6512] | 221 | </Scene> |
---|
| 222 | </Level> |
---|