[6512] | 1 | <?lua |
---|
| 2 | include("stats.oxo") |
---|
| 3 | include("hudtemplates3.oxo") |
---|
| 4 | ?> |
---|
| 5 | |
---|
| 6 | <?lua |
---|
| 7 | include("templates/spaceship_assff.oxt") |
---|
| 8 | include("templates/spaceship_pirate.oxt") |
---|
| 9 | include("templates/pickup_representation_templates.oxt") |
---|
| 10 | ?> |
---|
| 11 | |
---|
| 12 | <Level |
---|
| 13 | name = "Sample" |
---|
| 14 | description = "Just a few tests" |
---|
| 15 | > |
---|
| 16 | <Scene |
---|
| 17 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 18 | skybox = "Orxonox/Starbox" |
---|
| 19 | > |
---|
| 20 | |
---|
[7007] | 21 | <?lua |
---|
| 22 | include("includes/pickups.oxi") |
---|
| 23 | ?> |
---|
| 24 | |
---|
[6712] | 25 | <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" /> |
---|
| 26 | <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
[6512] | 27 | |
---|
[6998] | 28 | <!-- Shield pickups --> |
---|
[7007] | 29 | |
---|
| 30 | <PickupSpawner position="-25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 31 | <pickup> |
---|
| 32 | <ShieldPickup template=smallshieldpickup /> |
---|
| 33 | </pickup> |
---|
[6998] | 34 | </PickupSpawner> |
---|
| 35 | |
---|
[7007] | 36 | <PickupSpawner position="0,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 37 | <pickup> |
---|
| 38 | <ShieldPickup template=mediumshieldpickup /> |
---|
| 39 | </pickup> |
---|
[6998] | 40 | </PickupSpawner> |
---|
| 41 | |
---|
[7007] | 42 | <PickupSpawner position="25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 43 | <pickup> |
---|
| 44 | <ShieldPickup template=hugeshieldpickup /> |
---|
| 45 | </pickup> |
---|
[6998] | 46 | </PickupSpawner> |
---|
[7007] | 47 | |
---|
[6712] | 48 | <!-- Health pickups --> |
---|
[7007] | 49 | |
---|
| 50 | <PickupSpawner position="-25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 51 | <pickup> |
---|
| 52 | <HealthPickup template=smallhealthpickup /> |
---|
| 53 | </pickup> |
---|
[6512] | 54 | </PickupSpawner> |
---|
[7007] | 55 | |
---|
| 56 | <PickupSpawner position="0,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 57 | <pickup> |
---|
| 58 | <HealthPickup template=mediumhealthpickup /> |
---|
| 59 | </pickup> |
---|
[6512] | 60 | </PickupSpawner> |
---|
[7007] | 61 | |
---|
| 62 | <PickupSpawner position="25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 63 | <pickup> |
---|
| 64 | <HealthPickup template=hugehealthpickup /> |
---|
| 65 | </pickup> |
---|
[6512] | 66 | </PickupSpawner> |
---|
[7007] | 67 | |
---|
| 68 | <PickupSpawner position="50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
| 69 | <pickup> |
---|
| 70 | <HealthPickup template=crazyhealthpickup /> |
---|
| 71 | </pickup> |
---|
[6512] | 72 | </PickupSpawner> |
---|
[7007] | 73 | |
---|
[6712] | 74 | <!-- Speed pickups --> |
---|
[7007] | 75 | |
---|
| 76 | <PickupSpawner position="-25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 77 | <pickup> |
---|
| 78 | <SpeedPickup template=smallspeedpickup /> |
---|
| 79 | </pickup> |
---|
[6519] | 80 | </PickupSpawner> |
---|
[6512] | 81 | |
---|
[7007] | 82 | <PickupSpawner position="0,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 83 | <pickup> |
---|
| 84 | <SpeedPickup template=mediumspeedpickup /> |
---|
| 85 | </pickup> |
---|
[6711] | 86 | </PickupSpawner> |
---|
[6512] | 87 | |
---|
[7007] | 88 | <PickupSpawner position="25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 89 | <pickup> |
---|
| 90 | <SpeedPickup template=hugespeedpickup /> |
---|
| 91 | </pickup> |
---|
[6712] | 92 | </PickupSpawner> |
---|
| 93 | |
---|
[7007] | 94 | <PickupSpawner position="50,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 95 | <pickup> |
---|
| 96 | <SpeedPickup template=smalljumppickup /> |
---|
| 97 | </pickup> |
---|
[6712] | 98 | </PickupSpawner> |
---|
[7007] | 99 | |
---|
[6712] | 100 | <!-- Invisible pickups --> |
---|
[7007] | 101 | |
---|
| 102 | <PickupSpawner position="-25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 103 | <pickup> |
---|
| 104 | <InvisiblePickup template=smallinvisiblepickup /> |
---|
| 105 | </pickup> |
---|
[6712] | 106 | </PickupSpawner> |
---|
| 107 | |
---|
[7007] | 108 | <PickupSpawner position="0,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 109 | <pickup> |
---|
| 110 | <InvisiblePickup template=mediuminvisiblepickup /> |
---|
| 111 | </pickup> |
---|
[6712] | 112 | </PickupSpawner> |
---|
| 113 | |
---|
[7007] | 114 | <PickupSpawner position="25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 115 | <pickup> |
---|
| 116 | <InvisiblePickup template=hugeinvisiblepickup /> |
---|
| 117 | </pickup> |
---|
[6712] | 118 | </PickupSpawner> |
---|
[7007] | 119 | |
---|
[6712] | 120 | <!-- Meta pickups --> |
---|
[7007] | 121 | |
---|
| 122 | <PickupSpawner position="-25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 123 | <pickup> |
---|
| 124 | <MetaPickup metaType="use" /> |
---|
| 125 | </pickup> |
---|
[6712] | 126 | </PickupSpawner> |
---|
| 127 | |
---|
[7007] | 128 | <PickupSpawner position="0,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"> |
---|
| 129 | <pickup> |
---|
| 130 | <MetaPickup metaType="drop" /> |
---|
| 131 | </pickup> |
---|
[6712] | 132 | </PickupSpawner> |
---|
[7007] | 133 | |
---|
[6712] | 134 | <!-- Pickup Collection pickups --> |
---|
[7007] | 135 | |
---|
[7008] | 136 | <PickupSpawner position="-50,25,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10"> |
---|
[7007] | 137 | <pickup> |
---|
| 138 | <PickupCollection template=triplehealthspeedinvisibilitypickup /> |
---|
| 139 | </pickup> |
---|
[6901] | 140 | </PickupSpawner> |
---|
[7007] | 141 | |
---|
[7008] | 142 | <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi --> |
---|
[7007] | 143 | <PickupRepresentation |
---|
| 144 | pickupName = "Medium Health Pack" |
---|
| 145 | pickupDescription = "Once used adds a medium amout of health to the ship." |
---|
| 146 | spawnerTemplate = "mediumhealthpickupRepresentation" |
---|
| 147 | inventoryRepresentation = "MediumHealth" |
---|
| 148 | > |
---|
| 149 | <pickup> |
---|
| 150 | <HealthPickup health=50 activationType="onUse" durationType="once" /> |
---|
| 151 | </pickup> |
---|
| 152 | </PickupRepresentation> |
---|
| 153 | |
---|
[7008] | 154 | <PickupSpawner position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> |
---|
[7007] | 155 | <pickup> |
---|
[7008] | 156 | <HealthPickup health=50 activationType=onUse durationType=once /> |
---|
[7007] | 157 | </pickup> |
---|
| 158 | </PickupSpawner> |
---|
| 159 | |
---|
[6512] | 160 | </Scene> |
---|
| 161 | </Level> |
---|