Changeset 7038 for code/branches/presentation3/data
- Timestamp:
- May 31, 2010, 9:24:33 AM (14 years ago)
- Location:
- code/branches/presentation3/data/levels
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/data/levels/includes/pickups.oxi
r7000 r7038 1 1 2 <!-- Shield pickups --> 2 3 3 4 <PickupRepresentation 4 5 pickupName = "Small Shield Pickup" 5 pickupDescription = "Gives you a small shield for 10 seconds."6 pickupDescription = "Gives you a small-sized shield for 30 seconds." 6 7 inventoryRepresentation = "SmallShield" 7 8 spawnerTemplate = "smallshieldpickupRepresentation" … … 197 198 </PickupRepresentation> 198 199 200 <!-- Drone Pickup --> 201 202 <PickupRepresentation 203 pickupName = "Drone Pickup" 204 pickupDescription = "Adds a Drone to the Players Spaceship" 205 spawnerTemplate = "dronepickupRepresentation" 206 > 207 <pickup> 208 <DronePickup template=dronepickup /> 209 </pickup> 210 </PickupRepresentation> 211 -
code/branches/presentation3/data/levels/pickups.oxw
r7036 r7038 29 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 30 <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> 31 32 <!-- Drone pickup -->33 34 <PickupSpawner position="-100,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">35 <pickup>36 <DronePickup droneTemplate=droneTemplate />37 </pickup>38 </PickupSpawner>39 31 40 32 <!-- Shield pickups --> … … 151 143 </pickup> 152 144 </PickupSpawner> 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 --> 153 155 154 156 <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi --> -
code/branches/presentation3/data/levels/templates/pickup_representation_templates.oxt
r7034 r7038 26 26 /> 27 27 </Template> 28 29 28 30 29 <Template name=mediumshieldpickupRepresentation> … … 426 425 </PickupCollection> 427 426 </Template> 427 428 <!-- Drone Pickup --> 428 429 429 430 <Template name=droneTemplate> … … 458 459 </Drone> 459 460 </Template> 461 462 <Template name=dronepickupRepresentation> 463 <PickupRepresentation> 464 <spawner-representation> 465 <StaticEntity> 466 <attached> 467 <Billboard position="0,0,0" colour="0.96,0.35,0.02" material="Sphere2" scale=0.1> 468 <attached> 469 <Model scale="5" mesh="drone.mesh"/> 470 </attached> 471 </Billboard> 472 </attached> 473 </StaticEntity> 474 </spawner-representation> 475 </PickupRepresentation> 476 </Template> 477 478 <Template name=dronepickup> 479 <DronePickup droneTemplate=droneTemplate /> 480 </Template> 481
Note: See TracChangeset
for help on using the changeset viewer.