Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/BigShip_HS16/data/levels/pickups.oxw @ 11370

Last change on this file since 11370 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
Line 
1<!-- -->
2<LevelInfo
3 name = "Pickups showcase"
4 description = "Level to test and showcase pickups."
5 tags = "test, showcase"
6 screenshot = "pickupsshowcase.png"
7/>
8
9<?lua
10  include("stats.oxo")
11  include("HUDTemplates3.oxo")
12?>
13
14<?lua
15  include("templates/spaceshipAssff.oxt")
16  include("templates/pickupRepresentationTemplates.oxt")
17  include("templates/lodInformation.oxt")
18?>
19
20<Level>
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24  <?lua include("includes/notifications.oxi") ?>
25
26  <Scene
27    ambientlight = "0.8, 0.8, 0.8"
28    skybox       = "Orxonox/Starbox"
29  >
30
31    <?lua
32      include("includes/pickups.oxi")
33    ?>
34
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 />
37
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
62    <!-- Shield pickups -->
63
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" />
67
68    <!-- Health pickups -->
69
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" />
74
75    <!-- Speed pickups -->
76
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" />
81
82    <!-- Invisible pickups -->
83
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" />
87
88    <!-- Meta pickups -->
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" />
94
95    <!-- Pickup Collection pickups -->
96
97    <PickupSpawner pickup=triplehealthspeedinvisibilitypickup position="-50,25,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
98   
99    <!-- Drone pickup -->
100   
101    <PickupSpawner pickup=dronepickup position="-25,100,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
102   
103    <!-- Other pickups -->
104
105    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
106    <PickupRepresentation
107      name = "ContinousHealth"
108      pickupName = "Continous Health Pack"
109      pickupDescription = "While useing adds a medium amout of health to the ship."
110      spawnerTemplate = "mediumhealthpickupRepresentation"
111      inventoryRepresentation = "MediumHealth"
112    />
113
114    <Template name=continuoushealthpickup baseclass=HealthPickup>
115      <HealthPickup representation="ContinousHealth" health=500 activationType=immediate healthRate=10 durationType=continuous />
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>
134
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>
148
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>
162
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
177  </Scene>
178</Level>
Note: See TracBrowser for help on using the repository browser.