Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 29, 2010, 9:33:33 PM (15 years ago)
Author:
dafrick
Message:

Fixed a bug in pickups that caused the clone method of Pickup.h not to be called via SUPER.

File:
1 edited

Legend:

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

    r7007 r7008  
    2525    <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" />
    2626    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    27 
    2827
    2928    <!-- Shield pickups -->
     
    135134    <!-- Pickup Collection pickups -->
    136135
    137     <PickupSpawner position="-50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
     136    <PickupSpawner position="-50,25,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
    138137      <pickup>
    139138        <PickupCollection template=triplehealthspeedinvisibilitypickup />
     
    141140    </PickupSpawner>
    142141
    143         <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
     142    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
    144143    <PickupRepresentation
    145144      pickupName = "Medium Health Pack"
     
    153152    </PickupRepresentation>
    154153
    155     <PickupSpawner position="-50,25,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
     154    <PickupSpawner position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
    156155      <pickup>
    157         <HealthPickup health=50 activationType=onUse durationType=continuous />
     156        <HealthPickup health=50 activationType=onUse durationType=once />
    158157      </pickup>
    159158    </PickupSpawner>
Note: See TracChangeset for help on using the changeset viewer.