Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 8706 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
Line 
1<LevelInfo
2 name = "Pickups showcase"
3 description = "Level to test and showcase pickups."
4 tags = "test, showcase"
5/>
6
7<?lua
8  include("stats.oxo")
9  include("HUDTemplates3.oxo")
10?>
11
12<?lua
13  include("templates/spaceshipAssff.oxt")
14  include("templates/pickupRepresentationTemplates.oxt")
15  include("templates/lodInformation.oxt")
16?>
17
18<Level
19 name         = "Sample"
20 description  = "Just a few tests"
21>
22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
25  <?lua include("includes/notifications.oxi") ?>
26
27  <Scene
28    ambientlight = "0.8, 0.8, 0.8"
29    skybox       = "Orxonox/Starbox"
30  >
31
32    <?lua
33      include("includes/pickups.oxi")
34    ?>
35
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 />
38
39    <!-- Shield pickups -->
40
41    <PickupSpawner position="-25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
42      <pickup>
43        <ShieldPickup template=smallshieldpickup />
44      </pickup>
45    </PickupSpawner>
46
47    <PickupSpawner position="0,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
48      <pickup>
49        <ShieldPickup template=mediumshieldpickup />
50      </pickup>
51    </PickupSpawner>
52
53    <PickupSpawner position="25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
54      <pickup>
55        <ShieldPickup template=hugeshieldpickup />
56      </pickup>
57    </PickupSpawner>
58
59    <!-- Health pickups -->
60
61    <PickupSpawner position="-25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
62      <pickup>
63        <HealthPickup template=smallhealthpickup />
64      </pickup>
65    </PickupSpawner>
66
67    <PickupSpawner position="0,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
68      <pickup>
69        <HealthPickup template=mediumhealthpickup />
70      </pickup>
71    </PickupSpawner>
72
73    <PickupSpawner position="25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
74      <pickup>
75        <HealthPickup template=hugehealthpickup />
76      </pickup>
77    </PickupSpawner>
78
79    <PickupSpawner position="50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
80      <pickup>
81        <HealthPickup template=crazyhealthpickup />
82      </pickup>
83    </PickupSpawner>
84
85    <!-- Speed pickups -->
86
87    <PickupSpawner position="-25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
88      <pickup>
89        <SpeedPickup template=smallspeedpickup />
90      </pickup>
91    </PickupSpawner>
92
93    <PickupSpawner position="0,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
94      <pickup>
95        <SpeedPickup template=mediumspeedpickup />
96      </pickup>
97    </PickupSpawner>
98
99    <PickupSpawner position="25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
100      <pickup>
101        <SpeedPickup template=hugespeedpickup />
102      </pickup>
103    </PickupSpawner>
104
105    <PickupSpawner position="50,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
106      <pickup>
107        <SpeedPickup template=smalljumppickup />
108      </pickup>
109    </PickupSpawner>
110
111    <!-- Invisible pickups -->
112
113    <PickupSpawner position="-25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
114      <pickup>
115        <InvisiblePickup template=smallinvisiblepickup />
116      </pickup>
117    </PickupSpawner>
118
119    <PickupSpawner position="0,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
120      <pickup>
121        <InvisiblePickup template=mediuminvisiblepickup />
122      </pickup>
123    </PickupSpawner>
124
125    <PickupSpawner position="25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
126      <pickup>
127        <InvisiblePickup template=hugeinvisiblepickup />
128      </pickup>
129    </PickupSpawner>
130
131    <!-- Meta pickups -->
132
133    <PickupSpawner position="-25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
134      <pickup>
135        <MetaPickup metaType="use" />
136      </pickup>
137    </PickupSpawner>
138
139    <PickupSpawner position="0,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
140      <pickup>
141        <MetaPickup metaType="drop" />
142      </pickup>
143    </PickupSpawner>
144
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
157    <!-- Pickup Collection pickups -->
158
159    <PickupSpawner position="-50,25,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
160      <pickup>
161        <PickupCollection template=triplehealthspeedinvisibilitypickup />
162      </pickup>
163    </PickupSpawner>
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 -->
174
175    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
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>
183        <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous />
184      </pickup>
185    </PickupRepresentation>
186
187    <PickupSpawner position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
188      <pickup>
189        <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous />
190      </pickup>
191    </PickupSpawner>
192
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
220  </Scene>
221</Level>
Note: See TracBrowser for help on using the repository browser.