[7648] | 1 | <LevelInfo |
---|
| 2 | name = "Pickups showcase" |
---|
| 3 | description = "Level to test and showcase pickups." |
---|
| 4 | tags = "test, showcase" |
---|
[9016] | 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 | |
---|
[9016] | 19 | <Level> |
---|
[7036] | 20 | <templates> |
---|
| 21 | <Template link=lodtemplate_default /> |
---|
| 22 | </templates> |
---|
[8706] | 23 | <?lua include("includes/notifications.oxi") ?> |
---|
[7083] | 24 | |
---|
[6512] | 25 | <Scene |
---|
| 26 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 27 | skybox = "Orxonox/Starbox" |
---|
| 28 | > |
---|
| 29 | |
---|
[7007] | 30 | <?lua |
---|
| 31 | include("includes/pickups.oxi") |
---|
| 32 | ?> |
---|
| 33 | |
---|
[6712] | 34 | <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" /> |
---|
| 35 | <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
[6512] | 36 | |
---|
[6998] | 37 | <!-- Shield pickups --> |
---|
[7007] | 38 | |
---|
| 39 | <PickupSpawner position="-25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 40 | <pickup> |
---|
| 41 | <ShieldPickup template=smallshieldpickup /> |
---|
| 42 | </pickup> |
---|
[6998] | 43 | </PickupSpawner> |
---|
| 44 | |
---|
[7007] | 45 | <PickupSpawner position="0,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 46 | <pickup> |
---|
| 47 | <ShieldPickup template=mediumshieldpickup /> |
---|
| 48 | </pickup> |
---|
[6998] | 49 | </PickupSpawner> |
---|
| 50 | |
---|
[7007] | 51 | <PickupSpawner position="25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 52 | <pickup> |
---|
| 53 | <ShieldPickup template=hugeshieldpickup /> |
---|
| 54 | </pickup> |
---|
[6998] | 55 | </PickupSpawner> |
---|
[7007] | 56 | |
---|
[6712] | 57 | <!-- Health pickups --> |
---|
[7007] | 58 | |
---|
| 59 | <PickupSpawner position="-25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 60 | <pickup> |
---|
| 61 | <HealthPickup template=smallhealthpickup /> |
---|
| 62 | </pickup> |
---|
[6512] | 63 | </PickupSpawner> |
---|
[7007] | 64 | |
---|
| 65 | <PickupSpawner position="0,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 66 | <pickup> |
---|
| 67 | <HealthPickup template=mediumhealthpickup /> |
---|
| 68 | </pickup> |
---|
[6512] | 69 | </PickupSpawner> |
---|
[7007] | 70 | |
---|
| 71 | <PickupSpawner position="25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 72 | <pickup> |
---|
| 73 | <HealthPickup template=hugehealthpickup /> |
---|
| 74 | </pickup> |
---|
[6512] | 75 | </PickupSpawner> |
---|
[7007] | 76 | |
---|
| 77 | <PickupSpawner position="50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 78 | <pickup> |
---|
| 79 | <HealthPickup template=crazyhealthpickup /> |
---|
| 80 | </pickup> |
---|
[6512] | 81 | </PickupSpawner> |
---|
[7007] | 82 | |
---|
[6712] | 83 | <!-- Speed pickups --> |
---|
[7007] | 84 | |
---|
| 85 | <PickupSpawner position="-25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 86 | <pickup> |
---|
| 87 | <SpeedPickup template=smallspeedpickup /> |
---|
| 88 | </pickup> |
---|
[6519] | 89 | </PickupSpawner> |
---|
[6512] | 90 | |
---|
[7007] | 91 | <PickupSpawner position="0,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 92 | <pickup> |
---|
| 93 | <SpeedPickup template=mediumspeedpickup /> |
---|
| 94 | </pickup> |
---|
[6711] | 95 | </PickupSpawner> |
---|
[6512] | 96 | |
---|
[7007] | 97 | <PickupSpawner position="25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 98 | <pickup> |
---|
| 99 | <SpeedPickup template=hugespeedpickup /> |
---|
| 100 | </pickup> |
---|
[6712] | 101 | </PickupSpawner> |
---|
| 102 | |
---|
[7007] | 103 | <PickupSpawner position="50,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 104 | <pickup> |
---|
| 105 | <SpeedPickup template=smalljumppickup /> |
---|
| 106 | </pickup> |
---|
[6712] | 107 | </PickupSpawner> |
---|
[7007] | 108 | |
---|
[6712] | 109 | <!-- Invisible pickups --> |
---|
[7007] | 110 | |
---|
| 111 | <PickupSpawner position="-25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 112 | <pickup> |
---|
| 113 | <InvisiblePickup template=smallinvisiblepickup /> |
---|
| 114 | </pickup> |
---|
[6712] | 115 | </PickupSpawner> |
---|
| 116 | |
---|
[7007] | 117 | <PickupSpawner position="0,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 118 | <pickup> |
---|
| 119 | <InvisiblePickup template=mediuminvisiblepickup /> |
---|
| 120 | </pickup> |
---|
[6712] | 121 | </PickupSpawner> |
---|
| 122 | |
---|
[7007] | 123 | <PickupSpawner position="25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 124 | <pickup> |
---|
| 125 | <InvisiblePickup template=hugeinvisiblepickup /> |
---|
| 126 | </pickup> |
---|
[6712] | 127 | </PickupSpawner> |
---|
[7007] | 128 | |
---|
[6712] | 129 | <!-- Meta pickups --> |
---|
[7007] | 130 | |
---|
| 131 | <PickupSpawner position="-25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 132 | <pickup> |
---|
| 133 | <MetaPickup metaType="use" /> |
---|
| 134 | </pickup> |
---|
[6712] | 135 | </PickupSpawner> |
---|
| 136 | |
---|
[7007] | 137 | <PickupSpawner position="0,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 138 | <pickup> |
---|
| 139 | <MetaPickup metaType="drop" /> |
---|
| 140 | </pickup> |
---|
[6712] | 141 | </PickupSpawner> |
---|
[7007] | 142 | |
---|
[7162] | 143 | <PickupSpawner position="25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 144 | <pickup> |
---|
| 145 | <MetaPickup metaType="destroy" /> |
---|
| 146 | </pickup> |
---|
| 147 | </PickupSpawner> |
---|
| 148 | |
---|
| 149 | <PickupSpawner position="50,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 150 | <pickup> |
---|
| 151 | <MetaPickup metaType="destroyCarrier" /> |
---|
| 152 | </pickup> |
---|
| 153 | </PickupSpawner> |
---|
| 154 | |
---|
[6712] | 155 | <!-- Pickup Collection pickups --> |
---|
[7007] | 156 | |
---|
[7008] | 157 | <PickupSpawner position="-50,25,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
[7007] | 158 | <pickup> |
---|
| 159 | <PickupCollection template=triplehealthspeedinvisibilitypickup /> |
---|
| 160 | </pickup> |
---|
[6901] | 161 | </PickupSpawner> |
---|
[7038] | 162 | |
---|
| 163 | <!-- Drone pickup --> |
---|
| 164 | |
---|
| 165 | <PickupSpawner position="-50,50,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 166 | <pickup> |
---|
| 167 | <DronePickup template=dronepickup /> |
---|
| 168 | </pickup> |
---|
| 169 | </PickupSpawner> |
---|
| 170 | |
---|
[9195] | 171 | <!-- DamageBoost pickup --> |
---|
| 172 | |
---|
| 173 | <PickupSpawner position="-50,75,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 174 | <pickup> |
---|
| 175 | <DamageBoostPickup template=smalldamageboostpickup /> |
---|
| 176 | </pickup> |
---|
| 177 | </PickupSpawner> |
---|
| 178 | |
---|
| 179 | <PickupSpawner position="-50,100,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 180 | <pickup> |
---|
| 181 | <DamageBoostPickup template=mediumdamageboostpickup /> |
---|
| 182 | </pickup> |
---|
| 183 | </PickupSpawner> |
---|
| 184 | |
---|
| 185 | <PickupSpawner position="-50,125,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 186 | <pickup> |
---|
| 187 | <DamageBoostPickup template=largedamageboostpickup /> |
---|
| 188 | </pickup> |
---|
| 189 | </PickupSpawner> |
---|
| 190 | |
---|
| 191 | |
---|
[7038] | 192 | <!-- Other pickups --> |
---|
[7007] | 193 | |
---|
[7008] | 194 | <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi --> |
---|
[7007] | 195 | <PickupRepresentation |
---|
| 196 | pickupName = "Medium Health Pack" |
---|
| 197 | pickupDescription = "Once used adds a medium amout of health to the ship." |
---|
| 198 | spawnerTemplate = "mediumhealthpickupRepresentation" |
---|
| 199 | inventoryRepresentation = "MediumHealth" |
---|
| 200 | > |
---|
| 201 | <pickup> |
---|
[7162] | 202 | <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous /> |
---|
[7007] | 203 | </pickup> |
---|
| 204 | </PickupRepresentation> |
---|
| 205 | |
---|
[7008] | 206 | <PickupSpawner position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> |
---|
[7007] | 207 | <pickup> |
---|
[7162] | 208 | <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous /> |
---|
[7007] | 209 | </pickup> |
---|
| 210 | </PickupSpawner> |
---|
| 211 | |
---|
[8706] | 212 | <PickupSpawner position="-25,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> |
---|
| 213 | <pickup> |
---|
| 214 | <ShrinkPickup template ="smallshrinkpickup"/> |
---|
| 215 | </pickup> |
---|
| 216 | </PickupSpawner> |
---|
| 217 | |
---|
| 218 | <PickupSpawner position="0,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> |
---|
| 219 | <pickup> |
---|
| 220 | <ShrinkPickup template ="mediumshrinkpickup"/> |
---|
| 221 | </pickup> |
---|
| 222 | </PickupSpawner> |
---|
| 223 | |
---|
| 224 | <PickupSpawner position="25,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> |
---|
| 225 | <pickup> |
---|
| 226 | <ShrinkPickup template ="hugeshrinkpickup"/> |
---|
| 227 | </pickup> |
---|
| 228 | </PickupSpawner> |
---|
[9195] | 229 | |
---|
| 230 | <!-- @Objects: 4 boxes (uncontrolled pawns) --> |
---|
| 231 | <Pawn team=1 health=30 position="0,0,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 4" > |
---|
| 232 | <events> |
---|
| 233 | <visibility> |
---|
| 234 | <EventListener event="flying4" /> |
---|
| 235 | </visibility> |
---|
| 236 | </events> |
---|
| 237 | <attached> |
---|
| 238 | <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> |
---|
| 239 | </attached> |
---|
| 240 | <collisionShapes> |
---|
| 241 | <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> |
---|
| 242 | </collisionShapes> |
---|
| 243 | </Pawn> |
---|
[8706] | 244 | |
---|
[9195] | 245 | <Pawn team=1 health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 3"> |
---|
| 246 | <events> |
---|
| 247 | <visibility> |
---|
| 248 | <EventListener event="flying4" /> |
---|
| 249 | </visibility> |
---|
| 250 | </events> |
---|
| 251 | <attached> |
---|
| 252 | <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> |
---|
| 253 | </attached> |
---|
| 254 | <collisionShapes> |
---|
| 255 | <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> |
---|
| 256 | </collisionShapes> |
---|
| 257 | </Pawn> |
---|
| 258 | |
---|
| 259 | <Pawn health=30 position="0,200,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box team=1 RVName = "Box 2"> |
---|
| 260 | <events> |
---|
| 261 | <visibility> |
---|
| 262 | <EventListener event="flying4" /> |
---|
| 263 | </visibility> |
---|
| 264 | </events> |
---|
| 265 | <attached> |
---|
| 266 | <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> |
---|
| 267 | </attached> |
---|
| 268 | <collisionShapes> |
---|
| 269 | <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> |
---|
| 270 | </collisionShapes> |
---|
| 271 | </Pawn> |
---|
| 272 | |
---|
| 273 | <Pawn health=30 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box team=1 RVName = "Box 1"> |
---|
| 274 | <events> |
---|
| 275 | <visibility> |
---|
| 276 | <EventListener event="flying4" /> |
---|
| 277 | </visibility> |
---|
| 278 | </events> |
---|
| 279 | <attached> |
---|
| 280 | <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> |
---|
| 281 | </attached> |
---|
| 282 | <collisionShapes> |
---|
| 283 | <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> |
---|
| 284 | </collisionShapes> |
---|
| 285 | </Pawn> |
---|
| 286 | |
---|
[8706] | 287 | <!--StaticEntity position="0,-200,0" direction="0,-1,0" collisionType=static mass=500 friction=0.01 > |
---|
| 288 | <attached> |
---|
| 289 | <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" /> |
---|
| 290 | </attached> |
---|
| 291 | <collisionShapes> |
---|
| 292 | <BoxCollisionShape position="0,0,0" halfExtents="10,10,10" /> |
---|
| 293 | </collisionShapes> |
---|
| 294 | </StaticEntity--> |
---|
| 295 | |
---|
[6512] | 296 | </Scene> |
---|
| 297 | </Level> |
---|