Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 18, 2012, 10:36:24 PM (13 years ago)
Author:
landauf
Message:

removed PickupIdentifier for a number of reasons (I talked to Damian about it before)
a pickup now references the PickupRepresentation by name with the "representation" attribute

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/data/levels/pickups.oxw

    r9291 r9318  
    131131    <PickupSpawner position="-25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
    132132      <pickup>
    133         <MetaPickup metaType="use" />
     133        <MetaPickup representation="use" metaType="use" />
    134134      </pickup>
    135135    </PickupSpawner>
     
    137137    <PickupSpawner position="0,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
    138138      <pickup>
    139         <MetaPickup metaType="drop" />
     139        <MetaPickup representation="drop" metaType="drop" />
    140140      </pickup>
    141141    </PickupSpawner>
     
    194194    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
    195195    <PickupRepresentation
     196      name = "MediumHealth"
    196197      pickupName = "Medium Health Pack"
    197198      pickupDescription = "Once used adds a medium amout of health to the ship."
    198199      spawnerTemplate = "mediumhealthpickupRepresentation"
    199200      inventoryRepresentation = "MediumHealth"
    200     >
    201       <pickup>
    202         <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous />
    203       </pickup>
    204     </PickupRepresentation>
     201    />
    205202
    206203    <PickupSpawner position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
    207204      <pickup>
    208         <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous />
     205        <HealthPickup representation="MediumHealth" health=500 activationType=immediate healthRate=10 durationType=continuous />
    209206      </pickup>
    210207    </PickupSpawner>
Note: See TracChangeset for help on using the changeset viewer.