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/presentationFS10.oxw

    r9016 r9318  
    148148    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
    149149    <PickupRepresentation
     150      name = "MediumHealth"
    150151      pickupName = "Medium Health Pack"
    151152      pickupDescription = "Once used adds a medium amout of health to the ship."
    152153      spawnerTemplate = "mediumhealthpickupRepresentation"
    153154      inventoryRepresentation = "MediumHealth"
    154     >
    155       <pickup>
    156         <HealthPickup health=50 activationType="onUse" durationType="once" />
    157       </pickup>
    158     </PickupRepresentation>
     155    />
    159156
    160157    <PickupSpawner position="25,-75,-500" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
    161158      <pickup>
    162         <HealthPickup health=50 activationType=onUse durationType=once />
     159        <HealthPickup representation="MediumHealth" health=50 activationType=onUse durationType=once />
    163160      </pickup>
    164161    </PickupSpawner>
Note: See TracChangeset for help on using the changeset viewer.