Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 11252 was 11052, checked in by landauf, 9 years ago

merged branch presentationHS15 back to trunk

  • Property svn:eol-style set to native
File size: 8.1 KB
RevLine 
[9939]1<!-- -->
[7648]2<LevelInfo
3 name = "Pickups showcase"
4 description = "Level to test and showcase pickups."
5 tags = "test, showcase"
[9016]6 screenshot = "pickupsshowcase.png"
[7648]7/>
8
[6512]9<?lua
10  include("stats.oxo")
[7679]11  include("HUDTemplates3.oxo")
[6512]12?>
13
14<?lua
[7679]15  include("templates/spaceshipAssff.oxt")
16  include("templates/pickupRepresentationTemplates.oxt")
17  include("templates/lodInformation.oxt")
[6512]18?>
19
[9016]20<Level>
[7036]21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
[8706]24  <?lua include("includes/notifications.oxi") ?>
[7083]25
[6512]26  <Scene
27    ambientlight = "0.8, 0.8, 0.8"
28    skybox       = "Orxonox/Starbox"
29  >
30
[7007]31    <?lua
32      include("includes/pickups.oxi")
33    ?>
34
[6712]35    <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" />
36    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
[6512]37
[11052]38    <!-- Boost pickup -->
39   
40    <PickupSpawner pickup=smallboostpickup position="-25,-125,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
41    <PickupSpawner pickup=mediumboostpickup position="0,-125,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
42    <PickupSpawner pickup=hugeboostpickup position="25,-125,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
43
44    <!-- DamageBoost pickup -->
45   
46    <PickupSpawner pickup=smalldamageboostpickup position="-25,-100,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
47    <PickupSpawner pickup=mediumdamageboostpickup position="0,-100,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
48    <PickupSpawner pickup=hugedamageboostpickup position="25,-100,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
49
50    <!-- Munition pickups -->
51
52    <PickupSpawner pickup=smallmunitionpickup position="-25,-75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
53    <PickupSpawner pickup=mediummunitionpickup position="0,-75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
54    <PickupSpawner pickup=hugemunitionpickup position="25,-75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />   
55
56    <!-- Shrink pickup -->
57
58    <PickupSpawner pickup=smallshrinkpickup position="-25,-50,-125" triggerDistance="20" respawnTime="60" maxSpawnedItems="5" />
59    <PickupSpawner pickup=mediumshrinkpickup position="0,-50,-125" triggerDistance="20" respawnTime="60" maxSpawnedItems="5" />
60    <PickupSpawner pickup=hugeshrinkpickup position="25,-50,-125" triggerDistance="20" respawnTime="60" maxSpawnedItems="5" />   
61
[6998]62    <!-- Shield pickups -->
[7007]63
[9348]64    <PickupSpawner pickup=smallshieldpickup position="-25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
65    <PickupSpawner pickup=mediumshieldpickup position="0,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
66    <PickupSpawner pickup=hugeshieldpickup position="25,-25,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
[6998]67
[6712]68    <!-- Health pickups -->
[7007]69
[9348]70    <PickupSpawner pickup=smallhealthpickup position="-25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
71    <PickupSpawner pickup=mediumhealthpickup position="0,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
72    <PickupSpawner pickup=hugehealthpickup position="25,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
73    <PickupSpawner pickup=crazyhealthpickup position="50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
[7007]74
[6712]75    <!-- Speed pickups -->
[7007]76
[9348]77    <PickupSpawner pickup=smallspeedpickup position="-25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" />
78    <PickupSpawner pickup=mediumspeedpickup position="0,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" />
79    <PickupSpawner pickup=hugespeedpickup position="25,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" />
80    <PickupSpawner pickup=smalljumppickup position="50,25,-125" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" />
[6512]81
[6712]82    <!-- Invisible pickups -->
[7007]83
[9348]84    <PickupSpawner pickup=smallinvisiblepickup position="-25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
85    <PickupSpawner pickup=mediuminvisiblepickup position="0,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
86    <PickupSpawner pickup=hugeinvisiblepickup position="25,50,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
[6712]87
88    <!-- Meta pickups -->
[9348]89   
90    <PickupSpawner pickup=usemetapickup position="-25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
91    <PickupSpawner pickup=dropmetapickup position="0,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
92    <PickupSpawner pickup=destroymetapickup position="25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
93    <PickupSpawner pickup=destroycarriermetapickup position="50,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
[6712]94
95    <!-- Pickup Collection pickups -->
[7007]96
[9348]97    <PickupSpawner pickup=triplehealthspeedinvisibilitypickup position="-50,25,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
[7038]98   
99    <!-- Drone pickup -->
100   
[11052]101    <PickupSpawner pickup=dronepickup position="-25,100,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
[7038]102   
103    <!-- Other pickups -->
[7007]104
[7008]105    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
[7007]106    <PickupRepresentation
[11052]107      name = "ContinousHealth"
108      pickupName = "Continous Health Pack"
109      pickupDescription = "While useing adds a medium amout of health to the ship."
[7007]110      spawnerTemplate = "mediumhealthpickupRepresentation"
111      inventoryRepresentation = "MediumHealth"
[9348]112    />
[7007]113
[9348]114    <Template name=continuoushealthpickup baseclass=HealthPickup>
[11052]115      <HealthPickup representation="ContinousHealth" health=500 activationType=immediate healthRate=10 durationType=continuous />
[9348]116    </Template>
117   
118    <PickupSpawner pickup=continuoushealthpickup position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5" />
119   
120    <!-- @Objects: 4 boxes (uncontrolled pawns) -->
121    <Pawn team=1 health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 4" >
122        <events>
123          <visibility>
124            <EventListener event="flying4" />
125          </visibility>
126        </events>
127        <attached>
128            <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
129        </attached>
130        <collisionShapes>
131            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
132        </collisionShapes>
133    </Pawn>
[8706]134
[9348]135    <Pawn team=1 health=30 position="0,200,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 3">
136        <events>
137          <visibility>
138            <EventListener event="flying4" />
139          </visibility>
140        </events>
141        <attached>
142           <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
143        </attached>
144        <collisionShapes>
145            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
146        </collisionShapes>
147    </Pawn>
[8706]148
[9348]149    <Pawn health=30 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box team=1 RVName = "Box 2">
150        <events>
151          <visibility>
152            <EventListener event="flying4" />
153          </visibility>
154        </events>
155        <attached>
156           <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
157        </attached>
158        <collisionShapes>
159            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
160        </collisionShapes>
161    </Pawn>
[8706]162
[9348]163    <Pawn health=30 position="0,400,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box team=1 RVName = "Box 1">
164        <events>
165          <visibility>
166            <EventListener event="flying4" />
167          </visibility>
168        </events>
169        <attached>
170            <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
171        </attached>
172        <collisionShapes>
173           <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
174        </collisionShapes>
175    </Pawn>
176
[6512]177  </Scene>
178</Level>
Note: See TracBrowser for help on using the repository browser.