Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/pickups.oxw @ 8876

Last change on this file since 8876 was 8706, checked in by dafrick, 13 years ago

Merging presentation branch back into trunk.
There are many new features and also a lot of other changes and bugfixes, if you want to know, digg through the svn log.
Not everything is yet working as it should, but it should be fairly stable. If you habe any bug reports, just send me an email.

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