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