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