Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 18, 2012, 10:36:24 PM (12 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/presentationHS09.oxw

    r9316 r9318  
    105105    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
    106106    <PickupRepresentation
     107      name = "MediumHealth"
    107108      pickupName = "Medium Health Pack"
    108109      pickupDescription = "Once used adds a medium amout of health to the ship."
    109110      spawnerTemplate = "mediumhealthpickupRepresentation"
    110111      inventoryRepresentation = "MediumHealth"
    111     >
    112       <pickup>
    113         <HealthPickup health=100 activationType="onUse" durationType="once" />
    114       </pickup>
    115     </PickupRepresentation>
     112    />
    116113
    117114    <PickupSpawner position="-4150,2750,1550" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
    118115      <pickup>
    119         <HealthPickup health=100 activationType=onUse durationType=once />
     116        <HealthPickup representation="MediumHealth" health=100 activationType=onUse durationType=once />
    120117      </pickup>
    121118    </PickupSpawner>
Note: See TracChangeset for help on using the changeset viewer.